0345.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Flashing the OUYA with i12bretro Image v3.0</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 v3.0">
  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 v3.0</h1>
  79. </div>
  80. <div></div>
  81. <div id="content">
  82. <h2>What&#39;s Included</h2>
  83. <ul>
  84. <li>Everything from the previous i12bretro Ouya images</li>
  85. <li>Ouya Discover Store 2020 fix</li>
  86. <li>Factory Reset Fix</li>
  87. <li>Discover Store full games unlock</li>
  88. <li>Root access</li>
  89. </ul>
  90. <h2>What&#39;s New</h2>
  91. <ul>
  92. <li>Updated RetroArch to v1.9.0</li>
  93. <li>Installed Aptoide app store</li>
  94. <li>Installed Dig Emulation Frontend</li>
  95. <li>Semi-working Google Play store (Frequent crashes / apps can be installed, but some don&#39;t work due to missing Google services)</li>
  96. </ul>
  97. <h2>Things You Will Need</h2>
  98. <ul>
  99. <li>A USB flash drive, at least 4 GB of free space</li>
  100. <li>A USB hub, preferably with external power</li>
  101. <li>A USB keyboard</li>
  102. </ul>
  103. <h2>Prerequisites and Downloads</h2>
  104. <ol>
  105. <li>Download i12bretro_OUYA_image_v3.0.zip <a href="https://drive.google.com/file/d/1xY6Yzcjm3VZYHYHVLoa_Fsz3XUUvo26l/view?usp=sharing" target="_blank">Download</a></li>
  106. <li>Format the USB flash drive to FAT32
  107. <ol start="1" style="list-style-type: lower-alpha;">
  108. <li>Right Click Start &gt; File Explorer</li>
  109. <li>Right Click the USB flash drive &gt; Format...</li>
  110. <li>Select FAT32 from the File System dropdown</li>
  111. <li>Make sure Quick Format is checked</li>
  112. <li>Click Start</li>
  113. </ol>
  114. </li>
  115. </ol>
  116. <ol start="4">
  117. <li>Extract the downloaded i12bretro_OUYA_image_v3.0.zip file</li>
  118. <li>Copy the contents of the /Copy_to_USB folder to the root of the USB flash drive</li>
  119. <li>Safely remove the flash drive and plug it into the USB hub connected to the Ouya</li>
  120. <li>Plug in the USB keyboard to the USB hub connected to the Ouya</li>
  121. </ol>
  122. <h2>Installing Ouya USB Drivers</h2>
  123. <ol>
  124. <li>Right click Start &gt; Command Prompt (Admin)</li>
  125. <li>Paste the following commands to disable driving signing checks temporarily
  126. <div class="codeBlock">bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS<br />
  127. bcdedit -set TESTSIGNING ON<br />
  128. shutdown /r</div>
  129. </li>
  130. <li>Your PC will reboot</li>
  131. <li>Connect a USB cable from the micro USB port on the back of the Ouya to your PC</li>
  132. <li>Make sure the Ouya is connected to a display via HDMI</li>
  133. <li>Power on the Ouya</li>
  134. <li>After a few seconds you should hear Windows chime that a new device has been detected</li>
  135. <li>Right click Start &gt; Device Manager</li>
  136. <li>Expand Other Devices and you should see OUYA listed</li>
  137. <li>Right click OUYA &gt; Update Driver</li>
  138. <li>Select Browse my computer for driver software</li>
  139. <li>Click the Browse... button</li>
  140. <li>Navigate to the extracted i12bretro_OUYA_image_v3.0\files\driver</li>
  141. <li>Click OK</li>
  142. <li>Make sure &quot;Include subfolders&quot; is checked, click Next</li>
  143. <li>Windows should find the correct driver for the Ouya and install it</li>
  144. <li>Navigate to the i12bretro_OUYA_image_v3.0 in windows explorer</li>
  145. <li>Right click i12bretro_OUYA_image_v3.0.bat &gt; Run as administrator</li>
  146. <li>The script uses the Android Debug Bridge (ADB) to boot the Ouya into CyanogenMod recovery</li>
  147. <li>When the command prompts to &quot;--&nbsp; Setup the fastboot driver&quot;, go back to Device Manager expand Android Device</li>
  148. <li>Right click Android Bootloader Device &gt; Update Driver</li>
  149. <li>Select Browse my computer for driver software</li>
  150. <li>Click the Browse... button</li>
  151. <li>Navigate to the extracted i12bretro_OUYA_image_v3.0\files\driver</li>
  152. <li>Click OK</li>
  153. <li>Make sure &quot;Include subfolders&quot; is checked, click Next</li>
  154. <li>Windows should find the correct driver for the Ouya and install it</li>
  155. <li>Press Enter at the command prompt once the driver is installed to continue booting the Ouya to CyanogenMod recovery</li>
  156. </ol>
  157. <h2>Restore i12bretro Image via CyanogenMod Recovery</h2>
  158. <ol>
  159. <li>With the OUYA in CyanogenMod Recovery:</li>
  160. <li>Select wipe data/factory reset</li>
  161. <li>Select Yes to confirm wiping all user data</li>
  162. <li>From the main menu select advanced &gt; wipe dalvik cache partition</li>
  163. <li>Select Yes to confirm wiping the dalvik cache</li>
  164. <li>Select Backup/Restore &gt; Restore from USB disk</li>
  165. <li>Navigate to and select the extracted i12bretro image from the USB disk clockworkmod\backup\i12bretro_v3.0</li>
  166. <li>Select Yes to confirm restoring the backup</li>
  167. <li>Wait several minutes for the various partitions of the image to be copied to the Ouya</li>
  168. <li>From the main menu select&nbsp;install zip &gt; choose zip from /storage/usbdisk</li>
  169. <li>Arrow down and select RC-OUYA-1.2.1427-r1_ota.zip &gt; Press Enter</li>
  170. <li>Select Yes to confirm the install</li>
  171. <li>From the main menu select mounts and storage &gt; mount /system</li>
  172. <li>While at the mounts and storage menu, make sure /data is mounted, the menu should say unmount /data. If it does not, mount it as well</li>
  173. <li>Back on the PC Press Enter to continue with rooting the Ouya and fixing the Discover store</li>
  174. <li>Copy each of the adb shell commands one at a time into the command prompt to gain root access</li>
  175. <li>Once the process completes the Ouya will reboot</li>
  176. </ol>
  177. <h2>Completing Root Access</h2>
  178. <ol>
  179. <li>Once the Ouya boots, navigate to Make &gt; Software</li>
  180. <li><label for="cb_li_605884_11">Launch Superuser &gt; Select Install</label></li>
  181. <li>S<label for="cb_li_307470_12">elect Remember choice forever &gt; Allow</label></li>
  182. <li><label for="cb_li_503050_13">Click OK</label></li>
  183. <li><label for="cb_li_312900_14">Exit Superuser and navigate back to Make &gt; Software</label></li>
  184. <li>Launch Xposed Installer</li>
  185. <li>Select Framework &gt; Check Don&#39;t show this again and Click OK to the popup &gt; Click Install/Update &gt; Click OK to reboot</li>
  186. <li>After rebooting Discover Store games that used the Ouya purchase API will be unlocked</li>
  187. </ol>
  188. <h2>Setting Up Google Play</h2>
  189. <ol>
  190. <li>Navigate to Make &gt; Software</li>
  191. <li>Launch Mod Collection for Ouya</li>
  192. <li>Arrow down to Install Play Store</li>
  193. <li>Wait for the installation to complete</li>
  194. <li>Back out to Make &gt; Software and select Quick Boot</li>
  195. <li>Select Reboot to complete the Google Play install</li>
  196. <li>Once the Ouya is back up go to Make &gt; Software &gt; Google Play</li>
  197. <li>Go through authenticated with Google and the Play Store will load (The Play Store is pretty unstable, but it does allow apps to be installed pretty simply when it plays nice)</li>
  198. </ol>
  199. <h2>Cleaning Up</h2>
  200. <ol>
  201. <li>After successfully flashing the image to your Ouya, do the following</li>
  202. <li>Right click Start &gt; Command Prompt (Admin)</li>
  203. <li>Paste the following commands to re-enable driving signing checks
  204. <div class="codeBlock">bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS<br />
  205. bcdedit -set TESTSIGNING OFF<br />
  206. shutdown /r</div>
  207. </li>
  208. <li>Your PC will reboot</li>
  209. </ol>
  210. <p>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> and&nbsp;Christian Weiske&nbsp;<a href="https://ouya.cweiske.de" target="_blank">https://ouya.cweiske.de</a> for helping to keep the Ouya alive</p>
  211. </div>
  212. </div>
  213. </body>
  214. </html>