[Q] OTA update from 4.2 - Nexus 7 Q&A, Help & Troubleshooting

It has been a long time since I have ever done an OTA update.
On most devices I'm typically running a custom ROM and do updates by flashing a new zip from a custom recovery.
I am currently running 4.2 that I got from here:
https://developers.google.com/android/nexus/images#nakasi
I flashed a custom recovery, flashed SuperSU via recovery, and installed BusyBox from the Play Store.
Now my Nexus 7 says it has an update.
Questions:
Will I be able to use OTA Rootkeeper and do this update?
Does OTA Rootkeeper also keep busybox?
Will I have to re-install my programs?
If there is an update to 4.2 why is 4.2 the latest thing I see on the google website I linked to above?

Will I be able to use OTA Rootkeeper and do this update?
Click to expand...
Click to collapse
Root keeper should work fine since of is only a minor update.
Does OTA Rootkeeper also keep busybox?
Click to expand...
Click to collapse
Busybox won't be removed with an OTA update.
Will I have to re-install my programs?
Click to expand...
Click to collapse
No, all your programs will still be there after the upgrade.
[/QUOTIf there is an update to 4.2 why is 4.2 the latest thing I see on the google website I linked to above?
Click to expand...
Click to collapse
Google hasn't built the new factory images for 4.2.1 yet.

EvanA said:
Busybox won't be removed with an OTA update.
Click to expand...
Click to collapse
How is it that su gets removed during an OTA but not but not the busybox executables?
How are the busybox executables different?
Does an OTA explicitly go after su?

I have a notification for an android update as well. I'm rooted and unlocked, running stock. So, I just want to install an app from the market called root keeper before installing the update and all is well?

OTA rootkeeper is the app.
It worked for me, and app usage is fairly simple.
The SU app doesn't get removed, it's still there, it just doesn't have access, but OTA rootkeeper restores it.
I updated yesterday I think, the update mostly fixes that December issue, nothing major, it's a <1,5MB update.

issak42 said:
The SU app doesn't get removed, it's still there, it just doesn't have access, but OTA rootkeeper restores it.
Click to expand...
Click to collapse
Technically, what is going on here under the hood?
What do you mean by "doesn't have access"?
I don't fully understand how root works on Android between the binary su and the SuperSU Android app.
Does the OTA mess with setuid bits or something?
Does it lose access during the "Android is upgrading... Optimizing Apps" after it reboots?
I will do the update using OTA rootkeeper, right now I'm just trying to gain a higher understanding of what is going on.
Edit: Update successful. I have TWRP installed and this is what it looked like. Gave me a scare for a second.
http://i.imgur.com/gAcnt.jpg

FunkyELF said:
Technically, what is going on here under the hood?
What do you mean by "doesn't have access"?
I don't fully understand how root works on Android between the binary su and the SuperSU Android app.
Does the OTA mess with setuid bits or something?
Does it lose access during the "Android is upgrading... Optimizing Apps" after it reboots?
I will do the update using OTA rootkeeper, right now I'm just trying to gain a higher understanding of what is going on.
Edit: Update successful. I have TWRP installed and this is what it looked like. Gave me a scare for a second.
http://i.imgur.com/gAcnt.jpg
Click to expand...
Click to collapse
I honestly don't know what is it that OTA rootkeeper does, I had doubts too. I'm not a developer of said app, so the questions you have should really be addressed towards the dev.
I know the feeling, I have TWRP too, and it gave me a mini heart attack
I'm glad everything worked out!

issak42 said:
I honestly don't know what is it that OTA rootkeeper does, I had doubts too. I'm not a developer of said app, so the questions you have should really be addressed towards the dev.
I know the feeling, I have TWRP too, and it gave me a mini heart attack
I'm glad everything worked out!
Click to expand...
Click to collapse
OTA rootkeeper makes a backup of the such binary and restores it after the upgrade. It works quite well, actually.
Sent from my Nexus 7 w/ PA and m-kernel

EvanA said:
OTA rootkeeper makes a backup of the such binary and restores it after the upgrade. It works quite well, actually.
Sent from my Nexus 7 w/ PA and m-kernel
Click to expand...
Click to collapse
It does work well indeed. So basically, root access isn't lost, but OTA update removes the su apk, and rootkeeper restores it?
I don't understand how it can restore root without root access

issak42 said:
It does work well indeed. So basically, root access isn't lost, but OTA update removes the su apk, and rootkeeper restores it?
I don't understand how it can restore root without root access
Click to expand...
Click to collapse
I'm running a rooted stock nexus with twrp. I screwed up with the first 4.2 OTA and had to reroot with fastboot, supersu, etc. When this new one came up last night I installed OTA RootKeeper from the playstore and backed up su with it. I ran the update this morning and had root back in seconds with rootkeeper. Works well, just as described above. The googling involved in my last screwup saved some headaches this time.
Thanks to ALL on this forum.

issak42 said:
It does work well indeed. So basically, root access isn't lost, but OTA update removes the su apk, and rootkeeper restores it?
I don't understand how it can restore root without root access
Click to expand...
Click to collapse
It doesn't need root access to restore root because BusyBox remains installed. Basically what the app does to restore su is remount the system as read and write then use BusyBox to copy the su binary back to where it should be.
Sent from my Nexus 7 w/ PA and m-kernel

Related

SU Binary Update

I have seen a lot of people saying they are losing root access if they update SU Binary. I am to assume everyone who has lost their root access did it via some sort of one-click root app. These will only give temporary root access and will break root at the slightest kick in the teeth.
Anyway, I have updated my SU binary, and I still have my root access, I gained root via [GUIDE] How to Root Sprint 2.1 Release for CDMA Hero and I'm S-off. Hope this helps clear up any issues with SU.
Twolazyg said:
I have seen a lot of people saying they are losing root access if they update SU Binary. I am to assume everyone who has lost their root access did it via some sort of one-click root app. These will only give temporary root access and will break root at the slightest kick in the teeth.
Anyway, I have updated my SU binary, and I still have my root access, I gained root via [GUIDE] How to Root Sprint 2.1 Release for CDMA Hero and I'm S-off. Hope this helps clear up any issues with SU.
Click to expand...
Click to collapse
I rooted same as you. When I updated binary and was on aosp 0.1.2, I did loose ability to use su like in terminal.
I was able to flash a different recovery with adb so I think it didn't wipe root but something with GB and the super user app didn't work together with the new binary.
I successfully updated binary in froyo. Were you using GB when you updated, and if so, which version?
Sent from my HERO200 using XDA App
poashll said:
I rooted same as you. When I updated binary and was on aosp 0.1.2, I did loose ability to use su like in terminal.
I was able to flash a different recovery with adb so I think it didn't wipe root but something with GB and the super user app didn't work together with the new binary.
I successfully updated binary in froyo. Were you using GB when you updated, and if so, which version?
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
I was running aospGBmod 0.1.4, updated, then went into root explorer (worked), TE (worked), and TB (worked). I also deleted the old SU that came with the ROM, D/L'd the one from market, then updated. I'll try it again with 0.1.2 and test it out. Also, are you S-off or S-on?
Twolazyg said:
I was running aospGBmod 0.1.4, updated, then went into root explorer (worked), TE (worked), and TB (worked). I also deleted the old SU that came with the ROM, D/L'd the one from market, then updated. I'll try it again with 0.1.2 and test it out. Also, are you S-off or S-on?
Click to expand...
Click to collapse
I am S-on.
I just attempted it again using 0.1.4, but I have the same results. Nothing is able to get root rights.
I should've nandroided before trying that. I know better.
poashll said:
I am S-on.
I just attempted it again using 0.1.4, but I have the same results. Nothing is able to get root rights.
I should've nandroided before trying that. I know better.
Click to expand...
Click to collapse
Reboot recovery and go back to your last nand, then reboot into whatever rom you were running. Uninstall SU, reinstall from the market, you should be fine then. But I would make a nandroid just to be safe
I attempted to uninstall and reinstall, but it didn't help.
Now that I have updated to 0.1.5, I can upgrade the binary and everything is working as it should.
Sent from my HERO200 using XDA App
I am on 2.3.3 and just updated SU Binary. Haven't noticed a problem yet. All previously installed root apps still work, newly installed root apps work as well.
disregard. I am retarded and didn't read what forum this was in.
My phone's still rooted, I used the same method as you.

[Q] ota elegibility

So my tpt is rooted. can i get the ics update when its released??? Also when i check for updates it searches and returns nothing... not even the up to date message
The upgrade will download and be saved to your tablet. But it will only install if you have all the stock lenovo apps. I froze them with titanium backup, so I will have to thaw them to install the ics.
You should install and use the ota rootkeeper app to save your root. Of course the update won't be rooted, and we probably won't get it rooted because we don't have enough developer support.
rangercaptain said:
The upgrade will download and be saved to your tablet. But it will only install if you have all the stock lenovo apps. I froze them with titanium backup, so I will have to thaw them to install the ics.
You should install and use the ota rootkeeper app to save your root. Of course the update won't be rooted, and we probably won't get it rooted because we don't have enough developer support.
Click to expand...
Click to collapse
i heard there was problems because of busybox
US versions need to install the 086 version of busybox, and the gps.conf file, and any of the missing lenovo apps. Use OTA Rootkeeper to temp unroot before and reroot after the update. I had problems, but it eventually worked for me.
You will lose CWR if you have it.
I had Google Play problems after the update and had to wipe.

[Q] Root Keeper or SuperSU Survival Mode

Hi I have a rooted Nexus 7 and wanted to keep root when updating. I already have SuperSU and wanted to know what is the best way to keep root when updating. Should I use SuperSU Survival mode or download Root Keeper to keep root?
Are there any conflicts having/using both at the same time? Any advice or info on this would be great.
Thanks
randomvector said:
Hi I have a rooted Nexus 7 and wanted to keep root when updating. I already have SuperSU and wanted to know what is the best way to keep root when updating. Should I use SuperSU Survival mode or download Root Keeper to keep root?
Are there any conflicts having/using both at the same time? Any advice or info on this would be great.
Thanks
Click to expand...
Click to collapse
All I can tell you is Voodoo OTA Rootkeeper has worked great for me. Restored root with no problems after 4.2 update.
On my system - however - root causes lag on multi-user that makes it unusable, even with updated SuperSU.
So I am back to being temporarily unrooted because multi-user is more important to me than root.
Just install the latest CWM recovery
It gives you the option to fix the permissions of the su binary after installing an update so you can keep root.
steevp said:
Just install the latest CWM recovery
It gives you the option to fix the permissions of the su binary after installing an update so you can keep root.
Click to expand...
Click to collapse
Well funny thing - su works fine for primary user. Only goes ape on creating or using secondary user.
Over and over, asks if /system/bin/id can have superuser permission. 20 minutes to create a secondary user...
rmm200 said:
Well funny thing - su works fine for primary user. Only goes ape on creating or using secondary user.
Over and over, asks if /system/bin/id can have superuser permission. 20 minutes to create a secondary user...
Click to expand...
Click to collapse
Hmm I didn't experience anything like that, but I only played with multi-user for a few minutes then I deleted the secondary user.
steevp said:
Just install the latest CWM recovery
It gives you the option to fix the permissions of the su binary after installing an update so you can keep root.
Click to expand...
Click to collapse
I am running the stock ROM as i want to receive the updates and have the standard google recovery and do not have CWM installed. My bootloader is unlocked and rooted that's it. I am not using multiuser on my Nexus 7. I think I'll use Root Keeper and keep SuperSU survival mode off.
randomvector said:
I am running the stock ROM as i want to receive the updates and have the standard google recovery and do not have CWM installed. My bootloader is unlocked and rooted that's it. I am not using multiuser on my Nexus 7. I think I'll use Root Keeper and keep SuperSU survival mode off.
Click to expand...
Click to collapse
I'm also running the stock ROM, and updates have worked fine with CWM recovery so far.
I believe it is compatible with the stock recovery.
rmm200 said:
Well funny thing - su works fine for primary user. Only goes ape on creating or using secondary user.
Over and over, asks if /system/bin/id can have superuser permission. 20 minutes to create a secondary user...
Click to expand...
Click to collapse
I'm using SuperSU and had no issyes with setting up a secondary user.
steevp said:
I'm also running the stock ROM, and updates have worked fine with CWM recovery so far.
I believe it is compatible with the stock recovery.
Click to expand...
Click to collapse
Really, can you have a custom recovery like Clockwork manager or TWRP and still receive OTA updates?
GldRush98 said:
I'm using SuperSU and had no issyes with setting up a secondary user.
Click to expand...
Click to collapse
When I get brave - and bored - I will try uninstalling / reinstalling SuperSU again.
For right now, I am just a happy tablet user.

[Q] What happens to root when doing OTA update?

I recently read that there is going to be a 4.2.2 update to the Nexus devices.
I was wondering what will happen to my rooted 4.2.1 phone? will it update properly? will I need to root again after the update?
you normally need to re-root after ota unless you have rootkeeper
I add an additional question..
If I have a flashed a new kernel and twrp, do I have to restore to stock and before I can update?
You need stock images for ota so yes, you have to flash stock kernel, recovery and if the kernel meddled with the system files, you need to flash stock system image as well
Sent from my Nexus 4 using Tapatalk 2
From 4.2->4.2.1 clockworkmod actually intervened on reboot and did what it had to (with prompts) to maintain recovery and root, first time that has happened for me and I was pleasantly surprised. I was stock + unlock + root, no kernel or other system changes.
I have AOKP now though so I guess I'll just wait for goo to notify me.
thephantom said:
you normally need to re-root after ota unless you have rootkeeper
Click to expand...
Click to collapse
The application doesn't support original Superuser and not SuperSU for a very simple reason. The same feature OTA protection feature is already present in SuperSU.
This is about Rootkeeper. I have stock, rooted and SuperSU. Does this mean that I don't need Rootkeeper and if I get the OTA update, I keep root?
Guzanni said:
The application doesn't support original Superuser and not SuperSU for a very simple reason. The same feature OTA protection feature is already present in SuperSU.
This is about Rootkeeper. I have stock, rooted and SuperSU. Does this mean that I don't need Rootkeeper and if I get the OTA update, I keep root?
Click to expand...
Click to collapse
On my GNex I have supersu. Just installed 4.2.2 update. I had to reroot by flashing latest supersu thru cwm. The update still over wrote the su file in the xbin folder
Flowed and Tapped from my Nexus
thephantom said:
On my GNex I have supersu. Just installed 4.2.2 update. I had to reroot by flashing latest supersu thru cwm. The update still over wrote the su file in the xbin folder
Flowed and Tapped from my Nexus
Click to expand...
Click to collapse
Thanks for your reply. So this means that I still have to use Rootkeeper.. or won't it work? Do I have to do it like you did?
Guzanni said:
Thanks for your reply. So this means that I still have to use Rootkeeper.. or won't it work? Do I have to do it like you did?
Click to expand...
Click to collapse
Well, as I didn't install Rootkeeper now, I can't say for sure. Before I was able to preserve it. You can simply root again. Doesn't take more than a minute
Flowed and Tapped from my Nexus

[Q] How to use SuperSU?

Hi,
I got an update on my LG G2 D802 and i have ROOT, i downloaded SuperSU because someone told me that i can update my device with it, but i dont know how.
Can someone explain me how to use it? what should i do in the SuperSU to update my device?
Thank you.
Uh...i don't think supersu can update your device. All it does is handle root.
Gesendet von meinem LG-d802 mit Tapatalk
ckyy said:
Uh...i don't think supersu can update your device. All it does is handle root.
Gesendet von meinem LG-d802 mit Tapatalk
Click to expand...
Click to collapse
But i saw that it have OTA Survival in the Settings.
Are you sure that i cant to update with it?
On my previous theard i asked if i can update, and someone told me that he updated his G2 with the SuperSU, but i dont know how to do this too..
itaylubo2 said:
But i saw that it have OTA Survival in the Settings.
Are you sure that i cant to update with it?
On my previous theard i asked if i can update, and someone told me that he updated his G2 with the SuperSU, but i dont know how to do this too..
Click to expand...
Click to collapse
OTA survival means that when your carrier sends out an OTA update for your device, you should still have root afterwards. Normally without OTA survival you will lose root after updating. SuperSU has nothing to do with updates, it is simply a firewall between apps and the root of your device. :good:
If you have OTA survival turned on in SuperSU, AND you have stock recovery, then theoretically, you can do the OTA update and still have root when it's finished. But it isn't 100% successful.
Also OP...
http://forum.xda-developers.com/showthread.php?t=2443934
souleman said:
If you have OTA survival turned on in SuperSU, AND you have stock recovery, then theoretically, you can do the OTA update and still have root when it's finished. But it isn't 100% successful.
Click to expand...
Click to collapse
I have stock recovery, so i should turn on the OTA Survival in the SuperSU and to start to update?
I saw in the settings of the SuperUser that it have also OTA Survival, should i turn it on too?
Thank you.
DO NOT DO OTA'S IF YOU ROOTED. Period.
khaytsus said:
DO NOT DO OTA'S IF YOU ROOTED. Period.
Click to expand...
Click to collapse
I received an ota last night (whilst very drunk) . I have a rooted but otherwise completely stock rom with stock recovery and the ota installed without a problem and I remained rooted even though I hadn't set my superSU to maintain root. My system updated from 10a to 10f.
It would appear that an ota will install with root as long as you have stock recovery and have not made changes to the system partition. (apart from the su binary of course.)
bobsie41 said:
I received an ota last night (whilst very drunk) . I have a rooted but otherwise completely stock rom with stock recovery and the ota installed without a problem and I remained rooted even though I hadn't set my superSU to maintain root. My system updated from 10a to 10f.
It would appear that an ota will install with root as long as you have stock recovery and have not made changes to the system partition. (apart from the su binary of course.)
Click to expand...
Click to collapse
Yes, but I like to keep things simple for people.
Recovery is what will get you, or a modified ROM. But.. Ah, it doesn't matter, people will do it anyway.
itaylubo2 said:
I have stock recovery, so i should turn on the OTA Survival in the SuperSU and to start to update?
I saw in the settings of the SuperUser that it have also OTA Survival, should i turn it on too?
Thank you.
Click to expand...
Click to collapse
You shouldn't have SuperSU and SuperUser both on the phone. Remove one of them (probably SuperUser as it doesn't play well with some things).
It is recommended not to do an OTA if you are rooted. If you wait a few days, someone will have a flashable version of the OTA on here.
Having a modified stock rom very rarely causes any issues. It can, but it doesn't very often. 99% of the time, it's because someone is running a different recovery, and still blames it on the ROM. But unless your ready to flash it back to how it was when you opened the box, just wait a couple days.
souleman said:
You shouldn't have SuperSU and SuperUser both on the phone. Remove one of them (probably SuperUser as it doesn't play well with some things).
It is recommended not to do an OTA if you are rooted. If you wait a few days, someone will have a flashable version of the OTA on here.
Having a modified stock rom very rarely causes any issues. It can, but it doesn't very often. 99% of the time, it's because someone is running a different recovery, and still blames it on the ROM. But unless your ready to flash it back to how it was when you opened the box, just wait a couple days.
Click to expand...
Click to collapse
But i have stock recovery and stock ROM, it is matter?
I realy dont know what to do when the Kitkat 4.4 will comes...
itaylubo2 said:
But i have stock recovery and stock ROM, it is matter?
I realy dont know what to do when the Kitkat 4.4 will comes...
Click to expand...
Click to collapse
To be safe you could always unroot your phone before updating since everything is stock you won't be losing much and you won't be taking any unnecessary chances. Plus the root might not stick with such a big update even with root survival so you might have to reroot it again after the update anyways.
This is pretty much the same thing everyone had already said, I don't think anyone here would tell you it's worth taking the risk -even if it's just a slight risk since you don't have a custom recovery installed- that will only be saving you the few minutes it'll take to reroot your phone.
Sent from Sprint LG G2
kcerica said:
To be safe you could always unroot your phone before updating since everything is stock you won't be losing much and you won't be taking any unnecessary chances. Plus the root might not stick with such a big update even with root survival so you might have to reroot it again after the update anyways.
This is pretty much the same thing everyone had already said, I don't think anyone here would tell you it's worth taking the risk -even if it's just a slight risk since you don't have a custom recovery installed- that will only be saving you the few minutes it'll take to reroot your phone.
Sent from Sprint LG G2
Click to expand...
Click to collapse
How i Unroot my phone? just doing Factory Reset?
There should be an unroot option in the supersu settings
Sent from Sprint LG G2
itaylubo2 said:
How i Unroot my phone? just doing Factory Reset?
Click to expand...
Click to collapse
Uninstall SuperUser, then in SuperSu there is an option to unroot the phone.
souleman said:
Uninstall SuperUser, then in SuperSu there is an option to unroot the phone.
Click to expand...
Click to collapse
I downloaded SuperSU, and after i delete it.
and i did Reboot, and the Superuser dissapeard, but i still have ROOT, i can use Freedom, Market Unlocker and Auto Hide Soft Keys.
Now i downloaded SuperSU again, and i saw in the "Description" that the SuperUser should be removed when i download the SuperSU.
If i'll do Full Unroot from the SuperSU, it will work on LG G2 D802 with stock ROM&Recovery?
Thank you very much !!!
itaylubo2 said:
I downloaded SuperSU, and after i delete it.
and i did Reboot, and the Superuser dissapeard, but i still have ROOT, i can use Freedom, Market Unlocker and Auto Hide Soft Keys.
Now i downloaded SuperSU again, and i saw in the "Description" that the SuperUser should be removed when i download the SuperSU.
If i'll do Full Unroot from the SuperSU, it will work on LG G2 D802 with stock ROM&Recovery?
Thank you very much !!!
Click to expand...
Click to collapse
Yup. Full Unroot in SuperSu will delete the files from the /system partition that give you access to root.
souleman said:
Yup. Full Unroot in SuperSu will delete the files from the /system partition that give you access to root.
Click to expand...
Click to collapse
It will work for 100%? In the Root Exporer, i search in the /system/bin for the "su" and i didnt found it, also i didnt found the SuperUser.apk in the /system/app, i can find only in the /system/xbin the "su" file.
It should be like this? because i saw some videos on Glalaxy Note 2 that he have all except the su file in the /system/xbin..
itaylubo2 said:
It will work for 100%? In the Root Exporer, i search in the /system/bin for the "su" and i didnt found it, also i didnt found the SuperUser.apk in the /system/app, i can find only in the /system/xbin the "su" file.
It should be like this? because i saw some videos on Glalaxy Note 2 that he have all except the su file in the /system/xbin..
Click to expand...
Click to collapse
There shouldn't be an su files after unroot. Is either superuser.apk or supersu.apk in either /system/app or /data/app?

Categories

Resources