[Q] OTA Updates on Rooted (with Xposed) S4 - Galaxy S 4 Q&A, Help & Troubleshooting

For the S4, or basically any Samsung device, how can I install an OTA update if it's rooted with Xposed installed?
I have stock rom and stock recovery. Rooted using CF-Autoroot and installed Xposed so I can get OTA updates. After the OTA update is downloaded, installing it fails before the device is even rebooted.
By the way, before applying the update, I unrooted and uninstalled Xposed (but without rebooting first since I didn't want the OTA update to disappear).
Is there any way to solve this?

ZiadK87 said:
For the S4, or basically any Samsung device, how can I install an OTA update if it's rooted with Xposed installed?
I have stock rom and stock recovery. Rooted using CF-Autoroot and installed Xposed so I can get OTA updates. After the OTA update is downloaded, installing it fails before the device is even rebooted.
Is there any way to solve this?
Click to expand...
Click to collapse
Excuse me, but there is no difference having xposed for updating.
Its just an app like any other

OnePotato said:
Excuse me, but there is no difference having xposed for updating.
Its just an app like any other
Click to expand...
Click to collapse
Actually I think there is. Since it modifies system files/structures, it must be uninstalled before applying OTA updates. At least that is the case with Nexus OTAs since they perform system checks for any changes before proceeding with the update.

Related

[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] Cant Install System Update to JB 4.3

I have Nexus 4 running rooted JB 4.3Stock (Build JWR66V). I have also installed xposed framework. Recover is TWRP. Last week I got a system update notification. Update size is about 1.8 MB. After rebooting for installing the update, TWRP shows a message that Root permission may have been broken and displays a button to fix the permission. Even i choose to ignore this and reboot, root permission is not affected in anyways after reboot. However, I noticed that system was not updated and the build number remain the same. After couple of days, i get the update notification again and once again the same thing repeats. Can anyone tell me why its not getting updated?
rjwarrier said:
I have Nexus 4 running rooted JB 4.3Stock (Build JWR66V). I have also installed xposed framework. Recover is TWRP. Last week I got a system update notification. Update size is about 1.8 MB. After rebooting for installing the update, TWRP shows a message that Root permission may have been broken and displays a button to fix the permission. Even i choose to ignore this and reboot, root permission is not affected in anyways after reboot. However, I noticed that system was not updated and the build number remain the same. After couple of days, i get the update notification again and once again the same thing repeats. Can anyone tell me why its not getting updated?
Click to expand...
Click to collapse
Its the JWR66Y update, have you looked here for info http://forum.xda-developers.com/showthread.php?t=2145848. Or just reflash the factory image and reroot and you`re done http://forum.xda-developers.com/showthread.php?t=2010312.
Re:
Hi Is the update failing because of Xposed Framework? any idea?
rjwarrier said:
Hi Is the update failing because of Xposed Framework? any idea?
Click to expand...
Click to collapse
Off course, and you have a custom recovery and possibly a custom kernel. Updates can only be installed on factory images, unless you flash them with a custom recovery like TWRP.
Re:
gee2012 said:
Off course, and you have a custom recovery and possibly a custom kernel. Updates can only be installed on factory images, unless you flash them with a custom recovery like TWRP.
Click to expand...
Click to collapse
Hi it worked! The android build is now JWR66Y. I uninstalled the xposed framework and then flashd the update file thru TWRP. Eventhough after flashin the update, i flashed the SU, it didnt work (TWRP was showing that the installation was success). When i rebooted, cudnt find SU in apps. So I just installed the app from Play Store and it worked! Now I have root access too.
Thanks mate!

[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?

Rooted G2, still received OTA update

I have rooted my G2(D802) in stock rom.
Will I still receive Official OTA update?
1. you will, but the device will refuse to install it because it's rooted
2. you will, the device will install it and your phone will only root to recovery (if you have custom recovery)
those are the only scenarios I know of.
csunny95 said:
I have rooted my G2(D802) in stock rom.
Will I still receive Official OTA update?
Click to expand...
Click to collapse
Yes the update can sill show up and after ignoring it a couple of times it will force itself to install and either a)if you have custom recovery you will bootloop and if you were using twrp there is a way to remove update or you will need to go Back to stock, b)if you have modified system, installed xposed or removed bloat it will refuse to install because those are things that can only be done with root and so will give message won't update because it's suspected of rooting and there are ways to make it so that it won't update but I don't remember
Sent from my LG-D800 running stock kk, rooted with philz using XDA app

OTA update with Magisk

Hi guys! I'm on stock rom Nougat, since i installed magisk i'll always get error when i tried to update my phone from Update setting (samsung things...).
But when i installed Xposed and especially a module known as Firefds which set fake system status to "Official" (it was "Custom"), when i go back to check for a new update i found this (attachement).
So what do you think guys? Should i update? Maybe its November security patch...
But i don't want to lose twrp, magisk and all the stuff !!
This update didn't includes November patch so far I know. This will be listed in the patch notes for sure.
If you install the OTA update...this will end not well I think. You will running in an unstable system because of root, twrp etc. This update will replace files which are eventually needed and so on.
I suggest you flash stock rom with odin, then install the update then re-root and re-flash twrp. Yes it is annoying, but its better to be safe than sorry
zzThrain said:
I suggest you flash stock rom with odin, then install the update then re-root and re-flash twrp. Yes it is annoying, but its better to be safe than sorry
Click to expand...
Click to collapse
What about flash this update using FlashFire and keep twrp & magisk? I saw it in many other phones
Mrbinki said:
What about flash this update using FlashFire and keep twrp & magisk? I saw it in many other phones
Click to expand...
Click to collapse
You can of course do so...but my experience is that such methods will not end well. Do it like @zzThrain wrote it and download firmware from SamMobile with DQJ3 and reflash twrp and re-root to be sure that your system don't come unstable.
Any chance for OTA updates with Magisk only (without Xposed, etc.)?
If there is no chance - is there a place to download only monthly security updates - since full firmware versions (found at sammobile) are at least 10x times larger than the monthly updates?

Categories

Resources