Section 4: Tweaking Lineage.

Tweak the hell out of that Ouya Lineage.

This article dives into your Ouya’s afterlife that now that you have loaded the Lineage OS your game console isn’t nessecarily customized for that some settings may need to be played with in order to make the experiencing a little more acceptable for general use. We can’t go through every possible scenario as that would make a few minute video turn into hours and hours of video and further drive this blogger down the path of insanity. But we hope to at least answer some of the more commonly asked questions throughout this article.

Read on if you want to know more.


Video mirrors:

In case you have no-script enabled or for some reason cannot see the title video on this website. I have provided direct links for these videos.

  • WebM – Link – This is the newest video standard, works great on Opera, Firefox, Chrome, and newer android phones, not good for Safari, IE, Apple.
  • MP4 – Link – The most compatible codec but also rather large in file size. Make take a while to download.
  • OGV – Link – the fallback codec for older PC’s and Linux USB stick OS’s. 1st generation web video streaming based on Ogg-Vorbis encoding.


This tutorial assumes that you have performed the following tasks from previous blog entries. Describing everything in a solid blog article would tend to lead down the path of insanity as it would be 10,000+ words and over 27 minutes of video that some more experienced users may or may not need.

Setting up your Raspberry Pi to begin ADB on Ouya.

The Samba and SSH section is completely optional but if you want to access your Raspberry Pi wireless it is super-handy to do.

Set up Raspberry Pi with SSH and Samba for wireless remote access ADB.

If your Ouya OS is bricked or you cannot gain access to it in any normal fashion ADB sideloading might be a better option for you.

ADB Sideloading from Raspberry Pi/Linux over to your Ouya.

If your Ouya OS is fine and you don’t mind loosing a few hundred megs while saving a lot of headaches going back and forth. The Push Method might be for you.

ADB Push files from the Raspberry Pi to your Ouya.

If you have done none of this previous blogs then this tutorial may not help you….. At all….

It all begins….

With powering on your newly flashed Ouya you will be greeted with your Ouya Bootmenu. Leave it alone and let it boot all the way up.

Lineage will begin loading there-after.

Now, if this is your first time powering up Lineage and you left your Raspberry Pi plugged in you may be greeted with this screen. Don’t worry it just wants you to give permission for the Raspberry Pi to continue giving ADB control over Lineage. Check the box to “Always allow from this computer” and then hit the “OK” button.

After that is all done you’ll be greeted with the fabulous Welcome screen asking for our language preference to which our adventure begins here. At this point you should have a keyboard plugged into the back of your Ouya. We tend not to use a mouse for this because in the past using a USB mouse knocked out the touchpad on the Ouya Controllers which we still want to keep. Simply use arrows and the tab key to navigate about these menus until we get to a main screen.

Google Apps crap.

Note: if you did not load the gapps file during ClockWorkMOD you will probably not see this.

If you did load gapps then the wizard will ask you for your google login credentials.

Just as a note you could skin this part. But for the sake of this tutorial we’ll go through everything here.

Setting up wireless network on Android.

Before Google can continue however it does not some sort of connection out to the net. Now if you have hooked up your Ouya wired you will probably not see this screen at all. Since ours is wireless we have to first setup our wireless connection before Google Apps can ask for anymore information.

Simply setup your AP, in our case it was Thunderdome and then enter in your secret sauce wireless password to continue.

It will eventually switch from “Obtaining IP address” to “Connected.”

Back to the Google Apps crap.

After you get past the basics of connecting your Ouya to the internet it will then ask for your Google Sign-In to continue. (provided of course you even installed the GAPPS files)

This is the point where you sign your Ouya’s soul away to google Which, in retrospect is probably not the worst thing the Ouya has done. Press “OK” or die.

This may take a few seconds to talk to Google.

You can probably uncheck all of these boxes. Backup and Restore isn’t necessary, after-all that is why you hooked a Raspberry Pi or Linux box to your Ouya. And Location services is pointless on a set-top box. Tab until you get to the down-arrow box to continue.

Uncheck all of this garbage as well. Once again if we were on a cel-phone location is important. On a game system? really? Once done click “Next” to continue.

The date and time is kind of important. You should probably adjust that. and click “Next” to continue.

The barrage of questions from Google is now over. You can now tab over to “Finish” to begin actually using Lineage.

Tab over the “OK button to begin using the Lineage OS.

Behold all of the glory that is the Lineage desktop. Finally, you can change the background on your Ouya. But we’re not going to waste much time taking it all in. You’ll have plenty of time for that later. We’re just going to dive right into our applications icon in the lower center part of our window.

Using the arrow keys in the applications folder we want the “Settings” icon.

Pairing the Ouya Controller.

Inside of Lineage System Settings the first thing we’ll probably want to do is get your Ouya controller online so that you don’t have to deal with having a giant keyboard plugged into the back of your Ouya. Simple arrow down to “Bluetooth” and make sure that it is on. and begin scanning for your devices.

