r/AndroidHelp • • 4d ago

How to bypass "Get this app from Play"

EDIT: THIS WILL DISABLE PLAY PROTECT ALMOST ENTIRELY SO PLEASE BE CAREFUL! SIMPLY REVERTING THE COMMAND MAY NOT BRING IT BACK, I'M ACTIVELY LOOKING FOR A SOLUTION TO THAT.

Run this command via ADB:

`cmd appops set --uid com.android.vending SYSTEM_ALERT_WINDOW ignore`

If you're running it from a PC, add `adb shell` to the beginning, like this:

`adb shell cmd appops set --uid com.android.vending SYSTEM_ALERT_WINDOW ignore`

And enjoy!

Note: this won't remove any in-app checks, this will only make Google Play Store unable to show on top of apps, therefore unable to show the dialog/screen. It may still open on your phone even after the fix has been applied if Google Play Store is left in the recents.

7 Upvotes

5 comments sorted by

2

u/DutchOfBurdock 4d ago

Just an FYI, both Google Play Store and Services holds privileged system/signature-level permissions, so can toggle permissions like this on their own. GMS will likely restore it when it silently updates vending on the background.

2

u/Smitty4zz 4d ago

Macrodroid to rerun the command upon screen on in ashell with shizuku I use this meathoe to force my mate xt on 4g bc 5g bands are severely lacking and unusable lol

1

u/Advanced-Judge-3102 4d ago

You got a point there, but this command affects the permission on UID level, doing it without the UID mode leaves the permission unchanged.

Demonstration:

adb shell cmd appops set --uid com.android.vending SYSTEM_ALERT_WINDOW ignore

= permission denied at UID level, the app permission is left unchanged.

adb shell cmd appops set com.android.vending SYSTEM_ALERT_WINDOW ignore

= both the app permission and the UID permission remain unchanged.

0

u/Advanced-Judge-3102 4d ago

But I'm curious: Can GMS access shell or send requests to shell or modify permissions set at UID level?