Saturday, January 26, 2013

[Part 3 - Profesional Way to Unlock & Root] - Root

[Source: Lowyat.net Forum]

Obtaining Root Access and Custom Recovery:
Turn on USB Debugging: To do so; you must first go to Settings>About>Build Number and click seven times.
The actual setting can then be found in Settings>Developer Options>USB Debugging SuperSU(CWM .zip)
CWM (Pick the version for your device) 

Place the recovery-clockwork-VERSIONNUMBER-mako.img file into your C:\android-sdk-windows\platform-tools folder.
Put the SuperSU.zip on your phone.
Open another Command Prompt if it isn't still open. (Navigate to C:\android-sdk-windows\platform-tools and shift + right click. Select "Open Command Window Here.")
With your phone plugged in type:
adb reboot bootloader (Hit Enter)
And wait for your phone to boot into the android again.

Now type: fastboot flash recovery IMAGENAME.img
(Change the file name to the correct file name and Hit Enter)
Once that is finished: select the "Recovery Mode" option again on your phone.
You should get a new recovery menu here. Select "install zip from sd card" and "choose zip from sd card."
Find the SuperSU.zip that you transferred earlier and select "Yes" to installing.

Navigate back to "Reboot" and reboot your phone. You're now rooted!
However, ClockworkMod Recovery won't continue to load after this.
To fix this, find "Rom Manager" from the market. (The free version is fine.)
Use the "Flash ClockworkMod Recovery" option.

If your recovery still doesn't stick around after a reboot, you have another couple options.
Find a file explorer that allows root access, such as Root Explorer.
Use this program to rename /system/etc/install-recovery.sh to /system/etc/install-recovery.bak.
You'll need to mount the system as r/w to do this.
Root Explorer provides a button at the top to do so. Or, you can do this completely manually by firing up ADB again and running a few commands:

adb shell
(Hit Enter)
(Hit Enter)
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
(Hit Enter)
mv /system/etc/install-recovery.sh /system/etc/install-recovery.bak
(Hit Enter) 

Congratulations! Your phone is now unlocked, rooted, and has a custom recovery!

***I take no responsibility for what happens to your phone due to following this guide! That being said, not only am I sure you'll be fine...but there are an endless amount of users who would be glad to help if you need it.***

[Part 1 - Profesional Way to Unlock & Root] - Prerequisite
[Part 2 - Profesional Way to Unlock & Root] - Unlocking the Bootloader
[Part 3 - Profesional Way to Unlock & Root] - Root



Related Posts Plugin for WordPress, Blogger...