Cyanogen Mod CM11 and the Ouya.

Cyanogen mod the Ouya.

Why Cyanogen Mod (sometimes referred to as CM11) you ask? The future of Ouya and the news of the most recent acquisition of the company to Razer has made a lot of Ouya owners such as myself feel rather uneasy with the console business as a whole. Couple this with an aging OS to the point where some favorite applications such as Kodi no longer work under android 4.1 due to programming issues. Razer is now stating that they will keep the Ouya servers up for another year. But then what?

I guess they pull the plug and tell console owners such as myself to buy the next latest/greatest razer box. I will probably laugh and buy an Nvidia shield if I ever get an Android box again. But that's not the point of this blog entry.

previously

The point of this blog entry is to keep Ouyas running. Because both Ouya Inc. and Razer Gaming cannot tell users like me when my little silver box is dead, that is up to me to decide when my little silver box is truly dead. And Cyanogen modding is an alternative. By heavy software modding your Ouya, you can continue to use your box well after the servers for Ouya are long gone.

"Note: If you get a black screen but the audio is playing. Or you got a potato PC and it's studdering. We have fallback Links below."

betamax video tape - S-Config.Com

Video tutorial fallback mirrors:

In case you have no script enabled or cannot see the title video on this website for some reason. We have provided direct links for these videos. For more information about the standards we use on this site click here if you would like to know more.

  
AV1       - Link
MP4/.h264 - Link
OGV       - Link

What the hell is Cyanogen?

For those that have never touched an Android device in their entire life; Cyanogen is open-source firmware that is typically modded onto cell phones. Many cell phone companies do not like people loading their custom firmware onto their phones and will go as far as to void the warranty on the said phone if you upgrade it as a scare tactic to keep users far away from Cyanogen.

Julie Uhrmann - Dat pause face!Is this procedure even legal?

The short answer is "yes." Unlike the original Xbox and its soft-modding and homebrew community where Microsoft would go after ANYONE making a .xbe file. Ouya founder Julie Uhrman stated in their Kickstarter video on Invidious indexed at 2:21 that

"The console is open for hackers who want to tweak the box and make it their own." - Julie Uhrman

So it almost makes sense for lovers of Cyanogen mod to port the software over to this game console. As for the new company Razor, they are only interested in the Ouya Dashboard with the "discover" store where all of the devs have signed up to have their games published. Razor has no direct interest in the legacy Ouya hardware. Pic was not relevant, We just like that "Pause face" at 2:21. :)

Why even install Cyanogen mod to the Ouya?

Like any decision that you make with your device, there are always advantages and disadvantages to installing new firmware onto a device. Let's go through some of them.

The good of Cyanogen mod:

  • Kodi - At the time of this posting Kodi is moving away from Android 4.1 and onward to Android 4.2 for their latest release of Kodi v15 which makes it much easier to develop for what they need. This of course created a bit of a backlash in the Ouya community as the default firmware for Ouya is still sitting at Android 4.1. Kodi v14 is a perfectly fine video player that works brilliantly side-loaded onto the Ouya! But anyone who has witnessed the Kodi/XBMC progression will tell you that the moment the latest version gets released suddenly plugin development sort of stops on the previous versions. So Kodi is now telling Ouya users to upgrade to Cyanogen to experience v15 or to stay behind on v14.
  • Google Play - I have published articles in the past on how to get google play working on your Ouya. But over time Google has gotten more and more obnoxious with the way it decides to update itself. Sometimes on the Ouya OS google doesn't update properly. The end result is getting a lot of 921 errors when downloading APK's of your favorite utilities and games off of Google Play.
  • Side Loading - There always will be compatibility issues with sideloading any game or application on any Android device as it's just going to a newer version of Android it opens up the doors on games that otherwise would've crashed on the Ouya before. Once again, it gets back to how newer Android operating systems can handle older APKs as well as some of the newly compiled APKs.

The bad of Cyanogen Mod:

  • Ouya Discover Store - If you like Ouyas Discover and do not want to screw around with getting your console working with weird controls or have to occasionally hook and keyboard or mouse to exit an application this can be problematic.
  • Don't want google play - You've never rooted your Ouya and have no intention to.
  • ROM flashing risks - Like anything, there is a danger of hard-bricking your Ouya
  • Kodi v14 sideloaded on your Ouya - It's perfectly fine for what you do and has no reason/intention of going to Kodi v15.x and above.
  • Hardware-based compatibility issues - see below.

Then Cyanogen mod will not be for you and you can stop reading right now.

Ouya Compatibility chart with Cyanogen Mod CM11:

