0040: Flashing the OUYA with i12bretro Image
This commit is contained in:
parent
e38141db91
commit
e321509385
1 changed files with 235 additions and 0 deletions
235
0040.html
Normal file
235
0040.html
Normal file
|
@ -0,0 +1,235 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Flashing the OUYA with i12bretro Image</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$('textarea').each(function(i,e){
|
||||
theTextarea = $(this);
|
||||
theTextarea.height((theTextarea[0].scrollHeight-5) +'px');
|
||||
});
|
||||
|
||||
$('li').each(function(i,e){
|
||||
var uuid = 'li_' + Math.floor(Math.random() * Math.floor(1000000)).toString() + '_' + i.toString();
|
||||
$(this).contents().wrap('<span id="'+ uuid +'"><label for="cb_'+ uuid +'"></label></span>');
|
||||
$(this).prepend('<input type="checkbox" class="completeBox" id="cb_' + uuid +'" rel="'+ uuid +'" />')
|
||||
});
|
||||
|
||||
$('code,div.codeBlock,textarea.codeBlock').each(function(i,e){
|
||||
theElement = $(this);
|
||||
var lines = theElement.html().split("\n");
|
||||
theElement.empty();
|
||||
for(l=0;l<lines.length;l++){
|
||||
if($.trim(lines[l]) != '' && $.trim(lines[l]).substr(0,1) != '#' && $.trim(lines[l]).indexOf(' #') == -1 && lines[l].substr(0, 4).toUpperCase() != 'REM '){
|
||||
theElement.append('<input type="image" src="images/clipboard.png" value="" class="copy-text" rel="copy_'+ i +'_'+ l +'" data-clipboard-text="'+ lines[l].replace(/"/g, '"') +'" /><span id="copy_'+ i +'_'+ l +'">'+ lines[l] +'</span>');
|
||||
} else {
|
||||
theElement.append(lines[l]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click','input.copy-text',function(){
|
||||
theButton = $(this);
|
||||
$('input.copy-text').attr('src','images/clipboard.png');
|
||||
$('span.copy-animation').removeClass('copy-animation');
|
||||
try {
|
||||
$('#'+ theButton.attr('rel')).addClass('copy-animation');
|
||||
navigator.clipboard.writeText(theButton.data('clipboard-text').replace(/<[^>]*>?/gm, ''));
|
||||
theButton.attr('src','images/clipboard_active.png');
|
||||
} catch(err) {
|
||||
}
|
||||
return false;
|
||||
});
|
||||
|
||||
$(document).on('click','input.completeBox',function(){
|
||||
theBox = $(this);
|
||||
$('#'+ theBox.attr('rel')).addClass('strikethrough');
|
||||
theBox.prop('disabled',true);
|
||||
theBox.parent('li').prevAll().each(function(i,e){
|
||||
theLI = $(this);
|
||||
if(theLI.find('input[type=checkbox]').not(':checked')){
|
||||
$('#'+ theLI.find('input[type=checkbox]').attr('rel')).addClass('strikethrough');
|
||||
theLI.find('input[type=checkbox]').prop('checked',true).prop('disabled',true);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
if(window.self !== window.top){
|
||||
window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<link href="css/steps.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="gridContainer">
|
||||
<div class="topMargin"></div>
|
||||
<div id="listName" class="topMargin">
|
||||
<h1>Flashing the OUYA with i12bretro Image</h1>
|
||||
</div>
|
||||
<div></div>
|
||||
<div id="content">
|
||||
<h2>
|
||||
Things You Will Need</h2>
|
||||
<ul>
|
||||
<li>
|
||||
A USB flash drive, at least 4 GB of free space</li>
|
||||
<li>
|
||||
A USB hub, preferably with external power</li>
|
||||
<li>
|
||||
A USB keyboard</li>
|
||||
</ul>
|
||||
<h2>
|
||||
Prerequisites and Downloads</h2>
|
||||
<ol>
|
||||
<li>
|
||||
Download i12bretro_OUYA_commands.zip <a href="https://drive.google.com/open?id=1OgeEgZ9M4-Ym7Ldwz0bnpy0b0ZZ_vxlA" target="_blank">Download</a></li>
|
||||
<li>
|
||||
Download i12bretro_OUYA_image.zip <a href="https://drive.google.com/open?id=1sXaMcrRJ9JDG7KLvn4nAtNrBYONXFouh" target="_blank">Download</a></li>
|
||||
<li>
|
||||
Format the USB flash drive to FAT32
|
||||
<ol start="1" style="list-style-type: lower-alpha;">
|
||||
<li>
|
||||
Right Click Start > File Explorer</li>
|
||||
<li>
|
||||
Right Click the USB flash drive > Format...</li>
|
||||
<li>
|
||||
Select FAT32 from the File System dropdown</li>
|
||||
<li>
|
||||
Make sure Quick Format is checked</li>
|
||||
<li>
|
||||
Click Start</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ol>
|
||||
<ol start="4">
|
||||
<li>
|
||||
Extract the downloaded i12bretro_OUYA_image.zip file to the root of the USB flash drive</li>
|
||||
<li>
|
||||
Extract the downloaded i12bretro_OUYA_commands.zip</li>
|
||||
<li>
|
||||
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>
|
||||
<li>
|
||||
Safely remove the flash drive and set aside for later</li>
|
||||
</ol>
|
||||
<h2>
|
||||
Installing Ouya USB Drivers</h2>
|
||||
<ol>
|
||||
<li>
|
||||
Right click Start > Command Prompt (Admin)</li>
|
||||
<li>
|
||||
Paste the following commands to disable driving signing checks temporarily<br />
|
||||
<div class="codeBlock">
|
||||
bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS<br />
|
||||
bcdedit -set TESTSIGNING ON<br />
|
||||
shutdown /r</div>
|
||||
</li>
|
||||
<li>
|
||||
Your PC will reboot</li>
|
||||
<li>
|
||||
Connect a USB cable from the micro USB port on the back of the Ouya to your PC</li>
|
||||
<li>
|
||||
Make sure the Ouya is connected to a display via HDMI</li>
|
||||
<li>
|
||||
Power on the Ouya</li>
|
||||
<li>
|
||||
After a few seconds you should hear Windows chime that a new device has been detected</li>
|
||||
<li>
|
||||
Right click Start > Device Manager</li>
|
||||
<li>
|
||||
Expand Other Devices and you should see OUYA listed</li>
|
||||
<li>
|
||||
Right click OUYA > Update Driver</li>
|
||||
<li>
|
||||
Select Browse my computer for driver software</li>
|
||||
<li>
|
||||
Click the Browse... button</li>
|
||||
<li>
|
||||
Navigate to the extracted i12bretro_OUYA_commands\files\driver</li>
|
||||
<li>
|
||||
Click OK</li>
|
||||
<li>
|
||||
Make sure "Include subfolders" is checked, click Next</li>
|
||||
<li>
|
||||
Windows should find the correct driver for the Ouya and install it</li>
|
||||
<li>
|
||||
Navigate to the i12bretro_OUYA_commands in windows explorer</li>
|
||||
<li>
|
||||
Right click i12bretro_OUYA_commands.bat > Run as administrator</li>
|
||||
<li>
|
||||
The script uses the Android Debug Bridge (ADB) to boot the Ouya into CyanogenMod recovery</li>
|
||||
<li>
|
||||
When the command prompts to "-- Setup the fastboot driver", go back to Device Manager expand Android Device</li>
|
||||
<li>
|
||||
Right click Android Bootloader Device > Update Driver</li>
|
||||
<li>
|
||||
Select Browse my computer for driver software</li>
|
||||
<li>
|
||||
Click the Browse... button</li>
|
||||
<li>
|
||||
Navigate to the extracted i12bretro_OUYA_commands\files\driver</li>
|
||||
<li>
|
||||
Click OK</li>
|
||||
<li>
|
||||
Make sure "Include subfolders" is checked, click Next</li>
|
||||
<li>
|
||||
Windows should find the correct driver for the Ouya and install it</li>
|
||||
<li>
|
||||
Press Enter at the command prompt once the driver is installed to continue booting the Ouya to CyanogenMod recovery</li>
|
||||
</ol>
|
||||
<h2>
|
||||
Restore i12bretro Image via CyanogenMod Recovery</h2>
|
||||
<ol>
|
||||
<li>
|
||||
With the OUYA in CyanogenMod Recovery:</li>
|
||||
<li>
|
||||
Select Backup/Restore > Restore from USB disk</li>
|
||||
<li>
|
||||
Navigate to and select the extracted i12bretro image from the USB disk clockworkmod\backup\2019-06-13.13.27.22</li>
|
||||
<li>
|
||||
Select Yes to confirm restoring the backup</li>
|
||||
<li>
|
||||
Wait several minutes for the various partitions of the image to be copied to the Ouya</li>
|
||||
<li>
|
||||
From the main menu select Install zip > install zip from USB disk</li>
|
||||
<li>
|
||||
Navigate to the RC-OUYA-1.2.1427-r1_ota.zip file on the USB disk</li>
|
||||
<li>
|
||||
Select Yes to confirm installing the update</li>
|
||||
<li>
|
||||
From the main menu select wipe cache partition</li>
|
||||
<li>
|
||||
Select Yes to confirm wiping the cache</li>
|
||||
<li>
|
||||
From the main menu select advanced > wipe dalvik cache partition</li>
|
||||
<li>
|
||||
Select Yes to confirm wiping the dalvik cache</li>
|
||||
<li>
|
||||
From the main menu select reboot device</li>
|
||||
</ol>
|
||||
<h2>
|
||||
Cleaning Up</h2>
|
||||
<ol>
|
||||
<li>
|
||||
After successfully flashing the image to your Ouya, do the following</li>
|
||||
<li>
|
||||
Right click Start > Command Prompt (Admin)</li>
|
||||
<li>
|
||||
Paste the following commands to re-enable driving signing checks<br />
|
||||
<div class="codeBlock">
|
||||
bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS<br />
|
||||
bcdedit -set TESTSIGNING OFF<br />
|
||||
shutdown /r</div>
|
||||
</li>
|
||||
<li>
|
||||
Your PC will reboot</li>
|
||||
</ol>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Reference in a new issue