• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][AOSP] Android 7.1 Nougat for Ouya

decatf

Senior Member
Dec 27, 2011
649
2,657
0
Android Open Source Project 7.1
Nougat

for
Ouya


Install Ouya Boot Menu before using this ROM. If you are not using Ouya Boot Menu then your device will be bricked. Dead forever.


Introduction:
The Ouya system partition is too small for Android 7 Nougat. The system partition is 512MB. The cache partitions is 768MB. The cache partition is large enough for Android 7. This ROM switches the two partitions. It installs the OS on the cache partition. It uses the system partition as cache.

The custom TWRP also switches the system and cache partition. The physical cache partition is mounted to the /system directory. The physical system partition is mounted to the /cache directory. I've named the TWRP version with "-SxC" to denote the "System / Cache switch".

Ouya Boot Menu looks for the boot.img on the physical (512MB) system partition. This ROM is installed on the physical (768MB) cache partition. If you ever need to wipe the /cache directory in TWRP SxC then the physical 512MB system partition is wiped. You must copy "/system/boot.img" to the physical (512MB) system partition which is mounted at "/cache". This can be done with the TWRP file manager in Advanced > File Manager.​

Recovery:
TWRP-3.2.3-SxC is a modified recovery which does not support other ROMS because of the system/cache partition switch. Use CWM for other ROMS.​


Remember: Use Ouya Boot Menu or risk bricking the device.


Installation:
  1. Install Ouya Boot Menu
  2. Install and boot TWRP-3.2.3-0-SxC
  3. Wipe System, Cache, Data
  4. Install the ROM
  5. Install UNOFFICIAL-Magisk-v19.1-ouya.zip
  6. Optional: Install Open Gapps

Downloads

Donate

Change log:
Code:
20190510
- Enable adoptable storage.
- Try to set resolutions by default.
Source:
https://github.com/Decatf/android_kernel_boxer8_ouya


XDA:DevDB Information
Android 7.1 Nougat, ROM for the Ouya

Contributors
decatf
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.1.x
ROM Firmware Required: Ouya Boot Menu
Based On: AOSP

Version Information
Status: Testing

Created 2019-05-06
Last Updated 2019-05-10
 

decatf

Senior Member
Dec 27, 2011
649
2,657
0
Display Resolution:

This ROM should be able to run at any resolution that a display panel reports to the Ouya. Some display panels don't report their resolutions properly. There is no way to add more resolutions.

This ROM (like AOSP 5.0 for Ouya) uses the closed source Nexus 7 display drivers. The stock Ouya drivers are too old, buggy, and don't work right on Android 7.

To set a display resolution on this ROM, use the persist.ouya.resolution system property. This must be set in /system/build.prop. Reboot the device to use the new resolution. Some of the display and resolution system properties that were used on older Ouya ROMs don't work on this driver.

Find out what resolutions a display panel is reporting to the Ouya:
  1. Install Terminal Emulator for Android
  2. Type cat /sys/class/graphics/fb0/modes
    cap_2.png
  3. Take note of which resolutions are supported by your display.

Edit the build.prop:
  1. Install BuildProp Editor
  2. Click the edit button
    cap_0a.png
  3. Change persist.ouya.resolution to a resolution supported by your display.
  4. Click the save button.
    cap_1a.png

Some display panels don't report their resolutions properly. The example I've shown is from a 1920x1200 DVI display panel but it doesn't report all of its resolutions properly. There is no way to add more resolutions.

Display resolution system properties:
Use this:
Code:
persist.ouya.resolution
Do not use these. They don't work:
Code:
persist.tegra.hdmi.resolution
persist.sys.hdmi.overscan
persist.sys.hdmi.overscan.val
 
Last edited:

decatf

Senior Member
Dec 27, 2011
649
2,657
0
There is code to handle bcm4334 wifi for the Anthracite model. It is untested because I don't have one. Let me know if it works.
 

PHYSC-1

Senior Member
Aug 11, 2013
147
29
0
Can't get this installed, tried cwm trying mlq boot menu won't install fails on 2 different zip, then installs in twrp but doesn't launch all I get is a black screen can you step by step exactly the guide to this please been waiting forever to get 6+ on ouya now we have 7.1 and I can't load it?
 

PHYSC-1

Senior Member
Aug 11, 2013
147
29
0
Ok got it running but the picture is tiny I have a 1920x1080 50" Panasonic TV don't understand if not rooted how I edit this build prop please help???

 

decatf

