0047.html 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install CyanogenMod on Ouya</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,Tutorial,How To,CyanogenMod,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install CyanogenMod on Ouya">
  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>Install CyanogenMod on Ouya</h1>
  79. </div>
  80. <div></div>
  81. <div id="content">
  82. <h2>Things You Will Need</h2>
  83. <ul>
  84. <li>A USB flash drive, at least 4 GB of free space</li>
  85. <li>A USB hub, preferably with external power</li>
  86. <li>A USB keyboard</li>
  87. </ul>
  88. <h2>Prerequisites and Downloads</h2>
  89. <ol>
  90. <li>Download i12bretro_OUYA_commands.zip <a href="https://drive.google.com/open?id=1OgeEgZ9M4-Ym7Ldwz0bnpy0b0ZZ_vxlA" target="_blank">Download</a></li>
  91. <li>Download i12bretro_OUYA_CM11_image.zip <a href="https://drive.google.com/open?id=12T80-ROZZMAlrTcqts10fljYfyT39lTV" target="_blank">Download</a></li>
  92. <li>Format the USB flash drive to FAT32
  93. <ol start="1" style="list-style-type: lower-alpha;">
  94. <li>Right Click Start &gt; File Explorer</li>
  95. <li>Right Click the USB flash drive &gt; Format...</li>
  96. <li>Select FAT32 from the File System dropdown</li>
  97. <li>Make sure Quick Format is checked</li>
  98. <li>Click Start</li>
  99. </ol>
  100. </li>
  101. </ol>
  102. <ol start="4">
  103. <li>Extract the downloaded i12bretro_OUYA_CM11_image.zip file to the root of the USB flash drive</li>
  104. <li>Extract the downloaded i12bretro_OUYA_commands.zip</li>
  105. <li>Safely remove the flash drive and set aside for later</li>
  106. </ol>
  107. <h2>Installing Ouya USB Drivers</h2>
  108. <ol>
  109. <li>Right click Start &gt; Command Prompt (Admin)</li>
  110. <li>Paste the following commands to disable driving signing checks temporarily
  111. <div class="codeBlock">bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS<br />
  112. bcdedit -set TESTSIGNING ON<br />
  113. shutdown /r</div>
  114. </li>
  115. <li>Your PC will reboot</li>
  116. <li>Connect a USB cable from the micro USB port on the back of the Ouya to your PC</li>
  117. <li>Make sure the Ouya is connected to a display via HDMI</li>
  118. <li>Power on the Ouya</li>
  119. <li>After a few seconds you should hear Windows chime that a new device has been detected</li>
  120. <li>Right click Start &gt; Device Manager</li>
  121. <li>Expand Other Devices and you should see OUYA listed</li>
  122. <li>Right click OUYA &gt; Update Driver</li>
  123. <li>Select Browse my computer for driver software</li>
  124. <li>Click the Browse... button</li>
  125. <li>Navigate to the extracted i12bretro_OUYA_commands\files\driver</li>
  126. <li>Click OK</li>
  127. <li>Make sure &quot;Include subfolders&quot; is checked, click Next</li>
  128. <li>Windows should find the correct driver for the Ouya and install it</li>
  129. <li>Navigate to the i12bretro_OUYA_commands in windows explorer</li>
  130. <li>Right click i12bretro_OUYA_commands.bat &gt; Run as administrator</li>
  131. <li>The script uses the Android Debug Bridge (ADB) to boot the Ouya into CyanogenMod recovery</li>
  132. <li>When the command prompts to &quot;--&nbsp; Setup the fastboot driver&quot;, go back to Device Manager expand Android Device</li>
  133. <li>Right click Android Bootloader Device &gt; Update Driver</li>
  134. <li>Select Browse my computer for driver software</li>
  135. <li>Click the Browse... button</li>
  136. <li>Navigate to the extracted i12bretro_OUYA_commands\files\driver</li>
  137. <li>Click OK</li>
  138. <li>Make sure &quot;Include subfolders&quot; is checked, click Next</li>
  139. <li>Windows should find the correct driver for the Ouya and install it</li>
  140. <li>Press Enter at the command prompt once the driver is installed to continue booting the Ouya to CyanogenMod recovery</li>
  141. </ol>
  142. <h2>Restore i12bretro CM11 Image via CyanogenMod Recovery</h2>
  143. <ol>
  144. <li>With the OUYA in CyanogenMod Recovery:</li>
  145. <li>Select Backup/Restore &gt; Restore from USB disk</li>
  146. <li>Navigate to and select the extracted i12bretro image from the USB disk clockworkmod\backup\2020-05-06.14.20.17</li>
  147. <li>Select Yes to confirm restoring the backup</li>
  148. <li>Wait several minutes for the various partitions of the image to be copied to the Ouya</li>
  149. <li>From the main menu select wipe cache partition</li>
  150. <li>Select Yes to confirm wiping the cache</li>
  151. <li>From the main menu select advanced &gt; wipe dalvik cache partition</li>
  152. <li>Select Yes to confirm wiping the dalvik cache</li>
  153. <li>From the main menu select Install zip &gt; Install zip from USB disk</li>
  154. <li>Select recovery-clockwork-6.0.4.8-ouya.zip</li>
  155. <li>Select Yes to confirm installing recovery</li>
  156. <li>From the main menu select Install zip &gt; Install zip from USB disk</li>
  157. <li>Select ouyabootmenu-mql-v2.0.4.zip</li>
  158. <li>Select Yes to confirm installing Ouya boot menu</li>
  159. <li>From the main menu select reboot device</li>
  160. <li>After a few moments the device will boot into CyanogenMod 11 running Android 4.4.4</li>
  161. </ol>
  162. <h2>Cleaning Up</h2>
  163. <ol>
  164. <li>After successfully flashing the image to your Ouya, do the following</li>
  165. <li>Right click Start &gt; Command Prompt (Admin)</li>
  166. <li>Paste the following commands to re-enable driving signing checks
  167. <div class="codeBlock">bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS<br />
  168. bcdedit -set TESTSIGNING OFF<br />
  169. shutdown /r</div>
  170. </li>
  171. <li>Your PC will reboot</li>
  172. </ol>
  173. <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> for helping to keep the Ouya alive</p>
  174. </div>
  175. </div>
  176. </body>
  177. </html>