[Q] Root After OTA - Moto X Q&A

Hey Guys,
I just got a MotoX from Sprint. The Girl behind the counter started the OTA without my knowledge, and I couldn't shut it down. I'm wondering if there is anything I can do now to revert back or gain root.
I'm on 139.13.1.ghost_sprint.Sprint.en.US.
I check the rooting thread but didn't seem to find anyone who was in the same boat as I was.

Your SOL
Sent from non rooted motoX :'(

jepatrick said:
Hey Guys,
I just got a MotoX from Sprint. The Girl behind the counter started the OTA without my knowledge, and I couldn't shut it down. I'm wondering if there is anything I can do now to revert back or gain root.
I'm on 139.13.1.ghost_sprint.Sprint.en.US.
I check the rooting thread but didn't seem to find anyone who was in the same boat as I was.
Click to expand...
Click to collapse
The only way for you to root now is to unlock your bootloader.

Dark9781 said:
The only way for you to root now is to unlock your bootloader.
Click to expand...
Click to collapse
Alright bootloader is unlocked. Now what?

jepatrick said:
Alright bootloader is unlocked. Now what?
Click to expand...
Click to collapse
You will need to flash a custom recovery
http://forum.xda-developers.com/showthread.php?t=2458449
Then you will need to flash via recovery SuperSU or equivalent super usr app and binary.
http://download.chainfire.eu/351/SuperSU/UPDATE-SuperSU-v1.65.zip?retrieve_file=1
To flash it place the file on your phone, load up recovery and select it.

