[Q] Root lost - ONE Q&A, Help & Troubleshooting

I recently updated to the xnph05q update and my root access is loss. I can root it again ofcourse but my question is that do i have to unlock the bootloader again? Is there a way to check if my bootloader is still unlocked? I am asking this because then of course i have to go through a long procedure to back up all my data as ofcourse unlocking the bootloader is going to wipe my phone. Thanx in advance.

flameonfzn said:
I recently updated to the xnph05q update and my root access is loss. I can root it again ofcourse but my question is that do i have to unlock the bootloader again? Is there a way to check if my bootloader is still unlocked? I am asking this because then of course i have to go through a long procedure to back up all my data as ofcourse unlocking the bootloader is going to wipe my phone. Thanx in advance.
Click to expand...
Click to collapse
Your boot loader won't be locked again. Can you access your custom recovery (TWRP/CWM etc)? If so you just need to flash a SuperSU zip to get root back. If you lost your custom recovery, you can just flash one again, although you will need to connect to a PC to do this.
If you've lost your custom recovery, just use a toolkit like the one below to install one. You can then reboot to recovery and flash a supersu zip (download one first from here http://download.chainfire.eu/212/SuperSU/). You won't loose any data.
Toolkit:
http://forum.xda-developers.com/oneplus-one/development/oneplus-one-toolkit-manudroid19-gui-t2807418

Okay let me just check if i still have twrp and i'll get back at you. Thanks for replying so fast

gsmyth said:
Your boot loader won't be locked again. Can you access your custom recovery (TWRP/CWM etc)? If so you just need to flash a SuperSU zip to get root back. If you lost your custom recovery, you can just flash one again, although you will need to connect to a PC to do this
Toolkit:
http://forum.xda-developers.com/oneplus-one/development/oneplus-one-toolkit-manudroid19-gui-t2807418
Click to expand...
Click to collapse
Well TWRP was still there so i just flashed the supersu zip which was in my storage from previous installation. And there is root access again. Thanx a ton bro.

flameonfzn said:
Well TWRP was still there so i just flashed the supersu zip which was in my storage from previous installation. And there is root access again. Thanx a ton bro.
Click to expand...
Click to collapse
Great no problem, nice and easy one! :highfive:

Related

[Q] about root

