Google Play services on Xiaomi smartphones are the basis of most applications, but over time they start to take up a huge amount of memory, slow down the system and even cause errors. If your Redmi, POCO or Mi started to slow down, and in the memory settings you see that Google Play Services takes several gigabytes, itโs time to take action.
In this article, we will look at all the cleaning methods, from basic cache removal to deep cleaning of system data, including hidden files and settings. We will focus on the nuances of MIUI firmware, where standard Android methods often do not work, you will learn how to safely free up space without disrupting services, and what to do if errors occur after cleaning.
Important: The procedure is different for devices with Global ROM China ROM, and also for models with Google Mobile Services (GMS) And without them (for example, Xiaomi for the Russian market.
Why does Google Play Services take up so much space?
On Xiaomi smartphones, Google Play services can grow to 5-10 GB or more - this is not a mistake, but a feature of the system.
- ๐ฆ Application cache: temporary files to speed up work (maps, images, authorization data) accumulate for years if not cleaned.
- ๐ Updates in the background: MIUI Often blocks automatic cache cleaning, and Google services are updated unnoticed by the user.
- ๐๏ธ User data: search history, geolocation, synchronization settings โ all stored locally.
- ๐ค Synchronization errors: if the smartphone suddenly lost communication with Google servers, may remain "broken" files.
For example, on Xiaomi 12T Pro with MIUI 14, users often find that com.google.android.gms (the main service package) takes up to 7 GB โ and this despite the fact that the application itself weighs only ~200 MB.
โ ๏ธ Note: If you are using Xiaomi without GMS (For example, models for China with firmware China ROM), There is no Google service on the device at all. Cleaning up is pointless in this case - you need to install Google Installer first (but this is a topic for a separate article).
Preparation for cleaning: what to do before you start
Before you start cleaning, follow the mandatory steps to avoid data loss or failures:
- Sync your Google account: go to Settings โ Google Accounts โ Sync and make sure all data (contacts, calendar, photos) is uploaded to the cloud.
- Backup: Use the built-in MIUI (Settings โ About Phone โ Backup) or third-party utilities like Swift Backup.
- Check the MIUI version: some methods don't work on older firmware (e.g. MIUI 12 and below). Update the system in Settings โ About Phone โ System Update.
It is also worth considering that after cleaning up Google Play Services, some features may temporarily work incorrectly:
- ๐ Google Maps and Yandex.Maps will determine the location longer.
- ๐ฎ Google Play Games may require re-authorization.
- ๐ Notifications from Gmail and other services will be delayed.
Method 1: Clearing the cache through Android settings
The easiest and safest method is to remove the cache through the standard menu, which is suitable for most Xiaomi models (including the Redmi Note 11, POCO X5, Mi 11 and later) and does not require root rights.
Instructions:
- Open Settings โ Applications โ Application Management.
- In the search box, type Google Play Services (or Google Play Services in Russian).
- Slip on the app, then select Warehouse.
- Click Clear Cache (not to be confused with Clear Data!).
- Confirm the action.
Similarly, clean the cache for:
- ๐ฑ Google Play Market (com.android.vending)
- ๐ฎ Google Play Games (com.google.android.play.games)
- ๐บ๏ธ Google Maps (com.google.android.apps.maps)
Synchronized contacts and calendar|Backup of important data is made|All Google apps are closed|Connected to Wi-Fi (for re-synchronization)-->
Once cleaned, restart your smartphone. The system will automatically restore the files you need, but now they will be "clean." This method frees up between 500 MB and 2 GB of space, depending on the degree of contamination.
โ ๏ธ Note: If the Google Play Market stopped opening after cleaning the cache, check the date and time on the device. Incorrect settings may block access to Google services. โ Additionally. โ Date and time.
Method 2: Deep data cleanup (reset to factory service settings)
If simple cache cleaning didnโt work, and Google Play Services still takes a few gigabytes, youโll have to resort to a data reset, a more radical method that removes all settings, histories, and temporary files, returning the app to a โcleanโ state.
How to do this:
- Go to Settings โ Applications โ Application Management โ Google Play Services.
- Select Warehouse โ Clear Data (or Delete Data on Some Firmware).
- Confirm the action. The system will warn you that it could affect other applications, you can agree.
- Repeat the steps for Google Play Market and Google Services Framework (com.google.android.gsf).
After discharge:
- ๐ Reboot your smartphone.
- ๐ฅ Wait 5-10 minutes for services to sync with your Google account.
- ๐ You may need to re-enter passwords in some apps (such as Gmail or YouTube).
| Annex | Clearing the cache | Data resetting | What's removed |
|---|---|---|---|
| Google Play Services | โ Safe. | โ ๏ธ Radically. | Cache cards, geolocation history, temporary authorization files |
| Google Play Market | โ Safe. | โ Not recommended | Cash of application covers, search history |
| Google Services Framework | โ Safe. | โ ๏ธ Only in case of synchronization errors | Account synchronization settings, access tokens |
On Xiaomi with MIUI 13 and later, a Google Play Services data reset can result in the error "Google Play Services is constantly stopping."
- Go to Settings โ Applications โ All applications.
- Find Google Play Services and select Disable (Do Not Delete!).
- Reboot the phone.
- Turn the services back on.
Method 3: Remove unnecessary Google Play Services updates
Google services are automatically updated through the Google Play Market, but sometimes these updates contain errors or take up too much space. On Xiaomi, you can manually roll back the service to the factory version and then update it again - this often solves brake problems.
Instructions:
- Open Settings โ Applications โ Google Play Services.
- Stick to three points (โฎ) in the upper right corner and select Remove Updates.
- Confirm the action. The service version will reset to the one that was when you bought the phone.
- Start Google Play Market and wait for the automatic update.
If the Remove Updates button is inactive (grey), it means:
- ๐ Your Xiaomi is worth China ROM without GMS โ remove.
- ๐ก๏ธ The firmware is modified (for example, customized) MIUI third-party).
- ๐ง Google Services are system-based and non-returnable (relevant to the POCO F3 and other models with pre-installed GMS).
๐ก
If notifications stop working after rolling back Google Play Services, check your battery settings: Go to Settings โ Battery โ Power Saving Mode and turn off optimization for Google services.
Method 4: Cleaning through ADB (for power users)
If standard methods didnโt work, and Google Play Services still takes up a huge amount of memory, you can use ADB (Android Debug Bridge), which requires connecting your smartphone to your computer, but allows you to delete hidden files that are not visible in the MIUI interface.
What you need:
- ๐ป Computer with installed ADB Tools.
- ๐ USB-cable (preferably original).
- ๐ง Included debugging by USB on Xiaomi (Settings) โ The phone. โ Version. MIUI โ Tap 7 times, then go back to Settings โ Additionally. โ For developers โ Debugging by USB).
Cleanup commands:
adb shell pm clear com.google.android.gms # Google Play Services reset
adb shell pm clear com.android.vending # Google Play Market reset
adb shell pm clear com.google.android.gsf # Reset Google Services Framework
adb shell pm clear com.google.android.gms.persistent # Delete persistent data (caution!)After the commands are executed:
- Disconnect the smartphone from the PC.
- Reboot it.
- Wait 10-15 minutes for the services to sync.
โ ๏ธ Note: pm clear com.google.android.gms.persistent deletes critical sync data. Use it only if other methods have failed and you are prepared for possible problems with your Google account (it may be necessary to re-enter passwords on all devices).
What if the ADB canโt see the device?
Method 5: Use of third-party utilities (with caution!)
There are apps in the Google Play Market that promise to magically clean up Google's services, but most of them are either useless or dangerous. We tested a few tools and highlighted only the ones we've tested:
| Annex | What cleanses | Risks. | Recommendation |
|---|---|---|---|
| Files by Google | Cash, temporary files, duplicates | Minimum | โ We can use it. |
| SD Maid | System garbage, app residues | Medium (requires root for deep cleaning) | โ ๏ธ Only for the experienced. |
| CCleaner | Cash, history, cookies | High (can delete important data) | โ Not recommended |
If you choose to use SD Maid or analogues:
- Download the application only from the official store.
- Donโt give him root rights if you donโt understand the consequences.
- In the cleaning settings, disable items related to Google Play Services โ let the utility work only with the cache of other applications.
Alternatively, the built-in MIUI utility Optimize (a broomstick icon on the desktop) securely deletes unnecessary files without affecting critical Google data.
What should I do if there are errors after cleaning?
Sometimes, after a Google Play Services reset, Xiaomi users face problems:
- ๐ซ "Google Play Services is constantly โstoppingโ โ appears every time you run an app.
- ๐ "No connection to Google, despite the internet.
- ๐ Infinite synchronization โ the download animation spins, but the process is not completed.
Decisions:
- For the โconstantly stopsโ error: Settings โ Apps โ Google Play Services โ Storage โ Clear cache and data Settings โ Google Accounts โ Delete account and add again
- For no connection: Settings โ Network and Internet โ VPN โ Disable all VPNs (they can block Google) Settings โ Apps โ Google Play Services โ Permissions โ Enable all
- For Infinite Sync: Settings โ Google Accounts โ Sync โ Disable Everything, Reboot Your Phone, Turn Back on
If nothing works, the last option is to reset to factory settings (but this is an extreme measure).
- ๐ฒ Install Google Installer (for China) ROM).
- ๐ Update MIUI last-minute.
- ๐ ๏ธ Reflash your smartphone with the Mi Flash Tool (for experienced only!).
๐ก
If Google Play Services still takes up a lot of space after all the manipulation, check to see if pirated versions of apps (modified by APK) are installed on the phone.