19

How can I stop Google play from automatically updating to the latest version? I tried deleting my hosts file but it's not being deleted. My phone is rooted.

1
  • @xavier_fakerat if Play Store is installed as user app or is updated at least once, try making its apk file immutable. If installd fails deleting existing file/directory, may be new one is not created. Or replace its privileged android.permission.INSTALL_PACKAGES with REQUEST_INSTALL_PACKAGES (though doesn't make much sense). Or disable SafeSelfUpdateService and EmergencySelfUpdateService components of Play Store app (though app it self can enable them any time). Never tried any of these. Also may cause app crash. Jul 6 '20 at 10:38
6

In order to disable Google Play Store:

  1. You must have version 4.8.2 installed (just replace it in /system/app with the new com.android.vending.apk).
  2. Download a root service from the store called Disable service (again make sure root is installed and the app is given root permission).
  3. Now, in the disable service app, navigate to the system app tab and find Google Play Store. Tap on it and you will get a list of services.
  4. Scroll to the bottom and uncheck Check Wi-Fi and Update service.
  5. You will see a Please wait notification, and at the bottom BusyBox should appear, notifying you that the app was given root access.
  6. Exit the app and voila! Google Play Store will never update itself or Google Play Services ever again (unless you install a new version, in which case you would need to repeat the process).
1
  • 2
    Where can I find version 4.8.2? Oct 15 '14 at 20:07
5

First, you must have version 4.8.2 installed (just replace it in /system/app with the new com.android.vending.apk).

Instructions (from here):

  1. Root, install SuperSU.
  2. Install BusyBox, then terminal emulator.
  3. Stop any Internet access on your Android, or it will silently auto-update Store, making your hard typing work useless.
  4. open Settings -> App manager and find Play Store. tap on it. it will open properties window. there will be button Uninstall Updates. Tap on it, click Yes on Replace with factory version? question.
  5. Because there is no Internet connection, this is the moment the Play Store couldn't be updated. Let's use it.
  6. Open terminal emulator and type commands one by one:

su

(at this time SuperSU app will ask you for granting root access for terminal emulator app, click Grant access).

touch /data/app/com.android.vending-1.apk

chattr +i /data/app/com.android.vending-1.apk

Enjoy! Regardless of Internet connection, Play Store is now has version you need, not Google. This might work for Play Store 4.8 and up, but I didn't test it.

2
  • +1 The answer that actually works. Note that you may have to replace -1 with -2 if that already exists. (But don't go to -3!)
    – user541686
    Aug 13 '16 at 18:44
  • 2
    This will not solve the problem, because it will keep downloading the whole thing into a temp folder again and again and again...
    – Emil
    Sep 2 '17 at 17:49
2

A modified version of Stephen Schrauger's steps, based on the video here, since chmod +i returned an error on my phone. Tested on Android ICS (Cyanogenmod 9, Play Store 3.*).

Assuming a rooted phone:

  1. Stop whatever Internet access on your Android or it will silently auto-update Play Store, making your hard typing work useless.
  2. Open Settings → App manager and find Play Store. Tap on it. Tt will open properties window.
  3. There will be button Uninstall Updates. Tap on it, click yes on "replace with factory version?" question.

Because there is no Internet connection, this is the moment the Play Store can't be updated. Let's use it.

Open Terminal Emulator and type the commands one by one:

su

At this time supersu app will ask you for granting root access for Terminal Emulator app, click grant access.

mkdir /data/app/com.android.vending-1.apk

Instead of creating a file and preventing modification with permissions it just creates a directory, which can't be overwritten by the updater.

Now you can re-enable the internet connection and it will not update unless the directory is deleted.

0
2

The ultimate guide to stop play store auto updates on android 10 & Lucky patcher

My device: Xiaomi S2 Android 10 EU ported MIUI12.0.8

This guide assumes you have a custom recovery & magisk installed. If not then do it first. We're gonna go in 4 step process:

1)Selinux permissive:

First go to magisk manager & flash Selinux module . Follow the flashing instructions & set Selinux to permissive .

2)Uninstall the original play store: Go to root >data>app>com.android.vending folder (your device might have some random string name , so find the folder where play store is it might be under the name base.apk/vending.apk/market.apk/ play store.apk) delete the folder using sd maid app.

[Note: I tried bunch of other file managers like fx file manager, xplorer, root browser but for some reason they did not work. ]

3)Delete the basic version of play store from system that automatically reinstalls: Using sd maid go to system> product > priv-app> Phonesky this is the basic version. Delete it.

[Note: If for some reason you are having trouble with step 2 & 3 then go to your custom recovery mount system partition & follow these steps from custom recovery.]

4)Now if you have a modded apk from Lucky patcher then place it in the Phonesky folder. If not then install the modded play store from Lucky patcher app. Take a backup of the modded play store using any backup app. Then place it in the Phonesky folder. Go to app manager from settings see if it has installed as system app. If you can Uninstall from settings then do it. It will automatically reinstall the modded version . [Note: If play store still auto updates then repeat the process & then set the permission of phonesky folder to r--r--r (444)

Flash Selinux magisk module & Set Selinux to Enforcing . Play store will never auto update itself again & lucky patcher will start working on android 10. This trick can also be extended to android 9 & 11

Enjoy.

0

In the system folder there should be MarketUpdater.apk. If you delete that file, Play Store won't update itself anymore. Nothing else should be affected though.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.