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?
 
r2beta0
Old
(Last edited by r2beta0; 13th August 2011 at 02:23 AM.)
#1  
Senior Member - OP
Thanks Meter 121
Posts: 481
Join Date: Nov 2010
Location: Rio de Janeiro
Default [MOD][Update: 12-Aug-2011]Rooted CG from CH Leak

Thanks to dangpzanco for the GREAT IDEA.

I finally got my Rooted GB working here. I can't provide a download link now but I'm going to do it later for sure.

Apparently there was a final signature check that was done somewhere after mounting the cache partition, preventing me from booting with a pure update.zip on top of froyo /system. Thanks to dangpzanco I could bypass it and get root.

Quick Guide (requires froyo, root and Droid2bootstrapper):
1. Download fixed SBF bellow. It's made from the CH leak containing ONLY: CG35.smg (boot) CG47.smg (recovery) CG61.smg (devtree) firmware.hmg (header) RAMDLD.smg (flash updater).
2. Download root_and_recovery.zip and copy it to SD Card.
3. Download full leaked SBF from General Forum (CH, signed) and use MotoAndroidDepacker to extract all images.
4. Copy the CG39.smg to /sdcard/
5. Boot into CWM
6. From CWM open adb shell and use this command: dd if=/sdcard/cg39.sm of=/dev/block/system
7. Still on CWM apply root_and_recovery.zip
8. Still on CWM wiped everything
9. Boot on bootloader and flash fixed SBF
10. Reboot
Attached Files
File Type: zip root_and_recovery.zip - [Click for QR Code] (3.54 MB, 234 views)
File Type: 7z FixedSBF.7z - [Click for QR Code] (3.53 MB, 273 views)
The Following 2 Users Say Thank You to r2beta0 For This Useful Post: [ Click to Expand ]
 
w0ndersp00n
Old
(Last edited by w0ndersp00n; 11th August 2011 at 04:37 PM.)
#2  
Senior Member
Thanks Meter 66
Posts: 379
Join Date: May 2010
I actually did the same thing! I read it somewhere in one of the topics. I installed Defy BootMenu instead of CWM. Works great! Right now I've almost removed all the Chinese crap and got the GApps working (from CM7).

I also removed the Blur items for the Chinese SN's. I'll see if I can get Twitter and Facebook working with it.

2nd-init would be nice too actually. Does the method provided in the other thread work with this ROM?

Edit: the instructions were indeed from dangpzanco!
 
w0ndersp00n
Old
#3  
Senior Member
Thanks Meter 66
Posts: 379
Join Date: May 2010
And right now I found a possible bug. My camera doesn't work. Everything is black and stays black. Photo's are take as they should however.

Can you check whether you have the same issue?
 
r2beta0
Old
#4  
Senior Member - OP
Thanks Meter 121
Posts: 481
Join Date: Nov 2010
Location: Rio de Janeiro
Quote:
Originally Posted by w0ndersp00n View Post
And right now I found a possible bug. My camera doesn't work. Everything is black and stays black. Photo's are take as they should however.

Can you check whether you have the same issue?
Here it works fine. Have you tried to edit /system/build.prop?
Change device from ME722 to A953.
 
w0ndersp00n
Old
#5  
Senior Member
Thanks Meter 66
Posts: 379
Join Date: May 2010
Yes, I changed it to A953...

Maybe I have deleted something that was necessary for the viewfinder... But what xD

Edit: Allright, nevermind. Somehow a reboot fixed it :D On to the next step
 
r2beta0
Old
#6  
Senior Member - OP
Thanks Meter 121
Posts: 481
Join Date: Nov 2010
Location: Rio de Janeiro
Something bad happened when I tried to apply 2nd-init on this. The phone rebooted just after 2nd M logo not allowing me to get into CWM. Wierd, since CWM should take place before 2nd-init. Will need to raflash froyo and start over. We should find a way to root Gingerbread without CWM to make things faster.
 
w0ndersp00n
Old
#7  
Senior Member
Thanks Meter 66
Posts: 379
Join Date: May 2010
That's odd indeed. I have to say, I think the CWM method of rooting is actually quite easy. For SuperOneClick I need to get my PC/laptop out every time and with the update.zip I can do it as I please.

I really hope you'll succeed wit 2nd-init. If you need help, just shout! Today and tomorrow I have enough time.

I'll make a nandroid of my current setup, so I can continue trying out stuff.
 
r2beta0
Old
#8  
Senior Member - OP
Thanks Meter 121
Posts: 481
Join Date: Nov 2010
Location: Rio de Janeiro
Quote:
Originally Posted by w0ndersp00n View Post
That's odd indeed. I have to say, I think the CWM method of rooting is actually quite easy. For SuperOneClick I need to get my PC/laptop out every time and with the update.zip I can do it as I please.

I really hope you'll succeed wit 2nd-init. If you need help, just shout! Today and tomorrow I have enough time.

I'll make a nandroid of my current setup, so I can continue trying out stuff.
Yeps, it is easy indeed, but to do it I need to SBF froyo before installing GB again. In other words if I mess up the phone I will need to flash 2 versions instead of one. That's why it would be easier to flash just GB.
 
dangpzanco
Old
#9  
dangpzanco's Avatar
Senior Member
Thanks Meter 83
Posts: 707
Join Date: Dec 2010
Hey there, nice I could help.
I think you could copy the /dev/block/system back after rooting and build the SBF with it.

@Milestone 2 (Finnaly on Gingerbread!)
 
r2beta0
Old
#10  
Senior Member - OP
Thanks Meter 121
Posts: 481
Join Date: Nov 2010
Location: Rio de Janeiro
Quote:
Originally Posted by dangpzanco View Post
Hey there, nice I could help.
I think you could copy the /dev/block/system back after rooting and build the SBF with it.

@Milestone 2 (Finnaly on Gingerbread!)
I tried that with froyo but it didn't work.