All Ouya consoles can accept CyanogenMod. However, there is some compatibility issues in terms of Wi-Fi and Bluetooth. Ouya compatibility chart with CM11 1/8/2016 - I have decided to provide a compatibility chart to help decide if CM11 is right for your Ouya.

  • All Ouya systems with the BCM4330 chipset are compatible with CM11 for Wi-Fi and Bluetooth. This includes the development edition clear, Kickstarter bronze, and retail silver.
  • All Ouya systems with the BCM4334 chipset are not compatible with CM11. Although it will load fine activating Wi-Fi and Bluetooth will not work. Someone on the XDA forums made a patch to at least get Bluetooth working for these models of Ouya however Wi-Fi is still crippled. This affects the Anthracite, Ninja Black, and Christmas White edition Ouya consoles.

3rd party controller compatibility in Cyanogen:

The good:

  • Ouya controller for the most part works. The home button behaves as a minimize command in Cyanogen. The touchpad does work so long as you do not plug a USB mouse into the Ouya. For some reason when you plug in a mouse for playing FPS games like Quake, it knocks out the controller touchpad functionality. You can temporarily get it back by un-pairing and re-pairing your Ouya controller via Bluetooth. But on reboot, it's gone again until you reload Cyanogen.
  • Xbox 360 controllers both wired and wireless work. I have taken the notes from the Ouya Chinese receiver and merged them into the key layouts zip file.
  • A lot of your moble-based controllers such as Moga and Nvidia all work.

The Bad:

  • PS3 controllers only work wired they do not work wirelessly. This was something that the original Ouya dev team actually worked on a bit with their variant of Android 4.1.
  • It has been reported that Wii Motes may not work as well. Same reason.

Disclaimers about software and Cyanogen mod:

S-Config or anyone on the internet for that matter is not responsible for any damages that occur both physical, financial, mental, or psychological when hacking of modifying the software of your console. If you have an issue with this then stop immediately and purchase a different Android-based console that can better suit you for applications such as Kodi v15.

Hardware prerequisites:

Keyboard Mouse and USB Hub hardware prerequisites for Cyanogen ModBasic hardware prerequisites for Ouya Cyanogen are as follows:Hardware-prerequisities USB cable for ADB

  1. USB male "A" to female "micro A" cable. In this tutorial, we will not even be logging into our Ouya account which makes this cable a requirement.
  2. USB Keyboard - This will be essential during the installation process as Bluetooth will not be active when we go through the boot-loader nor will it be active during the initial configuration of Cyanogen 11
  3. USB Mouse - Not nearly as essential during the bootloader process but very handy when doing your initial configuration. Update 1/17/2016: You may want to skip the mouse altogether on this installation if you want the trackpad of your Ouya Controller working. I have not figured out how to reset the mouse control back after we plug a USB mouse into CM11 yet.
  4. USB Hub - It does not have to be self-powered unless you are hooking large external storage such as a portable hard drive to your Ouya.

Acquire the software:

Download softwareI have set up a link for all of the Cyanogen mods to take place onto your Ouya known as "cyanouya.zip". Click here or on the Download icon to the right to begin downloading the 7-zip file.  

Extract files from the archive:

Cyanogen - CM11 - extract files into their respective folder Use your favorite file extraction utility on the 7-zip file you just downloaded. For this tutorial, we will be extracting to C:\cyanouya which we will be using as a reference point throughout this tutorial. If you extract it elsewhere or if you are on a MAC or Linux box make note of where you extract it to and make adjustments accordingly.

The files that are in cyanouya.7z are as follows:
  • adb.exe as well as the two DLLs required to run ADB
  • fastboot.exe which will be required to upload the recovery-clockwork-6.0.4.8-ouya.img via the micro-USB cable.
  • zip folder containing the following: cm-11-20160312-NIGHTLY-ouya.zip (Ouya nightly build of the Cyanogen OS) gapps-kk-20140105.zip (Google Play Apps) ouyabootmenu-mlq-v2.0.4.zip (required for Ouyas bootmenu) ouya-keylayouts.zip (which contains .kl files for the Ouya controller as well as a few other genetic controllers) recovery-clockwork-6.0.4.8-ouya.zip (This version of clockworks gets installed onto your Ouya bootloader and does not get removed). Please note: At the time of the article this was the most current nightly build. Newer versions can be acquired here.
  • driver folder containing files that allow you to access your Ouya in both "ADB" mode and "Fastboot" mode. The android_winusb.inf is already modified to find an Ouya on USB device USB\VID_2836&PID_0010 .
  • apk folder which although we will not be using any apks during the installation of Cyanogen mod they are exceptionally handy to have after you have installed everything as I shall show you later.

 

Lets begin installing.

Ouya Welcome ScreenWe're going to power up our Ouya and leave it on the welcome screen. These instructions do not require your Ouya to be rooted or even logged into your Ouya account. If you had a mint Ouya still wrapped in plastic and opened it up and plugged and powered it up. Then that's all you need to do for now on your Ouya. Ouya Factory ResetNow if you are already logged into your Ouya and you want to start fresh you can always do a factory reset to get the "welcome" screen. Just go under MANAGE > FACTORY RESET to continue.. Just keep in mind when you do a factory reset of your Ouya all data such as XBMC/KODI profiles, save games, and settings for your emulators may be lost. Once we are at the welcome screen on the Ouya now is the time you will be plugging in your micro-USB cable into the back of your Ouya, and the other end to the PC. Device Manager - Ouya as an Unknown Device.Now let's go over to the PC side to see if we can find our Ouya in the device manager (screenshots are all windows 7 and may vary between OS's). If this is your first time plugging your Ouya in via USB you should see something like my device manager where the Ouya is in the Other Devices category.

That's not going to work with ADB in the state it is in. So we are going to update the driver. Note: I have received a few users stating that they do not receive the "OUYA" underneath other devices category but instead only have the Ouya MTP underneath the "Portable Devices" category. If you are already logged into your Ouya do a factory reset as depending on what is going on with your Ouya the ADB function may or may not be disabled on it. Right-Click on the Ouya in Other Devices and click Update Driver Software to continue.

Also, if you are running Windows XP, 7, 10(32-bit-edition) and you do not see the word "Ouya" or something similar but instead see the words "Unknown Device" underneath other devices then your system has not properly detected your Ouya ADB port. The biggest cause of this problem is a bad or faulty USB data cable. Try a different data cable and try again.

I can't find the unknown device category on my Windows 10 x64-bit edition box! Help!

Windows 10 titleYou are not going crazy if you do not see "Ouya" under "Unknown Devices". We do however need to talk. Click here to learn how to correct driver issues with ADB inside of Windows 10 64-bit for the Ouya. Do not worry, this will open another tab so you can pick up right from this section the moment your driver is straightened out.

Continuing onward if you did find "OUYA" in "unknown devices"

Ouya ADB Driver update - let me pick the driver.We are not going to let the OS choose the driver we want to use. We are going to pick it ourselves. Click "Let me pick from a list of drive drivers on my computer" and click next to continue. Ouya ADB Driver update - device selection.Click on "Show All Devices" and click Next to continue. Ouya Adb Driver Update - Have DiskClick on the Have Disk button. Ouya ADB driver update - Have Disk location.We are going to browse where our ADB drivers are. Since I extracted my cyanouya.zip file right to the root of C:\ I can simply type in C:\cyanouya\driver . If you placed your drivers elsewhere or you are using the Android SDK instead of the ADB binary included in the zip file. You will then have to click the Browse button to find where your ADB drivers are at. Click OK to continue. Ouya Adb Driver - UpdateWindows should have already determined that the best driver is "Android Composite ADB Interface" if not or if this is blank, uncheck the "Show compatible hardware" box and select your Android Composite ADB Interface from there. Click Next to proceed with driver installation. Ouya Adb device driver warning.Windows does not like drivers it does not know about or where they come from. This is normal. Click "Install this driver software anyways." Ouya ADB driver installation.It should begin installing the driver. This may take around 10-30 seconds on your first time installing it. Ouya ADB driver Complete 01If everything went well then you will get a message like the window above. If for some reason there is an error code. Then there is something wrong with your Ouyas connection. Click close to continue. Device Manager - Android ADB device installed.Your Other Device and your Ouya will disappear from the device manager. You should now have a new category called "Android Device" and the device known as "Android Composite ADB Interface" . Your PC will now understand what your Ouya is whenever you connect it to your PC. From This point, you can now close out of the device manager.

Installing the adb_usb.ini file:

This file exists in your user profile folder underneath a section called .android and it has a very simple one-line comment which tells ADB where to look for your Ouya on your devices. For example, if your username in Windows is "skippy" then the logical path for this file will be C:\Users\skippy\.android\adb_usb.ini . What is in that ini file is as follows:

0x2836

now you can either open up a command prompt and type in the following:

mkdir %USERPROFILE%\.android\
echo 0x2836 >> "%USERPROFILE%\.android\adb_usb.ini"

Say that your username in "Penguin" for logging into Windows. This will make the folder C:\users\penguin\.android\ and inside of that folder, it will make a very small text file called adb_usb.ini. The reason why we must create this file in a very particular area is without it the adb.exe file has no idea what vendor to look for in the device manager and it will come up blank in the next few steps.

Working with ADB to transfer data to your Ouya for the Cyanogen mod upgrade.

We can continue going to the command prompt by clicking "Start" and "Run" and typing in "cmd" to pull up a command prompt. Once you are there you will want to do the following.

cd C:\cyanouya
adb start-server

It should respond with the following:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

Next, let's see if Adb can actually see our Ouya.

adb devices

It should respond with:

List of devices attached
015d49062a501415 device

If it does not have anything underneath "List of devices attached" then ADB is not properly talking to the USB driver. Make sure your device is installed in device manager and the adb_usb.ini file exists underneath your %userprofile%\.android\ folder. Unlike the ADB screen capture blog, I did a while back there is no need to pass the ADB connect command. You will be already connected via hardwire. The ADB connect command is only required if you are connecting to a remote source over the network. now we are ready to push all of the .zip files to the Ouya /sdcard/ folder at once. Unlike previous documentation where they wanted you to ADB sideload each zip file in the recovery bootloader. We're going to push them all at once and then let the ClockWorkMod bootloader handle it from there.

