[GUIDE] How to unlock your bootloader, install TWRP and gain root access

LifeAsADroid

Senior Member
Sep 17, 2012
998
310
0
Awesomeville, USA
Great write up, thanks for this.

Quick question (probably a stupid one) - after bootloader unlocked and TWRP installed, am I able to flash SuperSU instead of MagiskManager to gain root access if I wanted to go that route? I've had issues with MagiskManager in the past and would rather steer clear for now on a new (to me) phone.

Thanks! :good:
 
M

Mansoor4139

Guest
Great write up, thanks for this.

Quick question (probably a stupid one) - after bootloader unlocked and TWRP installed, am I able to flash SuperSU instead of MagiskManager to gain root access if I wanted to go that route? I've had issues with MagiskManager in the past and would rather steer clear for now on a new (to me) phone.

Thanks! :good:
You can flash SuperSU on an unlocked bootLoader . I have not unlocked my own droid turbo bootloader but i know that SuperSU can be flashed on any phone with unlocked bootloader . It sometimes show boot verification error if bootloader is locked and you flash it through bumped recovery (which is not available for motorola :( ) .
 
Last edited:

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,326
14,179
253
Atlanta, Georgia
Great write up, thanks for this.

Quick question (probably a stupid one) - after bootloader unlocked and TWRP installed, am I able to flash SuperSU instead of MagiskManager to gain root access if I wanted to go that route? I've had issues with MagiskManager in the past and would rather steer clear for now on a new (to me) phone.

Thanks! :good:
Yes, but with Motorola Marshmallow you must FIRST flash a specific version of SuperSu for initial root and reboot. THEN, after that you can update to most recent stable version.

If you try to flash with most recent stable version SuperSu first, you will bootloop.

Here you go. Use the SuperSu attached to this post below. There's also a download link if you wish to download straight from Chainfire:
https://forum.xda-developers.com/showpost.php?p=70522598&postcount=521
 
Last edited:

MrGreenDisciple

New member
Aug 4, 2017
1
0
0
Step 2 Bootloop not stopping

I unlocked my phone using sunshine and it worked, afterwords my phone booted and showed the "Warning Bootloader Unlocked" banner, so i was set... except... when i load in fast boot and upload the TWRP file, once i select recovery mode it returns to the bootloop and continues to just show the prompt "Warning Bootloader Unlocked" over and over. Got any special commands or suggetions?
 

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,326
14,179
253
Atlanta, Georgia
I unlocked my phone using sunshine and it worked, afterwords my phone booted and showed the "Warning Bootloader Unlocked" banner, so i was set... except... when i load in fast boot and upload the TWRP file, once i select recovery mode it returns to the bootloop and continues to just show the prompt "Warning Bootloader Unlocked" over and over. Got any special commands or suggetions?
You're saying this happened before you even installed TWRP?

How many of these steps below did you complete? Did you actually see the success message that TWRP was installed? I hate to quote this much of the OP, but there has to be a step or two you missed.

If I was betting -- and I may be completely wrong -- you didn't enable viewing Windows extensions, accidentally re-named your TWRP as TWRP.img.img (because you didn't see the .img extension already there, as you probably still have Windows extensions hidden).

So, TWRP didn't actually install, since you didn't flash the correct file name you had on your computer (TWRP.img.img). Possibly then you ignored the error message saying TWRP didn't install, and then tried to boot into TWRP recovery (which wasn't installed) and got the boot loop.

Again, I may be wrong, but look through these steps again. If TWRP was actually installed you wouldn't be getting a bootloop trying to go from bootloader screen to recovery screen.


Section 2: Installing TWRP