are the modaco's rooting method still viable ? I'm seeing people saying it not work.
and can we root without having to flash other recovery, just using the default one (fastboot).
Nope, no rooting methods without unlocking bootloader yet. Most reliable method is to use custom recovery to root, and also some other fastboot (which will need unlocked bootloader)
hemanthmahesh said:
Nope, no rooting methods without unlocking bootloader yet. Most reliable method is to use custom recovery to root, and also some other fastboot (which will need unlocked bootloader)
Click to expand...
Click to collapse
root with unlocking bootloader is fine, my question is can we root without flashing other recovery (eg. cwm) ?
Recovery is not working in Moto g sometimes.. It's a known issue.. So better flash cwm to avoid bricking
Sent from my XT1033 using XDA Premium 4 mobile app
padhu1989 said:
Recovery is not working in Moto g sometimes.. It's a known issue.. So better flash cwm to avoid bricking
Sent from my XT1033 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
oh thank you for the info, then I root with cwm :good:
Stock recovery is pretty useless now, I hardly have any idea what it can even be used for other than those ota updates. Do you not want to move away from stock recovery cause you might not install firmware updates? You can install alternate recovery just for rooting and revert back to stock if you really want to.
hemanthmahesh said:
Stock recovery is pretty useless now, I hardly have any idea what it can even be used for other than those ota updates. Do you not want to move away from stock recovery cause you might not install firmware updates? You can install alternate recovery just for rooting and revert back to stock if you really want to.
Click to expand...
Click to collapse
I just being careful if not how to send warranty
Well, if you are unlocking the bootloader, you won't be able to claim warranty anyway.
hemanthmahesh said:
Well, if you are unlocking the bootloader, you won't be able to claim warranty anyway.
Click to expand...
Click to collapse
oh yeah forgot about that, but what if after root, I lock back the bootloader ?
is the root still there ?
To lock bootloader you have flash your stock firmware, which in a way would be a complete reset, so no root left. Also, whatever you do after with the phone, once you request the unlock code from the moto website, they will consider your phone unlocked, hence no warranty. You can relock to try your luck and they just might not care if you are lucky.
Be very careful with locking bootloader though, locking your bootloader in a wrong way (wrong firmware, not flashing all files, downgrading) will create a big mess. In my opinion, stay away from locking bootloader!
hemanthmahesh said:
To lock bootloader you have flash your stock firmware, which in a way would be a complete reset, so no root left. Also, whatever you do after with the phone, once you request the unlock code from the moto website, they will consider your phone unlocked, hence no warranty. You can relock to try your luck and they just might not care if you are lucky.
Be very careful with locking bootloader though, locking your bootloader in a wrong way (wrong firmware, not flashing all files, downgrading) will create a big mess. In my opinion, stay away from locking bootloader!
Click to expand...
Click to collapse
thank you man, btw can you help me with rooting by flashing cwm ?
You need working adb and fastboot drivers.
Download here:
http://www.mymotocast.com/download/MDM?platform=windows (drivers)
https://docs.google.com/file/d/0B1S0LCuXCnnmSWh6NGJmSE1BUWc (minimal adb and fastboot files)
http://forum.xda-developers.com/showthread.php?t=2563599 (cwm download)
Guide:
1. http://forum.xda-developers.com/showpost.php?p=47705438&postcount=6 (For unlocking bootloader)
2. After unlocking (which will be equal to a complete reset, no files left in your "sd card"), boot into fastboot mode again and use this command:
fastboot flash recovery recovery-clockwork-6.0.4.7-falcon.img (or whatever is the name of recovery image file)
or use this tool:
http://forum.xda-developers.com/showthread.php?t=2635706
You can also use that too to push supersu to sd card or manually place it. Reboot to recovery (adb reboot recovery) and flash that zip file.
hemanthmahesh said:
You need working adb and fastboot drivers.
Download here:
http://www.mymotocast.com/download/MDM?platform=windows (drivers)
https://docs.google.com/file/d/0B1S0LCuXCnnmSWh6NGJmSE1BUWc (minimal adb and fastboot files)
http://forum.xda-developers.com/showthread.php?t=2563599 (cwm download)
Guide:
1. http://forum.xda-developers.com/showpost.php?p=47705438&postcount=6 (For unlocking bootloader)
2. After unlocking (which will be equal to a complete reset, no files left in your "sd card"), boot into fastboot mode again and use this command:
fastboot flash recovery recovery-clockwork-6.0.4.7-falcon.img (or whatever is the name of recovery image file)
or use this tool:
http://forum.xda-developers.com/showthread.php?t=2635706
You can also use that too to push supersu to sd card or manually place it. Reboot to recovery (adb reboot recovery) and flash that zip file.
Click to expand...
Click to collapse
thanks man, seriously million of thanks

[Q] Can you OTA update a Nexus 5 and keep root?

Ok so I just recently got my hands on a Nexus 5 which I rooted with CF Auto Root and relocked the bootloader with Bootunlocker for security (I'm guessing I should unlock before the update). I see reports surfacing of a possible 4.4.3 update in the near future. So before that happens I want to figure out the best practice for updating a N5 with CF Auto Root. It stands to reason I'll do a full backup so that's a given.
I'm not new to rooting. Done it a few times. Just haven't had a device that gets regular OTAs in my country so it hasn't come up.
Is there a way to update so that root is preserved? Obviously I'd like to keep the process as simple as possible but if I have to work from scratch it's not the end of the world.
As I understand it, you can do normal OTA as long as it's stock but you lose root. In that case, does the OTA relock the bootloader or will it stay unlocked? Which then basically means a new root which wipes the device.
Or perhaps it's better to ask what the best procedure for updating a stock Nexus 5 with CF Auto Root.
Everything that you have ever wanted to know about OTA can be found here http://forum.xda-developers.com/google-nexus-5/general/info-nexus-5-ota-help-desk-t2523217
Ah thanks. Appreciate it.
generally no, after ota you lose root. but there are apps that will save your root so that you keep root after an update.
I've been looking at Survival Mode in Super SU and RootKeeper but there seems to be some question as to their success.
Reaper1242 said:
I've been looking at Survival Mode in Super SU and RootKeeper but there seems to be some question as to their success.
Click to expand...
Click to collapse
ive never used any since i dont ota, i update my custom rom as soon as its updated, but ive heard of success with rootkeeper. but it doesnt matter, it literally takes 3 minutes to root a nexus the right way(via fastboot).
Yea, I should use fastboot in future.
Reaper1242 said:
As I understand it, you can do normal OTA as long as it's stock but you lose root. In that case, does the OTA relock the bootloader or will it stay unlocked? Which then basically means a new root which wipes the device.
Click to expand...
Click to collapse
The stock Android OS update will not relock the bootloader. So, once you apply the OTA.zip file in recovery, all you will need to do is reflash the SuperSU, and you are done.
(Note that depending on your system status, you may not be able to apply the OTA.zip directly - for instance, if you have updated/deleted system files etc, in which case, you will first need to go back to stock - refer to the link that @mistahseller provided for details about how to go back to stock)
jj14 said:
The stock Android OS update will not relock the bootloader. So, once you apply the OTA.zip file in recovery, all you will need to do is reflash the SuperSU, and you are done.
(Note that depending on your system status, you may not be able to apply the OTA.zip directly - for instance, if you have updated/deleted system files etc, in which case, you will first need to go back to stock - refer to the link that @mistahseller provided for details about how to go back to stock)
Click to expand...
Click to collapse
you would need to flash a custom recovery first, then supersu in your custom recovery.
Thanks everyone for the responses.You've made everything much clearer.
simms22 said:
you would need to flash a custom recovery first, then supersu in your custom recovery.
Click to expand...
Click to collapse
Good point. I assumed that op had installed a custom recovery when he rooted, but that is not always the case.
Ok so I'm going to sideload myself. Been a while so I just want to confirm the process so I don't screw up.
I'm using TWRP
Obviously I'll do a NANdroid and probably Titanium as well.
1) Unlock bootloader with Bootunlocker
2) Connect device to PC
3) Boot into TWRP recovery and go to Advanced > ADB Sideload
4) type adb sideload update.zip (or whatever I call the file)
5) reboot device and check if it's working
6) reboot to recovery and reflash superuser.zip
I think that's it. Is there anything else I need to be aware of? If I'm right it should then be updated, rooted and in the same state before I updated.
I am in the same situation. I am currently rooted with a unlocked boot loader. When 4.4.3 comes along I plan to upgrade it. I have only rooted and have CWM no custom ROM. I know o cannot perform a OTA update. So do I copy the update zip (4.4.3) and just flash in CWM? Is this correct, and if so do I lose root/ boot loader. Thanks. I have read the thread above but do not understand
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
I am in the same situation. I am currently rooted with a unlocked boot loader. When 4.4.3 comes along I plan to upgrade it. I have only rooted and have CWM no custom ROM. I know o cannot perform a OTA update. So do I copy the update zip (4.4.3) and just flash in CWM? Is this correct, and if so do I lose root/ boot loader. Thanks. I have read the thread above but do not understand
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Flash stock system.img and flash recovery.img and then do the update.zip from the stock recovery..
If you don't want to flash, then make sure you have removed all the modifications you have done to system apps. If you don't remember then I would certainly recommend flashing stock images...
Sent from my Nexus 5 using Tapatalk

[Q] 4.4.3 Update

