Install Android 7.1 on Ouya

Caution: Proceed at your own risk. This process has a higher chance of potentially bricking your Ouya console. This process uses a modified version of TWRP recovery that switches the cache and system partitions. Make absolutely sure that you follow the steps exactly and that Ouya boot menu gets installed as it can allow to get back into recovery should something go wrong

Things You Will Need

Prerequisites and Downloads

  1. Download i12bretro_OUYA_Android7_commands.zip Download
  2. Download i12bretro_OUYA_Android7_image.zip Download
  3. Format the USB flash drive to FAT32
    1. Right Click Start > File Explorer
    2. Right Click the USB flash drive > Format...
    3. Select FAT32 from the File System dropdown
    4. Make sure Quick Format is checked
    5. Click Start
  1. Extract the downloaded i12bretro_OUYA_Android7_image.zip file to the root of the USB flash drive
  2. Extract the downloaded i12bretro_OUYA_Android7_commands.zip
  3. Safely remove the flash drive and set aside for later

Installing Ouya USB Drivers

  1. Right click Start > Command Prompt (Admin)
  2. Paste the following commands to disable driving signing checks temporarily
    bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
    bcdedit -set TESTSIGNING ON
    shutdown /r
  3. Your PC will reboot
  4. Connect a USB cable from the micro USB port on the back of the Ouya to your PC
  5. Connect the USB hub to the USB port on the Ouya > Plug in the USB keyboard and prepared USB flash drive
  6. Make sure the Ouya is connected to a display via HDMI
  7. Power on the Ouya
  8. After a few seconds you should hear Windows chime that a new device has been detected
  9. Right click Start > Device Manager
  10. Expand Other Devices and you should see OUYA listed
  11. Right click OUYA > Update Driver
  12. Select Browse my computer for driver software
  13. Click the Browse... button
  14. Navigate to the extracted i12bretro_OUYA_Android7_commands\files\driver
  15. Click OK
  16. Make sure "Include subfolders" is checked, click Next
  17. Windows should find the correct driver for the Ouya and install it
  18. Navigate to the i12bretro_OUYA_Android7_commands in windows explorer
  19. Right click i12bretro_OUYA_Android7_commands.bat > Run as administrator
  20. The script uses the Android Debug Bridge (ADB) to boot the Ouya into TWRP recovery
  21. When the command prompts to "-- Setup the fastboot driver", go back to Device Manager expand Android Device
  22. Right click Android Bootloader Device > Update Driver
  23. Select Browse my computer for driver software
  24. Click the Browse... button
  25. Navigate to the extracted i12bretro_OUYA_Android7_commands\files\driver
  26. Click OK
  27. Make sure "Include subfolders" is checked, click Next
  28. Windows should find the correct driver for the Ouya and install it
  29. Press Enter at the command prompt once the driver is installed to continue booting the Ouya to TWRP recovery

Restore i12bretro Android 7 Image via TWRP Recovery

  1. With the OUYA in CWM Recovery:
  2. From the main menu select Install zip > Install zip from USB disk
  3. Select UNOFFICIAL-twrp-3.2.3-0-SxC-ouya.zip
  4. Select Yes to confirm installing recovery
  5. From the main menu select Install zip > Install zip from USB disk
  6. Select ouyabootmenu-mql-v2.0.4.zip !!!This is critical!!!
  7. Select Yes to confirm installing Ouya boot menu
  8. From the main menu select Advanced > Reboot recovery
  9. The Ouya should reboot into TWRP recovery
  10. Click Restore
  11. Click Select Storage > Select Storage 1
  12. Click 2020-05-17--20-43-21_N9F27M_test-keys
  13. Make sure System, Cache and Data are checked > Using the mouse slide Swipe to Restore
  14. Click the TWRP logo in the top left to return to the main menu
  15. Click Install
  16. If you are not already viewing Storage 1, Click Select Storage > Select Storage 1
  17. Select UNOFFICIAL-twrp-3.2.3-0-SxC0-ouya.zip
  18. Click Add more Zips
  19. Select ouyabootmenu-mlq-v2.0.4.zip
  20. Click Add more Zips
  21. Click ouya-keylayouts.zip
  22. Using the mouse slide Swipe to confirm Flash
  23. Click Reboot System
  24. After a few moments the device will boot into Android 7.1 Nougat

Cleaning Up

  1. After successfully flashing the image to your Ouya, do the following
  2. Right click Start > Command Prompt (Admin)
  3. Paste the following commands to re-enable driving signing checks
    bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS
    bcdedit -set TESTSIGNING OFF
    shutdown /r
  4. Your PC will reboot

Source: https://forum.xda-developers.com/ouya/development/rom-android-7-1-nougat-ouya-t3927878