You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[com.tencent.ig] Huawei: Google sign-in fails with SERVICE_INVALID (9), please add PUBG MOBILE to signature_want_fake #3965
Affected app
Name: PUBG MOBILE
Package id: com.tencent.ig
Describe the bug
On a Huawei phone with microG -hw, tapping "Sign in with Google" in PUBG MOBILE 4.6.0 (versionCode 21525, in-game version 4.6.1.21610, installed from AppGallery) shows "Google Play Services version error. Please go to your app store to update Google Play Services." with error code [9999]-[9]-Android-Google. 9 is ConnectionResult.SERVICE_INVALID. No microG screen opens.
dumpsys package queries lists com.google.android.gms and com.android.vending as forceQueryable, so the game can see both packages; the remaining cause of SERVICE_INVALID is the signature check. com.tencent.ig is not in signature_want_fake, so SignatureService.querySignature returns the system's suggested value, which for this app is evidently the real signature. Other apps that are not in the lists either (installed with adb on the same phone) are shown Google's signature and pass the same check with play-services-auth 21.6.0.
Install microG Services 0.3.17.252432-hw and Companion 0.3.17.40226-hw, add a Google account
Install PUBG MOBILE from AppGallery
Open it and tap "Sign in with Google"
See "Google Play Services version error", code [9999]-[9]-Android-Google
Expected behavior
The Google account selection appears.
Screenshots
The error text is quoted above.
System
Android Version: 16 (API 36)
Custom ROM: stock EMUI 16.0.0.136 (C185E3R3P1) on HUAWEI nova 16s Pro (CRS-LX9)
microG
microG Core version: 0.3.17.252432-hw (Companion 0.3.17.40226-hw)
microG Self-Check results: system spoofs signature, microG Services and Companion installed with the correct signature are all ticked; microG Services Framework is not installed
Additional context
Suggested change in fake-signature/src/main/res/values/arrays.xml:
I could not check whether sign-in then completes (Play Games, game server): a build with this change has to be signed with the microG release key to be honoured on Huawei.
Activity