If your Xiaomi smartphone suddenly starts to issue a message โGoogle Play services stoppedโ** or apps like Gmail, YouTube and the Play Market itself stopped working, the problem lies in the system failure of Google Mobile Services (GMS), a mistake typical of devices on MIUI, especially after updates, resets or install custom firmware.
Unlike pure Android devices, Xiaomi uses its own shell, which sometimes conflicts with Google services. For example, on Redmi Note 10/11, POCO X3/X4 or Mi 11 models, the error can manifest itself in various ways, from endless downloading applications to complete lack of access to a Google account. In this article, current ways of solving the problem, including hidden MIUI settings and manual restoration of GMS through ADB.
Before you start fixing, check: 1) Is there a stable internet connection (an error often occurs when you change Wi-Fi or if you have a fixed connection to the Internet? SIM-2) Does the Security block the MIUI background activity of Google services (see Battery Optimization section). 3 Are there any unofficial versions of applications installed (e.g., Google Play Services from third-party sources).
1. Reboot and check the baseline parameters
Start with the simplest: forced reboot. On Xiaomi, this is done by holding the power button for a long time (10-15 seconds) until the vibration.
- โณ Date and time: Incorrect settings can block sync with Google servers. โ Additionally. โ Date and time and activate automatically (network time).
- ๐ถ Flight mode: Turn it on for 30 seconds, then turn it off - it will reset network connections.
- ๐ Updates MIUI: Go to Settings. โ The phone. โ System update: Sometimes the error is fixed after the last firmware is installed.
If the problem persists, move on to the next step. Note: some models (such as the POCO F3 or Redmi K40) require manual reinstallation of Google services after the MIUI update, as discussed below.
2. Clearing the cache and data of Google Play Services
In 80% of cases, the error is due to a corrupted cache or conflict of versions of Google Play Services.
- Open Settings โ Applications โ Application Management.
- Search for Google Play Services (not to be confused with Play Market!).
- Click Warehouse โ Clear the cache, then Clear the data.
- Repeat the steps for the Google Play Store and Google Services Framework apps.
Important: After the data is cleared, you may need to re-enter your Google account. If the error persists after this procedure, try removing updates for Google Play Services (button) โฎ โ Remove updates).
Backup of important data
Close all background applications
Connect to a stable Wi-Fi
Record the login/password from the Google account-->
โ ๏ธ Attention: On some firmware MIUI (for example, MIUI 13/14 For global version, there may be no Remove Updates button, in which case use the rollback method via ADB (see section 5).
3. Verification of permits and battery optimization
MIUI aggressively optimizes the background of apps, which often leads to Google Play Services crashes.
- ๐ Permissions: Go to Settings โ Annexes โ Google Play Services โ Permissions: Activate all permissions, including Phone, Contacts and Location.
- ๐ Battery Optimization: Go to Settings โ Battery โ Battery Optimization.Look for Google Play Services and select Unlimited.
- ๐ก๏ธ Autostart: In Settings โ Annexes โ Google Play Services โ Autostart, turn on the option.
On models with MIUI 12.5+ (e.g. Xiaomi 12 Pro), you may also need to turn off the battery settings. If you do this, move on to the next method.
๐ก
After changing the permissions, restart the device - this will speed up the application of the settings.
4. Install/update Google Play Services manually
If automatic updates donโt work, install the latest version of Google Play Services manually:
- Download the current one. APK-file from an official source (e.g. APKMirror) Choose the version for your processor architecture: arm64-v8a โ For most modern Xiaomi (e.g. Snapdragon) 870/888). armeabi-v7a โ For older models (e.g. Redmi) 5/6).
MIUI conductor
Reset the device.
For models with MIUI Global Stable (e.g. Redmi Note 11 Pro+), additional components may be required:
| Component | Appointment | Download link |
|---|---|---|
| Google Play Services | The main package for the operation of services | APKMirror |
| Google Play Store | App store | APKMirror |
| Google Services Framework | Synchronization of the account | APKMirror |
| Google Account Manager | Account management | APKMirror |
Note: Install versions that match your firmware, for example, Google Play Services 23.18+ will work for MIUI 14, and 22.30 for MIUI 12.
๐ก
Installing an incompatible version of Google Play Services can lead to a cycle of errors. Always check for compatibility with your firmware.
5. GMS recovery via ADB (for advanced)
If standard methods do not help, use the rollback version through ADB. This method works even on locked devices (without unlocking the bootloader).
You'll need:
- ๐ฅ๏ธ Computer with installed ADB and Fastboot (download here).
- ๐ฑ Included Debugging by USB on the phone (Settings) โ The phone. โ Version. MIUI โ 7 times to activate the developer mode, then to Settings โ Additionally. โ For developers to enable debugging).
- ๐ Cable USB Type-C (original or high-quality).
Follow the instructions in ADB:
adb shell pm clear com.google.android.gms
adb shell pm clear com.android.vending
adb shell pm uninstall -k --user 0 com.google.android.gms
adb shell pm install -r /path/to/Google_Play_Services.apkReplace. /path/to/Google_Play_Services.apk You can go to the actual path to the downloaded file.
โ ๏ธ Attention: On some firmware MIUI (China, for example. ROM) team ADB This will require unlocking the bootloader and installing Global. ROM.
What if the ADB canโt see the device?
6. Resetting settings or flashing
If none of the methods worked, radical measures remain: resetting to factory settings or flashing.
Reset via menu:
- Create a backup of data (Settings โ About Phone โ Backup).
- Go to Settings โ Additional โ Recovery and Reset โ Resetting.
- Choose to erase all data and confirm.
Fastboot Flashing (for experienced users):
- Download the official firmware for your model from the Xiaomi website.
- Unpack the archive and launch the script flash_all.bat (for Windows or flash_all.sh (for Linux/Mac).
- Connect your phone in Fastboot mode (hold Power + Volume down when turned on).
Important: After resetting or flashing, don't restore data from the backup, it can return the error. Install the applications again.
7. Alternative solutions for specific models
Some Xiaomi devices have unique issues with Google Play Services:
- ๐ฑ POCO F3/Redmi K40: Often required to disable MIUI Optimization through ADB: adb shell pm disable-user --user 0 com.miui.analytics adb shell pm disable-user --user 0 com.xiaomi.ab
For devices with China ROM (for example, purchased in China), you may need to completely replace the firmware with Global through the Mi Flash Tool.