Hello everybody.
First of all, I'm not sure whether this is the place to post this kind of questions. My apologies in advance. Here is my problem.
I rooted my nexus 5 nearly after a month of having bought it using the nexus root toolkit. Today I received the 4.4.3 OTA, and somewhere I read that it would fail most likely. I also read read that I should set survival mode in SuperSU (a pro option) in order to retain root access, which I couldn't. I tried to update via the OTA thinking it would fail, and it worked, only that I lost my root access.
Is there an easy way to regain root access? I don't want to wipe and re-install everything. There are only a few apps I use that need root access, however it would be nice to have them back, nevertheless.
Thanks in advance.
PS: Now I am able to record video hassle-free, no more static noise in the background :victory:
HerrJuancho said:
Hello everybody.
First of all, I'm not sure whether this is the place to post this kind of questions. My apologies in advance. Here is my problem.
I rooted my nexus 5 nearly after a month of having bought it using the nexus root toolkit. Today I received the 4.4.3 OTA, and somewhere I read that it would fail most likely. I also read read that I should set survival mode in SuperSU (a pro option) in order to retain root access, which I couldn't. I tried to update via the OTA thinking it would fail, and it worked, only that I lost my root access.
Is there an easy way to regain root access? I don't want to wipe and re-install everything. There are only a few apps I use that need root access, however it would be nice to have them back, nevertheless.
Thanks in advance.
PS: Now I am able to record video hassle-free, no more static noise in the background :victory:
Click to expand...
Click to collapse
So dump SuperSU zip on the phone (link in sig), and flash it with recovery.
Aerowinder said:
So dump SuperSU zip on the phone (link in sig), and flash it with recovery.
Click to expand...
Click to collapse
Thanks for your reply. I have already SuperSU on my phone, but when I press it it says there are some binaries missing. Busybox doesn't update the binaries since it has no root access and says the device might be improperly rooted. My recovery is TWRP, so I can actully flash root files or such.
Edit: I just tried to boot into recovery and it didn't work quite well. There is a fallen android guy with a red triangle. So I don't have recovery either it seems.
HerrJuancho said:
Thanks for your reply. I have already SuperSU on my phone, but when I press it it says there are some binaries missing. Busybox doesn't update the binaries since it has no root access and says the device might be improperly rooted. My recovery is TWRP, so I can actully flash root files or such.
Edit: I just tried to boot into recovery and it didn't work quite well. There is a fallen android guy with a red triangle. So I don't have recovery either it seems.
Click to expand...
Click to collapse
Download TWRP 2.7.1.0 from here: http://techerrata.com/browse/twrp2/hammerhead
Reboot to bootloader, fastboot flash recovery twrp.img
Flash SuperSU with TWRP.
If you do not understand these instructions, I highly suggest reading this sticky: http://forum.xda-developers.com/goo...ide-nexus-5-how-to-unlock-bootloader-t2507905
Aerowinder said:
Download TWRP 2.7.1.0 from here: http://techerrata.com/browse/twrp2/hammerhead
Reboot to bootloader, fastboot flash recovery twrp.img
Flash SuperSU with TWRP.
If you do not understand these instructions, I highly suggest reading this sticky: http://forum.xda-developers.com/goo...ide-nexus-5-how-to-unlock-bootloader-t2507905
Click to expand...
Click to collapse
Thanks for the help. I'll try that as soon as I can.

Unlock bootloader then rooting method?

Hey everyone, I've been lurking around for about two months, from when I picked up this phone. It's still completely stock. Unrooted, S-ON, all that. Well, after the update to Nougat, I've been searching for a way to unlock the bootloader & root. Is it safe for me to use WinDroid Toolkit for the process? Just need a guide for the process, for the most part. I appreciate any help that anyone is willing to offer.
acesavant00 said:
Is it safe for me to use WinDroid Toolkit for the process? Just need a guide for the process, for the most part. I appreciate any help that anyone is willing to offer.
Click to expand...
Click to collapse
Go to http://htcdev.com and make an account, then follow the steps and unlock your bootloader from there. After that you fastboot flash TWRP using ADB, and then use TWRP to flash a root solution. I prefer Magisk.
Alright, just unlocked the bootloader, going through the process of setting up my phone once again. Do you have a link to the Magisk & TWRP programs that I can use? Also, should I put the TWRP file in the same folder as the fastboot files?
I greatly appreciate the assistance you've given me so far, I'm deeply grateful man.
Okay, so I flashed twrp, then the seSuperuser zip that was linked to in CaptainThrowback's thread. Now my phone is stuck in a bootloop, it won't go past the HTC logo with the red warning letters. What do I do now?
acesavant00 said:
Okay, so I flashed twrp, then the seSuperuser zip that was linked to in CaptainThrowback's thread. Now my phone is stuck in a bootloop, it won't go past the HTC logo with the red warning letters. What do I do now?
Click to expand...
Click to collapse
try this step by step.. :good:
1.Flash TWRP 3.0.3-8 via Fastboot.. Do not reboot into system, enter into recovery..
2.Do a factory Reset via TWRP.. Do not reboot into system
3.Now flash SuperSU 2.79 SR3.. Reboot into system..
couple of bootloops are common, do not give up for at least 3 bootloops..
It will take a long time to boot as you have done a factory reset..
So be patient and wait for at least half hour..
acesavant00 said:
Okay, so I flashed twrp, then the seSuperuser zip that was linked to in CaptainThrowback's thread. Now my phone is stuck in a bootloop, it won't go past the HTC logo with the red warning letters. What do I do now?
Click to expand...
Click to collapse
Sorry about this - I updated the TWRP thread with the current/preferred root method: MagiskSU.
You need to flash a stock boot.img and then flash the Magisk zip from the linked thread.
Captain_Throwback said:
Sorry about this - I updated the TWRP thread with the current/preferred root method: MagiskSU.
You need to flash a stock boot.img and then flash the Magisk zip from the linked thread.
Click to expand...
Click to collapse
Aw crap, I wish I would have seen this yesterday. I tried to format data & flash one of the stock rooted roms for marshmallow roms for my sprint one a9... now it just hangs at the HTC One logo. I'm gonna assume that I'm screwed until a stock rooted Nougat rom is released for sprint.
acesavant00 said:
Aw crap, I wish I would have seen this yesterday. I tried to format data & flash one of the stock rooted roms for marshmallow roms for my sprint one a9... now it just hangs at the HTC One logo. I'm gonna assume that I'm screwed until a stock rooted Nougat rom is released for sprint.
Click to expand...
Click to collapse
Can't you just flash the Nougat RUU?
Captain_Throwback said:
Can't you just flash the Nougat RUU?
Click to expand...
Click to collapse
I found the post about the Nougat RUU, but the program won't recognize my phone cause it won't boot. I'm gonna try & flash the firmware through TWRP.
acesavant00 said:
I found the post about the Nougat RUU, but the program won't recognize my phone cause it won't boot. I'm gonna try & flash the firmware through TWRP.
Click to expand...
Click to collapse
You don't flash firmware with TWRP. But you can use the SD card method to flash the RUU, which doesn't require a computer.
Captain_Throwback said:
You don't flash firmware with TWRP. But you can use the SD card method to flash the RUU, which doesn't require a computer.
Click to expand...
Click to collapse
Sorry to bother you again, but you wouldn't happen to know a method of extracting the rom.zip from the exe file, would you?
acesavant00 said:
Sorry to bother you again, but you wouldn't happen to know a method of extracting the rom.zip from the exe file, would you?
Click to expand...
Click to collapse
[TOOL][LINUX|WIN|MAC][64bit][29-SEP-2016]Universal HTC RUU/ROM Decryption Tool 3.1.0
Run the tool with the -z flag to output a zip to the "OUT" folder.
Captain_Throwback said:
[TOOL][LINUX|WIN|MAC][64bit][29-SEP-2016]Universal HTC RUU/ROM Decryption Tool 3.1.0
Run the tool with the -z flag to output a zip to the "OUT" folder.
Click to expand...
Click to collapse
Thank you so much, man. The zip is prepped, just gotta charge my phone again to 30%. But afterwards, will I have to go through the unlock bootloader process? If I do, I don't wanna mess up on the rooting process.
acesavant00 said:
Thank you so much, man. The zip is prepped, just gotta charge my phone again to 30%. But afterwards, will I have to go through the unlock bootloader process? If I do, I don't wanna mess up on the rooting process.
Click to expand...
Click to collapse
Your bootloader will stay unlocked.
Captain_Throwback said:
Your bootloader will stay unlocked.
Click to expand...
Click to collapse
Awesome, I appreciate all of the help, man. Sorry again if I annoyed you with all of my incessant questions. Just didn't wanna mess up my phone even further.
Hello Guys,
I Have an HTC one a9 with 7.0, s-off, bootloader locked
I have some concerns before I root my phone
If I unlock the bootloader and root the phone, Will I have the option of phone encryption as it used to be ?
If I unlock the bootloader with HTCDev and flash the TWRP with SuperSu and boot file, it is a MUST to do a data factory reset? or I`m able to do all the process without loosing my data?
Thank you in advance
rilley said:
Hello Guys,
I Have an HTC one a9 with 7.0, s-off, bootloader locked
I have some concerns before I root my phone
If I unlock the bootloader and root the phone, Will I have the option of phone encryption as it used to be ?
If I unlock the bootloader with HTCDev and flash the TWRP with SuperSu and boot file, it is a MUST to do a data factory reset? or I`m able to do all the process without loosing my data?
Thank you in advance
Click to expand...
Click to collapse
Unlocking your bootloader will wipe the device.
Hi all, I've been lurking and reading for 2 months, preparing to root my device. So this title fits my mood.
One A9, "factory unlocked version", S-on, running 1.57.617.60
Just did the actual unlock from htcdev so now data is erased. I'm re-reading the threads I saved to prepare, now that it's time to actually finalize what ROM I want to run, but now have a few questions before completing the plunge.
In past threads I read the newer MM and N security prevented rooting, and reverting to Lollipop was necessary. From what I read here that is no longer the case?
If I want to debloat the system I am already running, can I do that without finding a custom ROM to run?
Thank you
sandreas said:
Hi all, I've been lurking and reading for 2 months, preparing to root my device. So this title fits my mood.
One A9, "factory unlocked version", S-on, running 1.57.617.60
Just did the actual unlock from htcdev so now data is erased. I'm re-reading the threads I saved to prepare, now that it's time to actually finalize what ROM I want to run, but now have a few questions before completing the plunge.
In past threads I read the newer MM and N security prevented rooting, and reverting to Lollipop was necessary. From what I read here that is no longer the case?
If I want to debloat the system I am already running, can I do that without finding a custom ROM to run?
Thank you
Click to expand...
Click to collapse
+1 I`m interested on this question, I have Nougat installed
sandreas said:
Hi all, I've been lurking and reading for 2 months, preparing to root my device. So this title fits my mood.
One A9, "factory unlocked version", S-on, running 1.57.617.60
Just did the actual unlock from htcdev so now data is erased. I'm re-reading the threads I saved to prepare, now that it's time to actually finalize what ROM I want to run, but now have a few questions before completing the plunge.
In past threads I read the newer MM and N security prevented rooting, and reverting to Lollipop was necessary. From what I read here that is no longer the case?
If I want to debloat the system I am already running, can I do that without finding a custom ROM to run?
Thank you
Click to expand...
Click to collapse
rilley said:
+1 I`m interested on this question, I have Nougat installed
Click to expand...
Click to collapse
Yes, you can root and debloat Nougat. Though you should make a stock system image backup first of you ever want to receive an OTA again. The TWRP thread FAQ has a lot of information about this.

[solved][root]Notice of rooting N2G47O

Problem: After a standard update(flash bootloader & radio, then update image) and standard rooting process(boot twrp, flash supersu), the device will keep rebooting
Possible reason: the latest bootloader(8996-012001-1703151359) may verify the system image in the phone to ensure it unchanged
Solution: after installing supersu in TWRP, flash the previous bootloader(8996-012001-1702151126) back and the device will start normally
If we sideload the ota and then flash old bootloader works?
Or we need to flash the entire factory image?
TENN3R said:
If we sideload the ota and then flash old bootloader works?
Or we need to flash the entire factory image?
Click to expand...
Click to collapse
Just old bootloader afterwards
Great, works for me.
Can you post specific instructions I really would like to unlock and root my phone
Any side effect of using old bootloader? Thank you.
[email protected] said:
Can you post specific instructions I really would like to unlock and root my phone
Click to expand...
Click to collapse
In fact, there are a lot of articles teaching you that.
For example, you can click here to know how to root.
vibranze said:
Any side effect of using old bootloader? Thank you.
Click to expand...
Click to collapse
No more side effects than not verifying the system image found yet.
Steven_Yang said:
Problem: After a standard update(flash bootloader & radio, then update image) and standard rooting process(boot twrp, flash supersu), the device will keep rebooting
Possible reason: the latest bootloader(8996-012001-1703151359) may verify the system image in the phone to ensure it unchanged
Solution: after installing supersu in TWRP, flash the previous bootloader(8996-012001-1702151126) back and the device will start normally
Click to expand...
Click to collapse
THANK YOU!! i have the bootloop issue that was driving me crazy and was unable to root properly, until i flashed the old bootloader
Read here. There is a fix that does not require downgrading the BL.
https://forum.xda-developers.com/showthread.php?t=3600606

Categories

Resources