yashsingh1/xdaforums huggingface dataset:
[RAZR HD Android Development] blindman75:
I am on 4.1.2 with ul bootloader and rooted. I want to make sure I understand how this works before i dork up my phone. I have used your utility in the past to root and ul, but never used rsd to flash anything.

So if I want to upgrade to KitKat, I need to run the utility 1.41 to install stock KitKat. How do I go about regaining root? Will I lose my UL status? Do i have to use rsd light that comes with the utilty to flash the recovery? Do I flash TWRP before gaining root or is it the other way around?

I went to rsd light with my phone connected in fastboot mode as if I were going to flash the recovery.. I think that's how it's done:confused: But when I tried to select a file from the KitKat recoveries folder no files were found.

Sorry for all the questions but I still feel new to this...thanks in advance for the help.
[RAZR HD Android Development] bweN diorD:
Yes, run the utility to go to kk

No, the bootloader will not lock back

To get root back you would need to flash the recovery with adb and fastboot then from within the new recovery flash a su zip.

I made a GUIDE last night and posted it in the general forum, have a look at that and see if it doesn't cover most of your questions and we can go from there.
[RAZR HD Android Development] blindman75:
Success. Thank you!
[RAZR HD Android Development] ryankliber:
I noticed the menu on the linux script is not updated..Will it still work correctly (picking 4.1.2) since the the files in the utility have been swapped out to 4.4.2, or does the script need to be updated? I am eager to update my bootloader for kk, but am not going to risk using an old scrip without knowing if it will work or not.
[RAZR HD Android Development] bweN diorD:
i dont know if it will still work, frankly, i dont know how to update that part of the script if its needed.

ill remove the mac/linux from the title.

sorry for any inconvenience.
[RAZR HD Android Development] ryankliber:
I should know how to rewrite the script but it's pretty complex compared to your Windows scripts. I'm currently on jb bootloader with custom rom. Couldn't I use put my phone in ap fastboot and use Linux to cd into the extracted utility and just manually enter each fastboot command from that block of code in the Windows script?

Example:

fastboot flash partition gpt.bin

fastboot flash sbl1 sbl1.mbn

fastboot flash sbl2 sbl2.mbn

fastboot flash sbl3 sbl3.mbn

fastboot flash rpm rpm.mbn

fastboot flash tz tz.mbn

fastboot flash aboot emmc_appsboot.mbn

fastboot flash modem NON-HLOS.bin

fastboot flash fsg fsg.mbn

fastboot erase modemst1

fastboot erase modemst2

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot -w

fastboot flash system system.img

fastboot erase tombstones

fastboot erase cache

fastboot reboot

However before the last reboot command I would flash kk cwm recovery and then instead of fastboot reboot, is fastboot reboot recovery a valid command like it would be for adb? Then I'll just install gummy from recovery...I realize I probably could skip the fastboot flash system command but I'd rather just follow along with what's in the Windows script.

Is this going to work? Is there anything (even small) that I missed? Those commands are from the DATA WIPE script..this 'shouldn't' touch sdcard or internal sd? I made a backup about a week ago, so as long as it's not guaranteed to wipe those I won't make a new backup.
[RAZR HD Android Development] SamuriHL:
It will work, yes. It's what I do in my tools for Linux/Mac users. However, there's a caveat here. You can flash custom recovery, and that's a good idea, but, there's no way to boot directly from AP Fastboot mode to recovery. So what I tell people is skip the reboot altogether, unplug the phone, turn it OFF, then boot it up into the menu so you can select recovery before it ever boots.
[RAZR HD Android Development] ryankliber:
Well that didn't work at all... Apparently this utility doesn't upgrade the bootloader?

Edit i guess it did since the bootloader version says 05-01-2014

---------- Post added at 05:51 PM ---------- Previous post was at 05:39 PM ----------

