How to manually unroot - Nexus 5 Q&A, Help & Troubleshooting

I recently upgraded to android 4.42 and it's honestly worse since I cant use MX player or some other apps, but I also lost my root. How would I manually unroot? I rooted used ChainFire and currently cant get into the app to unroot.

Raz431 said:
I recently upgraded to android 4.42 and it's honestly worse since I cant use MX player or some other apps, but I also lost my root. How would I manually unroot? I rooted used ChainFire and currently cant get into the app to unroot.
Click to expand...
Click to collapse
Are you looking to unroot? or to re-root?
If you want to re-root, you just need to flash the SuperSU in recovery.

Raz431 said:
...I cant use MX player...
Click to expand...
Click to collapse
MX Player was recently updated for 4.4.2
Sent from my Nexus 5 using xda app-developers app

jj14 said:
Are you looking to unroot? or to re-root?
If you want to re-root, you just need to flash the SuperSU in recovery.
Click to expand...
Click to collapse
How would I flash superSU?
Sorry, I didn't flash any custom ROMS at all with my nexus or any other android phone, so I'm completely blank on this subject.

Raz431 said:
How would I flash superSU?
Sorry, I didn't flash any custom ROMS at all with my nexus or any other android phone, so I'm completely blank on this subject.
Click to expand...
Click to collapse
When you had rooted originally, how did you root? (are you sure you were rooted? If not, you will need to check whether your bootloader is unlocked. If you were rooted, your bootloader should be unlocked - unless you relocked the bootloader after rooting for some reason)
Did you flash a custom recovery like TWRP or CWM? If so, you should be able to copy the SuperSU file to your phone (any where), and reboot into custom recovery (hold down power and volume down when phone is off, and select recovery option) - once there, just select the option to install SuperSU.
If you don't have custom recovery, you will need to flash that first using ADB sideload - this link has more details about how to install custom recovery and root. (again, assuming you have an unlocked bootloader. If not, you will need to unlock bootloader, which will wipe your phone - all data will be wiped out)
Read the first post in the link I provided - carefully

Related

[Q] Obtain root access without computer? (apk? TermEmu?)

Is this possible? I recently messed up my laptop and now I can't mess with my new N5! So is there a way I can root without a computer? Like a APK or do it in Terminal Emulator or something? Sheesh, not being able to mess with my phone is driving me nuts
Thanks.
Carloskeee said:
Is this possible? I recently messed up my laptop and now I can't mess with my new N5! So is there a way I can root without a computer? Like a APK or do it in Terminal Emulator or something? Sheesh, not being able to mess with my phone is driving me nuts
Thanks.
Click to expand...
Click to collapse
No, you need to unlock the bootloader which requires a computer.
Sent from my Nexus 5
I was wondering about this too. My boot loader is unlocked but I'm completely stock at the moment
Sent from my Nexus 5
pepdavies said:
I was wondering about this too. My boot loader is unlocked but I'm completely stock at the moment
Sent from my Nexus 5
Click to expand...
Click to collapse
If the BL is unlocked you don`t need a PC to flash and modify your phone. Just download a custom recovery (.img file) and flash it with Flashify from Play.
-Edit- missread and assumed you had root. Nope can`t flash custom software from third (stock) recovery.
gee2012 said:
If the BL is unlocked you don`t need a PC to flash and modify your phone. Just download a custom recovery (.img file) and flash it with Flashify from Play.
Click to expand...
Click to collapse
Not if he is unrooted. Flashify requires root
Sent from my Nexus 5 using Tapatalk
gee2012 said:
If the BL is unlocked you don`t need a PC to flash and modify your phone. Just download a custom recovery (.img file) and flash it with Flashify from Play.
Click to expand...
Click to collapse
Flashify requires root.. So if he just has the bootloader unlocked, he couldn't do anything with it..
Edit: Ninja'd..lol
rootSU said:
Not if he is unrooted. Flashify requires root
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I was just about to say that. I've used flashify before. I know how to root with a custom recovery, I was just curious if there was a way to do it on the move.
Sent from my Nexus 5
There isn't. Android blocks access to all / (root) by default. The only way to root android from within Android itself is to take advantage of an exploit but as yet there doesn't seem to be one for KK /N5.
All unlocking the bootloader does is allow you to fastboot flash a custom recovery. Rooting from a recovery is easy because android is running therefore not "blocking" / (root). But since the recovery partition is on the / root of the device, you cannot flash a recovery whilst android is running....unless you have root access.
....so fastboot flash a recovery is the only way to get root, which requires obviously a computer.
Hope this helps to understand
Sent from my Nexus 5 using Tapatalk
Yes I understand. That is everyone.
Reason I asked. When I had my Nexus 4, all I did was download SuperSU. It was a stock device. But supersu asked to update us binary and it rooted the phone from there. I then downloaded a app to unlock the bl and did it all without a computer. Just curious if this could be done on the n5 as well. But I guess not. Thanks everyone.
Carloskeee said:
Yes I understand. That is everyone.
Reason I asked. When I had my Nexus 4, all I did was download SuperSU. It was a stock device. But supersu asked to update us binary and it rooted the phone from there. I then downloaded a app to unlock the bl and did it all without a computer. Just curious if this could be done on the n5 as well. But I guess not. Thanks everyone.
Click to expand...
Click to collapse
on the n4, and n5, there are apps that can lock and unlock the bootloader. but you need root for that. if you downloaded supersu and it asked to update the binaries, that means that your device had root(old) already, and just had its bootloader relocked..

