Losing root after every security update - Android Q&A, Help & Troubleshooting

I am having some issues with the G9 I am working with. I have root using the latest Magisk. But every time a "security update" installs and reboots the phone, I lose root. So I go back into fastboot and reflash the boot img. That solves the problem. But it is a minor nuisance I am trying to workaround. I have tried searching for days, trying to figure out how to STOP system updates. I installed a root service disabler and disabled a few different services.
I still cannot seem to figure out what service is downloading updates. I have already gone into Developer Options and disabled automatic updates. And there was an update waiting that I kept paused. Last night I got the popup reminding me about it. And it was supposed to "remind me later". But instead installed it in the middle of the night.
I could care less about opinions on whether or not to allow updates. I would just like to know what service or file I need to cripple to get it to stop. I want to decide if or when something runs on my phone. Any ideas? Android 9.

And you will lose root after update, it's normal
Sent from my K10 using Tapatalk

If you are using a G9, not a G9 Pro, could you please link me to the stuff to root it?

Related

Disable OTA updates?

Hi, recently I got this ATT update notification on my atrix. (I'm not living in the US but my Singapore phone somehow is the ATT build xD - No don't ask me how I got it xD). Is there any way to block this update from popping out?
Thanks.
If you are rooted...
If you are rooted you can use Titanium Backup to freeze "Updater" and/or "Upgrader". I am not sure which one did the trick; I just froze both of them.
Thanks
Thanks for the info, that stupid updater was driving me nuts. I was using "Advanced task killer free" to continually clear the data that was downloaded. but anytime i turned wifi on it would pop up again. last night i was in the middle of txtn and that box popped up while i was typing & hit the install update before i could even do anything it was shutting off my phone & rebooting to install the update. luckily i was able to boot into rom manager & do a system restore to prevent the update from installing. So per your post i paid for the Titanium Backup Pro version to freeze the app to keep that from happening again. Great work!!!!

'applypatch' process taking up 50%+ cpu after ota gps patch

So, I recently installed an ota patch from AT&T (apparently it was supposed to make the gps more accurate or something?). Since then I noticed that my battery started draining very quickly, so I entered 'top' in a terminal and found out there was a process called 'applypatch' taking up 50% of the cpu.I can't use 'killall applypatch' because it's a root process, and apparently the update also got rid of my root.
I've already tried a factory reset, but that didn't seem to help. Also, I doubt it's still installing the patch, because I left it on all of last night and it's still going at it. The bootloader is still locked, so If possible I'd like to avoid messing with that. This is my only GSM compatible phone, and I paid a lot for it.
Should I just try rooting it again and try killing the process, or do you guys have any other ideas?
Thanks!
kratanuva said:
So, I recently installed an ota patch from AT&T (apparently it was supposed to make the gps more accurate or something?). Since then I noticed that my battery started draining very quickly, so I entered 'top' in a terminal and found out there was a process called 'applypatch' taking up 50% of the cpu.I can't use 'killall applypatch' because it's a root process, and apparently the update also got rid of my root.
I've already tried a factory reset, but that didn't seem to help. Also, I doubt it's still installing the patch, because I left it on all of last night and it's still going at it. The bootloader is still locked, so If possible I'd like to avoid messing with that. This is my only GSM compatible phone, and I paid a lot for it.
Should I just try rooting it again and try killing the process, or do you guys have any other ideas?
Thanks!
Click to expand...
Click to collapse
You are not the only one with that problem. I have the exact same issue. Process chewing up the CPU and if you kill it the process comes right back. Hopefully someone has a good answer as to how to fix it. I actually have 2 of the phones and one is rooted, second one is not. The unrooted phone does not have the same issue as the rooted phone.
I'm having the same problem with my Atrix. Phone is stock and unrooted. Never had an issue until I installed the latest update.
Well I got a response back from Motorola about the issue. These were their recommendations.
1. Reboot phone. Duh....
2. Uninstall any apps that you installed when the problem started. Uh, it was the OTA update... Cannot be uninstalled I do not think.
3. Clear Cache partition from Fastboot menu. That did not do anything.
4. Factory reset the phone. I hate doing that. Doubt it fixes anything but I will do it anyway.
I asked them about option 5 if 1-4 did nothing and he said call and talk to support.
Just an update...
Maybe someone knows how to just kill the process. It is obviously doing nothing as the phone is already updated to 4.5.145 according to the phone info.
I've just had a quick look around about the 'apply patch' process. Not that it helps you but this problem has been ongoing since at least android 1.6!!! Unfortunately solutions to the problem were few and far between - the main one would be to roll back the update you received (if you can).
Rooting and then trying to find the process and freezing the 'apply patch' process is another (again, I didn't find much about how to do that) as is unlocking the bootloader and putting installing a custom rom is another option for you. I know you don't feel comfy unlocking your bootloader but it isn't as bad as it sounds.
If you do decide to go the unlocking way then there are guides on here which will help you.
Edit: just seen this over in the 'general' section http://forum.xda-developers.com/showthread.php?t=2145316 ... the very same problem you are having.
Ok, just to hopefully keep this going I have tried these additional steps.
Root phone.
Unroot phone
Re-root phone
Try multiple startup program apps to kill it, none show anything besides installed apps.
None work. applypatch still taking 49% cpu
Maybe there is a way to edit androids startup config file to make it stop? Not a Linux/android guy so hopefully someone smarter than me has the answer to that.
If you've rooted the phone, you might as well have deleted or renamed that program... That's what I would do.
Same problem with my Atrix........I've been following this thread and have found a temp fix that works for me. I say temp as the applypatch process will show up again on reboot
1.) Gain Root Access
2.) Download OS Monitor from PlayStore (this will show you all processes running on Android OS)
3.) Run OS Monitor ...."applypatch" should be at the top of the list with a high Load % (Note: Under Settings enable ROOT mode)
4.) Long press on applypatch process and select kill process and allow superuser/root access...should terminate
This has been working for me so far so I signed up to share with you all.....hope it helps.
And heres to hoping for a more permanent:good: solution to this issue