adb push zip /sdcard/

If for some reason it errors on transfer. you can manually select each file.

cd zip
adb push recovery-clockwork-6.0.4.8-ouya.zip /sdcard/
adb push ouyabootmenu-mlq-v2.0.4.zip /sdcard/
adb push ouya-keylayouts-1.02.zip /sdcard/
adb push gapps-kk-20140105.zip /sdcard/
adb push recovery-clockwork-6.0.4.8-ouya.zip /sdcard/
adb push cm-11-20160312-NIGHTLY-ouya /sdcard/

Alternatively, if you are loading Lineage from the latest Milaq build. You will probably want to do this command instead of cm-11-20160312-NIGHTLY-ouya

adb push lineage-11-20190501-NIGHTLY-MLQ-ouya.zip /sdcard/

If you are in your C:\cyanouya folder then it should report something like this:

push: zip/recovery-clockwork-6.0.4.8-ouya.zip -> /sdcard/recovery-clockwork-6.0.4.8-ouya.zip
push: zip/ouyabootmenu-mlq-v2.0.4.zip -> /sdcard/ouyabootmenu-mlq-v2.0.4.zip
push: zip/ouya-keylayouts-1.02.zip -> /sdcard/ouya-keylayouts-1.02.zip
push: zip/gapps-kk-20140105.zip -> /sdcard/gapps-kk-20140105.zip
push: zip/cm-11-20160312-NIGHTLY-ouya -> /sdcard/cm-11-20160312-NIGHTLY-ouya
5 files pushed. 0 files skipped.
1291 KB/s (306718311 bytes in 231.945s)

Yes, it will take around 4 minutes to complete the transfer because of how much data we are sending. So far, everything we've done could've been easily done by an ADB network connection instead of going through the headache of USB connections. The next command is where ADB network will fail you.

adb reboot bootloader

This will place the Ouya into the bootloader state otherwise known as "fastboot" as your device manager will start chiming in finding unknown devices once again.

Note: At this time your Ouya will only have a power light and a pitch-black screen. This is normal as we have not given the Ouya any instruction as to what to load yet. If you reset your Ouya right now it will break out of the boot-loader and return you to the Ouya welcome screen. We have written nothing to the boot-loader of the Ouya as of yet. Make sure the keyboard is plugged into your Ouya at this time.

Working with fastboot:

Device Manager - Ouya FastBoot driver not found.Just like with ADB when you first plugged it into your machine. The device manager now detects a new unknown device in the Other Devices category known as Fastboot . We need to install the driver for this as well in order for us to push the ClockWorkMod over USB to the Ouya.

Without ClockWorkMod the rest of the Cyanogen mod installation will not work. Note: If you do not see the word "Fastboot" under the "Other devices" category but instead see the words"Unknown Device" underneath other devices then your system has not properly detected your Ouya ADB port. The biggest cause of this problem is a bad or faulty USB data cable.

Try a different data cable and try again. 2nd Note: On some operating systems "Fastboot" may not show underneath "unknown devices" but in fact may automatically install itself under the "Android Device" category. This is due to updating the .inf drivers so that Windows XP users to perform this hack as well. If it does indeed install you may skip all the way down to passing the fast boot commands below. Device Manager - Ouya Fastboot - Manual installation.Once again we are going to select "Let me pick from a list of device drivers on my computer" and click Next to continue. Device Manager - Ouya Fastboot - all devices.Click "Show All Devices" and click Next to continue. Device Manager - Ouya Fastboot - Have DiskClick the Have Disk button to continue. Device manager - Ouya Fastboot - Driver locationWe are going back to the C:\cyanouya\driver as the ADB driver install. Click OK to continue. Device Manager - Ouya fastboot- Driver selection.Unlike the ADB driver windows aren't quite sure what is going on as it cannot identify the correct driver. Click on Android Bootloader Interface and click the Next Button to continue. Device Manager - Ouya Fastboot - Warning.Windows is really not sure what you are doing. This is normal. Click Yes to continue. Device Manager - Ouya Fastboot - Driver installation complete.If everything goes well you should receive a screen like the one above indicate that the Android Bootloader Interface has been successfully installed. Click close to continue. Ouya-Fastboot-09The device manager will be happy once again and we can go back to our command prompt. Instead of ADB, we will be using the other executable in the cyanouya.zip folder called fastboot.

Pass the Fastboot commands to your Ouya.

To test to make sure fastboot can see your Ouya type in the following:

fastboot devices

Just like before it will report back if it can see your Ouya or not.

015d49062a501415        fastboot

If returns with a statement similar to the above then everything is good. The next command you will be typing in will be the following:

fastboot boot recovery-clockwork-6.0.4.8-ouya.img

It will report back the following at the same time you will notice your Ouya come back to life with a signal on your TV.