Now that i did this and have a non bootable phone, can anyone help me get it working?
[RAZR HD Android Development] SamuriHL:
Um, not with that little information, no. We need to know what failed to flash. Clearly something did else it wouldn't be unbootable.
[RAZR HD Android Development] ryankliber:
Well I think the non-hlos.bin failed and then system.img failed. The bootloader was upgraded to 5-01-2014 and I had the new cwm installed but my internal sd was wiped so I didn't try installing anything. Maybe I should've put the micro sd in and tried to flash something lol. Either was it doesn't matter anymore I just wanted to get more into detail. I was able to borrow a windows laptop for a few minutes and rsd lite it to the current 4.4.2 sbf. However, something surprised me. The 4.4.2 sbf from motos website updated my bootloader to a 5-02-2014 build. Perhaps this utility is using the earlier soak test..at least for the bootloader? Maybe the day difference in bootloader affects which stock system.img u can install, but then why would the utility work for everyone else and not the way I did it?
[RAZR HD Android Development] SamuriHL:
Is your Linux install 32 or 64 bit? There are certain fastboot binaries on Linux that aren't able to send system properly (it has to be sent in segments).
[RAZR HD Android Development] bweN diorD:
as far as im aware, there was never a fxz released for the soak test. that's what would have been needed to update this script at that time.

what happened is, a fxz was released (182 i believe), and i updated the script to that file.

then, shortly after, another fxz released (183 i believe).

on several previous builds there have been 2 paths, yet 1 fxz.

on this current update, i haven't seen, or am aware of, one being different or better than the other. basically the same as in the past.

so i didn't waste time changing the files for no good reason.

that's why there is a 1 day difference in the bootloader dates.

there have been 2000 downloads so far and no issues reported. the issue was likely the format of your system like Sam said.

glad you got it fixed though :)
[RAZR HD Android Development] ryankliber:
64 bit Linux mint. I'm pretty sure it was because I used the 'android-tools-fastboot' package and not the actual sdk now that u mentioned that about the binaries.
[RAZR HD Android Development] SamuriHL:
The difference between 182 and 183 are the version number and the signing keys. That's it. 182 was the soak build, so, yes, we did manage to get an FXZ for that thanks to a member here on the forum who leaked it to us. 183 is the "official" release that updates 9.30.1. It's considered to be the official path, not that it makes any difference whatsoever. The actual code is identical. It's just a matter of what version it updated and the signing keys they used on it. Functionally, you wouldn't be able to tell the difference cause there isn't any.

---------- Post added at 07:17 PM ---------- Previous post was at 07:17 PM ----------

Yup, that'd do it.
[RAZR HD Android Development] bweN diorD:
[MENTION=5121618]Zeuscluts[/MENTION]

these are the up to date utilities in the op.

Matt stopped maintaining @ 1.2 and i started @ 3.0 with his permission.

thanks
[RAZR HD Android Development] bweN diorD:
that's pretty much where i was at with my thought process, regardless of the soak leak. no real point in updating the files for no gain.

thanks for confirming.
[RAZR HD Android Development] cj360:
Edit- nothing to see here.
[RAZR HD Android Development] bweN diorD:
The Linux script hasn't been updated since version 1.2.

You will need to run the commands manually as explained a few post down, or get a friend to let you use their windows machine.

Sorry for any inconvenience.
[RAZR HD Android Development] newskate9:
SO, just to be sure.

I'm on GZR / Validus, JB version of 6.0. I want to use the KK bootloader version.

Question: to get to KK bootloader, I would use this tool, final version dated June 16? Correct?

This would then get me to stock KK, rooted, still unlocked, with CWM or TWRP installed. THEN I can flash the new Validus?
[RAZR HD Android Development] bweN diorD:
you want to use the most recent version 1.4.1.

no, this will get you to 100% stock, no root, no custom recovery, but still unlocked, yes.

as far as Validus, as long as it is built off the KK base, then yes.
[RAZR HD Android Development] newskate9:
Thank you for the clarification!
[RAZR HD Android Development] YahyaIsrael:
Can't update?

I can't install the CM 11 updates lately all new updates fail when I try to install. What do I need to do to get my updates to install again. I think it has something to do with the bootloader and it has to be updated. Can I use this app to do this? Maybe other have had this issue. I tried doing a search, but nothing came up in my search.

Thank you,

John
[RAZR HD Android Development] bweN diorD:
i cant say why cm wont install, you may want to ask in the cm thread, but if you need your bootloader updated this script will do it for the 926.
[RAZR HD Android Development] toka793:
I updated using droid razr hd utility 1.41. Everything went well, but then... I couldn't sign in Google account, couldn't change date/time, when using chrome, I can't connect to Google.com, it says something about interfering secure connection or something. I think it has to do something with certificates, but I'm not sure. Does anyone else have same type of problems? Or does anyone know how to fix it? System files are also modified at "05/28/1970" which is the "UNCHANGEABLE" date.
[RAZR HD Android Development] bweN diorD:
it is from a bad flash check here for the same issue.
[RAZR HD Android Development] toka793:
So, I guess I have to update usb drivers and use 3.0 one, right?
[RAZR HD Android Development] SamuriHL:
Do NOT use USB 3 when flashing.
[RAZR HD Android Development] omlet:
hi,

