Xiaomi, Redmi and Poco smartphone owners often think about limiting corporate surveillance or simply freeing up system resources.The MIUI shell and the new HyperOS are built on Android, where Google services (GMS) are central to running maps, mail and sync. However, their constant background functionality may be redundant for some users who want maximum autonomy or use alternative ecosystems.
The deactivation process is not always trivial, as the manufacturer integrates these components rigidly into the kernel of the system. Incorrect actions can lead to malfunctioning notifications, malfunctioning of bank applications or complete failure of the operating system. It is important to understand that complete deletion requires superuser rights, while standard shutdown is available to everyone, but has its limitations.
In this article, we will analyze all available methods: from simple concealment through settings to advanced manipulations with the help of the user. ADB-You will learn what risks exist and how to minimize damage to the functionality of the device. We will look at the nuances of working with Google Play Services and explain why simple deletion is necessary. APK-Files do not work on modern versions of firmware.
Why to turn off GMS on Xiaomi devices
Many users are looking to get rid of Google Mobile Services for privacy reasons. Google is collecting a huge array of telemetry, including geolocation, search history and installed app data. For those who value digital hygiene, turning off these services is the first step to anonymity.
Beyond privacy, there's a practical side to saving battery life: GMS background processes constantly poll servers, putting strain on the processor and radio, and on older smartphone models, this can be a critical factor in reducing battery life.
- π Increased confidentiality and reduced telemetry.
- β‘ Increased battery life by stopping background services.
- ποΈ Freeing RAM and internal storage from system debris.
- π‘οΈ Reducing the attack surface for potential vulnerabilities in service code.
β οΈ Warning: Complete removal of Google system components could disrupt work PUSH-notifications in third-party applications that depend on the infrastructure GCM (Google Cloud Messaging).
Preparation for system modification
Before you make changes to the shell structure, you need to do a series of preparatory steps to avoid a situation where the phone turns into a brick or stops responding to commands.
You will need to enable USB debugging mode. Go to Settings β About Phone and quickly click on MIUI build number seven times. After that, the βDevelopers Forβ menu will appear, where you need to activate the corresponding switch.
βοΈ Readiness to shut down services
You also need to download the tools you need to get to your computer in advance, you need the ADB and Fastboot package, and you need the drivers for your device, and without this toolkit, deep system management will not be possible.
Disconnection method through standard settings
The safest, but less efficient, way is to use the Android functionality, which requires no PC connection or special knowledge, but allows you to suspend services, not remove them completely, and the system can automatically reactivate them after an update or restart.
To start, look for Google Play Services in the app list, click on it and select the βDisableβ option, and if the button is inactive, the manufacturer has blocked this feature at the firmware level, which is common in global versions of MIUI.
| Component | Function | Risk of shutdown |
|---|---|---|
| Google Play Store | App store | Inability to install programs |
| Google Play Services | Basic infrastructure | Failures in most applications |
| Google Maps | Navigation and geolocation | Lack of navigation in other applications |
| Google Play Services | Synchronization and Push | Disappearance of notifications from messengers |
After disabling the main services, it is also recommended to limit background activity for Google Chrome, YouTube and Gmail apps. Go to the Battery and Performance menu and select No Limits mode for important programs, and for Google services set a strict background activity limit.
π‘
Use Digital Well-Being to track which Google services consume the most energy in the background.
Using ADB for deep cleaning
A more advanced method involves using an Android debugging bridge (ADB), which allows you to delete or hide packets for the current user without affecting the system partition recovery. It is safe in the sense that you can always return everything back with a simple reboot or reinstall command.
Connect your smartphone to your computer with a cable. Open the command line in the ADB folder and type in the adb device command to make sure the device is identified. The phone screen will see a debugging permission request that needs to be confirmed.
adb shell pm uninstall -k --user 0 com.google.android.gms
adb shell pm uninstall -k --user 0 com.android.vendingThe first command removes the basic services of Google Play, the second β the app store itself. APK-files that require licensing. To return functionality, you will need a cmd package install-existing command].
β οΈ Note: Do not delete com.google.android.gsf (Google Services Framework) if you plan to return services back to Google, as this may cause an ID conflict.
Alternatives and Replacement of Functionality
After the Google ecosystem is shut down, the question is: where to get apps and how to sync data? Alternative stores like F-Droid for open source or the Aurora Store, which allows you to download apps from Google Play anonymously, without installing services, come to the rescue.
Organic Maps or Maps.me, which are based on OpenStreetMap, are great for maps and navigation. They do not require a constant Internet connection and do not transmit data about movements to corporate servers. Contact and calendar synchronization can be configured via CardDAV and CalDAV protocols using Nextcloud or Yandex servers.
Importantly, some banking applications may require security certificates, which are often tied to GMS, and in such cases, you can try using virtual environments, such as SandBox or Island, which create an isolated container with Google services running inside the main space.
Possible problems and solutions
Users who do this often experience system errors, such as stopping the alarm clock if it was dependent on synchronization, or stopping messages from WhatsApp, and in most cases reinstalling the app or cleaning its cache helps.
If the phone starts to behave unstable, there are constant pop-ups or cyclic reboots, you need to reset the settings. In the extreme case, when the device does not boot, you will have to refashion it through the Mi Flash Tool in Fastboot mode, which completely deletes all data.
What to do if the sound is missing in the notifications?
Also, automatic system updates can return remote components, and to prevent this, the MIUI update settings must disable auto-update and prevent the Component Update app from accessing the network through an embedded firewall or a third-party firewall like NetGuard.
π‘
The stability of a system without Google depends on how carefully you configure alternative sources of notifications and sync.