Things You Will Need
Prerequisites and Downloads
Extract the downloaded i12bretro_OUYA_commands.zip Extract the downloaded Ouya_AndroidTV_v2.zip Copy the contents of the /Copy_to_USB folder to the root of the USB flash drive Safely remove the flash drive and plug it into the USB hub connected to the Ouya Plug in the USB keyboard to the USB hub connected to the Ouya
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 /rYour 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 Android TV via CyanogenMod Recovery
With the OUYA in CyanogenMod Recovery: Select Backup/Restore > Restore from USB disk Navigate to and select the extracted Android TV image from the USB disk clockworkmod\backup\Ouya_AndroidTV_v2 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 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-mlq-v2.0.4.zip Select Yes to confirm installing recovery From the main menu select Install zip > Install zip from USB disk Select ouya-keylayouts.zip Select Yes to confirm installing recovery After the zip file finishes installing, back out to the main menu and 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 reboot device After a few moments (up to 5 minutes) the device will boot into Android TV
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 /rYour PC will reboot
Source: https://forum.xda-developers.com/t/rom-port-adt-1-android-tv-for-ouya.2895293/