0825.html 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install Raspberry Pi OS on the Microsoft Surface RT Tablet</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Install Guide,Raspberry Pi Alternative,ARM Architecture,ARM CPU,ARM Processor,Linux,Raspberry Pi,Microsoft,Surface,Surface RT,Linux On Surface RT,Raspberry Pi OS On Surface RT,Portable Raspberry Pi Alternative,Raspian,Debian,Raspberry Pi OS,Microsoft Surface RT,Nvidia,Tegra 3,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install Raspberry Pi OS on the Microsoft Surface RT Tablet">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="06/29/2023 07:56:06 AM" />
  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 Raspberry Pi OS on the Microsoft Surface RT Tablet</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>Disclaimer</h2>
  26. <blockquote><em>This process will overwrite the current Windows 8 RT operating system on the Surface RT tablet. I have tested these steps on my own device (as shown in this video), but I am not responsible if you damage or brick your device. Verify this process will work on your device before starting and make sure to backup any data you do not want to lose before proceeding.</em></blockquote>
  27. <h2>Things You Will Need</h2>
  28. <ul>
  29. <li class="noCheckbox">A USB flash drive, at least 8 GB <a href="https://amzn.to/3wkR5ju" target="_blank">https://amzn.to/3wkR5ju</a> | <a href="https://amzn.to/3qkrJ1p" target="_blank">https://amzn.to/3qkrJ1p</a> | <a href="https://amzn.to/3Nhu9b9" target="_blank">https://amzn.to/3Nhu9b9</a></li>
  30. <li class="noCheckbox">A USB hub</li>
  31. <li class="noCheckbox">A USB keyboard</li>
  32. </ul>
  33. <h2>Disabling Secure Boot</h2>
  34. <p>NOTE: If you run into issues or errors disabling secure boot, see the troubleshooting steps <a href="https://jwa4.gitbook.io/windows/tools/surface-rt-and-surface-2-jailbreak-usb#troubleshooting" target="_blank">https://jwa4.gitbook.io/windows/tools/surface-rt-and-surface-2-jailbreak-usb#troubleshooting</a></p>
  35. <ol>
  36. <li>Insert the USB flash drive into a PC</li>
  37. <li>Download the Surface RT jailbreak files <a href="https://jwa4.gitbook.io/windows/tools/surface-rt-and-surface-2-jailbreak-usb#download" target="_blank">Download</a></li>
  38. <li>Format the USB flash drive to FAT32
  39. <p>⚠ <em>NOTE: This will delete all files on the drive. Make sure to backup any important files before continuing</em></p>
  40. <ol start="1">
  41. <li>Right Click Start &gt; File Explorer</li>
  42. <li>Right Click the USB flash drive &gt; Format...</li>
  43. <li>Select FAT32 from the File System dropdown</li>
  44. <li>Name the drive EFI</li>
  45. <li>Make sure Quick Format is checked</li>
  46. <li>Click Start</li>
  47. </ol>
  48. </li>
  49. <li>Extract the downloaded Surface RT jailbreak .zip file to the root of the USB flash drive</li>
  50. <li>Safely remove the USB flash drive</li>
  51. <li>Power off the Surface RT tablet if it is not already</li>
  52. <li>Using the USB hub, connect the USB keyboard and the prepared USB flash drive to the Surface RT tablet</li>
  53. <li>Hold Vol- and press the power button, releasing the Vol- when Surface logo appears</li>
  54. <li>Select Install Golden Keys &gt; Press Enter</li>
  55. <li>Select Accept and Install &gt; Press Enter</li>
  56. <li>After the Golden Keys install completes, the tablet will reboot</li>
  57. <li>Power off the Surface RT tablet</li>
  58. <li>Hold Vol- and press the power button, releasing the Vol- when Surface logo appears</li>
  59. <li>Select Install Yahallo &gt; Press Enter</li>
  60. <li>After the Yahallo install completes, the tablet will reboot</li>
  61. <li>Power off the Surface RT tablet</li>
  62. </ol>
  63. <h2>Preparing Raspberry Pi OS</h2>
  64. <ol>
  65. <li>Insert the USB flash drive into a PC</li>
  66. <li>Download Raspberry Pi OS <a href="https://downloads.raspberrypi.org/raspios_armhf/images/" target="_blank">Download</a></li>
  67. <li>Download Balena Etcher <a href="https://www.balena.io/etcher/" target="_blank">Download</a></li>
  68. <li>Download the latest Surface RT zImage, device tree (.dtb) and kernel modules <a href="https://files.open-rt.party/Linux-Kernel-Download/surface-rt/" target="_blank">Download</a></li>
  69. <li>Download the EFI boot files <a href="https://openrt.gitbook.io/open-surfacert/surface-rt/linux/booting/uefi-boot#premade-zip" target="_blank">Download</a></li>
  70. <li>Extract the downloaded EFI .zip archive</li>
  71. <li>Run Balena Etcher</li>
  72. <li>Write the Raspberry Pi OS image to USB flash drive</li>
  73. <li>Once the write completes, open the readable partition on the USB flash drive</li>
  74. <li>From the previous downloads, copy the EFI folder, startup.nsh, zImage and the device tree (.dtb) file to the readable partition on the USB flash drive</li>
  75. <li>Open startup.nsh in a text editor</li>
  76. <li>Replace the contents of the file with the following
  77. <p>fs0:<br />
  78. zImage dtb=tegra30-microsoft-surface-rt-efi.dtb root=/dev/sda2 rootwait console=tty0 cpuidle.off=1<br />
  79. <br />
  80. # shutdown if something went wrong<br />
  81. reset -s</p>
  82. </li>
  83. <li>Save the changes to startup.nsh and close the editor</li>
  84. <li>Safely remove the USB flash drive</li>
  85. <li>Power off the Surface RT tablet if it is not already</li>
  86. <li>Using the USB hub, connect the USB keyboard and the prepared USB flash drive to the Surface RT tablet</li>
  87. <li>Hold Vol- and press the power button, releasing the Vol- when Surface logo appears</li>
  88. <li>Raspberry Pi OS should boot from the USB flash drive</li>
  89. <li>In Raspberry Pi OS, launch the file manager</li>
  90. <li>Navigate to /boot &gt; Copy the sRT-modules- .tar.xz file to the current user&#39;s home directory</li>
  91. <li>Extract the sRT-modules- .tar.xz inside the user&#39;s home directory</li>
  92. <li>Copy the contents of the extracted folder to the corresponding location in the root Linux directory</li>
  93. <li>Reboot the Surface RT tablet</li>
  94. <li>At this point, you can continue running Raspberry Pi OS from the flash drive, or install it to the internal eMMC storage, replacing the stock Windows 8 RT operating system</li>
  95. </ol>
  96. <h2>Installing Raspberry Pi OS to eMMC Internal Storage</h2>
  97. <p>🚨 <em>WARNING: Continuing beyond this point will format the storage on the Surface RT tablet and all files and the Windows 8 RT operating system will be lost</em></p>
  98. <ol>
  99. <li>While running Raspberry Pi OS from the USB flash drive, click the Applications menu &gt; Accessories &gt; SD Card Copier</li>
  100. <li>Select the USB flash drive as the Copy From Device</li>
  101. <li>Select the internal eMMC as the Copy To Device</li>
  102. <li>Check the New Partition UUIDs box &gt; Click Start</li>
  103. <li>Wait while the OS files are copied</li>
  104. <li>Open file manager and select boot in the left navigation</li>
  105. <li>Edit startup.nsh in text editor</li>
  106. <li>Replace the root=/dev/sda2 with root=/dev/mmcblk0p2</li>
  107. <li>Save the changes to startup.nsh and shutdown the tablet</li>
  108. <li>After the tablet shuts down, remove the USB flash drive and power it back on normally</li>
  109. <li>Raspberry Pi OS should boot from the internal eMMC storage</li>
  110. <li>Launch a terminal and run the following command
  111. <div class="codeBlock"># launch raspi config<br />
  112. sudo raspi-config</div>
  113. </li>
  114. <li>In raspi-config, select Advanced Options &gt; Expand Filesystem</li>
  115. <li>Once the filesystem has been expanded, close out of raspi-config</li>
  116. <li>Welcome to Raspberry Pi OS running on the Microsoft Surface RT tablet</li>
  117. </ol>
  118. <h2>Adding Battery Level Indicator (optional, not shown)</h2>
  119. <ol>
  120. <li>Right click on the taskbar panel at the top &gt; Panel Settings</li>
  121. <li>Select the Panel Applets tab</li>
  122. <li>Click the Add button</li>
  123. <li>Select Battery Monitor from the list of available applets &gt; Click Add</li>
  124. <li>You should now see a battery level indicator at the far right of the task bar</li>
  125. </ol>
  126. <p>Sources: <a href="https://openrt.gitbook.io/open-surfacert/surface-rt/linux/root-filesystem/distros/raspberry-pi-os" target="_blank">https://openrt.gitbook.io/open-surfacert/surface-rt/linux/root-filesystem/distros/raspberry-pi-os</a>, <a href="https://jwa4.gitbook.io/windows/tools/surface-rt-and-surface-2-jailbreak-usb" target="_blank">https://jwa4.gitbook.io/windows/tools/surface-rt-and-surface-2-jailbreak-usb</a></p> </div>
  127. </div>
  128. </body>
  129. </html>