FORUMS
Remove All Ads from XDA

[BOOTLOADER][SAFEBOOT] Ouya Bootmenu (mlq)

635 posts
Thanks Meter: 2,633
 
Post Reply Email Thread


Ouya Bootmenu development/release thread

This is based on the awesome work by Hal9k.
Because of the fact that the Ouya doesn't have recovery accessibility via hardware buttons we need to play safe and utilise chainbooting.
This bootmenu resides in the kernel partition and is loaded on every normal bootup.
In-depth info in Hal9k's thread here: http://forum.xda-developers.com/show....php?t=2499673.

It presents various choices on every boot:
  • Normal boot - (default) loads bootimage from system partition (/system/boot.img)
  • Alternate boot - loads bootimage from sdcard (/sdcard/altboot.img)
  • Recovery - reboots into recovery (recovery partition)
  • Failsafe - loads built-in failsafe mode
  • Bootloader - Reboots into stock bootloader (for fastboot access - USE WITH CARE)


Notes about the failsafe
the failsafe mode (which has the bootmenu built-in) will pop up in the following cases:
  • the bootmenu could not find a valid bootimage (read: /system/boot.img for "normal boot"; /sdcard/altboot.img for "alternate boot")
  • the user selects "failsafe" from the menu

the failsafe mode resides in the bootmenu image itself and should ONLY be used (as its name suggests) as failsafe.
for regular flashing you need to use a newer cwm version which resides in the recovery partition and is accessible via the "recovery" entry in the bootmenu (see below).

And remember: After flashing this you DON'T NEED TO EVER touch your boot/LNX partition again

Reminder: Failsafe mode is ONLY to be used in case you can't boot into your recovery partition. For regular rom flashing the respective CWM recovery (see below) is required.

Quote:

Installation

Quote:

You need to have a newer CWM recovery installed in order to flash the bootmenu.
READ AND UNDERSTAND what you are doing!
This bootmenu is flashed over your current bootimage - newer cyanogenmod builds will place their bootimage to /system/boot.img automatically. if you are not using a custom rom you will need to relocate your bootimage (read: kernel) to /system/boot.img manually.

You need to have a newer CWM recovery installed in order to flash the bootmenu (otherwise you'll get a build.product mismatch while installing).

1a) If you already have an older custom recovery installed:
Boot into recovery and flash http://milaq.net/downloads/ouya/misc...0.4.8-ouya.zip. This will update your recovery to a newer version allowing you to flash the bootmenu regularly.

1b) If you don't have a custom recovery installed:
You can either use the one-click installer from http://forum.xda-developers.com/show....php?t=2295645 and continue with step 1a).
Or you can flash a newer recovery via fastboot (if you know what you are doing): http://milaq.net/downloads/ouya/misc...0.4.8-ouya.img

2.) Flash the bootmenu via (the new) recovery by installing the latest updatezip (download below). Make sure that the installation procedure was successful.
If you get a "MD5 mismatch" your download is probably broken. Just redownload and try again. The installscript checks the md5's mutliple times while installing and reflashes your old bootimage in case something goes wrong.
So if you are not doing something REALLY stupid this is safe to go.

Quote:

Quote:

Download latest version (v2.0.4)

Quote:

Changelog

2.0.4
* reduce menu timeout for faster regular boot
* ui improvements in failsafe mode

2.0.3
* bootmenu: increase maximum number of input devices to 5 - e.g. the gpio keys (the ouya power button - 1 node), a mutlimedia keyboard (2 nodes), a mouse (1 nodes) and a controller (1 node).

2.0.2
* add in additional alternate boot image folder handling to fix compatibility with kitkat
* update failsafe recovery to differ more from regular recovery
* minor ui and ux tweaks in both bootmenu and failsafe

2.0.1
* initial reworked version

And as always: we take no responsibility whatsoever for raging, screaming, crying, frustration, failing, confusion, dead kittens, etc.

Quote:

Source

The Following 25 Users Say Thank You to milaq For This Useful Post: [ View ]
 
 
24th March 2014, 02:11 PM |#2  
milaq's Avatar
OP Recognized Developer
Thanks Meter: 2,633
 
Donate to Me
More
Quote:

Thanks/Credits

  • Hal9k - for the inital ouya bootmenu and many great ideas
  • Dan Pasanen (invisiblek) - for great work on the recovery and initial porting efforts

Let me know if i omitted you and i will add you here asap

Quote:

IRC channel

Visit us in #cyanogenmod (general) or #cyanogenmod-dev (only dev related talk) on freenode
The Following 8 Users Say Thank You to milaq For This Useful Post: [ View ]
25th March 2014, 01:42 AM |#3  
Senior Member
Flag St. Louis
Thanks Meter: 37
 
Donate to Me
More
alright so i installed it, and normal boot boots back into recovery
25th March 2014, 12:36 PM |#4  
milaq's Avatar
OP Recognized Developer
Thanks Meter: 2,633
 
Donate to Me
More
Quote:
Originally Posted by YoshiFan501

alright so i installed it, and normal boot boots back into recovery

Quote:

This bootmenu is flashed over your current bootimage (you will need to relocate your kernel (to /system/boot.img) if you not using a custom rom)

most probably because /system/boot.img is not found. you need to install cyanogenmod afterwards or relocate your bootimage if still on stock.
27th March 2014, 03:10 AM |#5  
Senior Member
Thanks Meter: 21
 
More
Is it possible to easily revert the Ouya to a fully stock state after this? Any unninstall method?
The Following User Says Thank You to Ticiano For This Useful Post: [ View ] Gift Ticiano Ad-Free
27th March 2014, 02:18 PM |#6  
frickinjerms's Avatar
Senior Member
Flag Victoria, TX
Thanks Meter: 382
 
Donate to Me
More
Fyi everyone, if you scroll down through the options in cmw a couple times you'll activate rainbow mode! I'm not sure if this is an ouya specific cmw mod or not cuz all my other devices have twrp but anywho ENJOY!

Sent from my Galaxy Nexus using XDA Premium 4 mobile app
27th March 2014, 05:51 PM |#7  
Senior Member
Flag Philadelphia
Thanks Meter: 1,367
 
Donate to Me
More
Is it possible to use this bootloader with the EternityProject Kernel 3.4.37 for OUYA and the OUYA-Enhanced Rom. I can flash the ROM from within Recovery, but how do I install their kernel for it to boot in ouya bootmenu? I just don't want to brick, thanks for your help!
29th March 2014, 01:19 AM |#8  
paco8's Avatar
Senior Member
Thanks Meter: 75
 
More
Just wanted to be the first to tell you that it's working fine and I'm glad to finally give the ouya what it deserves: a custom ROM! Thanks dude!
29th March 2014, 02:01 PM |#9  
Senior Member
Thanks Meter: 18
 
More
Can someone post a step by step to move from ep bootlegger to this one?
30th March 2014, 09:52 PM |#10  
Junior Member
Thanks Meter: 2
 
More
So can this be dualbooted? If stock ouya boot image is put on /sdcard and named altboot.bin? Right now if I select Alternate Boot, it boots cwm 6.0.3.2. Same as Failsafe.
1st April 2014, 02:23 PM |#11  
milaq's Avatar
OP Recognized Developer
Thanks Meter: 2,633
 
Donate to Me
More
Arrow new version
new version is available in the first post
The Following 4 Users Say Thank You to milaq For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
bootloader, bootmenu, dualboot, ouya, safeboot

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes