This post was summarised using AI
# Fixing Google verification prompts on HONOR Chinese ROM using ADB
I recently resolved an issue with Google verification prompts not arriving on my HONOR Magic 9 Pro Max (Chinese ROM, MagicOS 11).
Google Play Services wasn't available in HONOR's App launch settings, meaning I couldn't manually enable Auto-launch or Secondary launch.
Using ADB, I ensured Google Play Services had the necessary standard Android background and notification permissions.
**Background permissions:**
```
adb shell cmd appops set com.google.android.gms RUN_IN_BACKGROUND allow
adb shell cmd appops set com.google.android.gms RUN_ANY_IN_BACKGROUND allow
adb shell cmd appops set com.google.android.gms START_FOREGROUND allow
adb shell cmd appops set com.google.android.gms WAKE_LOCK allow
```
**Battery optimisation exemption:**
```
adb shell dumpsys deviceidle whitelist +com.google.android.gms
```
**Notification permission:**
```
adb shell pm grant com.google.android.gms android.permission.POST_NOTIFICATIONS
```
**Google device check-in:**
```
adb shell am broadcast -a android.server.checkin.CHECKIN
```
Then enter the following code in the stock phone dialler:
`*#*#2432546#*#*`
Wait for the "Check-in succeeded" notification.
After performing the check-in, I received a Google security notification about a new sign-in on Windows, followed by a successful Google verification prompt.
**Conclusion**
Google verification prompts are now working on my device without root, a factory reset, removing my Google account or disabling any HONOR system services.
I cannot guarantee which individual change resolved the issue, so I recommend trying the dialler check-in code first before applying the ADB changes.
You shouldn't need to repeatedly perform manual check-ins, as Google Play Services normally handles these automatically.
Hopefully this saves other HONOR Chinese ROM users hours of troubleshooting.