I want to prevent a specific app from being updated by Play Store and Package Installer, preferably by refusing updates. Whenever I want to update it, I am supposed to be required to revoke the prevention manually, or the app cannot be updated. It should be a system tweak or a change somewhere in /data.
Things I've thought:
- Tweak somewhere so the system reports the app to be infinitely new
- Make the app "invincible" and cannot be modified
It doesn't matter if the app can be removed by regular means. Any thoughts?
iattribute on an app's APK location, to no avail. This sounds like something that would be accomplishable by Xposed. – Grimoire Oct 03 '17 at 14:46chattr +idefinitely won't work. – iBug Oct 03 '17 at 14:49packages.xmlmumbo-jumbo can help, either. Only Xposed. – Grimoire Oct 03 '17 at 14:57versionCodeinside theAndroidManifest.xml. Generally, lower version will be prevented to overwrite higher version with error "failed to downgrade" (see https://stackoverflow.com/q/24547924) – Andrew T. Oct 04 '17 at 04:53