Senior Member
Dec 27, 2011
649
2,657
0
Find out what resolutions a display panel is reporting to the Ouya:
  1. Install Terminal Emulator for Android
  2. Type cat /sys/class/graphics/fb0/modes
    cap_2.png
  3. Take note of which resolutions are supported by your display.

Edit the build.prop:
  1. Install BuildProp Editor
  2. Click the edit button
    cap_0a.png
  3. Change persist.ouya.resolution to a resolution supported by your display.
  4. Click the save button.
    cap_1a.png
 
  • Like
Reactions: PHYSC-1

PHYSC-1

Senior Member
Aug 11, 2013
147
29
0
Thanks for this got to recipe it now via sideload in twrp, then build off the official ouya root it flash Cwm then boot menu then the os, got my work cut out although have the ouya update in platform tools now so that bits easy.

Let you know how I get on but a big thanks for the guide mate. ?
 

PHYSC-1

Senior Member
Aug 11, 2013
147
29
0
Ok so back in android 7.1 got terminal produce max of 1920x1080p 60hz but I get no root message in build prop editor and it doesn't show me a option to access persist.ouya resolution I've searched in build prop editor as shown but doesn't exist, so assuming it's due to no root yet???

Any idea how to root and what to do next please.



---------- Post added at 10:28 PM ---------- Previous post was at 10:26 PM ----------



---------- Post added at 10:30 PM ---------- Previous post was at 10:28 PM ----------



---------- Post added at 10:37 PM ---------- Previous post was at 10:30 PM ----------

Ok figured it out but need root to edit it please, other question is do I add 60 after 1920x1080 to make it 60hz or simply put 1920x1080?

The main thing is getting root as lingo doesn't work for it on 7.1 so could you upload the zip if there is one to root the ouya on 7.1 Android please





Was able to adb pull but not adb push the build.prop file after editing in notepad++ in windows 10, it states read only file system, meaning has to be rooted i assume going around in circles waiting bricked it once rebuilt it 2-3 times allready trying 3 failed su zips online just can't understand it on a level to root it my self without a guide.
 
Last edited:

PHYSC-1

Senior Member
Aug 11, 2013
147
29
0
I think it's good had to load magisk after the 7.1 rom is allready installed not during install, basically load everything on get into the os, go back into the twrp recovery and reflash the provided ouya unofficial magisk zip and it is then in your apps it works as the root tool basically for those not knowing what it's for.

The prob is that it's still windowed in a tiny screen though after telling it to go 1920x1080 I'll try 1280x720 next and go through a lot I changed the dpi successfully though to 320 and writing is legable for now

UPDATE: changed the lot all different ways used changer apps to nothing modifies the screen size at all it's a panasonic tx-p50x50b 50 inch plasma 600hz with support for 720p and 1080p

Lowered the dpi again changed to 720p but still the same size screen it's not changing the resolution well frame size any way? May try a screen changer app hope it won't brick it?

So yeah I can change the density but not the resolution???????

---------- Post added at 02:48 AM ---------- Previous post was at 01:55 AM ----------

Then there was light, I finally figured it out, all I did was remove the # from line 57 before the word persist then placed the the cursor you write with that flashes behind the word persist hit delete until the word persist aligned to the hash above it in line 56 like this



And the finished result is awesome 1080p 60hz on a 50 inch tv, I'm getting a screen capture device soon hopefully so will then review it. For now I will be testing it as I'll be using it 24hrs a day pretty much it's cheap to run and now has full android 7.1.1 os wicked or what, it's been a long time coming and can't wait to test the functionality and compatability of the apps and games on it now, so for now peace out. Thanks to the op for all the help and making this possible.



Well I'm reinstalling ouya on it because I bricked it running xposed installer and the biggest problem no adoptive storage I can't install any games to internal storage not even dead trigger 2 it's too small storage, we need axposed to use any storage as internal via USB drives etc this has to be done before it's useable to be able to even install a game there needs to be some kind of work around for installation of large files sorry but as yet it's more or less unusable as a daily os for that one annoying reason, if you fix it can you let me well all of us know please.

I enabled it in developer options to install to external but every attempted install says no space available.
 
Last edited:

decatf

Senior Member
Dec 27, 2011
649
2,657
0
Uploaded a new version (aosp-7.1-ouya-20190510)
- Enables adoptable storage
- By default it will now try to pick a resolution so you probably don't need to set the system property anymore.
 
  • Like
Reactions: takagen

PHYSC-1

Senior Member
Aug 11, 2013
147
29
0
Ok so back in android 7.1 got terminal produce max of 1920x1080p 60hz but I get no root message in build prop editor and it doesn't show me a option to access persist.ouya resolution I've searched in build prop editor as shown but doesn't exist, so assuming it's due to no root yet???

Any idea how to root and what to do next please.



---------- Post added at 10:28 PM ---------- Previous post was at 10:26 PM ----------



---------- Post added at 10:30 PM ---------- Previous post was at 10:28 PM ----------



---------- Post added at 10:37 PM ---------- Previous post was at 10:30 PM ----------

Ok figured it out but need root to edit it please, other question is do I add 60 after 1920x1080 to make it 60hz or simply put 1920x1080?

The main thing is getting root as lingo doesn't work for it on 7.1 so could you upload the zip if there is one to root the ouya on 7.1 Android please





Was able to adb pull but not adb push the build.prop file after editing in notepad++ in windows 10, it states read only file system, meaning has to be rooted i assume going around in circles waiting bricked it once rebuilt it 2-3 times allready trying 3 failed su zips online just can't understand it on a level to root it my self without a guide.
Uploaded a new version (aosp-7.1-ouya-20190510)
- Enables adoptable storage
- By default it will now try to pick a resolution so you probably don't need to set the system property anymore.
WOW!!! your amazing putting it on right now I'll be getting that screen capture device, I might tweak it with classicboy as been researching it all, add some favourite apks take some less required ones for me out and I'll drop it, might try making some custom backgrounds and that sort of thing it may take me a while I'll use some canva tweaks to do it with let you have the link when done, but major thanks for this everyone should have 7.1 ouya's soon then lol. Over the moon mate. :angel:

---------- Post added at 12:27 AM ---------- Previous post was at 12:23 AM ----------

I ironically just went to attempt adding apks to it like xposed etc and found it wondered what it was and came here to find the followup, so what I'll do is make it a little more custom none basic android looking if I can make some canva images for backgrounds and add in some games and so on in the apps folder and so on and so forth see if I can make an app after to link to the ouya games available onine I'll make that simple. that's if I can knock one up it will be a seriously grueling task finding multiple game links and cataloging them in the app but it's on the cards now.

It should help keep the games for ouya available free online to be archived and added to as a list of page links, not sure how to make it so intricate but I will find a way I usually do.

Just found it's .da new folder not the normal type any idea or link to a extraction tool for windows to add apps and change the backgrounds etc then repack it please?
 
Last edited:

PHYSC-1

Senior Member
Aug 11, 2013
147
29
0
I'm getting MTP host hass stopped and MTP Host Keeps Crashing messages, it won't format on 2 differnt drive with two different caddies?

It only seems to be with hdd caddy's it does it over a usb hub

Ok now it works to the point of moving the data adoptively and say not enough space with any hard drive used?
 
Last edited:

DemonGloom

Senior Member
Jan 8, 2009
413
171
43
Wow, that's great. Any hope for Android TV Launcher? Does Kodi and/or Plex client work?

BTW, Ouya's services are going down soon. Just got a notification from them.
 

Zachary_Foxx

Member
Nov 23, 2018
18
3
0
Hi,

First of all, thank you for your work! I am very happy to see OUYA being kept alive by the community!

In your ROM, is it necessary to make the flash ouya-keylayouts.zip that is used in the version of LineageOS KitKat?
 

Zachary_Foxx

Member
Nov 23, 2018
18
3
0
Ok, I installed this ROM.

Apparently everything was right, but I had two problems:

1 - Bluetooth starts off at every boot and I need to use a mouse to turn it on before using the OUYA controller.
2 - The controller of OUYA is, as I say, very unstable. If I try to move the cursor using the d-pad, it keeps moving to the right. I installed Kodi 18.2 and can not choose the options using the driver. I switched to another bluetooth controller, an Ipega-9028, but the problem persisted.
 

AceJaseq

Member
Feb 26, 2014
12
1
0
48
I've installed the ROM and it seems to work pretty well but has anyone got Kodi working with this? I can get it installed and I try to play a movie and it just freezes every time which is driving me crazy :) any ideas?

Cheers

Ok so I have now tried Netflix and it froze and required a hard power off to get it back so I don't think it is me doing something wrong, is there any chance this is something you are aware of as it would be great to be able to use Netflix and Kodi on this device again?
 
Last edited:

AceJaseq

Member
Feb 26, 2014
12
1
0
48
I am also suffering from the Bluetooth not enabled on start-up. Everything else works just fine.


Netflix and Kodi both work for me, maybe try and wipe/reinstall the rom?
Well I can try but I have tried this on Two different Ouya's and it seems to have done the same thing, I will give it another go.

Cheers