No data from WiFi or cell signal, might be SU problem

As the title says, I have no data from my home WiFi or 4G from the cell signal, despite them being shown as connected.
I noticed it just a few minutes ago. I was looking into Voodoo RootKeeper because I haven't updated to the latest OTA update and I've been wanting to soon, it was mentioned that SuperUser should be fully updated for it to work. While looking through SU settings, I noticed the option to set SU as a system app, so I did it. It rebooted and just before finishing the boot it had a message saying something about configuring apps (similar to what you would see after an update, I believe). Once it finished I was going to update some apps that needed updating and Play said it had no connection, checked Chrome and it was the same story. So here I am.
It is rooted, also has an unlocked bootloader (which is why I've waited so long to do the OTA). I haven't updated since I got it at the beginning of December last year, so the current version I'm running is 4.1.1
Any help is really extremely appreciated; my smartphone becomes a dumb phone without any networking, dumb phones make me sad :crying:
Edit: I fixed it, somehow. I temp-unrooted with Voodoo, tried to complete the OTA update (failed because of recovery or something), re-enabled root after update, and then I had data back. Leaving this post here in case someone comes across a similar problem.

[Q] Any way to not get Lollipop pushed OTA to stock unrooted S5 on KitKat 4.4.2?

Hi all,
I just got an S5 today and it has KitKat 4.4.2. I accidentally clicked on the "Software Update" button in the "Settings>About Device" page and it started downloading Lollipop OTA. I couldn't find any way to stop the download. I have no intention of upgrading to Lollipop any time soon, so now I'm stuck with nearly 1GB of wasted space and an annoying nag to update.
I've been looking through this forum and it seems like the only ways to get rid of the nag and clear out the downloaded update require a rooted device. I prefer not to root my device so I'm wondering if there's any way to get rid of the nag and the downloaded OTA update without rooting. Do I pretty much have to do a factory reset?
If factory reset is my only route, will the OTA update just get automatically pushed back out and downloaded to my phone in a few days or weeks? If so, there wouldn't seem to be much of a point in doing a factory reset if the update will just come back. Any ideas or advice would be greatly appreciated.
Regards,
John
You can try http://forum.xda-developers.com/tmobile-galaxy-s5/help/prevent-ota-root-4-4-2-t3064541
In my case, disabling "Software updater" or something similar in Application Manager stopped the auto update (you can verify by tapping on "Software update" in settings again and nothing should happen).
Thanks for taking the time to respond. The post you linked was one of the articles that I looked at previously. The suggestions in the post seemed to only be applicable to rooted devices so I wasn't really able to use them. But thanks for linking it nonetheless.
In the Application Manager, I see two "System Update" applications. One can be turned off but other can't so I guess by default that that will be the one I'll stop. When I try to turn "Software Update" off, it gives me a nasty warning about stopping a system app and causing instability. Has turning off that application caused any instability on your device?
Also, all of these suggestions deal with how to prevent the OTA from downloading, but do you know of any way to get rid of the update and free up the space once it's already downloaded? I accidentally downloaded the OTA update and I'd like to remove it and have the phone not download it again. Will I have to do a master/factory reset in order to get rid of the update?
Thanks again for your help.
That nasty warning appears every time you try to disable ANY app, not just this one, and I've disabled a bunch of default bloatwares without any side effect. So you can just go ahead and disable it. As for the downloaded update, I would suggest using a file manager to list all files in the internal storage and sort by size, it would likely be the biggest file.
Thanks for the advice, Master 619. I tried using a file manager, as you suggested, but the file is not showing up. I'm pretty sure it's because my device isn't rooted and that file is in a protected area so I can't get to it. I'm figuring that I'm just going to have to do a master reset and then disable the "System Update" application.

Removing Install System Update

I'm getting Install System Update page / application appear on my device. I still haven't updated to 5.1 because I'm afraid it will break my tethering. How do I get rid of this screen? I'd prefer to do it from the phone and or through adb, since I don't have a windows computer handy.
I think somehow the update was forced. I kept it at bay for months. then one day, it seemed to update itself. Thought there was a method to block the System Update screen, but can't get any help here.

Categories

Resources