0487.html 3.6 KB

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