Install OpenWRT on Amlogic S905x Android TV Box

Things You Will Need

Download and Flash OpenWRT

  1. Download OpenWRT for S905x Download
  2. Download Balena Etcher Download
  3. Run Balena Etcher
  4. Burn the OpenWRT image to microSD card
  5. Safely remove microSD and re-insert
  6. Ignore/close the Windows dialogs to format the inserted microSD card

Booting OpenWRT

  1. With an unfolded paperclip, press the reset button hidden inside the 3.5mm AV port
  2. While holding the reset button, plug the power adapter into the Android TV box
  3. The box should boot into the OpenWRT Linux terminal
  4. Wait for the text to stop scrolling and press Enter
  5. Run the following command to set a static LAN IP address:
    uci set network.lan.ipaddr='192.168.0.137'
    service network restart
  6. Open a web browser and navigate to http://192.168.0.137
  7. At the login screen, enter the username root and password root > Click the Login button
  8. Select System > Administration from the menu
  9. Under the Router Password heading, enter a new password and repeat it to confirm
  10. Scroll to the bottom of the page and click the Save & Apply button
  11. Enjoy OpenWRT running on a cheap Amlogic S905x TV box

Source: https://pulpstone.pw/openwrt-18-06-2/