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
Thread Closed

[GUIDE] root, unlock, kk and flash back to jb [READ OP!!!]

OP bweN diorD

21st June 2014, 01:31 AM   |  #1  
bweN diorD's Avatar
OP Senior Member
Thanks Meter: 762
 
1,706 posts
Join Date:Joined: Jun 2011
More
************WARNING*************
this guide only works completely if you did NOT take the 183.46.15 update rolling out around 9/9/14
LOOK AT YOUR SYSTEM VERSION AND MAKE SURE YOU ARE NOT ON 183.46.14or15 BEFORE POSTING, if you are, THE BOOTLOADER UNLOCK AND ROOT WONT WORK, PERIOD, END OF DISCUSSION.
YOU HOSED YOURSELF BY NOT DOING THIS BEFORE UPDATING, THE TOOLS ARE NOT BROKEN.

if you are already unlocked, the relevant parts of this guide will still work as described.



So, you have a Droid Razr Maxx HD or HD, xt926, and want to root, unlock the bootloader, and go back to JB, possibly.
Well this is the guide for you!

***you should backup data before any flash or mod
***the current condition of your phone is irrelevant (root etc). the script will flash from any version, to KK (data wipe option recommended)


first, you need to be on KitKat to root and unlock the bootloader,
if you are not, flash version 1.4 or 1.41 of this in fastboot.
moto drivers if you need them.
to get into fastboot, power off the phone, hold both volume buttons and power until the pre-boot menu comes up then release and choose "fastboot"
alternatively, you can use @SamuriHL's method if that strikes your fancy.
(PLEASE DONT ASK QUESTIONS ABOUT @SamuriHL'S SCRIPT HERE, use his forum.)

after booted etc, put this app, this app, and SU zip on your storage or sd card.

open the "tr" app and follow the directions to root your phone.
when complete and rebooted,
open the Motopocalypse app and follow the directions to unlock your bootloader.
when complete and rebooted,
we are going to need a custom recovery (just because they are great )
go here or here to get the only recovery compatible with KK (they are also in a sub folder of the flash tool)
to flash these per the op's instructions, you will need adb and fastboot.
if you don't have it installed,
open the directory from my flash tool posted above, hold shift, right click, and choose "open command prompt here". this will use the adb and fasboot in my script to install the recovery, using the commands in @dhacker29's op. just make sure you moved the recoveries out of the sub folder and into the main one, or it will fail.
here is a more complete step by step i made for another user. just change the file name if you are flashing twrp.
if you aren't comfortable using the commands to install the new recovery, alternatively, you can put the recovery on your storage and use Flashify to install it.

after flashing your new recovery, (3 button trick from above, and select "recovery")
boot back into recovery, and flash the SU zip from above. this will give you a properly working root (towel is great but has some faults)

now you have a fully functional razr hd or maxx hd with root and an unlocked bootloader on KitKat.

for those of you who just wanted to unlock and want to go back to JB, or just want to go back to JB for any reason after unlocking.
flash this in rsd (many tutorials on how to use RSD can be found on Google)
i already edited the stock file so you dont have to do it

now you want root again?
now that you are unlocked, forget all of those old exploits, (yes, they still work if you choose to use them) from now on, you can just install a custom recovery and flash the SU zip i gave you in recovery.


i hope this helps you, i will be updating it as needed.
Last edited by bweN diorD; 13th September 2014 at 01:27 PM. Reason: further noobify the warning
The Following 19 Users Say Thank You to bweN diorD For This Useful Post: [ View ]
21st June 2014, 01:32 AM   |  #2  
bweN diorD's Avatar
OP Senior Member
Thanks Meter: 762
 
1,706 posts
Join Date:Joined: Jun 2011
More
reserved
23rd June 2014, 06:44 AM   |  #3  
derpyherp's Avatar
Junior Member
Flag seabeck wa
Thanks Meter: 9
 
17 posts
Join Date:Joined: Apr 2014
More
Is the boot loader on KitKat kernel or jb kernel

Sent from my DROID RAZR HD using XDA Free mobile app
23rd June 2014, 12:49 PM   |  #4  
bweN diorD's Avatar
OP Senior Member
Thanks Meter: 762
 
1,706 posts
Join Date:Joined: Jun 2011
More
Quote:
Originally Posted by derpyherp

Is the boot loader on KitKat kernel or jb kernel

Sent from my DROID RAZR HD using XDA Free mobile app

Not sure what you mean, but it should be on whatever system version you have installed.

Sent from my LG-VS980 using XDA Premium 4 mobile app
29th June 2014, 05:08 PM   |  #5  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Jun 2014
I'm completely new to unrooting and unlocking, so, please bear with me. When kitkat came out, my battery life suffered, and I learned about this exploit, I decided it was time to learn how to unroot and unlock so I could go back to jellybean.

Long story short, I gained root access, unlocked the bootloader, and got status code 3. Last night, I downloaded RSD Lite, booted into fastboot AP mode, and I must have missed a step or screwed something up, because I got the following errors:

--RSD lite said: "3/23 flash partition "gpt_main0.bin" -> Phone returned FAIL".
--The phone's flashboot screen says: "flash failure, usb connected, downgraded security version, update gpt_main version failed, preflash validation failed for GPT."

My phone was stuck in fashbot ap mode for a little while, and I could not restore the recovery img file I had saved with flashify, because it was no longer in the sd card directory. Not sure what's going on there, but whatever. Fortunately, I was able to wipe all data, and reboot into normal mode after holding all three buttons, but it was pretty scary for a while. Now, however, if I power off now, the only way I can get the phone to reboot properly is using the three button method. If I try to power on normally, I just get the flashboot AP screen, and a flash failure.

As I read through everything again and again, I think that perhaps I skipped the adb step, though rsd still went through its motions. I initially tried to pull the zip/rar file thru flashify, but flashify gave me an error and wouldn't work with it.

All this being said, wondering if anyone advise a best course of action at this point? Can I just go back to the adb step and use rsd again? Or, should I somehow flash a recovery back to kitkat and start over, even though my copy apparently went kaput? I could possibly grab a flashify file from my wife's phone, which is also the XT907, but not sure if it really works that way...Sort of nervous about tinkering further since I'm so new to this and apparently have a lot to learn. Alternately, I could try house of moto.

Thank you!
29th June 2014, 05:14 PM   |  #6  
SamuriHL's Avatar
Senior Member
Thanks Meter: 1,648
 
2,774 posts
Join Date:Joined: Aug 2010
More
You can't downgrade the GPT or TZ partitions. That's why my RSD Script Generator and House of Moto utils create a UNIVERSAL script for downgrading. It skips those partitions.
The Following User Says Thank You to SamuriHL For This Useful Post: [ View ]
29th June 2014, 06:37 PM   |  #7  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Jun 2014
Quote:
Originally Posted by SamuriHL

You can't downgrade the GPT or TZ partitions. That's why my RSD Script Generator and House of Moto utils create a UNIVERSAL script for downgrading. It skips those partitions.

I think I get the jist of what you're saying, and while I understand what a partition is, I'm not sure what a GPT or TZ partition is, specifically. Regardless, it sounds like you're saying the best course of action now is to go the RSD script generator route?

My goal is just to get back to a stable OS, and eventually downgrade to JB, version 98.18.94.XT907, as any other version sent my phone into involuntary power offs. Whether that means I install KK first then go down, or go straight to JB doesn't matter too much.

Would another option be to use my wife's flashify recovery? We have the same phones...
29th June 2014, 06:40 PM   |  #8  
SamuriHL's Avatar
Senior Member
Thanks Meter: 1,648
 
2,774 posts
Join Date:Joined: Aug 2010
More
No, you can't flash things from other phones. So we can just drop that idea.

Yes, my RSD Script Generator is the quickest way. Use it with the 9.30.1 FXZ (what you're calling 9.18.94 as they are the same version, but, the FXZ is 9.30.1), then flash the UNIVERSAL script that's generated with RSD. Done, and on JB as you wish.
The Following 2 Users Say Thank You to SamuriHL For This Useful Post: [ View ]
29th June 2014, 08:09 PM   |  #9  
Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: Nov 2011
Smile Issues with script
I am having trouble with the rooting script. I am running into the error 'Preflash validation failed' in the Dan Rosenberg script, and then trying to boot the phone takes me to AP Fastboot with 'No valid PIV block in SP for system / piv validation failed (system)'.

My guess is that this is because I casually downloaded the 1.4 version of the script instead of the 1.41, so maybe that utility will work better. I will update this thread as I continue to troubleshoot.

---------- Post added at 07:05 PM ---------- Previous post was at 06:59 PM ----------

Quote:
Originally Posted by ModernZombie

I am having trouble with the rooting script. I am running into the error 'Preflash validation failed' in the Dan Rosenberg script, and then trying to boot the phone takes me to AP Fastboot with 'No valid PIV block in SP for system / piv validation failed (system)'.

My guess is that this is because I casually downloaded the 1.4 version of the script instead of the 1.41, so maybe that utility will work better. I will update this thread as I continue to troubleshoot.


When I run the script it seems to enter a loop where it runs 'writing system' and 'sending system' again and again...

---------- Post added at 07:09 PM ---------- Previous post was at 07:05 PM ----------

Quote:
Originally Posted by ModernZombie

I am having trouble with the rooting script. I am running into the error 'Preflash validation failed' in the Dan Rosenberg script, and then trying to boot the phone takes me to AP Fastboot with 'No valid PIV block in SP for system / piv validation failed (system)'.

My guess is that this is because I casually downloaded the 1.4 version of the script instead of the 1.41, so maybe that utility will work better. I will update this thread as I continue to troubleshoot.

---------- Post added at 07:05 PM ---------- Previous post was at 06:59 PM ----------




When I run the script it seems to enter a loop where it runs 'writing system' and 'sending system' again and again...

Nevertheless the script seems to have succeeded and my booting issues are over. Using the 1.41 version of the script fixed my issue. Hopefully that helps someone who has the same problem that I did.
29th June 2014, 09:51 PM   |  #10  
SamuriHL's Avatar
Senior Member
Thanks Meter: 1,648
 
2,774 posts
Join Date:Joined: Aug 2010
More
I'm glad you were able to use Bwen Diord's updated util to fix it. Goes to show you should always make sure to use the latest version of whatever util you're using.

The Following User Says Thank You to SamuriHL For This Useful Post: [ View ]
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes