How to Remove Google Services on Xiaomi: A Complete Guide

Users of Xiaomi, Redmi and Poco smartphones often face the desire to free the device from intrusive software. Owners of Chinese versions of gadgets (CN) may not need American services, and privacy enthusiasts seek to completely eliminate tracking of corporations. The process of removing Google services on the shell of MIUI or HyperOS requires caution, since the system integration here is very deep.

You can't just take and erase system files through a file manager without superuser rights, and even having root access doesn't guarantee a safe system if you delete the wrong components. In this article, we will discuss safe disabling and deleting methods using ADB-commands and system settings to keep your Android running.

Before you take action, you need to be aware of the risks. System applications are responsible for many functions, from synchronizing contacts to notifications in third-party programs. Incorrect configuration can lead to the fact that the phone turns into a โ€œbrickโ€ or stop running familiar applications.

Why Google Services Need to Be Deleted

Xiaomi usersโ€™ motivation to get rid of the Google ecosystem ranges from a trivial memory shortage to serious privacy concerns. Chinese firmware versions often go without Google Play preinstalled, but when you flash it to the global version or manually install services (GMS), a lot of background processes are introduced into the system, which consume RAM and battery power, even if you do not use them.

Another category of users is those who prefer alternative app stores, such as GetApps or F-Droid, which puts an excessive burden on the processor, and in some regions, the use of American software may be limited or undesirable for political reasons.

It is important to understand the difference between a complete deletion and a simple shutdown: Disabling hides applications from the menu and stops their processes, but the files remain on the disk, while deleting physically erases components from the system partition, which frees up space but increases the risk of instability.

โš ๏ธ Warning: Complete removal of Google system components could disrupt banking apps, navigators and games that use Google Play Games to keep progress going.

Preparation of the device before modification of the system

Any interference with MIUI system files requires preparation. The first step should always be to create a full backup of the data. Even if you plan only to turn off services, an accidental error may require a complete reset to factory settings. Save contacts, photos and important documents to an external medium or to a cloud storage that is not connected to Google.

The second critical step is to enable USB debugging. Without this mode, you can't transfer commands from computer to smartphone. To activate this function, you need to click on the build number several times in the About Phone section to unlock the developer menu. Then, in advanced settings, activate the Debugging slider over USB.

  • ๐Ÿ“ฑ Charge your smartphone to at least 60% to avoid turning off during the procedure.
  • ๐Ÿ’ป Install the drivers. ADB and Fastboot on your personal computer or laptop.
  • ๐Ÿ”Œ Use an original or quality cable USB stable-connection.
  • ๐Ÿ” Remember or record the graphical screen unlock key, as it may be required to confirm actions.

Itโ€™s also worth checking out the Android and MIUI versions. Packet names may vary slightly on different versions of the shell, although the basic structure remains the same. If you have a firmware beta installed, the probability of errors is higher, so itโ€™s best to wait for a stable release before cleaning the system.

โ˜‘๏ธ Checklist of smartphone preparation

Done: 0 / 4

Analysis of Google system packages on Xiaomi

Before you run uninstall commands, you need to clearly understand which packages are responsible for the operation of services. In the Xiaomi-based Android system, a set of components, collectively called Google Play Services, are responsible for this. Simply removing the Play Store icon will not solve the problem, since background services will continue to work.

The main process is com.google.android.gms. It provides geolocation, push notifications and application authorization. Also important is the com.google.android.gsf (Google Services Framework), which serves as a bridge between the OS and services. Deleting these components will lead to a complete failure of any application tied to a Google account.

Below is a table of the main packages that are most often removed or frozen. Be careful when typing packet names into the command line.

Packet nameFunctionRisk of removal
com.google.android.gmsThe main services of PlayHigh (cards, notifications break)
com.google.android.gsfCritical (accounts are not working)
com.android.vendingGoogle Play StoreMedium (cannot be used for applications)
com.google.android.youtubeYouTube appendixLow (can be replaced by analogue)

There are also support packages such as com.google.android.syncadapters.contacts for contact synchronization and com.google.android.apps.photos for Google Photos. These are safe to remove if you use alternative storage solutions.

Hidden Systemic Dependencies
Many users are unaware that even after deleting Google services, some MIUI system libraries may try to access them when they are booted, which can cause a cyclical reboot if the corresponding configs in the /data/local/tmp/ folder are not deleted.

Removal method through ADB without Root rights

The most secure and recommended way to clean the system is to use the Android Debug Bridge (ADB) toolkit. This method does not require obtaining superuser rights (Root), which preserves the device guarantee and integrity of the system partition. You do not actually delete files physically, but mark them as deleted for the current user, which makes the process reversible.

First, connect your smartphone to your computer and open the command line (terminal) in the folder with ADB installed. Check the connection with the adb device command. The phone screen will show a request for debugging permission, which must be confirmed. If the list shows your device with device status, you can proceed.

