Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

HOWTO: Root without unlocking the Bootloader

OP vinas1

5th August 2014, 06:14 PM   |  #1  
vinas1's Avatar
OP Senior Member
Flag Detroit
Thanks Meter: 68
 
223 posts
Join Date:Joined: Jan 2011
More
A lot of people have been asking, so here are my notes for gaining root w/o flashing or unlocking the boot loader.



Thanks to Chromium and The Jack of Clubs for their initial concepts and documentation.

Download ADB and set up Tools
Download the full Android SDK here:
http://developer.android.com/sdk/index.html#download
(scroll to the bottom of the page -> DOWNLOAD FOR OTHER PLATFORMS -> SDK Tools Only)

Extract the android-sdk-windows zip to c:\android-sdk

Browse to C:\android-sdk\android-sdk-windows\

Double Click and run SDK Manager.exe

Uncheck everything except the Android SDK Tools and Android SDK Platform-tools

Hit the Install xx Packages button


Download Super SU and TWRP
Download the latest TWRP here:
http://techerrata.com/browse/twrp2/bacon

Extract the TWRP image file and save it as recovery.img in the following folder:
C:\android-sdk\android-sdk-windows\platform-tools

Download SuperSU here: http://download.chainfire.eu/452/Sup...erSU-v2.02.zip

Plug your phone into your computer and Copy SU zip to the phone... (anywhere will work)


Get your Phone into Fastboot
Reboot the phone in fastboot mode (hold volume up + power). You should get a cyanogen guy smiling at you, this indicates the phone is in fastboot mode.

Open a command prompt and do:
cd C:\android-sdk\android-sdk-windows\platform-tools

Type:
fastboot devices

NOTE: You should receive a list of connected devices, this means your PC is connected to your phone. If not, something is wrong with ADB or your USB driver and you need to fix it before you can proceed!

Boot with TWRP and Flash
If “fastboot devices” worked without error, type this:
fastboot boot recovery.img

After the recovery.img transfers, your phone reboots into TWRP. Hit “Install” and choose the SuperSU.zip from the location on your phone that you saved it to earlier.


Once flashing is done, reboot and enjoy root. No re-imaging or unlocking your bootloader necessary.
The Following 2 Users Say Thank You to vinas1 For This Useful Post: [ View ]
5th August 2014, 06:17 PM   |  #2  
Senior Member
Thanks Meter: 45
 
210 posts
Join Date:Joined: Jul 2013
Why is a unlocked bootloader a problem?
5th August 2014, 06:20 PM   |  #3  
The Jack of Clubs's Avatar
Senior Member
Flag Houston
Thanks Meter: 476
 
2,729 posts
Join Date:Joined: Jan 2007
More
Quote:
Originally Posted by _Beni_

Why is a unlocked bootloader a problem?

if you dont want to wipe data, it also sets flags a tamper bit (which can now be reset), or if you just plain dont want to.
5th August 2014, 06:24 PM   |  #4  
Senior Member
Thanks Meter: 45
 
210 posts
Join Date:Joined: Jul 2013
Quote:
Originally Posted by The Jack of Clubs

if you dont want to wipe data, it also sets flags a tamper bit (which can now be reset), or if you just plain dont want to.

Ah ok, i did unlock and switch to PA after second boot , so there were no data that would be lost
5th August 2014, 06:29 PM   |  #5  
playya's Avatar
Senior Member
Florida
Thanks Meter: 2,101
 
6,104 posts
Join Date:Joined: Jan 2007
Donate to Me
May I ad that there is an easier way to get adb. Its a program called minimal adb. This what I used originally in case someone prefers to just download that file. Just an option thats all...

Nice tutorial
The Following User Says Thank You to playya For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes