Rooting GINGERBREAD.EK18

Yes the steps u listed is what I did. But I think I put a .bak extension after the .sh instead of removing it because u are right that would screw up the md5.

Sent from my SPH-M580 using Tapatalk
 
And I am on gingerbread. Forgot to add that part

Sent from my SPH-M580 using Tapatalk
 
Also it would be nice if you could make a rooted rom for odin. I personally don't know much and figure everything out through research, trial and error, and using prebuilt kitchens and tools. In the creation of my rom I didn't have to touch a speck of code for which I was happy because even though I can code I am not very good at it and would prefer to avoid it as much as possible.

Sent from my SPH-M580 using Tapatalk
 
Why go through all that trouble? I have an odin image of CWM, there is no need to flash back to ED23 or EF27 first. I can try flashing it back on in a few minutes.

EDIT: Also, can't we just modify the update.zip and re sign it? And CWM doesn't even check for signatures, does it? Couldn't we pre-root the update..?
 
Last edited:
We need to go through the trouble because if we don't, then when the phone is powered down, the recovery image will revert back to stock automatically because if install_recovery.sh.

Can not resign update.zip with the stock recovery - it checks to make sure the update.zip file was signed by sprint. Unless you are lucky enough to have sprints key :-)

So here is the plan - we need to duplicate GPOTs success above using the process I outlined (using GPOTs initial process - so give him all the credit). From there, we create a backup. And from there, I believe I know enough, or at least know people who will be able to create a pre-rooted ODIN image for us. Hopefully I'll have time tonight to do what GPOT did and get to at least that state.
 
So we're able to remove install-recovery.sh from the update without worrying about any checksum issues? If we can modify an update.zip to add root to GB using CWM, I believe I can create the odin image. I'd have to revert to the older, ED23 stock recovery though if people didn't want CWM with their image.
 
Firehak...can you test and see if u can put cwm recovery via odin on your ek18? I'm at work and can not try now. Boot to recovery right after odin complets and verify it worked and post results. Then, reboot normally, shut down, and reboot recovery. I expect you will be back to stock. Let me know what happens. if all works, I think I can make an update.zip or at least odin tonight that is ef18 pre rooted.
 
Flashing CWM works if you are fast enough to boot into recovery before a normal boot, though it does disappear if you don't. I took a successful backup and gained root while in recovery. It is NOT permanent, but it's a start.

Ignore the info saying Prevail and such, this is Shabby's port of CWM originally done for his Prevail. This is just my proof of temp root on Gingerbread.

View attachment 20178

This should be enough to start pulling required files for ROM editing, right?
 
Last edited:
I will post a modifies update.zip when I get home. U will need to follow dmrlook's instructions in an earlier post and u can permenantly install cwm

Sent from my SPH-M580 using Tapatalk
 
How do you make an odin image? If I knew how then I would just post my modified rom for people to download. What downgrading does is it allows you to delete install-recovery.sh from your system. My modified update has install-recovery.sh to install-recovery.sh.bak so it cant execute but it also doesnt change the md5 sum so its still flashable from stock recovery. Then you can install CWM recovery. It is a longer process then what you describe, but it is permanant and it works.
 
I can explain it when I get home, I gotta look something up. It's bookmarked somewhere :P
 
Can u send ur phone into a boot loop by rolling back without doin a factory reset?
I might have done so...
I will leave it alone for a while and see what happens. I am trying to replicate the success I had the first time and it seems to be failing.


Never mind I got it
 
I'm going to make a clean dump of gingerbread when I get home so we can begin editing. I have a backup, but it isn't a fresh install.
 
Hey Firehak - take a look at your boot.img from the CWM recovery. Mine is all FFs. No real data. The other files look good.

Also, to keep the CWM recovery, when you are in their recovery, mount /data and /system (submenues) and then find install-recovery.sh in one of those two dirs and rename it to something else. Then you keep the CWM recovery.
 
/system is the most important though, isn't it? I believe I know how to modify system and stick it back on the phone with odin, so if you could help me understand what needs to be done to obtain root, I can help you build the packages. I just need to dd a one of the /dev/something files as system.rfs and use a Linux VM to unpack it, modify the necessary things and pack it into an odin tar. Thanks for the tip about keeping CWM though. I think when I boot into CWM most partitions are already mounted. I should be heading home soon.
 
It failed the second time... hope u guys got something. I managed to delete the install-recovery.sh from the update.zip, i resigned it and it failed. I think i might need to rewrite the update-script. If you have any breakthroughs let me know because I really dont want to edit the update script. Sprint has a reputation for making them long and confusing.
 
Sorry, I just found out it will be another while before I get back.. Every time I think I finally get to go home I get dragged somewhere else... I've got some ideas too GPOT, I just need to be home for 5 minutes to try. :P

EDIT: I finally talked my mom out of dragging me along, so I'm about to test more stuff out.
 
Last edited:
Alright. I know how u feel firehak. I need an odin to EK18 when u get a chance because my phone doesn't want to update again :( so when u get a chance that'd be nice.
 
It doesn't have to be rooted or come with CWM, though I would like that, I just want a plain stock image.
 
I'm in the process of installing Ubuntu right now so I can edit the images, and I'll be dumping a stock image soon. I'd like to remove everything like su/superuser, busybox, etc. from the stock image though. If we happen to get lucky, we'll get more than stock odin accomplished tonight.
 

Trending Posts

Forum statistics

Threads
956,840
Messages
6,970,270
Members
3,163,638
Latest member
Gillian Kirton