Remember that welcome screen that you used to see telling you to pair your controller? Well! Lineage doesn’t have that. Good thing we kept a screenshot of the instructions huh?

Once the Ouya Controller is visible you can use the keyboard to press enter to attempt to pair with the Ouya.

If all goes well you should see something above. That the Ouya Game Controller is now connected. Your Ouya Controller will probably not give a player assignment but that’s okay. At least it’s online right now. You can now use your controller to navigate the menus and put away your keyboard at this point.

Developer Options.

Next we’re going to turn on some feature that are only available in developer mode. However, we need to actually get into developer mode now do we? Arrow down to About Tablet in the Android System Settings and find the build number.

Smash that build number multiple times until your Lineage Ouya box tells you that you have enabled developer options.

You should see a new section for Developer options that does not there before. We’re going to dive into this folder and change a few settings.

In the Developer options menu we’re going to jump over to the Root access portion and click on it.

We want to give ADB root level access so that we can modify whatever we want whenever we are logged into the Raspberry Pi and/or Linux workstation that is connected to our Ouya. Once selected it should back us our to the Developer options menu.

ADB over network is a nice option to have enabled if you don’t feel up to powering on your Raspberry Pi all of the time and just want to adb from any PC. Which is great for screen captures and for adb installing APK’s. but not great if you have to run recovery via ADB/Fastboot.

We do believe in letting the Ouya processor do as much as possible for the OS. which is why we Force GPU Rendering for 2d drawing. It also helps in certain games from Google Play as well.

Another thing we do is force the GPU for doing overlays as well. Which as documented in a previous blog helps with Subtitling in Kodi but also helps with seeing the text in other games as well.

Processor tweaking Lineage and the Ouya.

Next we’re going to do the thing the Ouya Corporation slaved so hard to do. Which is to unlock the processor so it runs at %100 all of the time. This Tweak helps with some of the menus and even some games. It helps but isn’t as big and magical as they said it was. :)

In most cases this warning is legit as Lineage is usually loaded onto cel-phones which have almost no room for cooling. But since we have a fan and a heatsink on our Ouya. We’re confident that the tweaks aren’t going to affect us. So press “OK to begin.

First, lets jump into the “CPU governor.”

We’re going to want to switch this to “performance” indicating that we’re not out to conserve a battery that does not exist and if an application throttles the CPU to go as fast as you can.

┬áIt should back us out to the performance menu and arrow down to “Minimum CPU frequency.”

There’s no reason to be nice in this catagory either. Crank that bad boy all the way to 1700Mhz . After this you can exit out of the Android System Settings app as we’re all done tweaking things within the core of android for now.

Super User Time!

Provided that you installed this App during the ClockWormMOD load SuperSU is an incredibly valuable program in respects that it handles all root access for applications. Launch this application to begin.

You may have to use that d-pad mouse on this but you’re going to want to select New User.

This is up to you. We didn’t enable this because we’re responsible for our own nightly updates via ClockWorkMOD. Once you’ve answered all the questions and let SuperSU do its thing you can close out of the app.

Now, we need to test this don’t we? Lets jump back to the Raspberry Pi and ADB Install something.

cd /d0/lineageouya/apk/
adb start-server
adb install Quickboot.apk

This window may appear the moment you pass your first ADB install command. Simply hit “Accept” as we know exactly where this app install is coming from.

Once the install is complete an icon for Quick Boot will appear on your apps menu. Lets test it out as this application does require root access to perform its function.

We’re going to try to power off the Ouya as that will require root access to accomplish.

If you see this window pop-up this is a good sign. This is letting you know that SuperSU has taken over and wishes to grant your application root access to perform its job. Simple Press “Grant and it will shut-down your Ouya if it worked.

Now….. Power back on that Ouya. We’re not done yet!:)

Overscan issues.

Overscan is what happens when you hook your Ouya up to an HDTV and some of the text falls off of the screen and/or it’s completely invisible. In the Ouyas case it always lived with Overscan but the OS didn’t allow any of it’s GUI to go anywhere near the ends of the screen. There was even a handful of games that allowed you to adjust overscan before play so you can see the corners in case enemies are setting there.

In lineage you take care of over scan similar to Android 5.0. By jumping into ADB and passing the following commands.

adb shell wm overscan 15,30,10,20

Each of the numeric values represent how many pixels you want the GUI to slide inward.

This is what Lineage looks like without wm overscan.

This is what Lineage looks like with wm overscan enabled.

As you can see it does not change the display like what you did in Cyanogen as much as it simply shrinks the GUI and that’s it. Which for the most part is okay because Kodi has it’s own overscan options. and for most games you’re probably not going to worry about the edges of the screen.


Final Thoughts.

This is nowhere near all of the tweaks you can do to this OS. These are just some of the ones that have come up over the years that users have asked us how to do and how to get working. We hope that you found this tutorial helpful and until then.


This tutorial is apart of a series on how to ADB Lineage with a Raspberry Pi.

May server protect you.




Leave a Comment to the Void