Dark9781 said:
You will need to flash a custom recovery
http://forum.xda-developers.com/showthread.php?t=2458449
Then you will need to flash via recovery SuperSU or equivalent super usr app and binary.
http://download.chainfire.eu/351/SuperSU/UPDATE-SuperSU-v1.65.zip?retrieve_file=1
To flash it place the file on your phone, load up recovery and select it.
Click to expand...
Click to collapse
I've flashed TWRP, the recovery doesn't seem to be working though. I have to use adb to boot into recovery (selecting it from fastboot doesn't do anything but boot into the standard starting open). It just states "No Command" with an android on its back.
EDIT: Yep I'm an idiot. power to boot nornmaly. up is select. AND THERE IS ROOT. Awesome Dark9781. You're a life saver.

Related

[Q] i have a moto x dev edition vzw

here my problem i've unlocked bootloader rooted and installed twrp but i cant update my phone to 4.4. everytime i take the ota update my phone just boots and shutdowns and repeats. any suggestions?
bk07 said:
here my problem i've unlocked bootloader rooted and installed twrp but i cant update my phone to 4.4. everytime i take the ota update my phone just boots and shutdowns and repeats. any suggestions?
Click to expand...
Click to collapse
you're rooted trying to do an OTA?
once you root, accepting an OTA can mess up your phone or make you lose root.
PremierGT said:
you're rooted trying to do an OTA?
once you root, accepting an OTA can mess up your phone or make you lose root.
Click to expand...
Click to collapse
idc about losing root b/c it has an unlockedbootloader getting root back is the easy part i do want the update to 4.4 though
bk07 said:
idc about losing root b/c it has an unlockedbootloader getting root back is the easy part i do want the update to 4.4 though
Click to expand...
Click to collapse
flash back to stock recovery. then do OTA. should work for you.
PremierGT said:
flash back to stock recovery. then do OTA. should work for you.
Click to expand...
Click to collapse
i've tryed that as well
bk07 said:
i've tryed that as well
Click to expand...
Click to collapse
don't flash back to it in twrp. use rsdlite or manually flash it with fastboot commands. if you actually flashed the full ota and didn't have root or twrp anymore then you would be able to take the OTA no problem.
jayboyyyy said:
don't flash back to it in twrp. use rsdlite or manually flash it with fastboot commands. if you actually flashed the full ota and didn't have root or twrp anymore then you would be able to take the OTA no problem.
Click to expand...
Click to collapse
Oddly I've done that even before I put twrp on my phone I used mfastboot with the stock IMG I got from moto. I did the update right when I got the phone and it did what I described so I thought I for find a something where I could flash stock to my phone by using twrp.
Download Motorola device manager. It should automatically restore the software to stock 4.4.
http://d1tsx1og7dz7v4.cloudfront.net/MotorolaDeviceManager_2.4.5.exe
thx for the help i had to mfastboot 4.4
This is your easiest option. All you need to do is run this utility. It will install drivers, download firmware, and flash back to stock. I used it earlier, and it's brilliant.
Even if you've already solved your problem, I highly recommend saving this for later use.
http://forum.xda-developers.com/showthread.php?t=2597625

[Q] Questions about root and OTA

Hello everyone, I'm new here, my nexus 6 is on stock 5.0.1 and waiting for update to 5.1, here are my concerns.
1. How can I root my phone without unlock boot loader or flash a twrp recovery( I Know if I got a twrp recovery, I can not get OTA).
2. If I need unlock boot loader in order to root, could this affect ota?
3. If I rooted my phone, can I get ota in the future?
Thanks.
Dennypalace said:
Hello everyone, I'm new here, my nexus 6 is on stock 5.0.1 and waiting for update to 5.1, here are my concerns.
1. How can I root my phone without unlock boot loader or flash a twrp recovery( I Know if I got a twrp recovery, I can not get OTA).
2. If I need unlock boot loader in order to root, could this affect ota?
3. If I rooted my phone, can I get ota in the future?
Thanks.
Click to expand...
Click to collapse
1. You can't 2. No can be unlocked and still do the ota 3. YES!
nms247 said:
1. You can't 2. No can be unlocked and still do the ota 3. YES!
Click to expand...
Click to collapse
Thanks. So this means if I want to root my phone, I will have to unlock boot loader. And is there anything I can do if I want to update through OTA after I rooted and unlocked my phone?
Dennypalace said:
Thanks. So this means if I want to root my phone, I will have to unlock boot loader. And is there anything I can do if I want to update through OTA after I rooted and unlocked my phone?
Click to expand...
Click to collapse
As long as you flash the stock recovery before an ota you'll be fine
Actually any system modification including root on Lollipop will prevent an OTA so in answer to question 3, no.
Basically need to flash stock system.img, recovery.img and stock boot (if you changed the kernel).
At least thats what I'm about to do.
y2whisper said:
Basically need to flash stock system.img, recovery.img and stock boot (if you changed the kernel).
At least thats what I'm about to do.
Click to expand...
Click to collapse
Correct. That's exactly what I did, and it worked.
rootSU said:
Actually any system modification including root on Lollipop will prevent an OTA so in answer to question 3, no.
Click to expand...
Click to collapse
Weird as I took the OTA while rooted.
Still working on it on my end. Drivers aren't installed for add sideboard trying to figure it out

[Q] rooted

Do i have to unroot my moto x for the lollipop update??
rahulgoyal93 said:
Do i have to unroot my moto x for the lollipop update??
Click to expand...
Click to collapse
I don't think so, however, if you made any changes to your /system directory the OTA will probably fail.
bhmcarr said:
I don't think so, however, if you made any changes to your /system directory the OTA will probably fail.
Click to expand...
Click to collapse
But I read on internet that i probably unrooted automatically after upadte and afterwards i cant able to root my phone again.
rahulgoyal93 said:
But I read on internet that i probably unrooted automatically after upadte and afterwards i cant able to root my phone again.
Click to expand...
Click to collapse
If you're unlocked then no problem regarding gaining root.
But yes you have to unroot to receive update
adity said:
If you're unlocked then no problem regarding gaining root.
But yes you have to unroot to receive update
Click to expand...
Click to collapse
so can you please give me the link of unrooting the moto x device it would be a great help.
Really? Try scanning threads in this general section. The returning to stock thread always is hovering near the top.
And questions go in the Q&A section.
rahulgoyal93 said:
But I read on internet that i probably unrooted automatically after upadte and afterwards i cant able to root my phone again.
Click to expand...
Click to collapse
It depends on which model you have. If you have a model with an unlockable bootloader, you can just re-root when you're done in the same way as you did initially. If you used an exploit on a locked (AT&T/Verizon/Republic) model to get root, it's pretty much guaranteed that you won't be able to get root after the update, and I wouldn't count on another exploit showing up anytime soon, if ever.
You can flash OTA updates while rooted, as long as nothing else is modified or missing from /system and you don't have custom recovery. The update won't remove the su binary either, but permissions will be messed up so it will seem like you're unrooted after you restart.
Sent from my Moto X
imnuts said:
You can flash OTA updates while rooted, as long as nothing else is modified or missing from /system and you don't have custom recovery. The update won't remove the su binary either, but permissions will be messed up so it will seem like you're unrooted after you restart.
Sent from my Moto X
Click to expand...
Click to collapse
I install twrp recovery in device and nothing done with the system and i cant find a way to unroot device
imnuts said:
You can flash OTA updates while rooted, as long as nothing else is modified or missing from /system and you don't have custom recovery. The update won't remove the su binary either, but permissions will be messed up so it will seem like you're unrooted after you restart.
Sent from my Moto X
Click to expand...
Click to collapse
So I can leave twrp installed & remove Xposed and its Modules ?
Thanks
Mickoou said:
So I can leave twrp installed & remove Xposed and its Modules ?
Thanks
Click to expand...
Click to collapse
At least read the post you quote
rahulgoyal93 said:
so can you please give me the link of unrooting the moto x device it would be a great help.
Click to expand...
Click to collapse
hey can i use temporary unroot option in supersu for the ota??
Can someone post a link to the stock recovery.img? all links i find seem to be dead. VZW standard edition.

[Q] Install 5.1 OTA if rooted and bootloader unlocked?

Hi guys !
I unlocked my bootloader and rooted my device, and i don't know if i can upgrade my Nexus 6 by ota (received this morning on the phone) without brick it.
Is it dangerous?
Thank you
EDIT : I'm on stock Lollipop 5.0.1
Unlocked is fine. If you have root or any other system mods, you'll need to remove them.
Oh thanks for the quick answer
So if I unroot it with Nexus Root Toolkit it will be ok?
Midsylen said:
Oh thanks for the quick answer
So if I unroot it with Nexus Root Toolkit it will be ok?
Click to expand...
Click to collapse
Nexus toolkit doesn't unroot. It reflashes the entire phone which also means root disappears. If you're going to do that, no point taking the ota. Just flash full update.
You can indoor via the SuperSU app.
Oh ok I just saw that.
So if I unroot via SuperSU it's ok i can install?
Midsylen said:
Oh ok I just saw that.
So if I unroot via SuperSU it's ok i can install?
Click to expand...
Click to collapse
As long as you do the full unroot and made no other modifications. Oh and everything must be 100% stock, including recovery
I've installed TWRP...
So, what is the best way for me to install 5.1 without losing my data?
Midsylen said:
I've installed TWRP...
So, what is the best way for me to install 5.1 without losing my data?
Click to expand...
Click to collapse
download the factory image that you want to update to.
extract the system.img, boot.img and radio.img
Fastboot flash them.
You could also flash the bootloader if you want though I dont see any point.
Ok, thank you for your quick answers

[Q] rooted, unlocked, TWRP recovery, stock, Verizon OTA help

I have a Verizon Nexus 6 that is rooted, unlocked, custom TWRP recovery and stock running 5.1 build LMY47E and I am getting the OTA notification for the 5.1.1 update. I have searched a good deal of places and haven't found the answer to how I might go about getting the update. I have been out of the rooting game for several years, so I am rusty and need a little help. I wasn't sure if there was a way to take the update and stay rooted or if I have to completely undo everything back to stock. Any info would be a great help and appreciated.
I could be mistaken, but I don't think that you can take an OTA amd remain rooted. I think it will break root, and you will have to re-root.
What I would suggest is to just flash a custom ROM that is build on 5.1.1 like Beans' PureNexus. That is what I am running, and it is great.
http://forum.xda-developers.com/nexus-6/development/rom-pure-nexus-project-t3148214
evolefty said:
I have a Verizon Nexus 6 that is rooted, unlocked, custom TWRP recovery and stock running 5.1 build LMY47E and I am getting the OTA notification for the 5.1.1 update. I have searched a good deal of places and haven't found the answer to how I might go about getting the update. I have been out of the rooting game for several years, so I am rusty and need a little help. I wasn't sure if there was a way to take the update and stay rooted or if I have to completely undo everything back to stock. Any info would be a great help and appreciated.
Click to expand...
Click to collapse
a.demarco said:
I could be mistaken, but I don't think that you can take an OTA amd remain rooted. I think it will break root, and you will have to re-root.
What I would suggest is to just flash a custom ROM that is build on 5.1.1 like Beans' PureNexus. That is what I am running, and it is great.
http://forum.xda-developers.com/nexus-6/development/rom-pure-nexus-project-t3148214
Click to expand...
Click to collapse
When installing a recovery, the updater script looks at system and boot. This means that you can not be rooted and and have the stock, encrypted kernel. You also need to have stock recovery to install the OTA.
You can download the 5.1.1 factory image from Google and flash the boot.img, system.img, bootloader.img, and radio.img. Then, while still in bootloader, select "recovery" and you will boot to TWRP where you can flash the SuperSU.zip.
a.demarco said:
I could be mistaken, but I don't think that you can take an OTA amd remain rooted. I think it will break root, and you will have to re-root.
What I would suggest is to just flash a custom ROM that is build on 5.1.1 like Beans' PureNexus. That is what I am running, and it is great.
http://forum.xda-developers.com/nexus-6/development/rom-pure-nexus-project-t3148214
Click to expand...
Click to collapse
The OTA will not install when the device is rooted
cam30era said:
When installing a recovery, the updater script looks at system and boot. This means that you can not be rooted and and have the stock, encrypted kernel. You also need to have stock recovery to install the OTA.
You can download the 5.1.1 factory image from Google and flash the boot.img, system.img, bootloader.img, and radio.img. Then, while still in bootloader, select "recovery" and you will boot to TWRP where you can flash the SuperSU.zip.
Click to expand...
Click to collapse
Just checked again and yes I am rooted, with TWRP and I also checked and the device is not encrypted, so maybe that is why I am getting the notification. I really appreciate your input on getting the update installed.
evolefty said:
Just checked again and yes I am rooted, with TWRP and I also checked and the device is not encrypted, so maybe that is why I am getting the notification. I really appreciate your input on getting the update installed.
Click to expand...
Click to collapse
You'll get the notification. You just can't flash it.
I'm not sure there's been a full, satisfactory answer to this thread (or a few others). Would using something like Nexus Root Toolkit to 1) unroot 2) restore stock recovery, 3) accept the OTA. Will this work?
- Does this relock the bootloader? (Would we then have to unlock, thus wiping the device?)
- Can we successfully re-root and flash recovery? (Or will new 5.1.1 versions be needed?)
At some point, to get 5.1.1 going, should I just backup and flash the whole bloody image from Google?
DogzOfWar said:
I'm not sure there's been a full, satisfactory answer to this thread (or a few others). Would using something like Nexus Root Toolkit to 1) unroot 2) restore stock recovery, 3) accept the OTA. Will this work?
- Does this relock the bootloader? (Would we then have to unlock, thus wiping the device?)
- Can we successfully re-root and flash recovery? (Or will new 5.1.1 versions be needed?)
At some point, to get 5.1.1 going, should I just backup and flash the whole bloody image from Google?
Click to expand...
Click to collapse
- OTA`s will not install if the sytem, boot and recovery are modified in any way.
- Reflashing the stock image will NOT lock the bootloader
- And yes you can flash a custom recovery and reroot after updating.
Or flash the latest stock rom with TWRP from here http://forum.xda-developers.com/nexus-6/development/fxz-nexus-6-recovery-flashable-fastboot-t3066052.
gee2012 said:
- OTA`s will not install if the sytem, boot and recovery are modified in any way.
- Reflashing the stock image will NOT lock the bootloader
- And yes you can flash a custom recovery and reroot after updating.
Or flash the latest stock rom with TWRP from here http://forum.xda-developers.com/nexus-6/development/fxz-nexus-6-recovery-flashable-fastboot-t3066052.
Click to expand...
Click to collapse
So the question that started this thread: My system is technically modified. Can I unroot and replace recovery, and now be in a sufficiently "unmodified" state? OR, do I have to lock the bootloader in order for the OTA to continue?
I think the OP and myself are trying to do the same thing: We're lazy, we don't want to wipe, we don't want to lose data, we just want the OTA without having to reflash the whole thing. Does anyone know if this is possible?
DogzOfWar said:
So the question that started this thread: My system is technically modified. Can I unroot and replace recovery, and now be in a sufficiently "unmodified" state? OR, do I have to lock the bootloader in order for the OTA to continue?
I think the OP and myself are trying to do the same thing: We're lazy, we don't want to wipe, we don't want to lose data, we just want the OTA without having to reflash the whole thing. Does anyone know if this is possible?
Click to expand...
Click to collapse
Best/easiest is to:
- fastboot erase system
- fastboot flash system system.img
- flash the stock boot and recovery.img if needed
- adb sideload the OTA in stock recovery
This will not wipe your device
And you don`t have to lock the bootloader ever unless you have too RMA it or send it in for service, OTA`s will even install with a unlocked bootloader.
DogzOfWar said:
So the question that started this thread: My system is technically modified. Can I unroot and replace recovery, and now be in a sufficiently "unmodified" state? OR, do I have to lock the bootloader in order for the OTA to continue?
I think the OP and myself are trying to do the same thing: We're lazy, we don't want to wipe, we don't want to lose data, we just want the OTA without having to reflash the whole thing. Does anyone know if this is possible?
Click to expand...
Click to collapse
Supplementing that: using the "unroot" function in SuperSU is not sufficient with Lollipop. It still leaves the vestiges of a few modified files that will cause an OTA to fail.
gee2012 said:
Best/easiest is to:
- fastboot erase system
- fastboot flash system system.img
- flash the stock boot and recovery.img if needed
- adb sideload the OTA in stock recovery
This will not wipe your device
And you don`t have to lock the bootloader ever unless you have too RMA it or send it in for service, OTA`s will even install with a unlocked bootloader.
Click to expand...
Click to collapse
gee2012 said:
Best/easiest is to:
- fastboot erase system
- fastboot flash system system.img
- flash the stock boot and recovery.img if needed
- adb sideload the OTA in stock recovery
This will not wipe your device
And you don`t have to lock the bootloader ever unless you have too RMA it or send it in for service, OTA`s will even install with a unlocked bootloader.
Click to expand...
Click to collapse
Thanks for the info and I really appreciate your input. What are your feelings on using Wug's toolkit to unroot and go back stock, take the update, then re-root and flash the custom recovery. I have never used a toolkit before, but that seems to be the popular method. Like I said at the beginning I am new to all of this, the last device I rooted and really messed around with was the droid x so bear with me as I am learning. I am currently reading about Wug's and will look at the method you just spoke of, but any info would be great.
evolefty said:
Thanks for the info and I really appreciate your input. What are your feelings on using Wug's toolkit to unroot and go back stock, take the update, then re-root and flash the custom recovery. I have never used a toolkit before, but that seems to be the popular method. Like I said at the beginning I am new to all of this, the last device I rooted and really messed around with was the droid x so bear with me as I am learning. I am currently reading about Wug's and will look at the method you just spoke of, but any info would be great.
Click to expand...
Click to collapse
I don`t like Toolkits tbh because like with all automated applications the unexperienced user has no idea whats going/has zero control over whats happening and if something goes wrong they can`t fix the issue. Imo its best to learn adb/fastboot/sideload.
gee2012 said:
I don`t like Toolkits tbh because like with all automated applications the unexperienced user has no idea whats going/has zero control over whats happening and if something goes wrong they can`t fix the issue. Imo its best to learn adb/fastboot/sideload.
Click to expand...
Click to collapse
Gotcha, and completely understand. I will do some reading on that method and again thanks for your help.
evolefty said:
Gotcha, and completely understand. I will do some reading on that method and again thanks for your help.
Click to expand...
Click to collapse
Read the sticky threads http://forum.xda-developers.com/nexus-6/general/nexus-6-sticky-roll-thread-t3061066, this is a good start. Adb and fastboot isn`t that hard but its very safe and effective
gee2012 said:
Read the sticky threads http://forum.xda-developers.com/nexus-6/general/nexus-6-sticky-roll-thread-t3061066, this is a good start. Adb and fastboot isn`t that hard but its very safe and effective
Click to expand...
Click to collapse
Will do, and that is the method I used to root for the simple fact to learn.
evolefty said:
Will do, and that is the method I used to root for the simple fact to learn.
Click to expand...
Click to collapse
Good luck
gee2012 said:
- OTA`s will not install if the sytem, boot and recovery are modified in any way.
- Reflashing the stock image will NOT lock the bootloader
- And yes you can flash a custom recovery and reroot after updating.
Or flash the latest stock rom with TWRP from here http://forum.xda-developers.com/nexus-6/development/fxz-nexus-6-recovery-flashable-fastboot-t3066052.
Click to expand...
Click to collapse
In that link you sent I am not seeing the VZW version of 5.1.1. Can we use the "International" version?
Thank you.
needoZ said:
In that link you sent I am not seeing the VZW version of 5.1.1. Can we use the "International" version?
Thank you.
Click to expand...
Click to collapse
Yes, use the LMY47Z build.
DogzOfWar said:
So the question that started this thread: My system is technically modified. Can I unroot and replace recovery, and now be in a sufficiently "unmodified" state? OR, do I have to lock the bootloader in order for the OTA to continue?
I think the OP and myself are trying to do the same thing: We're lazy, we don't want to wipe, we don't want to lose data, we just want the OTA without having to reflash the whole thing. Does anyone know if this is possible?
Click to expand...
Click to collapse
Bootloader does not have to be locked to take an OTA. You can not be rooted or modified in any way however.
gee2012 said:
I don`t like Toolkits tbh because like with all automated applications the unexperienced user has no idea whats going/has zero control over whats happening and if something goes wrong they can`t fix the issue. Imo its best to learn adb/fastboot/sideload.
Click to expand...
Click to collapse
While I agree, once you have "paid your dues" and flashed without automation then the NRT is a great tool, so long as you have an understanding of what it is doing.

Categories

Resources