0040.html 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Flashing the OUYA with i12bretro Image</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Ouya,Android,Recovery,ADB,Custom ROM,Micro Console,Emulation,Tutorial,How To">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Flashing the OUYA with i12bretro Image">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  12. <script type="text/javascript">
  13. $(function(){
  14. $('textarea').each(function(i,e){
  15. theTextarea = $(this);
  16. theTextarea.height((theTextarea[0].scrollHeight-5) +'px');
  17. });
  18. $('li').each(function(i,e){
  19. if(!$(this).hasClass('noCheckbox')){
  20. var uuid = 'li_' + Math.floor(Math.random() * Math.floor(1000000)).toString() + '_' + i.toString();
  21. $(this).contents().wrap('<span id="'+ uuid +'"><label for="cb_'+ uuid +'"></label></span>');
  22. $(this).prepend('<input type="checkbox" class="completeBox" id="cb_' + uuid +'" rel="'+ uuid +'" />')
  23. }
  24. });
  25. $('code,div.codeBlock,textarea.codeBlock').each(function(i,e){
  26. theElement = $(this);
  27. var lines = theElement.html().split("\n");
  28. theElement.empty();
  29. for(l=0;l<lines.length;l++){
  30. if($.trim(lines[l]) != '' && $.trim(lines[l]).substr(0,1) != '#' && $.trim(lines[l]).indexOf(' #') == -1 && lines[l].substr(0, 4).toUpperCase() != 'REM '){
  31. theElement.append('<input type="image" src="images/clipboard.png" value="" class="copy-text" rel="copy_'+ i +'_'+ l +'" data-clipboard-text="'+ $.trim(lines[l].replace(/"/g, '&quot;')) +'" /><span id="copy_'+ i +'_'+ l +'">'+ lines[l] +'</span>');
  32. } else {
  33. theElement.append(lines[l]);
  34. }
  35. }
  36. });
  37. $(document).on('click','input.copy-text',function(){
  38. theButton = $(this);
  39. $('input.copy-text').attr('src','images/clipboard.png');
  40. $('span.copy-animation,span.copy-animation-ps').removeClass('copy-animation copy-animation-ps');
  41. try {
  42. if($('#'+ theButton.attr('rel')).parent('div').hasClass('PS')){
  43. $('#'+ theButton.attr('rel')).addClass('copy-animation-ps');
  44. } else if($('#'+ theButton.attr('rel')).parent('div').hasClass('CMD')){
  45. $('#'+ theButton.attr('rel')).addClass('copy-animation-cmd');
  46. } else {
  47. $('#'+ theButton.attr('rel')).addClass('copy-animation');
  48. }
  49. navigator.clipboard.writeText(theButton.data('clipboard-text').replace(/<[^>]*>?/gm, ''));
  50. theButton.attr('src','images/clipboard_active.png');
  51. } catch(err) {
  52. }
  53. return false;
  54. });
  55. $(document).on('click','input.completeBox',function(){
  56. theBox = $(this);
  57. $('#'+ theBox.attr('rel')).addClass('strikethrough');
  58. theBox.prop('disabled',true);
  59. theBox.parent('li').prevAll().each(function(i,e){
  60. theLI = $(this);
  61. if(theLI.find('input[type=checkbox]').not(':checked')){
  62. $('#'+ theLI.find('input[type=checkbox]').attr('rel')).addClass('strikethrough');
  63. theLI.find('input[type=checkbox]').prop('checked',true).prop('disabled',true);
  64. }
  65. });
  66. });
  67. if(window.self !== window.top){
  68. window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
  69. }
  70. });
  71. </script>
  72. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  73. </head>
  74. <body>
  75. <div id="gridContainer">
  76. <div class="topMargin"></div>
  77. <div id="listName" class="topMargin">
  78. <h1>Flashing the OUYA with i12bretro Image</h1>
  79. </div>
  80. <div></div>
  81. <div id="content">
  82. <h2>
  83. Things You Will Need</h2>
  84. <ul>
  85. <li>
  86. A USB flash drive, at least 4 GB of free space</li>
  87. <li>
  88. A USB hub, preferably with external power</li>
  89. <li>
  90. A USB keyboard</li>
  91. </ul>
  92. <h2>
  93. Prerequisites and Downloads</h2>
  94. <ol>
  95. <li>
  96. Download i12bretro_OUYA_commands.zip <a href="https://drive.google.com/open?id=1OgeEgZ9M4-Ym7Ldwz0bnpy0b0ZZ_vxlA" target="_blank">Download</a></li>
  97. <li>
  98. Download i12bretro_OUYA_image.zip <a href="https://drive.google.com/open?id=1sXaMcrRJ9JDG7KLvn4nAtNrBYONXFouh" target="_blank">Download</a></li>
  99. <li>
  100. Format the USB flash drive to FAT32
  101. <ol start="1" style="list-style-type: lower-alpha;">
  102. <li>
  103. Right Click Start &gt; File Explorer</li>
  104. <li>
  105. Right Click the USB flash drive &gt; Format...</li>
  106. <li>
  107. Select FAT32 from the File System dropdown</li>
  108. <li>
  109. Make sure Quick Format is checked</li>
  110. <li>
  111. Click Start</li>
  112. </ol>
  113. </li>
  114. </ol>
  115. <ol start="4">
  116. <li>
  117. Extract the downloaded i12bretro_OUYA_image.zip file to the root of the USB flash drive</li>
  118. <li>
  119. Extract the downloaded i12bretro_OUYA_commands.zip</li>
  120. <li>
  121. Copy the last official Ouya update (files\zip\RC-OUYA-1.2.1427-r1_ota.zip) to the root of the USB flash drive</li>
  122. <li>
  123. Safely remove the flash drive and set aside for later</li>
  124. </ol>
  125. <h2>
  126. Installing Ouya USB Drivers</h2>
  127. <ol>
  128. <li>
  129. Right click Start &gt; Command Prompt (Admin)</li>
  130. <li>
  131. Paste the following commands to disable driving signing checks temporarily<br />
  132. <div class="codeBlock">
  133. bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS<br />
  134. bcdedit -set TESTSIGNING ON<br />
  135. shutdown /r</div>
  136. </li>
  137. <li>
  138. Your PC will reboot</li>
  139. <li>
  140. Connect a USB cable from the micro USB port on the back of the Ouya to your PC</li>
  141. <li>
  142. Make sure the Ouya is connected to a display via HDMI</li>
  143. <li>
  144. Power on the Ouya</li>
  145. <li>
  146. After a few seconds you should hear Windows chime that a new device has been detected</li>
  147. <li>
  148. Right click Start &gt; Device Manager</li>
  149. <li>
  150. Expand Other Devices and you should see OUYA listed</li>
  151. <li>
  152. Right click OUYA &gt; Update Driver</li>
  153. <li>
  154. Select Browse my computer for driver software</li>
  155. <li>
  156. Click the Browse... button</li>
  157. <li>
  158. Navigate to the extracted i12bretro_OUYA_commands\files\driver</li>
  159. <li>
  160. Click OK</li>
  161. <li>
  162. Make sure &quot;Include subfolders&quot; is checked, click Next</li>
  163. <li>
  164. Windows should find the correct driver for the Ouya and install it</li>
  165. <li>
  166. Navigate to the i12bretro_OUYA_commands in windows explorer</li>
  167. <li>
  168. Right click i12bretro_OUYA_commands.bat &gt; Run as administrator</li>
  169. <li>
  170. The script uses the Android Debug Bridge (ADB) to boot the Ouya into CyanogenMod recovery</li>
  171. <li>
  172. When the command prompts to &quot;--&nbsp; Setup the fastboot driver&quot;, go back to Device Manager expand Android Device</li>
  173. <li>
  174. Right click Android Bootloader Device &gt; Update Driver</li>
  175. <li>
  176. Select Browse my computer for driver software</li>
  177. <li>
  178. Click the Browse... button</li>
  179. <li>
  180. Navigate to the extracted i12bretro_OUYA_commands\files\driver</li>
  181. <li>
  182. Click OK</li>
  183. <li>
  184. Make sure &quot;Include subfolders&quot; is checked, click Next</li>
  185. <li>
  186. Windows should find the correct driver for the Ouya and install it</li>
  187. <li>
  188. Press Enter at the command prompt once the driver is installed to continue booting the Ouya to CyanogenMod recovery</li>
  189. </ol>
  190. <h2>
  191. Restore i12bretro Image via CyanogenMod Recovery</h2>
  192. <ol>
  193. <li>
  194. With the OUYA in CyanogenMod Recovery:</li>
  195. <li>
  196. Select Backup/Restore &gt; Restore from USB disk</li>
  197. <li>
  198. Navigate to and select the extracted i12bretro image from the USB disk clockworkmod\backup\2019-06-13.13.27.22</li>
  199. <li>
  200. Select Yes to confirm restoring the backup</li>
  201. <li>
  202. Wait several minutes for the various partitions of the image to be copied to the Ouya</li>
  203. <li>
  204. From the main menu select Install zip &gt; install zip from USB disk</li>
  205. <li>
  206. Navigate to the RC-OUYA-1.2.1427-r1_ota.zip file on the USB disk</li>
  207. <li>
  208. Select Yes to confirm installing the update</li>
  209. <li>
  210. From the main menu select wipe cache partition</li>
  211. <li>
  212. Select Yes to confirm wiping the cache</li>
  213. <li>
  214. From the main menu select advanced &gt; wipe dalvik cache partition</li>
  215. <li>
  216. Select Yes to confirm wiping the dalvik cache</li>
  217. <li>
  218. From the main menu select reboot device</li>
  219. </ol>
  220. <h2>
  221. Cleaning Up</h2>
  222. <ol>
  223. <li>
  224. After successfully flashing the image to your Ouya, do the following</li>
  225. <li>
  226. Right click Start &gt; Command Prompt (Admin)</li>
  227. <li>
  228. Paste the following commands to re-enable driving signing checks<br />
  229. <div class="codeBlock">
  230. bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS<br />
  231. bcdedit -set TESTSIGNING OFF<br />
  232. shutdown /r</div>
  233. </li>
  234. <li>
  235. Your PC will reboot</li>
  236. </ol>
  237. <p>
  238. Special thanks to <a href="https://www.s-config.com/cyanogen-mod-and-the-ouya/" target="_blank">https://www.s-config.com/cyanogen-mod-and-the-ouya/</a> for helping to keep the Ouya alive</p>
  239. </div>
  240. </div>
  241. </body>
  242. </html>