can you put in red that this tool is only for XT926, i've used it with my 925 and now I don't have any IMEI, no network :/

any way to fix that? I can't use any recovery too...
[RAZR HD Android Development] bweN diorD:
says this right in the op

i added 926 to the title, thats all im going to do.

if you cant get into fastboot to re-flash with rsd, i dont know what to tell you, sorry.
[RAZR HD Android Development] omlet:
it's ok, I've reflashed with RSD =)

initially I just want the new bootloader to update my slimrom :/
[RAZR HD Android Development] otter34:
I have the samsung galaxy nexus which is rooted and I know all about that phone, but know nothing about her Droid Razr MAZZ (hd?). It's beyond sluggish so I want to root it. I see this mentioned going back to JB if you're on KK. How lucky that would be. She is still on 4.1.2. Can I use this even though she is on 4.1.2? I tried forcing an update and it says it's up to date.
[RAZR HD Android Development] bweN diorD:
yes you can.
[RAZR HD Android Development] Artnig:
Very useful utility thank you very much for this. Makes things a lot easier for newbies :P
[RAZR HD Android Development] robdec17:
I am on KK stock ( unlocked boot loader and rooted ) I assume I can us this to just install one of the recovery's ?
[RAZR HD Android Development] bweN diorD:
the recoveries are in the folder, but i didnt code them into the script.

you can install them manually by opening a command prompt in the script directory, as fastboot is in there.

just use the simple command provided in the recovery op. then power off manually and boot into recovery to make sure it sticks.

its so simple to install, i didnt see the point in coding it into the script. mainly because there is no fastboot reboot recovery command, so you would have to root first, so i could use adb commands from a booted device. just pointless to download a 700m file to do a simple recovery install.
[RAZR HD Android Development] SamuriHL:
Or, you know, you could replace recovery.img in the FXZ with the custom recovery you want to flash (rename it to recovery.img) and just flash the FXZ. For the truly lazy. :D
[RAZR HD Android Development] robdec17:
Worked great thanks
[RAZR HD Android Development] cyonsinn:
My current bootloader is the jellybean bootloader. can I use this to upgrade to the kitkat bootloader? I'm running android version 4.4.4. Any help would be greatly appreciated I'm usually pretty good at finding out on my own but this has me stumped for days.
[RAZR HD Android Development] bweN diorD:
sure, the only issue is your data.

you should not try to preserve data through this process.

the best thing to do would be to follow my guide in the general forum.

if you have any specific issues, i would be happy to try and help.
[RAZR HD Android Development] Almighty2:
I have a quick question, if I did a data wipe with the 1.41 version, what does it actually wipe? Does it wipe the internal SD and/or external MicroSD?
[RAZR HD Android Development] billycar11:
internal SD
[RAZR HD Android Development] bweN diorD:
*********PSA**********

a new update is rolling out NOW

use version 1.41 and the UNLOCK GUIDE now, before you take the update.

once updated by the 9/9/14 ota, you are screwed permanently from unlocking and rooting.
[RAZR HD Android Development] sheep348:
I am rooted and I unlocked my bootloader before I got the kitkat update so as far as I know I should be able to take the new OTA and get root back. Unfortunately I still don't know exactly what I need to do. Do I take the OTA and then flash that update zip from last time?

I know that is vague thanks for your help in advance.

Corbin.
[RAZR HD Android Development] bweN diorD:
you need to have stock recovery on to take the update.

afterwards, you can flash a custom recovery back (assuming its still works with the new build) then, flash the su zip to get root back.
[RAZR HD Android Development] sheep348:
Thanks. So before I mess up my phone... I have stock kitkat rooted and an unlocked bootloader. So my understanding is I don't have a "custom recovery" does that mean I can take the OTA and then flash the zip drive after? Or are you saying I need to do a factory reset first? Or am I company working!?

Thanks again. Or I'd be happy if I could figure out what to freeze so it doesn't want to update anymore.

Corbin.
[RAZR HD Android Development] bweN diorD:
if you flashed the zip file before to get root than you have a custom recovery, it cant be done in stock. therefore, you would need a custom recovery after the update to flash it.

also, there is no guarantee the ota will install because you are rooted.