[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

Help with unroot and removing CMW recovery

Can someone please help me in the process of unrooting and removing cmw recovery mod. I know from previous experience i can remove root, using supersu and click full unroot. Problem i am mainly having is what do I do to remove the CMW recovery mod. I have downloaded the factory image of the shield tablet, i just dont know how to go about it. Im very tech savy but im fairly new to android rooting.
S197Mike said:
Can someone please help me in the process of unrooting and removing cmw recovery mod. I know from previous experience i can remove root, using supersu and click full unroot. Problem i am mainly having is what do I do to remove the CMW recovery mod. I have downloaded the factory image of the shield tablet, i just dont know how to go about it. Im very tech savy but im fairly new to android rooting.
Click to expand...
Click to collapse
Extract all files from Nvidia's "recovery" file. Then copy the stock recovery.img. Fastboot flash recovery recovery.img
Stock recovery.img attached. Fastboot flash.
How did you unroot?
I know that some Samsung devices, like the Note 8, require a full Odin of the stock ROM as unroot with SuperUser won't do anything.
lanwarrior said:
How did you unroot?
I know that some Samsung devices, like the Note 8, require a full Odin of the stock ROM as unroot with SuperUser won't do anything.
Click to expand...
Click to collapse
SuperSU has a full unroot option. Works on Shield tab.
cam30era said:
SuperSU has a full unroot option. Works on Shield tab.
Click to expand...
Click to collapse
Thanks for the confirmation.
FYI, when I had my Note 8.0, doing the full unroot via SuperSU did not remove all the necessary file. Update no longer received, so I had to Odin the stock ROM.
lanwarrior said:
Thanks for the confirmation.
FYI, when I had my Note 8.0, doing the full unroot via SuperSU did not remove all the necessary file. Update no longer received, so I had to Odin the stock ROM.
Click to expand...
Click to collapse
FWIW: I flashed the stock recovery, then used SuperSU "unroot", and was able to successfully install the 1.1 OTA. I can't confirm that SuperSu unroot removes every trace of root, but it's good enough to accept OTA updates.
cam30era said:
FWIW: I flashed the stock recovery, then used SuperSU "unroot", and was able to successfully install the 1.1 OTA. I can't confirm that SuperSu unroot removes every trace of root, but it's good enough to accept OTA updates.
Click to expand...
Click to collapse
Thanks that is really good to know!
I just did a reset on my phone, install SuperSU, encrypt the tablet, reboot and checked if root is still there (it is).
Now I am trying to unroot by selecting "Full Unroot" in SuperSU, but I got stuck in the "Uninstalling, please wait..." message.
Is this normal?
EDIT: I had to uninstall SuperSU, reinstall from Google Play, update the binary, reboot and then the Full Unroot works. I think it does, because I use "root checker" and it said no root.

[Q&A] [ROOT] Root for SHIELD Tablet 2.0 (Lollipop)

Q&A for [ROOT] Root for SHIELD Tablet 2.0 (Lollipop)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [ROOT] Root for SHIELD Tablet 2.0 (Lollipop). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
UK Root?
Wondering if i should try root since im in UK.
Heres the boot.img from the UK update, is it any different from the NA version before i try root?
EDIT: Wont let me post outside links
Should i try it or no?
DazEB said:
Wondering if i should try root since im in UK.
Heres the boot.img from the UK update, is it any different from the NA version before i try root?
EDIT: Wont let me post outside links
Should i try it or no?
Click to expand...
Click to collapse
If it is the WiFi Only model it should work, but no promises. If it is LTE please PM the link to the boot.img
Cwm and future ota
Does CWM prevents future OTA? What if I want root but stock recovery? Thanks.
Sweet, I followed the "Locked bootloader" method step by step and it working perfectly, no problem whatsoever. Thank you very much!!
layanto said:
Does CWM prevents future OTA? What if I want root but stock recovery? Thanks.
Click to expand...
Click to collapse
Cwm had not prevented any OTAs on the shield tablet for me yet.
Sent from my SHIELD Tablet using XDA Free mobile app
Hi,
Thanks for the instructions. I followed the unlocked bootloader one, but now I cant boot. I flashed the modified LTE boot img and now everytime I boot it keeps going into fastboot mode.
Unlocked bootloader
flashed CWM
Booted into CWM and flashed SuperSU Beta
Selected Yes to fix Root
Reboot system
Boot back into fastboot and flash the modified boot.img
Reboot system...............now keeps booting into fastboot.
Please help.
EDIT: I'm an idiot. Unzip the boot.img before you flash it. Problem solved.
layanto said:
Does CWM prevents future OTA? What if I want root but stock recovery? Thanks.
Click to expand...
Click to collapse
You can also restore stock recovery afterward by flashing this
SuperPichu said:
You can also restore stock recovery afterward by flashing this
Click to expand...
Click to collapse
Possibly dumb question, but is the stock recovery on 4.4.2 KK the same as stock recovery on L? If I backup the stock recovery on KK with flashify, can I then restore once I am rooted and on L?
layanto said:
Possibly dumb question, but is the stock recovery on 4.4.2 KK the same as stock recovery on L? If I backup the stock recovery on KK with flashify, can I then restore once I am rooted and on L?
Click to expand...
Click to collapse
You can definitely restore it if you make a backup. I'm actually not sure if they are the same.
Can this be done without a computer?
Jaybenosa said:
Can this be done without a computer?
Click to expand...
Click to collapse
No
Sent from my SHIELD Tablet using XDA Free mobile app
Yah I figured. So I'm pretty much a noob and I'm trying to unlock my bootloader right now but I'm so lost lol
So I failed miserably, accidentally hit reboot system after step 4 so now I'm on lollipop not rooted and no unlocked boot loader nor have a recovery ??
Jaybenosa said:
Yah I figured. So I'm pretty much a noob and I'm trying to unlock my bootloader right now but I'm so lost lol
Click to expand...
Click to collapse
This is how to unlock the bootloader. It will erase all your userdata.
https://developer.nvidia.com/sites/...eld/SHIELD_tab/HowTo-Flash-Recovery-Image.txt
In reading through the other thread, I can't seem to definitively find what I'm looking for.
My Shield has a locked bootloader, but I've installed the OTA. Is my only option to unlock the bootloader and then follow the unlocked bootloader root method? Or is there a way to root only (I'd like to keep stock recovery) with the OTA already installed?
KentuckyHouse said:
In reading through the other thread, I can't seem to definitively find what I'm looking for.
My Shield has a locked bootloader, but I've installed the OTA. Is my only option to unlock the bootloader and then follow the unlocked bootloader root method? Or is there a way to root only (I'd like to keep stock recovery) with the OTA already installed?
Click to expand...
Click to collapse
You will have to unlock. You can restore the stock recovery afterward if you wish
Sent from my SHIELD Tablet using XDA Free mobile app
Does towelroot still work for the LTE devices when moving to lolli?
OK, so I had to unlock my bootloader since I'd already taken the OTA.
Now I'm at this point. I can't seem to get recovery to stick. I've flashed it multiple times in fastboot and it just won't stick. Now, over in the other thread, someone has asked if I've done the "fastboot flash boot boot-root.img" step yet. This confuses me, as that step comes AFTER you flash recovery, then flash SuperSU with CWM. But seeing as how I can't get recovery to stick, I can't flash SuperSU, and that means I can't move on to that step.
So I guess what I'm asking is, can I run "fastboot flash boot boot-root.img" before "fastboot flash recovery recovery.img"? Will that make a difference? Will it brick my tablet?
I'm all out of ideas here.
Locked bootloader and updated to ver 2.0 lollipop.
Hi there.
I have downloaded and installed version 2 lollipop and I would like root to store my games on SD. When checking the root guide it informed me to download update but not install. I have already installed the update and was wandering if they is a way to root my device still.
Kind regards

[Q] Error message while installing android lollipop on Nexus 5

Im trying to install Android Lollipop on my Nexus 5, but once it downloads I try to install it and it gets about halfway through the install before an error message appears and my phone restarts. My phone is unlocked and has been rooted before, but it isn't at the moment. Any help would be great, Thanks!
eatcyanide said:
Im trying to install Android Lollipop on my Nexus 5, but once it downloads I try to install it and it gets about halfway through the install before an error message appears and my phone restarts. My phone is unlocked and has been rooted before, but it isn't at the moment. Any help would be great, Thanks!
Click to expand...
Click to collapse
Do you have a custom recovery or flashed a kernel? You must be 100% stock
Sent from my Nexus 5 using XDA Free mobile app
I'm on stock android. The only thing I have changed is rooting it and unlocking it
Sent from my Nexus 5
eatcyanide said:
I'm on stock android. The only thing I have changed is rooting it and unlocking it
Sent from my Nexus 5
Click to expand...
Click to collapse
I am stuck in the same situation. Tried it twice with no luck.
I too rooted my phone with towelroot and unrooted it with superSu.
Did you find any solution? Please do share. Thanks.
eatcyanide said:
Im trying to install Android Lollipop on my Nexus 5, but once it downloads I try to install it and it gets about halfway through the install before an error message appears and my phone restarts. My phone is unlocked and has been rooted before, but it isn't at the moment. Any help would be great, Thanks!
Click to expand...
Click to collapse
rahul9five said:
I am stuck in the same situation. Tried it twice with no luck.
I too rooted my phone with towelroot and unrooted it with superSu.
Did you find any solution? Please do share. Thanks.
Click to expand...
Click to collapse
You either have a modified system file or a file left over from being rooted. The easiest and fastest solution would be to fastboot flash the system image. You could of course flash the factory image.
wantabe said:
You either have a modified system file or a file left over from being rooted. The easiest and fastest solution would be to fastboot flash the system image. You could of course flash the factory image.
Click to expand...
Click to collapse
Well now i remember changing the mixer_path.xml ... Will i have to unlock my bootloader to flash the factory image as i had rooted my phone with towelroot so i didnt have to do it earlier..
Also is it possible to replace the mixer path file with the original one from the internet
rahul9five said:
Well now i remember changing the mixer_path.xml ... Will i have to unlock my bootloader to flash the factory image as i had rooted my phone with towelroot so i didnt have to do it earlier..
Also is it possible to replace the mixer path file with the original one from the internet
Click to expand...
Click to collapse
That sucks! ; ) I've always used the sdk so I don't know a whole lot about towelroot. Your bootloader will have to be unlocked to flash the factory image. If you can reroot you could then use the app BootUnlocker.
I just looked and I don't have the stock mixer_paths.xml anymore or I would link to it.
wantabe said:
That sucks! ; ) I've always used the sdk so I don't know a whole lot about towelroot. Your bootloader will have to be unlocked to flash the factory image. If you can reroot you could then use the app BootUnlocker.
I just looked and I don't have the stock mixer_paths.xml anymore or I would link to it.
Click to expand...
Click to collapse
Thankyou for your efforts and advise. I guess i will just rerrot with towelroot, unclock the bootloader with the app you suggestee and flash factory image..
Btw. Will flashing the factory image unroot my phone and lock the bootloader or is there some procedure that needs to be done to do that?
rahul9five said:
Thankyou for your efforts and advise. I guess i will just rerrot with towelroot, unclock the bootloader with the app you suggestee and flash factory image..
Btw. Will flashing the factory image unroot my phone and lock the bootloader or is there some procedure that needs to be done to do that?
Click to expand...
Click to collapse
Flashing the factory image or a system image will always unroot your device. Lock the bootloader using the sdk. The command is fastboot oem lock.
Is there a reason why OP needs locked bootloader? Just leave it unlocked, unless you have a really strong reason to. It will spare you hassles in the future.
That said, after unlocking bootloader, you can (at least, we could in the past) flash the update file through twrp (you just need to fastboot boot twrp.img and then flash the update), that will tell you exactly what file(s) doesn't match. Those are the ones you need to replace back to stock.
Edit: read also http://forum.xda-developers.com/showthread.php?t=2949987. Maybe new selinux stuff is playing funny?
beekay201 said:
Is there a reason why OP needs locked bootloader? Just leave it unlocked, unless you have a really strong reason to. It will spare you hassles in the future.
That said, after unlocking bootloader, you can (at least, we could in the past) flash the update file through twrp (you just need to fastboot boot twrp.img and then flash the update), that will tell you exactly what file(s) doesn't match. Those are the ones you need to replace back to stock.
Edit: read also http://forum.xda-developers.com/showthread.php?t=2949987. Maybe new selinux stuff is playing funny?
Click to expand...
Click to collapse
Yea, you can't flash the ota through a custom recovery anymore
Sent from my Nexus 9 using XDA Free mobile app
beekay201 said:
Is there a reason why OP needs locked bootloader? Just leave it unlocked, unless you have a really strong reason to. It will spare you hassles in the future.
That said, after unlocking bootloader, you can (at least, we could in the past) flash the update file through twrp (you just need to fastboot boot twrp.img and then flash the update), that will tell you exactly what file(s) doesn't match. Those are the ones you need to replace back to stock.
Edit: read also http://forum.xda-developers.com/showthread.php?t=2949987. Maybe new selinux stuff is playing funny?
Click to expand...
Click to collapse
Thankyou.. I am more of a soft modder. Like playing with rooted apps and xposed mainly. I dont see myself flashing a custom rom. Love the stock on my nexus 5. So i dont see the need to leave the bootloader unlocked.
rahul9five said:
Thankyou.. I am more of a soft modder. Like playing with rooted apps and xposed mainly. I dont see myself flashing a custom rom. Love the stock on my nexus 5. So i dont see the need to leave the bootloader unlocked.
Click to expand...
Click to collapse
Err... I didn't suggest that you flash a custom ROM. Read what I said.

Categories

Resources