downloading 'boot.img'...
OKAY [ 1.594s]
booting...
OKAY [ 0.264s]
finished. total time: 1.861s

Clockwork Mod loading Cyanogen Mod into your Ouya:

Clockwork Mod v6.0.4.8 splash screen At this time you should see your Ouya come back to life but instead of the typical Ouya splash screen, you will be greeted with something new. You will be welcomed to the ClockWorkMod splash screen. Out of interest in saving bandwidth and readability. I shall focus on just the upper-left-hand corner of the screen which is where all of the action of ClockWorkMod is at. There will be information text with each step we do and if the screen changes too much I'll make a full-screen shot. But Let's begin. CWM - Ouya Cyanogen mod - Install zip files.Using your keyboard, arrow down to "install zip" and hit enter. CWM - Ouya Clockwork Mod - Install from sdcard.Arrow to "chose zip from /sdcard" and hit enter. CWM - Ouya Cyanogen Mod - ClockWorkMod Installation. Arrow down to "recovery-clockwork-6.0.4.8-ouya.zip" and press enter to install. This will make ClockWorkMod your permanent bootloader recovery partition on your Ouya which is essential for Cyanogen mod to work properly. CWM - Ouya Cyanogen Mod - Confirm CWM installation.Arrow down to Yes and hit enter. This should only take about 10 seconds to install. CWM - Ouya Clockwork Mod - Install from sdcard.The next section we are going to install is the Ouya Boot Menu which is a partial install that makes it a lot easier to return to ClockWorkMod in the event you wish to revert back to stock. Arrow to "chose zip from /sdcard" and press enter. CWM - Ouya Cyanogen Mod - bootmenuArrow down to ouyabootmenu-mlq-v2.0.4.zip and press enter. CWM - Ouya Cyanogen Mod - Ouya Boot Menu ConfirmArrow down to Yes and press enter. CWM - Ouya Clockwork Mod - Install from sdcard.The next section we are going to install is the Cyanogen Mod nightly build which is the core of our OS. Arrow to "chose zip from /sdcard" and press enter. CWM - Ouya Cyanogen Mod - Install Cyanogen nightly build. Arrow down to cm-11-20160312-NIGHTLY-ouya.zip and press enter Note: the dates will always change which is normal for nightly releases. CWM - Ouya Cyanogen Mod - Confirm Cyanogen Install. Arrow down to Yes and press enter. CWM - Ouya Cyanogen Mod - Installing Cyanogen.This process can take anywhere from 4-5 minutes to install as it has to unpack 300+ megs onto your Ouya. CWM - Ouya Clockwork Mod - Install from sdcard.The next section we are going to add Google Play functionality to our Cyanogen mod. Arrow to "chose zip from /sdcard" and press enter. CWM - Ouya Cyanogen Mod - Google Play Installation.Arrow down to gapps-kk-20140105.zip and press enter. CWM - Ouya Cyanogen Mod - Confirm Installation of Google PlayArrow down to Yes and press enter. Installation should take around 30 seconds. CWM - Ouya Clockwork Mod - Install from sdcard.The final selection that we will install is the key layout files or .KL files that are required to attempt to make not only your Ouya Controller compatible with Cyanogen but other controllers such as the PS3 controller and the Xbox Controller. Arrow to "chose zip from /sdcard" and press enter. CWM - Ouya Cyanogen Mod - Keylayout files.Arrow down to ouya-keylayouts.zip and press enter. CWM - Ouya Cyanogen Mod - Keylayouts confirmation.Arrow down to Yes and press enter. After all of these partial installs, you should have a complete Cyanogen Mod now loaded onto your Ouya. Now before we reboot there is one last thing we need to do.

Clearing cache and wiping user data in ClockWorkMod for Cyanogen Mod first-time boot.

Clearing all user data and cache from your Ouya is very important because if you do not. Cyanogen may simply sit and do nothing the first time you boot it because it's reading data from a previous launcher that it really should not read. So let's begin. CWM - Ouya Cyanogen Mod - Go back.If you are still updating zip files. We need to back out of this menu. Simply arrow down to Go Back and press enter. CWM - Ouya Cyanogen Mod- Wipe user data/Factory ResetArrow down to "wipe data/factory reset" and press enter. CWM - Ouya Cyanogen - Confirm wiping data.Arrow down to Yes and press enter. CWM - Ouya Cyanogen Mod- Wipe Cache Partition.Next, we will wipe the cache partition. Arrow down to "Wipe cache partition" and press enter.CWM - Ouya Cyanogen Mod - Confirm Wipe.Arrow down to Yes and press enter. CWM - Ouya Cyanogen Mod - Advanced menu.The last section requires us to go into advanced mode. Arrow down to advanced and press enter. CWM - Ouya Cyanogen Mod - Dalvik Cache.Arrow down to "Wipe Dalvik cache" which is what google play likes to use and press enter. CWM - Ouya Cyanogen Mod - Confirm Dalvik Cache Wipe.Arrow down to Yes and press enter. CWM - Ouya Cyanogen - Back out of Advanced Menu.We are going to back out of the advanced menu now. Arrow down to "Go Back" and press enter. CWM - Ouya Cyanogen Mod - Reboot system now.Finally, we are all done with CWM we can now reboot the system now to begin booting your new Cyanogen mod OS.

Welcome to Cyanogen Mod OS on your Ouya.

Cyanogen Mod - Ouya BootMenuThe very first thing you'll be greeted with is the Ouya Boot menu. You do not have to touch anything and it will disappear in about 3 seconds. But if you want to go back to the recovery partition you can simply click your Ouya power button to cycle through the menus on this screen. Cyanogen Mod on Ouya - LogoOnce you let it go into Normal Boot mode it may take up to 3 minutes before Cyanogen Mod launches for the first time after the splash screen appear. Cyanogen-Mod-Welcome-Screen-SuccessYour installation is successful if you get the Welcome to Cyanogen Mod screen asking for language. That means it was able to set up its profile and didn't encounter anything strange that would otherwise crash the first-time startup screen such as erroneous cache or user data left behind from another launcher. This is where having a mouse as well as the keyboard is super-handy since Bluetooth has not been enabled yet. From here you will be asked a series of questions such as your Wi-Fi (if you are already hard-wired then it will not ask you) as well as your Google Play account so that you can begin downloading from the new marketplace.  As well as basic questions as if you are on a new tablet or phone device. you can leave all of the settings default if you wanted. Cyanogen Desktop. From here you can customize your desktop by simply click-dragging widgets where you want. I personally get rid of everything including the backdrop because it saves some bandwidth when recording video. You may want to wait about 5 minutes to begin using Cyanogen Mod as it will be in the process of updating Everything such as all of the Google plugins as well as the play-store marketplace to the latest version. If you already downloaded items with the Google marketplace you can re-download them again by launching the Play Store and going into Apps.

Enabling Bluetooth in Cyanogen Mod.

Cyanogen Mod - Settings One of the first things you may want to do is get Bluetooth working ASAP so you can ditch the keyboard/mouse and go back to your Ouya Controller. You will want to click the icon that is right above the default home screen of your Cyanogen which is where all of your installed applications are. From there find settings and click on that. Cyanogen Mod - Bluetooth Menu - Search for Devices.You should be approaching familiar territory for those Ouya people that have played in their advanced menu to get controllers working. And it even found my stock Ouya as I keep the Bluetooth running all of the time in my house. Click SEARCH FOR DEVICES in the upper right-hand corner to place the Bluetooth chip in discovery mode. While it is scanning. Hold the power button of your Ouya controller down until both lights are flashing. Cyanogen Mod - Controller Found.It will find your controller relatively fast in contrast to how Stock Ouya finds the controller. But it shows its Bluetooth network address instead of the actual name. This will straighten out the moment you click on it. Cyanogen Mod - Ouya Controller Connected.After you pair your controller and give it permission to pair. It will actually show the proper name. As well as player assignments on your Ouya Controller. You can now navigate around the menus with your analog or digital D-pad as well as use your mouse track-pad (depending on if you have a USB mouse hooked up to your Ouya or not).

Special thanks and credits:

XDA Developers - and Milaq for all of his work on the CM11 nightly builds. These people deserve real credit. All I did was write up a user guide.:) Kodi - For giving reasons why Ouya is still alive in 2016 and beyond. Ouya Forums - For kicking me in the ass to actually write this documentation.

Donations:

If you are reading this article just for Cyanogen/Lineage we're going to tell you to NOT donate to us! We don't deserve it, seriously. This is only here to make sense from the 2-4 XDA links of scattered data and put it in one place. The man who does deserve your hard-earned cash is Milaq for his continued support and updates to Cyanogen which is now Lineage OS for working on the Ouya. The man also donates his bandwidth to keep all of the images alive there. So throw money at that guy!

That's what server said.

END OF LINE+++

234 thoughts on “Cyanogen Mod CM11 and the Ouya.

  1. Dude, thank you so much for this walkthru. Everything worked perfectly for me. The only "hiccup" I had was that Bootloader Device was automatically recognized after installing the first driver...no second driver install was necessary. It threw me off for a few minutes trying to figure out why I didn't have any "unrecognized" devices, but once I noticed the Bootloader device under Android it all made sense.

    Again, I can't thank you enough for the step-by-step screenshots. I've made tutorials in the past and I can honestly say they take a ton of patience to do this thoroughly. Thank you very, very much!

    Reply
    • No problem, thanks for letting me know about the hiccup in the bootloader device. I think that may have been a side effect caused by me fixing the android_winusb.inf to work with windows XP boxes as you don't get the option to force a driver in XP. I'll have to revise that part a little bit.

      Reply
  2. thanks for the tutorial.
    I have two questions:
    I own 2 Ouya consoles, can "clone" the Ouya that es'ta with the CM11 to another console?
    CM11 installed following the guide this site , what do I install AndroidTV now?

    Reply
  3. Thasks for the reply
    I have tried about 7 cables no difference
    The ouya shows a portable device
    I have no idea what a ini file is nothing shows as that
    I have something that displays as that but without the ini bit?
    I'm afraid I think that this is beyond me and I may just buy a raspberry pi
    The only reason that I wanna do this Is to run a slightly newerror version of kodi purely to add the context menu options
    Thank you for your time and patients but I truly think this is beyond me
    (Even tho I have degrees falling out of me lol)

    Reply
    • Hi AGIS, I can sympathize with your frustrations. I did the upgrade using an old Windows XP laptop (32 bit) and it worked pretty much except for a small hitch. I installed the necessary files in the exact named folder as outlined in the guide. When I used the command prompt, I changed directory of the prompt until I was in the same directory as in the guide. Then when it came to execute commands in the command prompt, I copied (Ctrl C) the commands from the guide and pasted them (Ctrl V) into the command prompt window to run. That saved a lot of typing and avoided possible mistakes. I admit that my knowledge of the command prompt is limited and I have only used it for survival. The way I understand the use of the command prompt, first the system looks in the current directory for executables, etc. If those aren't found there, only God knows where the system looks next. So that's why I always make sure to run the command prompt from the same directory that the files are stored in.

      I only had trouble with my out-dated Windows XP in getting fastboot to run. S-Config helped me with that and I got through the rest of it. I also did the optional update at the end to get the OUya game controller buttons working properly..

      Overall, it was a bit of an adventure, but my silver Ouya box is now working very well without problems, running CM11.

      If you are having trouble, maybe you can try another computer and follow the instructions as exactly as possible, I am not sure if that could be some of your problems, but it is worth a retry. The Ouya (silver edition) is a sweet tv box after the upgrade.

      Good luck with your upgrade, and I as I mentioned, by knowledge of the Command Prompt is "limited to survival" only.

      G

      Reply
    • Sorry to hear that it didn't work out for you. But if you're doing it showing at a portable device then you're getting there because in your device manager the Ouya has the potential of showing up under unknown devices AND portable devices at the same time. This can be problematic as if different drivers such as ones from microsoft start interacting with the Ouya prematurely ADB will not work.

      I understand if you don't wish to continue. And the Raspberry Pi especially the gen 3 version is a worthy media box as I own one myself (with a little playing around with the bluez driver you can even make the Ouya controller work with the Pi-3). Just make sure when you buy the Pi to get a good power supply and some heat-sinks for the CPU. Pi-3 gets hotter then any other Pi before it.

      If you wish to continue troubleshooting it at any time I'll put some notes here in case you ever return to it.

      The object now to me seems that you may have multiple drivers messing with your PC and giving you a very hard time with ADB. The drivers for ADB are version specific. If you install a newer driver but use an older executable it simply does not work. So a device manager cleaning is in order. To verify right-click on your portable device in device manager. and click on the details tab. under the property drop down click hardware ID. If it says something like USB\VID_2836&PID_0010&REV_0232&MI_01 then that is defiantly the ADB port underneath another drive. You can then right-click and uninstall the driver. Check the box to delete the driver and then finally click on action and scan for hardware changes.. If "OUYA" comes back underneath unknown device again when you are back on track for installing the ADB part of this tutorial.

      Reply
  4. I'm at my wits end lol
    I've done everything that's in this guide and tried a million other things and adb simply will not see the ouya. Can anyone help?

    Reply
    • ADB connectivity is the hardest part about this tutorial because it relies on a lot of different environments such as OS, type of cable your using, installation of the driver, and finally installation of the connector file between ADB and your device manager. if any of those steps fail then a USB ADB connection will fail.

      You mentioned in your last post that you were going to install the Android SDK.. Understand that executable from different versions of the SDK (i.e. the one I used versus the one you may be downloading) will not talk nice to each other. As an example, if you installed the SDK drivers versus the ones I have provided then you will need to use adb from C:\android\platform-tools\adb.exe instead of my C:\cyanouya\adb.exe . Also, the SDK is expecting a smart phone ADB device to be hooked up. and requires modification to the android_winusb.inf file in order for it to see your Ouya via the SDK's drivers.

      I'm going to assume that you have already checked your device manager and that your device is not showing up as "unknown device" or the android bridge connector has a yellow exclamation mark by it. Because if it is showing up as "unknown device" instead of something like "OUYA" if uninstalled or "android device bridge" installed then you may actually have an issue with your data cable.

      You already added the echo command to generate the "0x2836" text file android_usb.ini file . To verify this open up file explorer and for the path type in %userprofile%/.android/ if you get a folder not found or the folder has no files in it.. then just go to %userprofile% and create an ".android" folder. then inside that folder open up a text editor with the words 0x2836 and save as android_usb.ini .

      That android_usb.ini file is responsible for telling the ADB and fastboot executable where to look for the Ouya when it's plugged into your computer. If missing ADB will show blank when you type in "adb devices"

      Reply
  5. Looking all over for the fix concerning playback controls. Can't Stop or exit out of video during playback in Jarvis. Anyone have a fix?

    Reply
  6. Please help. I've never done anything like this so please bear with me.
    I've done the first part of the guide no problems, however nothing works with command prompts, it keeps saying it can't find the path? Any ideas?

    Reply
    • A little more information is required. Which command are you getting stuck on?

      Are you getting "system cannot find the path specified" error when you cd to cyanouya? Where did you extract the cyanouya.zip file to?

      Reply
      • Sorry I only just saw your reply
        I've got past this problem now I did indeed have my path wrong
        Now I've progressed a little but I'm having an issue in that adb wont see my device
        I'm currently installing sdk? As I've been googling the issue and this seems to be recommended?
        Many thanks

        Reply
      • after entering echo 0x2836 >> "%USERPROFILE%\.android\adb_usb.ini" in command once doing adb kill-servers I get the system cannot find the path specified? I did everything as followed in your video. I am on Windows 10, any help asap would be awesome. Thanks EDIT also just did adb devices command and nothing comes up in the list? am I suppose to have sdk installed? I only installed the driver from your video that was provided.

        Reply
        • do the following:

          mkdir %USERPROFILE%\.android\

          then echo 0x2836 >> “%USERPROFILE%\.android\adb_usb.ini and it should create adb_usb.ini into the hidden .android folder underneath your user profile.

          without adb_usb.ini in its respective folder. adb has no idea what vendor hardware ID to look for in device manager to map to.

          apologies for that. I'll amend a directory creation string into the tutorial.

          Also, You can install the Android SDK if you want. Just so long as you use your SDK's adb.exe and fastboot.exe files that the SDK inserts.. The SDK sometimes fails if you mix different versions of the files together.

          Reply
          • Thanks for the quick reply ^_^ (Just seen the rest of the post and missed your sdk comment XD SCRATCH OUT->) also do I need sdk to be installed, or will everything work with out it?

          • Everything in the Cyanogen.zip works without the need of the SDK.. I tried to package it up in a way where users which just want to mod/hack their ouya have everything they need without download 1.2gb worth of files they don't.

            Let me know if it works out for you and thanks for checking out my blog!:)

          • I'm having a similar problem using a Windows 10 laptop: can't get the Ouya to show up as a device. Almost certain it's not the cable.

            Made the appropriate updates to 'android_winusb' in C:\Users\[name]\AppData\Local\Android\sdk\extras\google\usb_driver and the appropriate updates to 'adb_usb' in C:\Users\[name]\.android

            Can't get echo to work... Ouya, which is factory resetted, simply won't show up. Any ideas?

          • Hello again!

            Since this is becoming a habitual problem. I reloaded one of my test station with windows 10. And let it get the latest updates for it. And found something kind of disturbing on what Microsoft has done.

            Device Manager windows 10

            After the last build update in 64-bit you will no longer find your Ouya ADB underneath "Unknown Devices" like it used to be under stock windows 10 or windows 7. But now it exists underneath the "Universal Serial Bus Devices" catagory. Microsoft essentially got enough Ouya vendor ID reports back to the point where microsoft ADB driver. Yes, even though Microsoft has not made a binary of adb to go with said ADB driver they decided to make an 'official driver' to simply stop the Ouya vendor ID from filling up their logs as a unknown device windows 10 is compatible with. Kind of a dick move on Microsofts behalf.

            To make things worse. the Cyanogen driver is unsigned because I had to modify the .inf file which windows 10 considers that as a threat to the operating system (only windows 10 64, 32 bit it doesn't give a damn about). Which means in order for you to install your driver you have to place your windows box into driver test mode. the commands are easy, just open up CMD and type the following:

            bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
            bcdedit -set TESTSIGNING ON
            shutdown /r

            Your windows will then restart into test mode. FINALLY you can proceed with replacing the Microsoft ADB driver with the Android ADB Driver.

            After you push your files and fastboot to CWM you can unplug the Ouya from your laptop and pass the following commands:

            bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS
            bcdedit -set TESTSIGNING OFF
            shutdown /r

            To back out of test mode in windows 10 and restore your OS to its "protected" state. As a note when you back out of test mode hooking the ADB cable will no longer work once again but that's okay because from here on out you can simply use ADB network connectivity if you wish to push or install APK's to Cyanogen.

            Anyhow, this is what I found on my test PC running windows 10 . Let me know if it's the same for you and I'll begin looking for answers or amending a blog to deal with this problem.

          • Great stuff, S-Config! I didn't have to go to these lengths (W10 seemed to be a lot more cooperative when I resumed a day later) but I'm sure it'll help many W10 users in future.

            Thanks again!

  7. To answer my previous question concerning the white screen issue. I used another power supply and problem was solved.

    Reply

Leave a Comment to the Void