Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,319 Members 53,415 Now Online
XDA Developers Android and Mobile Development Forum

[RECOVERY-BETA] Eris Multiboot recovery hack

Tip us?
 
punk.kaos
Old
(Last edited by punk.kaos; 9th September 2010 at 11:29 PM.)
#1  
punk.kaos's Avatar
Retired Recognized Developer - OP
Thanks Meter 570
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: 67
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
Retired Recognized Developer - OP
Thanks Meter 570
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 14
Posts: 436
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
Verizon Devices
HTC One M8 (Verizon) - Current
Samsung Galaxy Note 3 - Retired
Samsung Galaxy Nexus - Retired
Motorola Droid Bionic - Retired
HTC Droid Eris - Retired
 
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 262
Posts: 1,904
Join Date: Mar 2008
Location: Wichita KS
This reminds me of trying XDAndroid on my Diamond.
 
punk.kaos
Old
#9  
punk.kaos's Avatar
Retired Recognized Developer - OP
Thanks Meter 570
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 685
Posts: 2,815
Join Date: Nov 2009
Location: Dallas Texas

 
DONATE TO ME
Class 4 16GB =)

[ Sent from my HTC Droid Eris | KaosFroyo v34 ]

Thread Tools
Display Modes


Android L Will Have Data Encryption Turned On by Default

Android L, once it is eventually released, will featuredata encryption turned on by … more

Lock Apps and Functions Easily with Droid Protector

Access and security are some of the key issues facingmobile technology. Whether … more

ARChon Lets You Run Android Apps in Google Chrome Browser

Not too long ago, Google added the ability torun select Android applications on … more

Flyme OS Finds Its Way to the Google Nexus 5

Flyme OS is a heavily modified Android variantdeveloped by the Meizu team for their MX … more