Computing Magazine

Root Any Motorola Device Running Android 2.3.x Gingerbread

Posted on the 21 April 2012 by Skateroren @ProgramsAlive
Step 1: Presuming your device is running unrooted Gingerbread, you’ll need to ask for a rooted gingerbread userdata partition image (aka CG37), with a modified local.prop file and USB Debugging enabled.
Step 2: Next, you’ll need to alter the value of ro.sys.atvc_allow_all_adb from 0 to 1.
 
Step 3: Then, create a userdata partition image by typing the following in the shell (with root access)
dd if=/dev/block/userdata of=/sdcard/CG37.smg
or 
busybox dd if=/dev/block/userdata of=/sdcard/CG37.smg
Step 4: Once your CG37.smg is on the SD card, you’ll need to boot into linux
Step 5: In Linux, you’ll need to extract the contents of the folder found in this .zip, after which, you should also copy CG37.smg and your original, non-rooted SBF into that same folder.
Step 6: Start terminal (with root permissions), and type in:
cd <folder>
(instead of  <folder>, write the location of the folder we made in Step 5)
Step 7: Resize that partition to 200 Mb, by typing the following:
efsck -f CG37.smg
resize2fs CG37.smg 200M
Then, type
chmod +x sbf_flash
Step 8: Start your Motorola phone into bootloader and connect it to your PC before typing:
./sbf_flash -r –userdata CG37.smg ORIGINAL.sbf
(change "ORIGINAL" with the name of your SBF)
Step 9: Once the device has booted up, type:
bash finishroot.sh
And that’s it. If you followed all of the steps correctly, your Motorola smartphone should be rooted on Gingerbread!

Back to Featured Articles on Logo Paperblog