1. Download and install Minimal ADB and Fastboot from here: http://forum.xda-developers.com/showthread.php?t=2317790. If you already did this in section 0, you don't have to do it again.
2. Download the latest TWRP .img file from here: https://www.androidfilehost.com/?w=files&flid=39562
NOTE: The TWRP file that you download should have a .img extension. Make sure you can see this. If you don't see .img at the end of the filename, Google how to make file extensions visible on your version of Windows and do it. If you do not do this, you may run into trouble later.
3. Download and install the Motorola Device Manager from here: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481. If you already did this in section 0, you don't have to do it again.
3. Rename the file that you downloaded in step 2 to TWRP.img
4. Copy TWRP.img to the directory that you installed Minimal ADB and Fastboot to. The default location on an installation of 64-bit Windows is C:\Program Files (x86)\Minimal ADB and Fastboot.
5. Turn off your phone.
6. Hold the volume down button and press the power button to boot into bootloader mode. You should see a green android lying on his back with his chest open, and some information about your phone. Poor little guy...
7. Plug your phone into your PC.
8. Double click on the Minimal ADB and Fastboot shortcut that's on your desktop. It will open a command prompt.
9. Type "fastboot devices" without quotes and press enter. If it gives you your phone's serial number, you're good to go. If it gives you nothing, your device is not detected. This can happen for several reasons, and I won't discuss them here. However, if you followed these directions and all of your hardware is functioning properly, you should be good to go.
10. Type "fastboot flash recovery TWRP.img" without quotes and press enter. It should tell you that the flash was successful. You might see some "not found" errors. These are normal and can be ignored.
11. Highlight "Recovery mode" on your phone using the volume up and down buttons.
12. Press the power button to boot into TWRP.
13. TWRP will boot, and it will ask you if you want to allow write access to the system partition. IT IS VERY IMPORTANT THAT YOU ALLOW THIS. Check the box that says to never ask this question again.
14. Select Reboot, followed by System to boot the phone normally.
 
Last edited:
  • Like
Reactions: nnjimmy59

biRonic

Senior Member
Feb 14, 2012
54
7
0
I know this is a stupid question (or...well...it shows that I'm stupid), but if you're willing to be gentle ( :LOL: )...
Does Magisk have to stay installed in order for the device to stay rooted?
 

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,326
14,179
253
Atlanta, Georgia
I know this is a stupid question (or...well...it shows that I'm stupid), but if you're willing to be gentle ( [emoji38] )...
Does Magisk have to stay installed in order for the device to stay rooted?
No, you can flash SuperSu for root. But for Motorola Marshmallow, you have to first flash a specific older version of SuperSu for initial root, before updating to the latest version. The version you need was attached to several posts in this thread, and previously was mentioned in the instructions.

Just search for SuperSu in this thread, and look for posts with my user name.

Magisk is just needed to hide root, for people who use apps that don't like you actually owning your own phone. There is also a systemless SuperSu which I think can work with Magisk... But since Magisk can hide root and also root, the OP removed all mention of SuperSu from the instructions since Magisk is an all-in-one solution to root/hide root. (His choice, which is his right. I am not criticizing that.)

Personally, I don't use those apps that don't like root, and I use SuperSu and don't bother to hide root -- which just means I actually own my phone.
Root = being admin of your Android device.
 
Last edited:

biRonic

Senior Member
Feb 14, 2012
54
7
0
No, you can flash SuperSu for root. But for Motorola Marshmallow, you have to first flash a specific older version of SuperSu for initial root, before updating to the latest version. The version your need was attached to several posts. Just search for SuperSu in this thread, and look for postd with my user name.

Magisk is just needed to hide root, for people who use apps that don't like you actually owning your own phone.

Personally, I don't use those apps.
Thank you.
So, are you saying that I will need to unroot first, and then use TWRP to re-root with SuperSU (like I've done before on another earlier Turbo)?

p.s. By the way, it appears that was your 6,000th post. Congrats!! :)
 
  • Like
Reactions: ChazzMatt

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,326
14,179
253
Atlanta, Georgia
Thank you.
So, are you saying that I will need to unroot first, and then use TWRP to re-root with SuperSU (like I've done before on another earlier Turbo)?

p.s. By the way, it appears that was your 6,000th post. Congrats!! :)
Probably. But I've never had to remove Magisk, so not sure. I do know when you flash SuperSu on stock Motorola Marshmallow you have to first use the older SuperSu version found in this post. (If you don't, you will bootloop.) After flashing that in TWRP, reboot successfully, confirm root.

Then, go back into TWRP and you can flash a newer version you have downloaded. Or SuperSu should automatically update to newer version.
 
  • Like
Reactions: biRonic

biRonic

Senior Member
Feb 14, 2012
54
7
0
Probably. But I've never had to remove Magisk, so not sure. I do know when you flash SuperSu on stock Motorola Marshmallow you have to first use the older SuperSu version found in this post. (If you don't, you will bootloop.) After flashing that in TWRP, reboot successfully, confirm root.

