WARNING: It's fine to keep cache folder locked up, but if you happen to restart your phone while those data folders are locked, your phone will not boot.
And you'll need to go manually and change it from TWRP shell. I understand this solution is not for everyone, but if your primary concern is stability and to keep data-usage under control, this works Hopefully someone will come up with a better answer than this. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. Ask Question. Asked 4 years, 3 months ago. Active 3 years, 5 months ago. Viewed k times. Background " Google Play services for Instant Apps " has installed itself onto my device without my permission. That is, most likely it is "Google Play services" that's actually doing this in the background There are no confirmations and no notifications of anything downloading, updating, or installing.
My question is: how do I completely disable unauthorized updates of an Android device, yet preserving the following functionality: Contacts Sync Google Play Store Google Maps App In these screenshots, you can see that all settings responsible for automatic updates are switched off.
The download is still requested and subsequently, installed. Seems any way of blocking installation will make it download again and again until your data is used up. So most likely best approach would be to prevent the downloading in the first place. I wasn't able to install Download Manager as a user app, which seems the part that needs to be controlled.
Update 2: Downgrading to the previous version of GP Services v Update 3: So now Google is updating itself on regular basis pretty much whenever it feels like it. Improve this question. Community Bot 1. Emil Emil 2 2 gold badges 6 6 silver badges 18 18 bronze badges. The latter is a recent development and is behaving like a malware although it is official Google app. AFWall it broke in such a way that it gives me "Failed to apply rules" error, intermittently.
Izzy thanks for the edits, makes it clearer. Glad to read, Emil! And yes, test it a little more. Here is the link to related discussion on Google Play forum. It's also installation of unwanted software that I'm trying to prevent. Also, I download apps and updates over the phone's internet as I presently don't have access to WiFi. And another thing is, this updater "listens" for state changes so if you switch to WiFi it prioritizes Google things and cues them first immediately.
Show 21 more comments. Active Oldest Votes. Original answer follows below: In the best case scenario this should be enough to block Instant Apps from auto-updating. Run on device via a terminal connectbot, juicessh, etc. To revert the pm hide command above use: pm unhide com. Improve this answer.
Well, that would target that particular app, but I'd like to block all unauthorized updates or installation of new apps. Also, this sort of "system-level" installation and download happens hidden from user. The way it works is, it checks version and if it needs to be upgraded it downloads a file behind the scenes. Once the download is complete it attempts to do install and if installation fails it will try again at another time.
The temp files are periodically deleted, so if it can't find it If you monitor temp folder you can catch it doing this over and over Emil: isn't com. Or is it some specific service from google play services? If it is the second then I guess the recipe is not complete.
I've also denied the package permission to run in the background and start at boot. I couldn't pinpoint exactly what does the monitoring. On Android there's a system of setting up listeners and there are couple of apps that claim to adjust those but they proved to be ineffective. Basically everything Google considers as core, can go around the settings for ordinary apps — Emil.
Add a comment. Josue Rivera Josue Rivera 5 5 bronze badges. Let us continue this discussion in chat. Emil I've just cleaned up all comments except the link to your chat where the comments are still available. Further, I cannot agree with you that this is not an answer: in your question you wrote "there seems to be no easy way to permanently disable" and "My question is: how do I disable this functionality entirely" — which is what Josue presents in this post: "To disable go to Settings, Google, Instant Apps and switch the toggle switch.
Anyway I'm done trying to explain this. He asked a question, I basically said no, explained why and gave information for anyone else that might find themselves in similar situations.
Question was changed, I edited to express that my answer applied to original question. If I misunderstand how rules work here delete my answer and let me know how I can do better. JosueRivera leave that be if you are satisfied you are not at wrong. If the answer is wrong folks can downvote it and move on. It auto-updates even when set to off.
I shut it off over a month ago and it auto-updated again today. Show 3 more comments. Find centralized, trusted content and collaborate around the technologies you use most.
Connect and share knowledge within a single location that is structured and easy to search. I want to implement it in my app just for a while to know which approach is better, AMP or an Instant App. It seems to be just another release channel. Just like the production, beta and alpha channels, you have the same for instant apps. So once you decide you no longer want those, just remove the instant releases in your developer console. Enter a number between 0. Enter 0. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Ask Question. Asked 4 years, 4 months ago. Active 4 years, 4 months ago. Viewed 2k times. There is a way to disable an Instant App as developer of an app? Improve this question. RockoDev RockoDev 7 7 silver badges 18 18 bronze badges.
0コメント