0

I'm facing a tricky scenario, sometime back I decided to discontinue using Google Play Services in favour of an open source alternative - microG due to constant problems and crashing of several Google applications on my device.

As Google launched Google Play Protect1 feature (on all Android devices running Google Play Services 11 or later), this seems to be missing or at least I'm not sure how to use it (i.e enable or disable it) with microG.

With a device running Google Play Services, one can easily control it by navigating to: Settings ➡ Google ➡ Security ➡ Google Play Protect

I wish to be able to control this feature on microG so I can control/disable constant false positive notifications about my installed applications being harmful, and also to have my applications regularly scanned.

Is there way to control "Play Protect" on a device running microG, or at least to integrate via another means, perhaps an Xposed module?


1

Google Play Protect is a feature that is, essentially, an evolution of the company’s “Verify Apps” service that was rolled out to Android many years ago. The feature, which will be enabled by default on all Android devices, is meant to be a real-time malware scanner that will scan every installed or about-to-be installed app and inform users in case there’s something amiss.

  • Not yet built into microG, maybe? Also, there isn't much control available with Play Protect, at least not on my Pixel...its pretty much an on or off thing. – user202027 Nov 29 '17 at 21:26
  • Thanks for your response @SiXandSeven8ths, I wanted to turn it on/off at will with microG – xavier_fakerat Nov 30 '17 at 3:21
2

Google Play Protect can be disabled by editing these XML files:

/data/system/users/0/settings_secure.xml

package_verifier_user_consent=-1

/data/system/users/0/settings_global.xml

package_verifier_enable=0
upload_apk_enable=0

Edit

On older Android, it is stored in a database located at: /data/data/com.android.providers.settings/databases/settings.db. You need to use some database editor to change that parameter

  • Thanks but the target device is running android 4.3, and that path does not exist on this android version, but +1 nevertheless for looking into this! – xavier_fakerat Jun 6 '18 at 16:49
  • On older Android, it is stored in a database located at: /data/data/com.android.providers.settings/databases/settings.db. You need to use some database editor to change that parameter. – Tim Josten Jun 7 '18 at 2:02
  • @TimJosten Please edit your answer to include that information. Comments are temporary and not searchable, so your useful addition is at risk of being lost! – Dan Hulme Jun 20 '18 at 10:30
  • @TimJosten, I have intergrated your last comment into your answer for the same reason suggested by DanHulme – xavier_fakerat Jun 26 '18 at 14:29

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.