factory reset will fix nothing, dont do that.

to stop the update see this post.

you will need a root explorer app to navigate to and change the extension to .bak. i use Root Explorer, but its not free, there are others that are.
[RAZR HD Android Development] newskate9:
OK, I've read the past few pages and I'm so impressed with the work done here, by all you guys. Thank you.

I have a problem - and reading the past few pages may have shown me the cause.

Problem: Unreliable wireless connection - I can watch it come and go at times, but worst when trying to stream something / chromecast something.

My Device: Razr HD, Validus 6.1, KKBL, PHILZ KK. Unlocked BL.

I was on 6.0 and JBBL and the wireless was rock steady. So, obviously, going back would be the fix (?). BUT - when I used the script to go to KKBL, I saved my data. That point JUST hit me. As opposed to not saving anything. I'm wondering, could that be causing the wifi issues? Before heading back to 6.0/JBBL, and then possibly 6.1 JBBL, is there a reason to think this might be the cause?

Any other things I might try before nuking her and starting over?
[RAZR HD Android Development] bweN diorD:
I just put the keep data in there because some people like to try it, but it's always best to wipe, especially if you are trying to fix issues.

Then you will know if there is actually an issue.

Sent from my G3 :p
[RAZR HD Android Development] newskate9:
And, as you guys always tell us!!! So updated ROM is one thing, but updating the bootloader too, and NOT wiping...... good golly, I should be shot!

Anyhow, I'm sitting on KK/6.1 CLEAN right now, reloading my apps (NO DATA), just the apps.

Thank you!
[RAZR HD Android Development] fascinateguy:
am currently unlocked rooted with custom recovery(KKBL), i got a message to update, is there any way i can just install the stock recovery and install the update?
[RAZR HD Android Development] bweN diorD:
yes, but it will likely still fail because of root, there have been mixed reports.

grab the recovery img from the fxz or this script directory, and flash it with fastboot or flashify from the market.

if the ota still fails or you just dont want to chance it, flash with this script and the "keep data" option. this will replace the recovery and remove root properly. as with any flash there is the chance something could go wrong and you loose data, but it is slim. the wiping command is removed from the keep data option.
[RAZR HD Android Development] Linux4ever85:
I am getting this error when I try run the bat file:

DROID_RAZR_HD_Utility_1.41 was unexpected at this time
[RAZR HD Android Development] SamuriHL:
Did you extract it to a path that has spaces in it by chance? If so, don't do that. If not, then I'll let bweN answer it.
[RAZR HD Android Development] bweN diorD:
i wish i could, but i have never seen this error before. more details may be helpful, cant say for sure.
[RAZR HD Android Development] SamuriHL:
My gut instinct tells me the batch file is being run either from the zip file (in which case they need to unzip it obviously) or being run from a directory with a space in the path.
[RAZR HD Android Development] Linux4ever85:
My path had spaces. It is working now that i just dump it in C:\.
[RAZR HD Android Development] SamuriHL:
Bingo. Gut instinct wins again. :D
[RAZR HD Android Development] swapyworld:
[MENTION=4132606]bweN diorD[/MENTION]

was referring to this thread here

I am on JB right now with 9.18.79.xt926 on my droid razr maxx hd...and downloading your kit 1.41. so now

1. install moto drivers

2. put my mobile in ap fastboot and press option 1 to 4 one by one to have 'stock JB with unlocked bootloader and rooted'

then how come it says "now you have a fully functional razr hd or maxx hd with root and an unlocked bootloader on KitKat" i mean it will flash JB isnt it? please help
[RAZR HD Android Development] bweN diorD:
version 1.4 and 1.41 flashes KK not JB, so if you follow that guide, you will be on KK as it states. you can get back to JB by following the guide all the way to the bottom and not stopping at the line you quoted, if you wish.

if you are not already unlocked, you will need to follow the steps from the top down to the line you quoted, to get unlocked. cant be done on JB unless your still on an older version, which you are not.
[RAZR HD Android Development] swapyworld:
thanks mate...i understood when i opened the batch file...had to turn off av and firewall so it could go on smooth.

Now already on KK with unlocked bl (checked in fastboot) can i uninstall towelroot and motocalypse app after that?

btw u mentioned about editing xml files in sbf versions from here ...may i know how to edit those?

btw any other way of flashing custom recoveries than that of fastboot method??
[RAZR HD Android Development] bweN diorD:
im not familiar with towel root, but i believe you can remove it. you can defiantly remove motopocalypse.

