[Q] Is root persistent through OTA update? - Nexus 4 Q&A, Help & Troubleshooting

I'm looking to root my phone but I don't want to flash any new bootloader or custom roms. I'm under the impression that I'll still be able to get OTA updates if I do this. My question is if I download and install an OTA update will I still have root on the phone or will it remove root? Thanks!

psyphris said:
I'm looking to root my phone but I don't want to flash any new bootloader or custom roms. I'm under the impression that I'll still be able to get OTA updates if I do this. My question is if I download and install an OTA update will I still have root on the phone or will it remove root? Thanks!
Click to expand...
Click to collapse
I was still able to receive and apply the OTA after rooting, but the OTA did cause me to lose root. But re-rooting was pretty painless.

Its sure than rooting phone you receive OTA and can install it?? If yes, I want to root my phone, only root, i dont want to change anything more for receiving OTAs.
How can I do? just only root, any link to the safest way?
Is the same way when I receive an OTA and i have to root again?
many thanks.

1. You can use an app called OTA Rootkeeper. Use it to hide root before you accept an OTA, then use it to restore root after.
2. Yes, you can use adb commands (possibly the Nexus 4 toolkit as well) to temporarily flash clockwork recovery and obtain root. You will need to unlock the bootloader though, and that will factory reset your device.
http://forum.xda-developers.com/showthread.php?t=1993331

Nospin said:
1. You can use an app called OTA Rootkeeper. Use it to hide root before you accept an OTA, then use it to restore root after.
2. Yes, you can use adb commands (possibly the Nexus 4 toolkit as well) to temporarily flash clockwork recovery and obtain root. You will need to unlock the bootloader though, and that will factory reset your device.
http://forum.xda-developers.com/showthread.php?t=1993331
Click to expand...
Click to collapse
Good advice for OTA Rootkeeper! If I head down this path I'll make sure to use that. I'm still looking around for the best way to root without unlocking the bootloader or factory reseting.

Superuser contains a built in 'try and preserve root' function which worked well when I updated to 4.2.1

Related

Noob Question, how to get OTA updates with root?

Hey guys, I'm new to Android and have been using iOS for the last 4-5 years. I've been reading up on the basics and I'll be rooting with Wugfresh's toolkit soon.
First, I'm wondering if I can get OTA updates while rooted but on stock rom. If I can, then what options do I select on wugfresh's toolkit to maintain stock rom? If I cannot, what I do to get OTA updates in the future?
I use Wug's toolkit too and have never had to mess with any settings or run into any trouble. Also, it will run stock ROM until you deliberately load up another one, so unless you start playing with others, you shouldn't need to worry about having any trouble getting OTAs. If you do go with another ROM, devs are usually pretty quick about incorporating updates into them.
Root alone has zero effect on ota for nexus devices. Neither does unlocking the bootloader.
You will receive them. If you're root and WITH stock recovery it will install no different then a completely untouched device.
With a custom recovery it will fail to install AUTOMATICALLY but will install just fine with a manual flash of the ota zip. Toggle the signature check in custom recovery may be needed and it flashes
just leave recovery stock, and download ota rootkeeper to backup your root.

OTA Update while rooted but still STOCK

Hey Guys,
I've done reading about this issue but I did not find an answer specifically to the Nexus 7 device.
I bought my mother-in-law the Nexus 7 and she loves it. However, she will be going back home (which is far) and I was wondering if an OTA update comes, will she be able to update? Will it mess with the system itself if updated over?
Do I have to unroot first, then OTA update, then reroot?
I will not install any custom rom. I will just have it rooted that is it.
Thank you
I unlocked my bootloader and manually rooted [superuser zip in CWM], then I installed the system update that updated it to 4.1.1 [JRO03D], and I still had root, so I'm pretty sure the updates on the N7 will keep the root.
However, you can always try "OTA root keeper" in the play store, it's supposed to restore root, in the event that an OTA update unroots it.
I downloaded it before updating because I thought I'd lose root with the update, but I didn't have to use it at all.
But I'm no longer on the stock rom, I switched to the ParanoidAndroid rom, it's excellent.
I see. Do I need to unlock the bootloader in order to root? Is it true that unlocking the bootloader is only needed if I want to install custom ROMs right? Can I just have root?
Thanks again!
You have to unlock the bootloader in order to root.
keplenk said:
I see. Do I need to unlock the bootloader in order to root? Is it true that unlocking the bootloader is only needed if I want to install custom ROMs right? Can I just have root?
Thanks again!
Click to expand...
Click to collapse
Unfortunately no, because there is no known exploit for loading an insecure boot image, in which case you could use 'adb' to push Superuser to /system/.. But unlocking the bootloader isn't a big deal, except for the fact it erases all the data. There are ways to back it up via adb, and I think the N7 Toolkit has backup & restore options.

