Things You Will Need
Download and Flash OpenWRT
Download Balena Etcher Download Run Balena Etcher Burn the OpenWRT image to microSD card
Configure MicroSD Card for OpenWRT
Open the readable partition of the microSD card in Explorer Edit uEnv.txt in a text editor Update the FDT line to point to the correct .dtb file for your device FDT=/dtb/amlogic/meson-gxm-q200.dtb
Save the changes to uEnv.txt and close the text editor Safely remove the microSD card Insert microSD card to Android TV box
Booting OpenWRT
With an unfolded paperclip, press the reset button (sometimes hidden inside the 3.5mm AV port) While holding the reset button, plug the power adapter into the Android TV box The box should boot into the OpenWRT Linux terminal Wait for the text to stop scrolling and press Enter Run the following command to set a static LAN IP address, change the IP address to something on your LAN's subnet: uci set network.lan.ipaddr='192.168.0.251'
service network restartOpen a web browser and navigate to http://192.168.0.251 At the login screen, enter the username root and password password > Click the Login button Select System > Administration from the menu Under the Router Password heading, enter a new password and repeat it to confirm Scroll to the bottom of the page and click the Save & Apply button Enjoy OpenWRT running on a cheap Amlogic TV box