If your Xiaomi smartphone (be it Redmi Note 12, POCO X5 or Mi 11) constantly sends out a message βThere was an error in the Google Play Services app,β it is not just annoying β it interferes with key functions from synchronizing contacts to updating apps. The error can appear both after the MIUI update, and spontaneously, for no apparent reason. 80% of the time the problem is associated with conflicts between Xiaomi firmware and Google services, but there are other pitfalls.
In this article, we will look at all possible causes of failure, from the banal lack of the Internet to deep systemic conflicts, and provide 7 proven ways to fix, including hidden settings MIUI and ADB commands. Particular attention will be paid to models with hybrid firmware (for example, Xiaomi for the global and Chinese markets), where the error occurs most often. If you have already tried to restart your phone or clean the cache, this is only the tip of the iceberg.
Why Google Play Services Error on Xiaomi
Google Play is the system app that runs all of Googleβs services, from Play Market to Google Maps and notifications, and on Xiaomi, it often conflicts with the MIUI shell for the following reasons:
- π Version incompatibility: Update MIUI without syncing with Google Play Services (for example, after manual update via Recovery).
- π± Hybrid firmware: On devices with the Chinese version MIUI, where Google services are installed separately (e.g. on Redmi) K50 Gaming).
- ποΈ Damaged cache: System files com.google.android.gms or com.google.android.gsf are damaged due to incorrect shutdown or virus.
- π« Blocking background activity: MIUI Aggressively optimizes power consumption and can kill Google services.
- π Regional restrictions: On some models (e.g, POCO M4 Google services are unstable due to geoblocking.
Interesting fact: on the forums Xiaomi users note that the error often appears on devices with less than 4 GB of RAM β the system can not cope with the background load from Google services.
β οΈ Note: If an error occurs after the update MIUI through OTA, Donβt rush to reset your settings. First check the version of Google Play Services in Settings β Annexes β Application management β Google Play Services: If the version number ends -minAPI28 or similar is a sign of an unofficial build that requires manual reinstallation.
Method 1: Reboot and check the Internet (basic steps)
Start with the basics β often the error disappears after simple actions:
- Reboot your smartphone with a long press of the power button, which clears the RAM and restarts the system processes.
- Check your Internet connection: Open your browser and try to load a page (e.g., google.com). If you use mobile data, turn on Flight Mode for 30 seconds, then turn off. For Wi-Fi, check if the router blocks access to Google servers (sometimes changing the DNS to 8.8.8.8) helps.
Update date and time
- Go to Settings β Additional β Date and time.
- Turn off Autodetermination, set the current date manually, then turn on Automotive again.
Once the data is cleared, Google Play Services will automatically update to the latest version when you next connect to the Internet, and if the error persists, check if MIUI is blocking the background activity of the services:
- In the same Google Play Services menu, go to the Battery.
- Select No Limits (or No Limits in newer versions of MIUI).
- Turn on Auto Start and Background Activity.
βοΈ Checking after cleaning the cache
Method 3: Update Google Play Services manually
If the automatic update doesnβt work, install the latest version of Google Play Services yourself, which is true for Chinese-based devices or after resetting.
Download the current one. APK-file:
- Go to the APKMirror website (a proven resource for secure APKs).
- In search, type in Google Play Services and select the latest stable version (note bit size: arm64 for most Xiaomi, x86 for emulators).
- Download the file and install it by allowing installation from unknown sources (Settings β Applications β Special Rights β Install Unknown Applications).
Important: after installing the APK, do not run Google Play Services manually - wait for automatic sync (may take up to 10 minutes). If the error "Application not installed", then you downloaded the version not for your CPU architecture.
| Xiaomi model | Architecture | Recommended version of Google Play Services |
|---|---|---|
| Redmi Note 12 Pro+ | arm64-v8a | 23.30.14 or later |
| POCO X5 Pro | arm64-v8a | 23.20.13 (stable) |
| Xiaomi 13 Ultra | arm64-v8a | 23.40.15 (with Android 13 support) |
| Redmi 10A | armeabi-v7a | 22.18.16 (for weak devices) |
β οΈ Attention: On some firmware MIUI (For example, Xiaomi.EU) manual installation of Google Play Services can lead to a cyclical reboot. APK phone starts to βhangβ on the logo β reset via Fastboot (instructions in Method 6).
Method 4: Resetting your Google account settings
If the error is due to account sync, login reset will help, which does not delete data from the device, but requires you to log in again to Google:
- Open Settings β Accounts and Sync β Google.
- Tap your account, then click Delete account (donβt worry β the data on Google servers will be saved).
- Reboot the phone.
- Go back to Settings β Accounts and add a Google account again.
After re-authorization, check the services:
- Open the Play Market and try to update any app.
- Start Google Maps β if location is working, the problem is solved.
π‘
If after deleting your account, your phone asks for a password from the previous owner (on used devices), complete a reset via Settings β About Phone β Reset. This is the only way to unlock FRP (Factory Reset Protection) without a password.
Method 5: Correction through ADB (for advanced users)
If previous methods failed, the reason could be a systemic conflict between MIUI and Google, in which case the ADB team will help, which will reset the settings of services to factory:
You'll need:
- Computer with installed Xiaomi drivers (download from the official website).
- USB Debugging enabled (Settings β About Phone β MIUI version β tap 7 times, then return to Additional β For Developers).
- The ADB (Platform Tools) utility.
Instructions:
- Connect your phone to your PC through USB-cable (original!).
- Open the command prompt (Win + R β enter cmd) and go to the folder with ADB:
cd C:\platform-tools- Enter a command to check the connection:
adb devicesIf the device is displayed, reset Google services:
adb shell pm clear com.google.android.gms
adb shell pm clear com.google.android.gsf- Reboot the phone:
adb rebootAfter restarting, wait for automatic synchronization (it can take up to 5 minutes), which works in 90% of cases when standard methods are powerless.
What if the ADB canβt see the device?
Method 6: Complete resetting of settings (last resort)
If none of the methods work, you'll have to reset hard, and that'll delete all the data from the device, so first you have to:
- π± Make a backup copy through Settings β The phone. β Backup or Mi Cloud Backup.
- π Remember the password from your Mi Account (required to unlock after resetting).
- π Save the list of installed apps (available through Play Market) β Application management).
Resetting instructions:
- Open Settings β About the phone β Reset settings.
- Choose to Erase All Data (not Settings Reset is another item!).
- Confirm the action and wait for the reboot (it will take 5-10 minutes).
After discharge:
- At the setup stage, skip the recovery from the backup (check Google services first).
- Donβt install apps right away β wait for full sync with Google.
β οΈ Note: Some Xiaomi models (e.g. Redmi) 9A) After the reset, the section may disappear IMEI. To avoid this, check before resetting. IMEI use the code *#06# and save it if you reset it. IMEI became NULL, Restore it via the Mi Flash Tool (instructions are available on the forum) 4PDA).
π‘
Resetting is a last resort, and 70% of the time, the error can be fixed without data loss (see Methods 1-5).
Method 7: Install custom firmware (for enthusiasts)
If the bug appears on Chinese firmware or after a failed update, the solution is to reflash the phone to the global or custom version of MIUI. This method is only suitable for advanced users!
Recommended firmware for Xiaomi:
- π Official Global: Download from Xiaomi (choose Global Stable).
- π οΈ Xiaomi.EU: Unofficial firmware with advanced settings (supports Google Services out of the box).
- π§ Pixel Experience: Android One-based firmware for maximum compatibility with Google services.
Instructions for firmware through Fastboot:
- Download the Mi Flash Tool and firmware for your model.
- Unclose the firmware in a folder without Cyrillic characters.
- Turn off the phone and press Volume Down + Power to log into the Fastboot.
- Connect your phone to your PC and start the Mi Flash Tool.
- Select a firmware folder and click Flash (choose Clean All for full cleaning).
After the firmware:
- The first start can take up to 15 minutes β do not interrupt the process.
- Do not restore data from backup immediately β check Google Services first.
Warning: Firmware via Fastboot resets DRM-Keys that may stop Widevine from working L1 (Full. HD Netflix) and Google Pay. Recovery will require a patch DRM Fix (look on 4PDA).
Prevention: How to avoid mistakes in the future
To prevent the Google Play Services error from reappearing, follow these rules:
- π Update. MIUI Only through official channels (Settings) β The phone. β System Update: Avoid manual firmware through Recovery if you are not sure of its origin.
- π΅ Do not block background activity for Google Play Services and Google Play Market in battery settings.
- π‘οΈ Use reliable sources for APK: Download apps only from Play Market or proven resources (APKMirror).
- π Avoid. VPN Proxies when updating Google services β this can cause file damage.
- π Keep an eye on the free space: The system partition must have at least 1 GB of free space (checked in Settings). β Warehouse).
If you often encounter system bugs, consider installing a custom core (like FrancoKernel) or switching to Xiaomi.EU firmware, where conflicts with Google are minimized.