[Huawei] Notein Google Sign-In fails with SERVICE_INVALID despite passing signature spoofing checks
Device and environment
- Device: Huawei MatePad 11.5 S (TGR-W09)
- OS: HarmonyOS 4.2.0.215 (C432E6R2P1)
- microG Services: 0.3.17.252432-hw (252432034)
- microG Companion: 0.3.17.40226-hw (84022634)
- Affected app: Notein (
com.orion.notein.global)
Description
Notein launches natively, but Google Sign-In fails with:
Couldn't get your Google account on this device. Try again, or use your email instead.
Both microG components are Huawei -hw builds with com.huawei.signature.diff.SignatureService present.
The Google account is successfully added to microG, and the three signature spoofing checks are passing.
Relevant logcat output
W GooglePlayServicesUtil: com.orion.notein.global requires Google Play services, but their signature is invalid. W PlayServicesImpl: Connection with Google Play Services was not successful. ConnectionResult{statusCode=SERVICE_INVALID}
Additional observations
- Removing and re-adding the Google account did not help.
- Native Notein continues to fail.
- The same Notein version works with Google Sign-In and Google Drive synchronization inside GBox.
com.orion.notein.globalis not currently listed insignature_want_fake.
Request
Could you investigate whether adding com.orion.notein.global to signature_want_fake would resolve the problem on Huawei devices?
Alternatively, could this be caused by HarmonyOS not fully supporting signature spoofing through PackageInfo.signingInfo?
Please advise whether a fix is possible in the official Huawei -hw build or requires a firmware-side change.
Device data point — HUAWEI P60 Pro, HarmonyOS 4.2.0.225, -hw 0.3.17
Model MNA-AL00, ro.build.display.id = MNA-AL00 4.2.0.225(C00E183R2P7), ro.build.version.emui = EmotionUI_14.2.0. Non-root, adb sideload.
Installed from the official release assets: com.google.android.gms-252432034-hw.apk + com.android.vending-84022634-hw.apk (both verified against the API digest, the .asc detached signature, and the in-APK signing certificate C=DE, O=NOGAPPS Project).
Self-check in microG Settings shows all three rows as enabled: 向 Google 注册设备 = 开 · Google 云端消息推送 = 开(0 个应用已注册) · 设备认证 = 开. Device check-in completed and produced its own Android ID (differs from settings secure android_id, as expected). GServicesProvider is correctly owned by com.google.android.gms — worth noting because content query --uri content://com.google.android.gsf.gservices returns an empty cursor on this build regardless, since the provider needs queryArgs; that empty result is not evidence of a missing check-in.
One pitfall worth documenting, because this device arrived in a broken-looking state: a previous install used org.microg.gms as the package name (signed with the genuine key). It registers a com.google authenticator, so the account entry point appears to work, but GMS clients resolve the service by com.google.android.gms and bind to nothing. Replacing it with the properly named -hw build is what made the stack coherent.
What is not covered here, so nobody reads too much into the green checks above: no Google account could be added, because Google refuses account creation inside an embedded WebView (page text: 抱歉,我们无法创建您的 Google 账号). Signup has to move to a standalone browser, so I have not exercised any app-level SERVICE_INVALID path on this device yet, and cloud messaging is still at 0 registered apps — FCM delivery is not end-to-end verified.
Also flagging for #3927: this device reports EmotionUI_14.2.0 in ro.build.version.emui while running HarmonyOS 4.2, so I can't yet tell from properties alone which row of your EMUI-14.2-vs-HarmonyOS-4.2 table it belongs to. Passkey behaviour is untested pending an account.