microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
7.63k stars 1.61k forks source link

Google Play Services Spoofing Failed #352

Closed ghost closed 7 years ago

ghost commented 7 years ago

leads to error "Push Notification Tester relies on Google Play services, which is not supported by your device. Contact the manufacturer for assistance" and leaves a red x instead of a green check-mark for "Play Services installed.

Without microG, my phone cannot register for push notifications nor does it recognize Play Services being installed; with microG it can register for push notifications but still doesn't recognize Play Services being installed. What is going on here?

iRave commented 7 years ago

Go into Settings->Apps->Gear(in top right corner)->App Permissions->Scroll down to signature spoofing->Click signature spoofing and apply it for FakeStore

The problem here is, that the FakeStore app does not request the signature spoofing permission by itself, therefore you have to grant it manually.

ghost commented 7 years ago

I did this and then it told me Play Services needed to be updated; so I redid the process in the instructions but this time with the latest release of Services Core (0.2.4-81-gb1e98ea), making sure to enable Google device registration and Google Cloud Messaging. Push Notification Tester says Play Services is installed now, but now it fails to "Register for Push Notifications".

ghost commented 7 years ago

I'll just open a new issue for this as it seems to be an unrelated problem. Thank you for your help @iRave.

derlaft commented 5 years ago

You can also just adb shell pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE (a simple solution for google lurkers with signature spoofing patches that do not allow poking this in GUI)