Skip to content

[com.tencent.ig] Huawei: Google sign-in fails with SERVICE_INVALID (9), please add PUBG MOBILE to signature_want_fake #3965

Open

Description

@ahmedmas3211-collab

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.

The same app is reported in #2384.

To Reproduce
Steps to reproduce the behavior:

  1. Install microG Services 0.3.17.252432-hw and Companion 0.3.17.40226-hw, add a Google account
  2. Install PUBG MOBILE from AppGallery
  3. Open it and tap "Sign in with Google"
  4. 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:

         <item>com.frisby.frisby</item>
+        <item>com.tencent.ig</item>
     </string-array>

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions