[Q] Question about root and updates - Galaxy Tab S Q&A, Help & Troubleshooting

Lets say I want to update to a new version (Android L) when Samsung (if they ever bother) deploy it, I want to know if OTA will still work? I am only going to remove bloatware not flash any other rom.
Add to this I can't boot on download mode... it keeps looping the boot screen.
Thanks in advance.

AFAIK OTA doesn't work once you have rooted

killall said:
AFAIK OTA doesn't work once you have rooted
Click to expand...
Click to collapse
That's not entirely true. Specifically rooting does not block an OTA but usually you'll loose root when an OTA is applied. SuperSU includes a method to preserve root through an OTA. The reason most OTAs cannot be applied after rooting is because they check specific apps and if any have been tampered with or are missing the OTA aborts. Of course most of the reasons that you root is to "tamper" with the stock ROM so it's a catch 22 situation. You could root then add an app for some specific functionality and still apply an OTA.
Sent from my Nexus 10 using XDA Premium HD app

Related

[Q] Root and OTA updates

Hi,
What are experiences of current owners of Nexus phones ? My Desire Z is rooted ( only rooted, don't have a custom ROM), and I never got Gingerbread update so I'd hate the same thing happening to G Nexus.
Thanks.
zljk said:
Hi,
What are experiences of current owners of Nexus phones ? My Desire Z is rooted ( only rooted, don't have a custom ROM), and I never got Gingerbread update so I'd hate the same thing happening to G Nexus.
Thanks.
Click to expand...
Click to collapse
That will never happen with the GN. When you own this phone you're first in line for the updates until the next is coming out then you're second but still faster than the others.
Sent from my HTC Desire using XDA App
When you're rooted you can't get the OTA updates. You have to unroot to apply them. That's true for all Android phones.
You cant get them at all?
Not even: get update and apply it, loose root because of the update, reroot?
Sent from my A500 using Tapatalk
TulpiX said:
You cant get them at all?
Not even: get update and apply it, loose root because of the update, reroot?
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
you could do that, but chances are someone will get the OTA before you and pre root it for everyones pleasure and you can just flash that via recovery
TulpiX said:
You cant get them at all?
Not even: get update and apply it, loose root because of the update, reroot?
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
If my experiences with my OG Droid match up with the Nexus line, if you've only rooted and haven't actually installed another ROM, you should be able to apply the OTA update and lose root because of it. Then just root again.
martonikaj said:
When you're rooted you can't get the OTA updates. You have to unroot to apply them. That's true for all Android phones.
Click to expand...
Click to collapse
I've seen some threads claiming that root itself doesn't affect updates, but changing of data on system partition.... Was kind of hoping there is a way to have my cake and eat it too - don't mind having to root the phone all over again after the OTA....
Anyhow - as an alternative, is there a way to get official Nexus updates ( stock ) using other channels except OTA ? What was happening with old Nexus phones ?
zljk said:
I've seen some threads claiming that root itself doesn't affect updates, but changing of data on system partition.... Was kind of hoping there is a way to have my cake and eat it too - don't mind having to root the phone all over again after the OTA....
Anyhow - as an alternative, is there a way to get official Nexus updates ( stock ) using other channels except OTA ? What was happening with old Nexus phones ?
Click to expand...
Click to collapse
The alternate way to get official Nexus updates is to download the update zip file once someone copies it off their device and uploads it, and install it in whatever fashion works.
I rooted my Nexus One without unlocking the bootloader or using custom recovery. I definitely still got OTA updates and they worked fine, but would unroot the phone.
The solution is to use a custom recovery and apply the update .zip manually, then reflash superuser before rebooting. Whenever an OTA update comes out, someone eventually uses logcat to get the URL to the zip and posts it so anyone can download it.
I was rooted on Froyo and got the OTA update to Gingerbread no problem, but I lost root. I eventually got root again (Gingerbreak) and when the 2.3.4 update came out, I did it manually in custom recovery to keep root.
Now I run CM7.1 so I definitely don't get OTA updates from Google
TulpiX said:
You cant get them at all?
Not even: get update and apply it, loose root because of the update, reroot?
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
It will often download and you can try but it will either fail, unroot you, or cause troubles.
You're best off applying the pre-rooted update, or unrooting and taking the OTA.
martonikaj said:
When you're rooted you can't get the OTA updates. You have to unroot to apply them. That's true for all Android phones.
Click to expand...
Click to collapse
True. However it's trivial to repackage an OTA update to a rooted update and since it's very compatible with the source in AOSP and you get working drivers very early you can start messing around with it straight away.
blunden said:
True. However it's trivial to repackage an OTA update to a rooted update and since it's very compatible with the source in AOSP and you get working drivers very early you can start messing around with it straight away.
Click to expand...
Click to collapse
Of course, as is often the case for most phones supported here on XDA. the rooted OTA comes in the form of a .zip soon after it comes out.
slowz3r said:
you could do that, but chances are someone will get the OTA before you and pre root it for everyones pleasure and you can just flash that via recovery
Click to expand...
Click to collapse
When flashing the rooted OTA via recovery, does it wipe the phone (apps and all)?
Also for the other method, when unrooting >> applying OTA >> rooting again, does it wipe the phone at any point during this process?
Help would be appreciated and rewarded!
I just received my OTA update notification and found the update zip itself in the cache of my phone. I can post that update zip here if a mod can come along and tell me where to put it. I am going to wait till I'm home so I can have my rooting facilities handy before starting.
phazerorg said:
I rooted my Nexus One without unlocking the bootloader or using custom recovery. I definitely still got OTA updates and they worked fine, but would unroot the phone.
The solution is to use a custom recovery and apply the update .zip manually, then reflash superuser before rebooting. Whenever an OTA update comes out, someone eventually uses logcat to get the URL to the zip and posts it so anyone can download it.
I was rooted on Froyo and got the OTA update to Gingerbread no problem, but I lost root. I eventually got root again (Gingerbreak) and when the 2.3.4 update came out, I did it manually in custom recovery to keep root.
Now I run CM7.1 so I definitely don't get OTA updates from Google
Click to expand...
Click to collapse
+1. Exactly.
There is a lot of wrong (or slightly incorrect) information in this thread.
Have root has no impact whatsoever in your ability to receive or apply the OTA update. This has been the case on every Android device. However, if you have a custom recovery flashed, you will not be able to automatically apply the update - you will have to find the zip file in the cache and use your custom recovery to apply it.
On a slightly separate note, once you apply the update either automatically or manually via custom recovery, you will lose root. However, if you do have a custom recovery, as long as you flash ChainsDD's superuser package immediately after applying the update, but before rebooting, you will retain root.
On another separate not, if you flash the update as is from Google, it includes a file (/system/recovery-from-boot.p) that re-flashes the stock recovery on every boot, so you will lose your custom recovery. Either remove the file before flashing the update, or just re-flash your custom recovery.

Questions about rooting / recoveries ...

Hello
Since this will be my first nexus device , I have some questions regarding rooting and recoveries and what they affect on nexus devices specifically this nexus.
What affects the ability to receive official google updates?
If you are rooted do you always loose root if a new update comes? Does root affect the ability to receive updates?
If you have a custom recovery is it possible to receive official updates from google?
Thanks
Sent from my A500 using Tapatalk
I also have one quick question about rooting. I am totally new to this, I used android on my HD2 but it was always SD card version.
Does rooting affect warranty? I don't think it matters, but I'm with O2.
Official Updates
I think you can, however if you do you can lose root
Custom Recovery
Yes its possible. I believe koush is working on a stable CWM
Warranty
Yes, you will lose it and the Nexus will tell you before it lets you confirm you want to do it.
Im currently trying to get my Nexus back to unrooted status so I can send it back and get it on PAYG. I'll write up a tutorial once I've figured it out
TulpiX said:
Hello
Since this will be my first nexus device , I have some questions regarding rooting and recoveries and what they affect on nexus devices specifically this nexus.
What affects the ability to receive official google updates?
If you are rooted do you always loose root if a new update comes? Does root affect the ability to receive updates?
If you have a custom recovery is it possible to receive official updates from google?
Thanks
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
1. Rooting your device wont affect your ability to receive updates, Custom ROMs do.
2. when you receive a new OTA you WILL lose root, this is the reason custom ROMs dont accept OTA updates.
3 As far as custom recoveries, I dont think that affects your ability to receive updates, Even then you can still flash an official update.zip via a custom recovery.
rokfor2000 said:
I also have one quick question about rooting. I am totally new to this, I used android on my HD2 but it was always SD card version.
Does rooting affect warranty? I don't think it matters, but I'm with O2.
Click to expand...
Click to collapse
1. Eh grey area. Rooting doesnt void your warranty, but unlocking the bootloader does. As of yet there is no way to re-lock the bootloader.
slowz3r said:
1. Rooting your device wont affect your ability to receive updates, Custom ROMs do.
2. when you receive a new OTA you WILL lose root, this is the reason custom ROMs dont accept OTA updates.
3 As far as custom recoveries, I dont think that affects your ability to receive updates, Even then you can still flash an official update.zip via a custom recovery.
1. Eh grey area. Rooting doesnt void your warranty, but unlocking the bootloader does. As of yet there is no way to re-lock the bootloader.
Click to expand...
Click to collapse
fastboot oem lock does
Evostance said:
fastboot oem lock does
Click to expand...
Click to collapse
does it actually re lock your bootloader..... its been a while since I last used my NS, Since i switched to VZW
If thats the case then dont worry about warranty
Apparently it's works. But I think I've bricked my phone flashing a system.img...
Sent from my iPad 2 using Tapatalk
Ok thanks
I thought ota updates would also sometimes update stock recovery which would fail with custom recoveries and therefore no ota updates then.
So i was mistaken there?
Sent from my A500 using Tapatalk
So to be clear. I could do the following:
Get my phone
Unlock bootloader
Root it
Install cwm recovery
And this would NOT affect my ability to get ota updates?
TulpiX said:
So to be clear. I could do the following:
Get my phone
Unlock bootloader
Root it
Install cwm recovery
And this would NOT affect my ability to get ota updates?
Click to expand...
Click to collapse
pretty much, but remember an OTA will remove root/recovery
TulpiX said:
So to be clear. I could do the following:
Get my phone
Unlock bootloader
Root it
Install cwm recovery
And this would NOT affect my ability to get ota updates?
Click to expand...
Click to collapse
You will get ota updates but it will not install it coz the cmw recovery, then you will need to update your rom that incloded the update via cmw recovery
Hmm ok
So you loose recovery too? I thought you would only loose root?
But arent the last two posts exact opposites? One says you would get ota and it would install but you would loose root and recovery and the other says you would get ota but cannot install it. Or am i missing some point here?
liorra3 said:
You will get ota updates but it will not install it coz the cmw recovery, then you will need to update your rom that incloded the update via cmw recovery
Click to expand...
Click to collapse
OTA updates install fine with CWM and have for some time. The only reason it would fail is if it is trying to patch recovery and does an assert.
TulpiX said:
Hmm ok
So you loose recovery too? I thought you would only loose root?
But arent the last two posts exact opposites? One says you would get ota and it would install but you would loose root and recovery and the other says you would get ota but cannot install it. Or am i missing some point here?
Click to expand...
Click to collapse
You will lose root on incremental updates only because it does a recursive chmod on /system - so it just changes the permissions on the su binary.
You will lose your custom recovery because it will restore /etc/install-recovery.sh which restores the stock recovery on boot.
not to smash your topic to bits but SINCE WHEN has an ota update been available before aosp code? Welcome to nexus device people running stock is for chumps you won't need ota updates because you will already be on a custom rom that has it
Sent from my Nexus S using XDA App
Goat_For_Sale said:
not to smash your topic to bits but SINCE WHEN has an ota update been available before aosp code?
Click to expand...
Click to collapse
The Froyo source did not push to AOSP until after the OTA to the Nexus One.
Slightly different but also held from AOSP until out on a device:
Eclair (2.1) was not in AOSP in a form that would build for a device until post Nexus One being available.
Gingerbread did not push to AOSP until after the Nexus S was available.
The other hold up is when new binaries are needed for the build. The early AOSP Gingerbread builds for the Nexus One were BUGGY.
The ICS builds for the Nexus S needed some "shady, leaked" binaries to get things up and running well (wifi, bluetooth, GPS, etc).
Typically the new binaries are not posted until it OTA's.
Goat_For_Sale said:
Welcome to nexus device people running stock is for chumps you won't need ota updates because you will already be on a custom from that has it
Click to expand...
Click to collapse
You can say this all you want - I've run stock rooted roms on both the Nexus One and the Nexus S without any issues. The Nexus S forums are filled with people with issues with spontaneous reboots, poor battery life, FC's and 95% of the time it tracks back to a custom kernel that has been "tweaked" or the ROM they are running.
If you are looking for the added features of some custom roms then go for it. But thus far pure AOSP builds have been anything but "for chumps" with the Nexus One and Nexus S.
krohnjw said:
If you are looking for the added features of some custom roms then go for it. But thus far pure AOSP builds have been anything but "for chumps" with the Nexus One and Nexus S.
Click to expand...
Click to collapse
I'm pretty sure but "custom roms" he also included builds made from AOSP. The point is that AOSP is often newer between bigger releases and the times an OTA build is newer you could always just flash that if you really want.
Ok thank you guys
I learnt much from this
So in fact if i go cwm and root my best option is to forget ota and go custom rom. Even if its a stock + root custom rom.
Sent from my A500 using Tapatalk
TulpiX said:
Hello
Since this will be my first nexus device , I have some questions regarding rooting and recoveries and what they affect on nexus devices specifically this nexus.
What affects the ability to receive official google updates?
If you are rooted do you always loose root if a new update comes? Does root affect the ability to receive updates?
If you have a custom recovery is it possible to receive official updates from google?
Thanks
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
You can't receive OTA when your device is rooted. Why? Every OTA checks system consistence. If some different files or the same files with different checksums will be detected, OTA will be canceled.

[Q] OTA updates run automatically?

This is my first Nexus. If I unlock the bootloader and root, and stay with rooted stock, would a future OTA update relock the bootloader and undo root?
Also, are the OTA updates automatic, or can I choose not to install the update?
Ectoplasmic said:
This is my first Nexus. If I unlock the bootloader and root, and stay with rooted stock, would a future OTA update relock the bootloader and undo root?
Also, are the OTA updates automatic, or can I choose not to install the update?
Click to expand...
Click to collapse
Once you are unlocked, you won't become locked unless you manually lock it. This is the case even if you accept an OTA or factory restore.
Some OTAs are mandatory like the one most people got when they turned on the unit, however most are optional and won't install unless you choose to, either on purpose or by accident.
sfhub said:
Once you are unlocked, you won't become locked unless you manually lock it. This is the case even if you accept an OTA or factory restore.
Some OTAs are mandatory like the one most people got when they turned on the unit, however most are optional and won't install unless you choose to, either on purpose or by accident.
Click to expand...
Click to collapse
However, to be fair, the DEB JLS36I update out there right now will cause you to lose root. It does not lock the bootloader, but it does whack root and custom recoveries. Unless you choose the option in TWRP to recover root after the install, in which case it rolls back the update and keeps both TWRP and root, meaning you are as you were as before. A few days later, you get the prompt to install the update again, and the circle of life continues.
Does that mean rooted and unlocked on JSS15R I can get the next OTA update but I loose root? I dont have any custom stuff like recovery or rom, just unlocked and rooted for a few apps like titanium backup, cpu Z and gemeni app manager
AndroidGreg said:
Does that mean rooted and unlocked on JSS15R I can get the next OTA update but I loose root? I dont have any custom stuff like recovery or rom, just unlocked and rooted for a few apps like titanium backup, cpu Z and gemeni app manager
Click to expand...
Click to collapse
You can get the update and just re-root.
However if you have modified or removed any files, ota will very likely fail. Removing stock app would be an example of removing a file. On the other hand disabling stock app would be fine.
What if I just bought a nexus 7 LTE and already updated to to JLS36I? How would I get root then? Hypothetically of course...
Sent from my Nexus 7 using Tapatalk
lastdeadmouse said:
What if I just bought a nexus 7 LTE and already updated to to JLS36I? How would I get root then? Hypothetically of course...
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Same way you would if you hadn't installed JLS36I
Unlock bootloader
Boot into custom recovery
Install root

[NOOB Question] Rooting Nexus 7 without installing custom recovery?

After some vigorous searching I've found out that if you don't modify the boot loader then you should be okay receiving OTA updates. I'd like to root my nexus 7 so I can run some apps that require root access. I've looked at many methods on how to root the nexus 7, but from my noob understanding, the majority of these methods require unlocking the boot loader and getting TWRP recovery. Won't that mess up the OTA? I've searched a couple threads but I don't necessarily understand the difference between an unlocked boot loader and a rooted device. The reason I still want to have OTA updates is so that I can still update android and so on.
Thanks for taking the time to read this and help guys!
Pickle_Jr;4f86 said:
After some vigorous searching I've found out that if you don't modify the boot loader then you should be okay receiving OTA updates. I'd like to root my nexus 7 so I can run some apps that require root access. I've looked at many methods on how to root the nexus 7, but from my noob understanding, the majority of these methods require unlocking the boot loader and getting TWRP recovery. Won't that mess up the OTA? I've searched a couple threads but I don't necessarily understand the difference between an unlocked boot loader and a rooted device. The reason I still want to have OTA updates is so that I can still update android and so on.
Thanks for taking the time to read this and help guys!
Click to expand...
Click to collapse
On this platform, at this time, you need to unlock the bootloader to install root.
You don't need to flash/install twrp if you don't want to, but you need to boot into twrp temporarily to install the root files.
Even if you install twrp rather than boot into it temporarily, it won't cause your ota to fail.
The things that cause the ota to fail are
1) modifying or deleting any files with your root permissions
This includes root apps which do things you might not realize
2) installing custom kernel
3) installing earlier version of supersu
sfhub said:
On this platform, at this time, you need to unlock the bootloader to install root.
You don't need to flash/install twrp if you don't want to, but you need to boot into twrp temporarily to install the root files.
Even if you install twrp rather than boot into it temporarily, it won't cause your ota to fail.
The things that cause the ota to fail are
1) modifying or deleting any files with your root permissions
This includes root apps which do things you might not realize
2) installing custom kernel
3) installing earlier version of supersu
Click to expand...
Click to collapse
Awesome! Thanks! So if I understand correctly, as long as I be careful about what root apps I have as well as have a newer (newest) version of SuperSU installed I'll be okay? I'm assuming I'll lose root when I get an OTA update but hopefully when the time comes, there'll be a way to root android 4.4 when the n7 get's it as well. And if something goes wrong I guess I could just unroot, factory reset, and update OTA that way too. Thanks for the help!
Pickle_Jr said:
Awesome! Thanks! So if I understand correctly, as long as I be careful about what root apps I have as well as have a newer (newest) version of SuperSU installed I'll be okay?
Click to expand...
Click to collapse
Yes.
For example, if you freeze a stock app in titanium, that is ok, but if you remove a stock app, then an OTA will likely fail.
If you use stickmount, it modifies a system file and backs it up, then restores it when it is done, but sometimes that gets out of sync, in which case the OTA fails.
There are other examples.
Pickle_Jr said:
I'm assuming I'll lose root when I get an OTA update but hopefully when the time comes, there'll be a way to root android 4.4 when the n7 get's it as well. And if something goes wrong I guess I could just unroot, factory reset, and update OTA that way too. Thanks for the help!
Click to expand...
Click to collapse
If you install root through the stock recovery, you'll lose root permissions (but the files will still be there). Just re-root using the existing procedure.
If you want to save a step, boot into TWRP to install the OTA (which you download manually) and then "chain" install the OTA, then the root install files.
This way, you lose root for half a second until the 2nd install file in the chain runs. Essentially you won't lose root (or won't notice losing root) because the first time you boot into 4.4, you'll have root.

[Q] When I get KitKat OTA, can I still update easily via OTA even though I'm rooted?

Hi!
My Nexus 7 is rooted and bootloader unlocked, with TWRP custom recovery. If I accept the KitKat OTA update when I get it, will it brick my device? Will my device be wiped? Do I need to do anything special? Will anything break (I use Skype and the camera a lot)? Do I need to re-root?
Sorry for the noob question...
-Orange
Apparently it overwrites default recovery and you lose the root. But still it's not safe.
Instead
Download the ota and supersu to your tab.
Goto TWRP
Flash ota first. then immediately flash super su. You retain root with custom recovery.
That's it.
Follow this and nothing breaks.
littleromeo said:
Apparently it overwrites default recovery and you lose the root. But still it's not safe.
Instead
Download the ota and supersu to your tab.
Goto TWRP
Flash ota first. then immediately flash super su. You retain root with custom recovery.
That's it.
Follow this and nothing breaks.
Click to expand...
Click to collapse
Where do we download the ota zip?
Thanks.
poloruiz714 said:
Where do we download the ota zip?
Thanks.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2524978
make sure you are on jss15r
Here's the OTA link
Code:
http://android.clients.google.com/packages/ota/google_razor/3a3951e8243c82bc01a620ab858f4454c8ebd65c.signed-razor-KRT16O-from-JSS15R.3a3951e8.zip
and super su just in case
Code:
http://download.chainfire.eu/supersu
littleromeo said:
make sure you are on jss15r
Actually I am on jss15j (rooted tablet as soon as I opened the box), clockworkmod recovery (latest build) so what files do I need? Also do I perform a full wipe or flash on top of current system? Sorry for the noon question. Thanks.
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Root should not affect the OTA update.
I have a rooted Nexus 7 LTE which ran on 4.3.1 until yesterday. Last night I received the update message. So I updated to Kitkat 4.4.
It worked great especially since SuperSU managed to keep the root access. So after the update I had no additional work to get it rooted again
bama35453 said:
Root should not affect the OTA update.
I have a rooted Nexus 7 LTE which ran on 4.3.1 until yesterday. Last night I received the update message. So I updated to Kitkat 4.4.
It worked great especially since SuperSU managed to keep the root access. So after the update I had no additional work to get it rooted again
Click to expand...
Click to collapse
How about custom recovery?
Sent from my SPH-L710 using XDA Premium 4 mobile app

Categories

Resources