Things You Will Need
- A microSD card at least 4 GB https://amzn.to/36CpShC | https://amzn.to/3CXJngt | https://amzn.to/3JqyxSP
Download and Flash OpenWRT
- Download OpenWRT for Amlogic S9xxx Download
- Download the image that corresponds to the Amlogic chip in your device
- 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 restart - Open 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