The process of removing a particular packet is as follows: you type in the uninstall command, specifying the user name (usually 0 for the main user) and the packet name. For example, to delete YouTube, the command will look like this:

adb shell pm uninstall -k --user 0 com.google.android.youtube

Once you run the command, the application will disappear from the menu and its processes will stop running, and the advantage of this method is that you can restore the remote cmd package install-existing by the command, if necessary, which makes ADB the perfect tool for experimentation.

๐Ÿ“Š Which cleaning method do you prefer?
ADB without Root
Getting Root Rights
Third-party utilities
I'm not removing anything.

Use of specialized utilities for debloat

Manually entering commands can seem daunting for beginners, so developers have created graphical shells for ADB. One of the most popular and trusted utilities is Universal Android Debloater.This tool automatically scans the device, identifies system packages, and offers secure removal profiles for various brands, including Xiaomi.

When using such programs, it is important to pay attention to the color marking of packages. Usually, "safe" for removal are marked green, "potentially dangerous" are marked orange, and critical system files are marked red. Don't blindly trust automation: always double-check the purpose of the package in the search engine before deleting.

Another option is to use file managers with access to system partitions, but this requires an unlocked bootloader and Root rights. Software like System App Remover allows you to delete packets directly from your phone. MIUI 14+ Access to the system partition is very limited, which makes ADB-more universal.

โš ๏ธ Note: Using third-party mass cleaning software ("one-click debloaters") may result in the removal of necessary components. MIUI, such as security services or updates.

If you still decide to use automated scripts, be sure to create a restore point or a full backup copy through MIUI Backup. Remember that the developers of utilities are not responsible for the performance of your smartphone after they are used.

Possible problems and ways to solve them

After you remove Google services, you may encounter a number of unusual situations: the most common problem is app errors that require Google Play Services to run, banking apps, taxis, food delivery and many games simply wonโ€™t open or will constantly fly out.

Another problem is sync failure: If you delete sync services, your contacts, calendar, and notes will no longer be updated between devices, you will have to manually configure sync via CardDAV or use third-party contact launchers.

  • ๐Ÿ”„ Bootloop (Cyclical Reboot): If the phone is stuck on the logo, try booting into Safe Mode (clamping the Volume Down button when turned on) and recovering deleted packets via ADB.
  • ๐Ÿ“‰ Decline in autonomy: Paradoxically, removing some services can cause the system to constantly try to find them, using up charge.
  • ๐Ÿšซ Account Lock: Some apps may block access if there is no certified Google Play Protect environment.

To solve most problems, simply restart the device. If this does not help, use the ADB command to return the packet: adb shell cmd package install-existing the name of the packet. This will restore the system file from the hidden reserve.

๐Ÿ’ก

If Wi-Fi or Bluetooth stopped working after deleting services, try resetting the network settings in the menu โ€œAdvanced Settingsโ€ โ†’ โ€œReset Wi-Fi, mobile networks and Bluetoothโ€.

Alternatives and Replacement of Functionality

By abandoning the Google ecosystem, you're freeing up space for alternatives. Use the GetApps store (built into MIUI) or open repositories like F-Droid to find apps. Maps.me, 2GIS or Organic Maps are great for maps, which work offline and don't require a permanent connection to servers.

YouTube video hosting can be replaced by open source clients like NewPipe or LibreTube, which not only lack advertising, but consume significantly less resources without overloading the processor with background tracking processes.

To store photos and documents, consider cloud services that are not associated with Big Tech, such as MEGA or Nextcloud server, which will give you full control over data and eliminate the scanning of the contents of your albums by artificial intelligence algorithms.

๐Ÿ’ก

A complete Google opt-out on Xiaomi is possible, but requires a willingness to manually customize alternatives for maps, navigation, and notifications.

Frequently Asked Questions (FAQ)

Can I remove Google Play Services and leave the Play Store alone?
Technically possible, but highly discouraged. Market will not be able to install and update applications correctly, since most modern applications are not available. APK-files require verification of licenses and dependencies, which is provided by the service com.google.android.gms. Without it, the Market will issue persistent errors.
Will Google recover after resetting to factory settings?
Yes, if you used the method ADB (uninstall --user 0). Resetting the system back to its original state, and all system applications, including Google, will reappear on the menu. If you modified the system partition (requires Root), reset will not help, you will need to flash it again.
Is it safe to remove Google services on global firmware?
Xiaomiโ€™s global firmware is designed to work with Google services, and deleting it can lead to unstable system performance, as many system functions (such as location in Finding a Device) are tied to the Google Framework (CN) removal is safer.
How to check if services are actually removed?
You can install Packet Viewer or use ADB adb shell pm list packages. If the list of outputs does not include com.google.android.gms and related packages, the removal is a success, and you can check the running processes in the developer menu.