Then, go back into TWRP and you can flash a newer version you have downloaded. Or SuperSu should automatically update to newer version.
Great news...
I followed the instructions for uninstalling Magisk (for cases where something goes wrong, etc). That went just fine.
I then rebooted to verify root was gone.
Then I installed the version of SuperSU that you pointed me to, and that went fine.
Rebooted, and verified root.
Then updated SuperSU from within the OS, and it prompted to update the binary, etc, and it's all good to go.

Thank you! :)
 
  • Like
Reactions: ChazzMatt

ndiisandy

New member
May 4, 2013
1
0
0
I cancel sunshine because didnt have paypal to purchase them and then the phone reboot. My phone bootloop after that. How can i fix this problem dude ?
 

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,326
14,179
253
Atlanta, Georgia
I cancel sunshine because didnt have paypal to purchase them and then the phone reboot. My phone bootloop after that. How can i fix this problem dude ?
There's many other ways to pay besides PayPal.

You probably still have that temp root thing running? You have to cancel that or you will bootloop every reboot. It's only supposed to be temp root to then let Sunshine unlock the bootloader.
 
  • Like
Reactions: SNSoomro

SNSoomro

Member
Sep 6, 2017
5
0
0
Hi guys everyone help me, my Verizon Motorola Droid Turbo I want install TWRP in my device I am trying to fastboot mode, minimal ADB and fastboot mode and mfastboot mode properly installed but I am go to recovery pressing volume up and power button, but I always go to Android stock recovery..... My device details are below

BOARD APQ8084
BOOTLOADER 0x7096
BRAND motorola
CPU_ABI armeabi-v7a
CPU_ABI2 armeabi
DEVICE quark
DISPLAY MCG24.251-5-5
FINGERPRINT motorola/quark_verizon/quark:6.0.1/MCG24.251-5-5/5:user/release-keys

HARDWARE qcom
HOST ilclbld33
ID MCG24.251-5-5
MANUFACTURER motorola
MODEL XT1254
PRODUCT quark_verizon
USER hudsoncm
CODENAME REL
INCREMENTAL 5
RELEASE 6.0.1
SDK_INT 23
RADIO :confused: MDM9625_41.51.07.22.04R QUARK_CUST :confused:
 

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,326
14,179
253
Atlanta, Georgia
Hi guys everyone help me, my Verizon Motorola Droid Turbo I want install TWRP in my device I am trying to fastboot mode, minimal ADB and fastboot mode and mfastboot mode properly installed but I am go to recovery pressing volume up and power button, but I always go to Android stock recovery.....

Probably #2 or #3, but let's confirm #1 first...

1) You've unlocked the bootloader with Sunshine? You no longer have locked bootloader? You can't install TWRP until you unlock the bootloader.

2) When installing TWRP from bootloader screen, do NOT reboot the phone. You have to immediately go from bootloader screen to recovery, using the volume button selection to boot into TWRP. If you reboot the phone after installing TWRP, without first booting into TWRP (from the same bootloader screen), it cancels your TWRP installation.