[Q] Lost root access after 4.2.2 update

My N4 was on 4.2.1 and I managed to root it using the video guide here (http://www.youtube.com/watch?v=sV355YEDzc8&list=FLym1yJ2TTTjBZbty0DrqsKQ&index=3). It worked fine and I was using Titanium Backup with root access.
Then my phone notified me of the 4.2.2 update so I installed it OTA. I thought I still had root because SuperSU was still there. However, when I load Titanium Backup it says:
"Sorry, I could not acquire root privileges. This application will *not* work! Please verify that your ROM is rooted, and try again. This attempt was made using the /system/xbin/su" command"
I then installed a Root Checker (https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck&feature=nav_result) which indicates "This device does not have proper root access".
My questions are
How do I regain root access in a way that doesn't cause a full wipe of my data?
Will I have to do this every time I apply an official Nexus update?
What is the best way to apply an official Nexus update maintaining root without having data wiped?
TIA
I personally use the toolkit and option four. Every time I install an update, I lose root, but the toolkit easily restores it each time.
Sent from my Nexus 4
I too lost my root when i got 4.2.2 OTA. I used WugFresh's toolkit and rerooted with it. I also flashed the CWM custom recovery, which I've read prompts you to keep your root after rebooting with an OTA update.
Source:
heat361 said:
If you have cwm and you install any update that breaks root it will ask of you want to keep root when you choose to reboot the nexus 4.
Click to expand...
Click to collapse
This must be about the 100th time someone posts this question.
Some of you clearly are too lazy to search or read
Read this: http://forum.xda-developers.com/showthread.php?t=2145848.

Question about Rooting?

Is there any way to root your 6P and keep the stock recovery? I would like to have a dark system theme. But unless your on root you can't really make everything dark. I would also like to hide the soft keys which unless your rooted you can not. I don't want to lose the OTA updates and was hoping that just rooting the phone without a custom recovery would do the trick?
falcon26 said:
I don't want to lose the OTA updates and was hoping that just rooting the phone without a custom recovery would do the trick?
Click to expand...
Click to collapse
You can, just boot TWRP to your device from there bootloader with fastboot. With the current TWRP image the command would be "fastboot boot twrp-3.0.2-0-angler.img". Unfortunately, just having root on your device is enough to cause an OTA update to fail. You would have to fully unroot, apply the OTA, then root again.
falcon26 said:
Is there any way to root your 6P and keep the stock recovery? I would like to have a dark system theme. But unless your on root you can't really make everything dark. I would also like to hide the soft keys which unless your rooted you can not. I don't want to lose the OTA updates and was hoping that just rooting the phone without a custom recovery would do the trick?
Click to expand...
Click to collapse
You can use flashfire to do just what you want.
Use CF-auto root to root, then when OTA comes along, flashfire to update.

How to unroot ADB root?

I rooted my Oneplus 5 using the "Engineering Mode" exploit that was discovered a few weeks ago. I want to unroot my device since I have to download the full OTA on every update. How do I disable ADB root?
Wouldn't flashing the stock ROM remove root access?
Can't the steps be done in reverse order to enable root again?
I don't know much about this root method, but, from my knowledge, Engineer Mode is an apk. Wouldn't completely wiping the phone and flashing the stock ROM return it to a stock state (without root)?

Categories

Resources