Users of Xiaomi, Redmi and Poco smartphones often face a situation where the normal functioning of the operating system is disrupted by a sudden error message. A pop-up notification “In the application Google Play services there was an error” can completely paralyze the device, making it impossible to install new programs, update maps or synchronize contacts. The problem is systemic and affects not only older models, but also the latest flagships with shells MIUI and HyperOS.
The causes of the failure are rooted in conflicting versions of system components, memory overflows or background processes. A critical factor is often the desynchronization of system time after a time zone change or long downtime without a network, and ignoring this problem leads to the fact that YouTube, Gmail, Google Maps and the Play Store app store stop working.
In this article, we’ll look at the proven methods of restoring GMS Core. You don’t need to be an expert in Android to perform simple steps to clean up data and reconfigure your account. We’ll look at both standard procedures and hidden settings available through the engineering menu.
Primary diagnostics and basic checks
Before you go to complex code manipulation and setting resets, you need to eliminate basic failures. Often the problem is solved by a simple reboot that forcibly terminates the frozen processes of Google Play Services. If the error repeats after turning on the device, check for free space in internal storage.
Memory deficiency is one of the most common causes of unstable Google frameworks: the system uses free space as a buffer for temporary files and updates. If more than 90% of the volume is occupied, services cease to function correctly. Delete unnecessary videos, screenshots or transfer files to a memory card.
Also, you need to make sure that your Internet connection is stable. Google services require constant access to servers to check licenses and sync. Try switching from Wi-Fi to mobile Internet or vice versa. Sometimes it helps to turn on flight mode for 10-15 seconds to reboot network modules.
Cleaning up cache and data of Google services
The most effective way to resolve software conflicts is to force the cleanup of accumulated data, which will not delete your personal files, photos or contacts, but will return Google system components to a post-installation state.
To start, go to your phone's settings. Find the Apps (or All Apps) section. In the upper right corner of the menu, click on three dots and select Show System Processes. This is a critical step, as the default system services are hidden from the user's eyes.
In the list that opens, look for Google Play Services (could be called Google Play Services). Click on it, then select Memory. Here you click two buttons: Clear cache and Clear all (or Reset).
☑️ Checklist of cleaning services
After cleaning the data, the system may require re-authorization. Enter your Google account and password. Please note that in the first 10-15 minutes after resetting, the phone may work slower, as the framework will re-download the necessary configuration files.
⚠️ Note: After cleaning up the data services, Google Pay (Wallet) may require re-assignment of cards. Make sure you have card data on hand or access to online banking for quick recovery.
Removal and re-installation of updates
Sometimes the error occurs because the automatic update of Google components was incorrect, leaving a “broken” version of the file in memory, which conflicts with the shell of MIUI. The solution is to roll back to the factory version of the service.
Go to the App Management menu as described in the previous section. Find Google Play Services. In the app information window that opens, look at the bottom of the screen or the three-dot menu. There should be a Remove Updates button.
The system will warn you that the application will return to the factory version after that. Confirm the action. Immediately after that, take your time to run heavy applications. Give the system 2-3 minutes to initialize the basic services in the background.
Why can’t you just remove the app?
Once the updates are rolled back, go to the Play Store, the system will offer you to update the necessary components, allow the download, but monitor the process. If the error appears again immediately after the update, then the problem may be incompatibility of a particular version of the service with your version of Android.
Synchronization of time and date
Google’s security protocols are tied to the exact time, and if your Xiaomi clock is behind or even a few minutes in a hurry, security servers block the connection, believing it to be potentially dangerous, causing a cyclical login error.
Go to Settings → Additional → Date and time. Make sure the Use Network Time switch is activated. If it's already on, try turning it off, manually setting the wrong time, and then turn on the automatic sync again.
Also check the time zone. Sometimes when you travel to another region, the phone doesn't switch the belt automatically, leaving the old value, which causes you to de-synchronize with your local Google servers.
| Parameter | Recommended value | Where to find out |
|---|---|---|
| Date. | Automatically (network) | Settings → Date and time |
| Time zone | Automatically or your city | Settings → Date and time |
| Time format | 24-hour (recommended) | Settings → Additional settings |
| Synchronization | Included. | Accounts and synchronization |
⚠️ Note: If the date is reset to 2015 or another past value after the automatic time is turned on, this may indicate a discharge of the internal battery. CMOS (in rare cases on smartphones) or a deep software failure requiring resetting.
Working with a Google account
Authorization token conflict is another common cause, and it happens that on Google servers your account is marked as “suspicious” due to a change in the user’s account. IP-Addresses or devices, and the phone keeps sending old login details.
Try to delete your account completely and add it again. Go to Settings → Accounts and Syncs (or just Accounts). Select your Google account and click Delete your account. Don't worry, the data won't disappear, it's stored in the cloud.
Once deleted, reboot your smartphone. Then log back in to the account menu and select Add Account → Google. Enter your login and password. The system will request permissions to sync contacts, calendar and other services again.
💡
If you have two-factor authentication enabled, make sure you have access to your phone number or backup codes, as when you re-enter, the system may request proof of identity.
In some cases, it helps to delete all accounts at once, if there are several, and sequential login, which allows you to clear the synchronization queue, which could become deadlocked due to an error in one of the profiles.
Specificity of MIUI and hidden settings
The MIUI shell has an aggressive energy saving system that often kills Google Play processes as being battery-consuming, causing services to be unable to run in the background and giving an error when trying to run.
You need to configure Autostart and Access Rights. Go to Settings → Apps → Google Play Services → Auto Run. Make sure the switch is on. Then select No Limits option in the Battery section.
Also worth checking for Google Framework services. When looking for settings, type in "Access" or "Special Features." Make sure all Google services have the necessary permissions. In rare cases, a reset through an engineering menu helps, but this requires caution.
For advanced users, code reset is available. In the Phone app, dial ##2432546#. This will open the GMS check menu. However, a safer and more effective method is to clear through the settings described above.
💡
Aggressive battery optimization in MIUI is the main enemy of Google’s stable service performance. Always set a “no limits” mode for system services.
⚠️ Warning: Do not use third-party cleaners and accelerators from Play Store to clean up Google services memory. They often delete necessary cache files, causing an endless cycle of downloads and errors.
Radical measures: resetting and reflashing
If none of the methods worked, the system files of the Android shell itself may have been damaged. In this case, a full factory reset is required. Be sure to back up all important data before this step, as all information will be deleted.
You can reset through the recovery menu. Turn off your phone. Press the power button and the volume button at the same time. When the Mi logo appears, release the power, but keep the volume. From the recovery menu, select Wipe Data → Wipe All Data.
When you reset, the phone will start as new. When you first set up, log in to your Google account. If the error didn't appear on the clean device, then the problem was accumulated software debris or a conflict of installed applications.
In extreme cases, if even after the reset the error persists, it may be necessary to flash the device through the computer using the Mi Flash Tool utility.This will return the phone to the factory state of all memory parts, including those that do not affect the normal reset.