0487.html 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install OpenWRT on Amlogic Android TV Box S912 S922 S905x S905x2 S905x3</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Amlogic,S905x,S905w,S912,OpenWRT,Router,Single Board Computer,SBC,Raspberry Pi Alternative,GitHub,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install OpenWRT on Amlogic Android TV Box S912 S922 S905x S905x2 S905x3">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="03/20/2022 12:43:26 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Install OpenWRT on Amlogic Android TV Box S912 S922 S905x S905x2 S905x3</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>Things You Will Need</h2>
  26. <ul>
  27. <li>A microSD card at least 4 GB <a href="https://amzn.to/36CpShC" target="_blank">https://amzn.to/36CpShC</a> | <a href="https://amzn.to/3CXJngt" target="_blank">https://amzn.to/3CXJngt</a> | <a href="https://amzn.to/3JqyxSP" target="_blank">https://amzn.to/3JqyxSP</a></li>
  28. </ul>
  29. <h2>Download and Flash OpenWRT</h2>
  30. <ol>
  31. <li>Download OpenWRT for Amlogic S9xxx <a href="https://github.com/ophub/amlogic-s9xxx-openwrt/releases" target="_blank">Download</a>
  32. <ul>
  33. <li>Download the image that corresponds to the Amlogic chip in your device</li>
  34. </ul>
  35. </li>
  36. <li>Download Balena Etcher <a href="https://www.balena.io/etcher/" target="_blank">Download</a></li>
  37. <li>Run Balena Etcher</li>
  38. <li>Burn the OpenWRT image to microSD card</li>
  39. </ol>
  40. <h2>Configure MicroSD Card for OpenWRT</h2>
  41. <ol>
  42. <li>Open the readable partition of the microSD card in Explorer</li>
  43. <li>Edit uEnv.txt in a text editor</li>
  44. <li>Update the FDT line to point to the correct .dtb file for your device
  45. <p>FDT=/dtb/amlogic/meson-gxm-q200.dtb</p>
  46. </li>
  47. <li>Save the changes to uEnv.txt and close the text editor</li>
  48. <li>Safely remove the microSD card</li>
  49. <li>Insert microSD card to Android TV box</li>
  50. </ol>
  51. <h2>Booting OpenWRT</h2>
  52. <ol>
  53. <li>With an unfolded paperclip, press the reset button (sometimes hidden inside the 3.5mm AV port)</li>
  54. <li>While holding the reset button, plug the power adapter into the Android TV box</li>
  55. <li>The box should boot into the OpenWRT Linux terminal</li>
  56. <li>Wait for the text to stop scrolling and press Enter</li>
  57. <li>Run the following command to set a static LAN IP address, change the IP address to something on your LAN&#39;s subnet:
  58. <div class="codeBlock">uci set network.lan.ipaddr=&#39;192.168.0.251&#39;<br />
  59. service network restart</div>
  60. </li>
  61. <li>Open a web browser and navigate to http://192.168.0.251</li>
  62. <li>At the login screen, enter the username root and password password &gt; Click the Login button</li>
  63. <li>Select System &gt; Administration from the menu</li>
  64. <li>Under the Router Password heading, enter a new password and repeat it to confirm</li>
  65. <li>Scroll to the bottom of the page and click the Save &amp; Apply button</li>
  66. <li>Enjoy OpenWRT running on a cheap Amlogic TV box</li>
  67. </ol>
  68. <p>Source: <a href="https://github.com/ophub/amlogic-s9xxx-openwrt/" target="_blank">https://github.com/ophub/amlogic-s9xxx-openwrt/</a></p>
  69. </div>
  70. </div>
  71. </body>
  72. </html>