How to cancel/remove a scheduled OTA update? - X Play Q&A, Help & Troubleshooting

I have TWRP and root. I just let the system install an OTA security patch, but the phone restarts into TWRP, and when I reboot into system, after about a minute a dialog pops up about "Android System Update" with a progress bar running for a bit and the phone restarts again.
Is there a way to cancel this scheduled auto-update at boot (e.g. by removing a file somewhere using TWRP)? I don't want to install this update anymore.

I figured it out. I went to the /data/data/com.motorola.ccc.ota folder, which is the Motorola Update Services app, go to the shared_prefs folder inside that, rename all files in there (a bunch of XML files) to something like .backup and the auto update on startup went away.
Now it is asking me to install the new update again every now and then. Is there a way to ignore this update permanently?

Related

remove ota update (S5360)

Hi,
I have managed to root my device (S-5360) with update.zip method. SuperUser got installed.
Now by mistake i have touched Check For Update.. and it downloaded some updates and ask me to install.
I have postponed the install.
Is it possible to delete that update file and remove the notification from my notification bar..?
regards

Clear out Android System Update?

I have a brand new H918 that I was able to install TWRP and root. It's on 10i and it has an Android System Update waiting to be applied. I turn off automatic updates in the Developer Options, but the update was already downloaded and wants to be applied. Is there a way to clear out this downloaded update so it stops bugging me to do it? Also, how do I apply stock updates going forward with TWRP installed? Is there a flashable stock 10j?
I don't know about the AT&T model, but on the VZW model, there are two different system update apks. If you freeze/disable them both, you'll kill the notifications. One can be disabled through the Application manager. The other needs to be done through Titanium Backup or with the "pm disable" ADB/shell command
Go to root>cache. you'll find the update zip in the cache folder, not in fota. Just delete it.
The folder is empty. I booted to TWRP and cleared the cache. The notification still shows up.
Edit: to clarify, there is a fota folder under /cache but it's empty.

Updating rooted 6T the right way, i.e. w/o rebooting upon load.

When I update my rooted 6T, the update is successful but the phone reboots every time the lock screen appears. What is the proper way to update to latest OTA w/rooted 6T?
Given:
No TWRP.
Encrypted storage, which is why no TWRP.
Magisk modules disabled prior to update
Fingerprints, codes, etc removed prior to update
I've followed these steps with the same reboot result.
Update Process for Rooted Users
1. Magisk Manager > Tap "Uninstall" > Tap "Restore Images" (DO NOT REBOOT)
2. Now Run the System update to download and install the full OTA zip (DO NOT REBOOT)
3. Close all background apps
4. Open Magisk > Tap "Install" > Tap "install" again > Tap "Install to Inactive/Second Slot (After OTA)"
5. Finally tap Reboot after Magisk installation is complete.
Click to expand...
Click to collapse
The steps you posted are exactly what I've followed for every update with no problem. Make sure you're using the full update .zip, not the incremental zip
BTW, TWRP works perfectly fine with encryption
Does the system update automatically download the full update.zip? I have a system notification that a system update is ready to download and install. Is that the full update.zip?
Do I need to make sure I disable fingerprints and other security? Do I need to disable magisk modules? Do I need to disable or uninstall anything, other than Magisk, before I install the update?
Sent from my ONEPLUS A6013 using Tapatalk
---------- Post added at 06:25 PM ---------- Previous post was at 06:21 PM ----------
CUBENSIS said:
The steps you posted are exactly what I've followed for every update with no problem. Make sure you're using the full update .zip, not the incremental zip
BTW, TWRP works perfectly fine with encryption
Click to expand...
Click to collapse
When I was using TWRP, TWRP could not see the downloaded file because the file names appear encrypted, ie scrambled letters for names.
Sent from my ONEPLUS A6013 using Tapatalk
kamiller42 said:
When I update my rooted 6T, the update is successful but the phone reboots every time the lock screen appears. What is the proper way to update to latest OTA w/rooted 6T?
Given:
No TWRP.
Encrypted storage, which is why no TWRP.
Magisk modules disabled prior to update
Fingerprints, codes, etc removed prior to update
I've followed these steps with the same reboot result.
Click to expand...
Click to collapse
Had the same issue. Updated this way several times with no issues. 9.0.15 I had problems. Had to back up internal files and wipe data.
But I also had no limits installed when I took the update which I believe caused this. The no limits 7.2 was incompatible with the latest update and Everytime I pushed root it would do the reboot to recovery instantly on lock screen upon boot. If you flash twrp in recovery, your phone will boot normally without root so you can back up your files before doing a full wipe and put your files and apps back in.
But my method was take the full ota from the one plus Ron updater in os. Then let it boot normally. Then reboot to fastboot and put twrp and magisk on like you did when you initially rooted etc

Strange OTA behaviour after installing Magisk

After a long time I finally decided to upgrade to PIE (stock).
The latest official Fastboot ROM I could find is from May (V10.0.9.0) - so this is what I used to install.
Everything went fine, and as expected I was prompted for an OTA upgrade to August which I performed. The Build number become ...V10.0.12.0
Afterwards I installed Magsik (V19.3) via Boot to TWRP - also with no problem.
But surprise: I was prompted for another OTA-upgrade this time to July2019, and the Build number shows V10.0.9.0 !
Ok, I uninstalled Magisk to get this upgrade done, but the upgrade failed..
Went back to re-flash the Fastboot ROM for May and .. and ... and the story repeated.
Any idea what's going on?
I would reflash whole ROM with the latest official Fastboot ROM again (do not forget to remove bootloader lock command from the flashing script or you'll lose your data) and flash Magisk from TWRP. For the OTA update follow this guide, you don't really need to mess up with TWRP more than once https://github.com/topjohnwu/Magisk/blob/master/docs/tutorials.md.
One thing to keep in mind - do NOT allow system modifications in TWRP as it will mount system partition as R/W and prevent future OTA updates to install. If you allowed it somewhere in the past (or you don't remember) - delete TWRP settings from /sdcard/TWRP and pay attention on the first boot of TWRP.

Update notification

I downloaded the latest package over system updater so I can patch the boot image and have everything prepared for rooting the phone when I unlock my bootloader...
But now I have a persistent notificaon "Updates are ready to install"...
Is there a way to remove that?
I don't want to have that all week...

Categories

Resources