just edit the xml file completely removing any lines containing "getvar", "gpt/partition", and "tz", then close and save.

i have already provided an edited JB file in the guide, so you dont have to do it.

you can use flashify from the market to flash img files as long as you are rooted.
[RAZR HD Android Development] swapyworld:
man u have mentioned few kitkat specific cwm n twrp....never heard that recoveries are OS version specific...why is it so here?

and if i flash jb sbf provided by u....after that which cwm should i flash? can i get the latest one from cwm thread or any specific one?
[RAZR HD Android Development] bweN diorD:
it has been my experience that cwm and twrp need to be updated to support new versions, especially if there major changes like JB to KK. otherwise, i think it depends on what exactly got updated weather new versions are required.

i believe if you flash the jb file i provided you would need to use the latest JB version of a recovery (the jb file i provided is the last version), but hopefully someone else will jump in and confirm this. i really havent done any custom flashing on this phone in about a year.
[RAZR HD Android Development] swapyworld:
one last thing mate.....custom roms don't change BL so

1. Will flashing jb file you provided will downgrade my BL to JB?

2. Any bad effects if i flash custom JB rom directly over KK after flashing a recovery you provided in tool kit?
[RAZR HD Android Development] bweN diorD:
1. i think it wont, but im not sure really.

2. not sure what bad will happen, but it wont work because you will have the kk bl.
[RAZR HD Android Development] kpitao:
Hello everyone,

I know this tread is old but, I have a problem and I hope someone here can help me. I have a mot razr 926 with these specs:

android version 4.1.2;

System version 9.30.1.XT926.Verizon

Kernel 3.0.31 ( I believe is stock)

Build number 9.8.1Q-94-1

My phone was rooted before with stock rom; I had to do a factory reset; so I reset, rooted again and my mistake it was trying to unlock the bootloader ( I know, I know, it's 9.30....)

Now my problem is that I don't have "recovery" or I don't have access to it. Things that I have tried:

Moto utility 1.34

Moto utility 1.3 gpt fix

Razr HD Recovery flasher V7 (tried to install cwm and stock)

I'm just trying to get any recovery working.... any help would be appreciated

Thanks
[RAZR HD Android Development] manuski:
If your unlocked and you have root then I'm pretty sure you can just flash a recovery via USB through the computer. You can even download an application called flash recovery I believe, and if you have the recovery file and put in your phone ( or even download here on one of the forums) you can flash it. Again. If you have root
[RAZR HD Android Development] kpitao:
Actually I can't ; phone is not unlocked; so I cannot install any custom Recovery because of that.... I have to find a way to install the stock Recovery; I tried using the options on this tread but it says "successful" however when I tried to boot in recovery I get the android logo with the red triangulum

thanks anyway
[Nexus 7 (2013) Q&A] sk8trix:
I am trying to find an app that will let me control my 2012 nexus seven from my new nexus 7 and also be able to control my galaxy s 4 from my 2013 N7. I have tried some apps on the market but etiher they are not available for my device or just plain dont work.

Anyone else try any apps that would achieve something like this? is it even really doable in android yet?
[Verizon HTC One (M7)] Zwitterion:
Given that no encrypted RUU is available, and the decrypted RUU provided by [MENTION=1615671]Zarboz[/MENTION] does not, by most accounts, flash properly, is someone with a new phone and having obtained S-OFF, kind enough to provide a Nandroid backup that we can use as our "stock" image? Would be much appreciated.
[Verizon HTC One (M7)] CNexus:
The new one flashes fine, previous was a bad upload and the size was like a third of real.
[Verizon HTC One (M7)] Zwitterion:
I can't seem to find the link, CNexus. Any help?
[Verizon HTC One (M7)] AznInertia:
+1, a stock image would be great, going to try out this odexed verison but I highly doubt it will work
[Verizon HTC One (M7)] dottat:
they are looking for the encrypted/signed one to get back to stock so they can s-off
[Verizon HTC One (M7)] CNexus:
The only way right now would be to flash a custom recovery, then flash a rom

No encrypted one available, sorry
[Verizon HTC One (M7)] pmterp:
I have a stock nandriod (made using TWRP) I restored to in order to s-off today. I can't remember exactly when I made it but I don't think it has any personal info. Are you sure you can restore a backup made on someone else's device? If so, pm me and I'll upload a copy and send you a link.