New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
punk.kaos
Old
(Last edited by punk.kaos; 9th September 2010 at 11:29 PM.)
#1  
punk.kaos's Avatar
Recognized Developer - OP
Thanks Meter 569
Posts: 1,408
Join Date: Jun 2008

 
DONATE TO ME
Default [RECOVERY-BETA] Eris Multiboot recovery hack

In a conversation with enatefox recently he asked if it was possible to dualboot an android phone, I thought it was and set out to make that happen. This is that work.

This is a VERY EARLY BETA! It does function, but its rough. Don't expect this to be smooth or easy yet.

This image is based on Amon-RA-v1.6.2

What you need to do:
This hack will boot a rom from SDCard. It expects to see system.img and data.img on the sdcard as well as init.rc.

System.img needs to be a disk image of a filesystem that the kernel can read(I've been using ext3) around 170MB(Thats the Eris's NAND size for system)

data.img needs to be a disk image of a filesystem that the kernel can read(I've been using ext3) as big as you'd like your data partition to be(This holds your apps etc, so a couple hundred megs is good)

init.rc needs to be the init.rc of your rom with two changes
You need to remove the lines where it mounts /system and /data.

Once you have those three files on your sdcard, and have flashed this recovery you're ready to try your first boot.

Reboot into recovery, you'll see the normal usual recovery menu(I'll add an item eventually)

connect to the recovery console with adb
run 'adb shell /bootfromsd'

It will APPEAR to have done nothing for a bit, this is normal. Its booting your rom now. Once it gets to the place in the rom where it would display the splash screen, you'll get a splash as usual. You can watch it with logcat if you like.

I've personally booted the following roms from SD.

KaosFroyo
KaosLegendary
CELBFroyo
MR4
PlainJane

Good luck!

V1: http://www.multiupload.com/UJNJLQWL17

If you like my work, think about donating to my coffee fund.
 
tjthebest
Old
#2  
Member
Thanks Meter 0
Posts: 62
Join Date: May 2010
So do the roms you load from SD run just as smooth as a normal one?
 
punk.kaos
Old
#3  
punk.kaos's Avatar
Recognized Developer - OP
Thanks Meter 569
Posts: 1,408
Join Date: Jun 2008

 
DONATE TO ME
Quote:
Originally Posted by tjthebest View Post
So do the roms you load from SD run just as smooth as a normal one?
depends on the speed of your SD. Theres a tiny bit of lag on the class 2 I tried it on, but it would likely be fine on a faster card.
 
korben dallas
Old
#4  
Senior Member
Thanks Meter 2
Posts: 229
Join Date: Mar 2010
Sounds freaking awesome! Can't wait to try
 
rrem
Old
#5  
Member
Thanks Meter 4
Posts: 65
Join Date: May 2010
This is freaking awesome kaos sir you did it again +1 tyvm
 
TopazAaron
Old
#6  
Senior Member
Thanks Meter 10
Posts: 423
Join Date: May 2009

 
DONATE TO ME
Ill be trying this tonight!

Thx

Btw i love u kaos

Sent from my ERIS using XDA App
 
Delvaris
Old
#7  
Member
Thanks Meter 0
Posts: 48
Join Date: Jul 2010
this as well as the herculean update schedule of KaosFroyo convinces me that Punk.Kaos should have his own kids show.

"But Punk.Kaos! that's impossible!"
Punk.Kaos appears in a superhero outfit with a silvered cape, poses and says,
"No little Jenny. Impossible is only what we have yet to try."
 
MrObvious
Old
#8  
MrObvious's Avatar
Senior Member
Thanks Meter 201
Posts: 1,555
Join Date: Mar 2008
Location: Wichita KS
This reminds me of trying XDAndroid on my Diamond.
 
punk.kaos
Old
#9  
punk.kaos's Avatar
Recognized Developer - OP
Thanks Meter 569
Posts: 1,408
Join Date: Jun 2008

 
DONATE TO ME
Quote:
Originally Posted by MrObvious View Post
This reminds me of trying XDAndroid on my Diamond.
Heh, kinda the same idea
 
dEris
Old
#10  
dEris's Avatar
Senior Member
Thanks Meter 388
Posts: 1,934
Join Date: Nov 2009
Location: Dallas Texas

 
DONATE TO ME
Class 4 16GB =)

[ Sent from my HTC Droid Eris | KaosFroyo v34 ]


XDA PORTAL POSTS

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more