Things You Will Need
- A USB flash drive, at least 4 GB of free space https://amzn.to/3wkR5ju
- A USB hub, preferably with external power https://amzn.to/3KTviDw
- A USB keyboard https://amzn.to/3qgUQTe | https://amzn.to/3uchJs
Prerequisites and Downloads
- Download i12bretro_OUYA_commands.zip Download
- Download i12bretro_OUYA_AOSP5_image.zip Download
- Format the USB flash drive to FAT32
- Right Click Start > File Explorer
- Right Click the USB flash drive > Format...
- Select FAT32 from the File System dropdown
- Make sure Quick Format is checked
- Click Start
- Extract the downloaded i12bretro_OUYA_AOSP5_image.zip file to the root of the USB flash drive
- Extract the downloaded i12bretro_OUYA_commands.zip
- Safely remove the flash drive and set aside for later
Installing Ouya USB Drivers
- Right click Start > Command Prompt (Admin)
- Paste the following commands to disable driving signing checks temporarily
bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING ON
shutdown /r - Your PC will reboot
- Connect a USB cable from the micro USB port on the back of the Ouya to your PC
- Make sure the Ouya is connected to a display via HDMI
- Power on the Ouya
- After a few seconds you should hear Windows chime that a new device has been detected
- Right click Start > Device Manager
- Expand Other Devices and you should see OUYA listed
- Right click OUYA > Update Driver
- Select Browse my computer for driver software
- Click the Browse... button
- Navigate to the extracted i12bretro_OUYA_commands\files\driver
- Click OK
- Make sure "Include subfolders" is checked, click Next
- Windows should find the correct driver for the Ouya and install it
- Navigate to the i12bretro_OUYA_commands in windows explorer
- Right click i12bretro_OUYA_commands.bat > Run as administrator
- The script uses the Android Debug Bridge (ADB) to boot the Ouya into CyanogenMod recovery
- When the command prompts to "-- Setup the fastboot driver", go back to Device Manager expand Android Device
- Right click Android Bootloader Device > Update Driver
- Select Browse my computer for driver software
- Click the Browse... button
- Navigate to the extracted i12bretro_OUYA_commands\files\driver
- Click OK
- Make sure "Include subfolders" is checked, click Next
- Windows should find the correct driver for the Ouya and install it
- Press Enter at the command prompt once the driver is installed to continue booting the Ouya to CyanogenMod recovery
Restore i12bretro AOSP5 Image via CyanogenMod Recovery
- With the OUYA in CyanogenMod Recovery:
- Select Backup/Restore > Restore from USB disk
- Navigate to and select the extracted i12bretro image from the USB disk clockworkmod\backup\2020-06-02.11.44.42
- Select Yes to confirm restoring the backup
- Wait several minutes for the various partitions of the image to be copied to the Ouya
- From the main menu select wipe cache partition
- Select Yes to confirm wiping the cache
- From the main menu select advanced > wipe dalvik cache partition
- Select Yes to confirm wiping the dalvik cache
- From the main menu select Install zip > Install zip from USB disk
- Select recovery-clockwork-6.0.4.8-ouya.zip
- Select Yes to confirm installing recovery
- From the main menu select Install zip > Install zip from USB disk
- Select ouyabootmenu-mql-v2.0.4.zip
- Select Yes to confirm installing Ouya boot menu
- From the main menu select reboot device
- After a few moments the device will boot running Android 5.0 Lollipop
Cleaning Up
- After successfully flashing the image to your Ouya, do the following
- Right click Start > Command Prompt (Admin)
- Paste the following commands to re-enable driving signing checks
bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING OFF
shutdown /r - Your PC will reboot
Special thanks to https://www.s-config.com/ouya-android-5-kodi-krypton/ for helping to keep the Ouya alive