Originally Posted by Cpasjuste
You can look at sources on github I think it should be easy to see how its done even for a non programmer. I was focused on background updates so I may have missed something. Is the update downloaded and visible with the download manager ?
I was checking if it would update via Settings>Device>System Updates>Check Now. It started downloading. Ah I see, your mod blocks background updates, unless you check for it.
I'm not sure if you know how my ota disable works but take a look.
pm disable "com.amazon.dcp/.ota.OTAUpdateMessageHandler"
pm disable "com.amazon.dcp/.ota.InventoryUploadService"
pm disable "com.amazon.dcp/.ota.UpdatesLookupService"
pm disable "com.amazon.dcp/.ota.OTAService"
pm disable "com.amazon.dcp/.ota.AppStateMonitorService"
pm disable "com.amazon.dcp/.ota.CheckForOTAUpdatesService"
pm disable "com.amazon.dcp/.ota.ViewUpdateActivity"
pm disable "com.amazon.dcp/.ota.OTAStatusActivity"
pm disable "com.amazon.dcp/.ota.ResetOTAMessageHandler"
pm disable "com.amazon.dcp/.ota.InventoryUploadService$InventoryUploadReceiver"
pm disable "com.amazon.dcp/.ota.UpdatesLookupService$MountStatusChangedReceiver"
pm disable "com.amazon.dcp/.ota.OTAService$OTAWakeupReceiver"
pm disable "com.amazon.dcp/.ota.OTAService$OTADedupeReceiver"
pm disable "com.amazon.dcp/.ota.OTAService$OTAInstallNowReceiver"
If you check in the settings menu for updates it reports 'Last update failed'.
Caution people that your block stops background ota checks.
Also it would be cool if your could toggle ota block on and off in Xposed.
Just my 2 cents.
Others please test but be careful doing so, we may have a unlock soon and you sure don't want to miss out on that.
Best of luck mate.