3) Are you getting any error messages when installing TWRP? Like it can't be found? If so, then you have not enabled viewing Windows extensions, so you have accidentally re-named your TWRP package as TWRP.img.img (but you can't see that second ".img" and you are not actually installing TWRP correctly. The TWRP package already has .img on the end just like all PDF files have .pdf on the end. But stupid Microsoft Windows policy hides "known extensions" so you don't see .exe, .jpg, .pdf., .img extensions. If you re-named your TWRP as TWRP.img, then you possibly REALLY re-name it TWRP. img. img and when you flashed TWRP.img, it can't be found and you are getting an error message?
___________

If none of this works, then re-read the instructions in this guide OR read the instructions in this other guide. It's also for Quark phones -- but just not the Droid Turbo bootloader unlock with Sunshine. However, if you've already unlocked the bootloader, after that everything else (especially TWRP installation) is the same. It's just written in a different style, so maybe something you are overlooking will jump out at you if you read it in a different way. Start with Section 2, Installing TWRP.
 
Last edited:

SNSoomro

Member
Sep 6, 2017
5
0
0
Probably #2 or #3, but let's confirm #1 first...

1) You've unlocked the bootloader with Sunshine? You no longer have locked bootloader? You can't install TWRP until you unlock the bootloader.

2) When installing TWRP from bootloader screen, do NOT reboot the phone. You have to immediately go from bootloader screen to recovery, using the volume button selection to boot into TWRP. If you reboot the phone after installing TWRP, without first booting into TWRP (from the same bootloader screen), it cancels your TWRP installation.

3) Are you getting any error messages when installing TWRP? Like it can't be found? If so, then you have not enabled viewing Windows extensions, so you have accidentally re-named your TWRP package as TWRP.img.img (but you can't see that second ".img" and you are not actually installing TWRP correctly. The TWRP package already has .img on the end just like all PDF files have .pdf on the end. But stupid Microsoft Windows policy hides "known extensions" so you don't see .exe, .jpg, .pdf., .img extensions. If you re-named your TWRP as TWRP.img, then you possibly REALLY re-name it TWRP. img. img and when you flashed TWRP.img, it can't be found and you are getting an error message?
___________

If none of this works, then re-read the instructions in this guide OR read the instructions in this other guide. It's also for Quark phones -- but just not the Droid Turbo bootloader unlock with Sunshine. However, if you've already unlocked the bootloader, after that everything else (especially TWRP installation) is the same. It's just written in a different style, so maybe something you are overlooking will jump out at you if you read it in a different way. Start with Section 2, Installing TWRP.

Thanks dear for your help,
01) I am confirmed showing extension setting on in folder option.,
2) a while I am in Installing TWRP then showing error of ( failure of remote extra)
 

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,326
14,179
253
Atlanta, Georgia
Thanks dear for your help,
01) I am confirmed showing extension setting on in folder option.,
2) a while I am in Installing TWRP then showing error of ( failure of remote extra)
You didn't answer my #1 question... ;)

Yes or No, you've unlocked your bootloader with Sunshine? What is the bootloader status code on the bootloader screen?
 

CCaseXX

Member
Sep 10, 2017
47
12
0
Birmingham
Droid XT1254 here (droid turbo). When going into sunshine and after payment I get a message saying "sunshine has detected this device has become unstable, this is not a problem restart your phone and run Sunshine again".
Everything else up to this point is picture perfect. I dont understand why when I get to this point it is hiccuping....

Why am I getting this message and how to I get around it????
 

CCaseXX

Member
Sep 10, 2017
47
12
0
Birmingham
If you get that error more than once, you probably have mismatched firmware. Flash a FULL firmware package with mfastboot or rsd lite.


When you say firmware mismatch do you mean that this method is not used for the build # "MCG24.251 -5-5"?

Forgive me I am a little new to the new phone rooting process. I love my turbo and want to unlock it to its full potential!!!:cowboy:

Also do you mind letting me know how to do the flash process you speak of? Again thanks for the quick reply!
 
Last edited: