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. My DD-WRT is fine. My laptop and tablet don't have speed issues and they are further away from my AP compared to my Ouya.

    I did manage to get 26Mbps by rotating the Ouya box so that the HDMI port side is facing the living room instead of the back wall behind my tv. Not sure if this is a real fix or a coincidence. But so fare the speed has stayed constant and I can use iptv without any buffering/stalling. Of course, that doesn't explain why every time it would connect at 56Mbps and then drop to 5Mbps after a few seconds of video streaming.

    I will try the wifi analytics program if the problem comes back.

    What speed is everyone getting with their Ouya box ?

    Reply
    • I should state that there has been many complaints in the past about the wi-fi connectivity within the Ouya community. And how it's not as awesome as it should be. Some users also tipped their Ouya over because even though a metal finish case looks cool, it doesn't do much for wi-fi and bluetooth transmission. Early on there was an article done to one of the Ouyas demonstrating some drastic measures that I did by mounting an external antenna and getting very good results from it.

      I'd be interested to hear about speed results from other users on CM11 as well.

      Reply
  2. Thank you for the great instructions. They worked perfectly.

    For those of you that had problems creating the .android folder, just open a dos window and "mkdir .android"

    I am having 1 issue. My Wifi starts with a link speed of 55Mbps, but after a few seconds of wifi use, it drops down to 5Mbps. Is there a fix for this ?

    Reply
    • That's a weird one with the speed dropping to 5Mbs. On my DD-WRT when my Ouya is not transmitting anything it will naturally drop it's rate down to 1-5Mbs, but when i jump on chrome with it it'll spike anywhere from 35-55Mbs again. So according to my Netgear running DD-WRT it seems the traffic is always variable. Have you checked your signal strength with the wi-fi analytic software on google play?

      Reply
  3. Hi i tried your tutorial but my ouya is not listed as an unknow device but as an usb device, and when i follow your steps, i get a error saying that the inf file is corrupted. plz help

    Reply
    • I encountered this problem where it loads up as a generic USB device with no device ID. First thing I would try is getting another micro-USB cable. Apparently the Micro-USB port on the Ouya does not have any line conditioning on it so if the cable is too long or poorly insulated it'll just read as a unrecognized or blank USB device.

      As for the INF I did an integrity check and everything is okay with it.

      Reply
  4. Successfully upgraded to CM 11 and kodi 15 but I have a few questions:

    1) anyway of changing CM resolution - it's stretched (this is not mandatory but would be nice)

    Kodi resolution was easily fixed

    2) Shutdown options - only getting Exit - any way of restoring the Sleep mode or the double U button to enable the shutdown/sleep options.

    3) startup - although BT works with Ouya pad...I noticed I have to select it from CM BT otherwise it won't connect...Once I select it, it's paired.

    Hopefully 2 and 3 can be fixed.

    Reply
    • question 1 is easy.

      either ADB shell OR use the terminal emulator app within CM11 and type in the following.

      su
      setprop persist.sys.hdmi.overscan 1
      setprop persist.sys.hdmi.overscan.val [0.0 - 0.2]

      on my apex monitor i set it to setprop persist.sys.hdmi.overscan.val 0.1 and everything now fits in the trebuchet launcher. you can move in increments of 0.01 to get the perfect fit.

      2. Pressing the ouya power button once seems to put it into this quasi-sleep mode.. doesn't turn off the ouyas power or none of that. but the annoying thing about CM11's sleep is once the controller goes to sleep it doesn't re-pair until you power it back on again. Usually when i'm done with the Ouya for the night I just launch a free app from google play called 'quick boot' and just shut it down.

      3. well in CM 11 trebuchet launcher the BT icon comes up right away for me. So I'm not sure what to say. and my ouya controller (tested with both 0x0103 and 0x0104 versions), keyboards, etc all pair without issue minus the track pad.

      Reply
  5. I did the whole thing and it works! Thanks a lot! Saves me a lot of jumping between tabs on the XDA forum.

    Now is there a way to use a PS3 controller without leaving it plugged in? Ive tried but cant get it to work. I did the whole plug in usb, turn off OUYA, turn on while pressing the home button on the sixaxis, and it doesnt sync it.

    Reply
    • That's actually a really good question. I tried my PS3 controllers here and pulled logcat. didn't really find a whole lot of information there. When I hardwired my PS3 controllers they acknowledge as being an input device. but bluetooth still shows blank. I tried a utility known as "Sixaxis controller" and it did assign a device ID to it and got partial control. But it was not complete. I didn't like the commercial apk SixAxis Controller as it cripples your bluetooth for only PS3 devices rather then being passive about it like the Ouya was.

      The only i can think of is hid-sony.ko is not installed into Cyanogen properly and thus no bluetooth detection for special sony devices are not installed. Not sure how to fix.

      Thanks for bringing this up as I shall revise this blog accordingly.

      Reply
      • Thanks! I'll keep an eye open. In the meantime i'll use it wired in.

        I tried the Wii controllers too and no success, it wants to sync up, but asks for a pin...

        Reply
  6. Hello, whenever I boot into the system, the WiFi wont turn of and keeps saying, "Turning WiFi on...". Is there any fix to this, I factory rest it a couple of times but nothing seems to work. Please Help!!!

    Reply
    • Whenever it does "turning wifi on" or "turning bluetooth on" ether or really. That's not a happy message. CM11 is having difficulty activating your WI-fi chip. I'm going to assume that you have an Ouya Silver/launch-retail edition with a metal finish and you don't have the darker "Ouya Anthracite" version with a plastic look as Anthracite Ouya WI-fi is incompatible with CM11.

      Have you tried reverting your Ouya back to Stock ROM just to see if anything changes on that side?

      Reply
      • I do have the Ouya Anthracite. I am already in the cyanogen mod, so what should I do? Should I follow your other tutorial to revert it, or is there a different cyanogenmod for the Anthracite?

        Reply
        • Anthracite, ninja black edition and white christmas edition ouyas have a BCM4334 chip-set versus kick-starter bronze and silver ouyas with a BCM4330 chip-set. the closest ROM you will get for anthracite/black/white Christmas edition ouyas is http://forum.xda-developers.com/ouya/development/rom-cm-11-black-edition-t3110134 which at least gets you Bluetooth support back onto your anthracite model Ouya. Unfortunately,no one in the XDA scene has taken it a step further by correcting the WI-fi issues . So at that level you're stuck with either hard-wiring your Ouya, or reverting back to the Original stock ROM.

          Reply
          • Yes, ethernet via RJ-45 works fine. if for some reason you are unable to activate your Ethernet card after you've loaded CM11 you can "ADB shell" into your Ouya via USB and pass the following commands.

            netcfg eth0 up
            netcfg eth0 dhcp

            I didn't need those commands on my test anthracite ouya. I simply plugged it in and it worked. If for some reason the custom ROM for bluetooth doesn't work for you. You can get a xbox wireless receiver for most of the android games and be fine.

  7. Good morning and a happy new year.

    First of all I would like to thank you for your effort to make a guide so simple and thorough that even I have managed to upgrade the Ouya and extend it's life as an Kodi dedicated player.
    Kudos sir,your help was priceless for me.It took me less than half an hour to upgrade.Normally when I mess with stuff of this kind it takes me couple of days and a long of read-search combination.

    I got a couple of questions if that is ok for you and you can help me.
    I wanted to set on Ouya a static ip through ethernet so as to set Yatse on my mobile and control it from there.Unfortunately I haven't find a way to do that.There was no section I could find for ethernet tweaking on CM11 setings.
    Also the track-touch pad on my Ouya isn't working in both interfaces,CM 11 UI and Kodi UI.I have installed all the packs through your guide.

    Lastly,is there any other uprade available-necessary that needs to be done besides the one already done?Or there is another CM edition available higher than 4.4.4?

    Thank you in advanve for your time and help to newbies like me...

    Reply
    • First question about the Ethernet. Good news on that front the ifconfig command has been transferred over to cyanogen for hard-lined Ethernet connections. Click here to be taken over to a a site that has some excellent examples of how to do that in the android shell.

      Another way of dealing with this issue because I have my Ouya set for a specific IP all the time for things like bombsquad is if your router can handle reserving static IP leases for specific MAC addresses. That way everytime your Ouya comes online your router will not give it a normal address pool but a special IP that you reserved for it. DD-WRT and Open-WRT support this feature. Some Netgear OEM routers support this feature as well.

      Second question: Touchpad issue- It's something I was noticing too. At first I thought it was just a question of too many launcher. But it has to deal with bluetooth pairing because if you unpair your controller and re-pair it trackpad works until next reboot. I'll have to see if there's a script that can be run to correct this issue.

      Third question: currently the nightly builds of CM11 for Ouya are the only ones being maintained. Now this doesn't stop someone who's really good with compiling android from taking the CM12 branch for android 5.0 and attempt to add the device libraries/recompile for Ouya. So far, that has not happened yet.

      Reply
      • I must admit that this was quick like Lucky Luke...
        Thank you sir...

        I will try the first answer later, after work, at home and will give you feedback.
        My router is a TP-Link,quite new,so I will check if the trick with the ip can be done.

        I didn't notice that with the trackpad I am going to check if it works after pair-unpair.It's just that you need also a mouse in many points. (Ok I can always take a bluetooth keyboard with touchpad on it but for argument's sake and conversation favor).I ll check and come again.

        As far as the third point concerns me,I do have the will to do things like that but unfortunately that requires skills and knowledge that I don't have. :p
        Nevertheless so far the Ouya took a deep breath and that's quite good cause it's very handy small piece of hardware (maybe not the one that kickstarted so much,but that's another story).
        If somenone eventually ports a higher CM then the small Ouya will be outstanding VFM.

        Greetings my friend from Corfu,Greece.

        Thank you for your time and have a nice day

        Reply
        • Checking the XDA forums it seems we're not the only ones with the trackpad issue. link.

          But the problem is easily reproducible by removing the Bluetooth profile for the joystick and re-adding it. So it may just be a firmware bug that needs to be addressed by milaq.

          Reply
      • I might have spoken a little too soon on question number 3. XDA forums if you look at the door of the Ouya thread you'll see that people are actually doing Ports of CM12 as well as the Android-TV. A lot of it is released as of two months ago so it's still super-beta. However! This is good news espechally since a lot of the Android TV apps have moved on-wards to jellybean 5.0 and beyond.

        Reply
        • Great news indeed...Hope it goes well...

          Let's keep an eye on this,looks quite promising.
          Wish I had an extra Ouya for testing purposes but this is out of question...

          I ll make a bookmark of that,so as to be in touch...

          Glad that I also made you learn something today...hehehe...

          Reply
  8. Thank you so much for this guide, I managed to install Cyanogen perfectly with this tutorial but this this for one reason only and that's to install a newer version of Kodi on my Ouya.

    I've searched everywhere via google but can't find any tutorials on how to install say Kodi version 15. or later on my new Ouya running CM11

    Could you please tell me how?
    I can't seem to install it via the playstore, it keeps saying installing for over half an hour now.
    Thanks

    Reply
    • You should be able to just go into the Google Play store and download Kodi . If you got your google account setup with your CM11 Ouya you can even tell Google Play to push the app for you over to your Ouya from say a PC. The really good thing about using Google Play to install Kodi is that it will keep it up to date for you (i've gone through 8 updates already).

      Alternatively, you can download the android-arm APK version right off of the Kodi downloads on their homepage in case you didn't install Google Play onto your CM11.

      Update: Noticed you are having issues with google play. try to reboot your Ouya and try again, I had that happen once when i first launched google play and I didn't let it update its dashboard which can take about 3-5 minutes on first launch. after it updates it will be fine.

      Reply

Leave a Comment to the Void