How to safely remove GApps from Xiaomi: 3 proven ways

Why Xiaomi users want to get rid of GApps

Xiaomi’s MIUI-based smartphones come with Google’s pre-installed services (GApps) – from Google Play Services to YouTube and Gmail – by default, but some are looking to remove them for three key reasons:

First, privacy: Google services collect location, app activity, and even search history β€” even if you don’t actively use it. Second, performance: GApps’ background processes consume up to 15-20% of battery power and take up to 1-1.5 GB of RAM on devices with MIUI 14 and later. Third, alternative ecosystems β€” for example, users of Huawei AppGallery or Aurora Store prefer to do without Google.

However, removing GApps isn’t always a trivial task. On some Xiaomi models (such as the Redmi Note 12 Pro+ or POCO F5), Google services are integrated into the system partition, and simply removing them through settings will lead to critical failures, from the inability to update the MIUI to the complete inoperability of the app store. In this article, we will discuss three working methods for removing GApps, taking into account the risks and nuances for different versions of MIUI.

πŸ“Š Why would you want to remove GApps on Xiaomi?
Because of confidentiality.
To save battery power
I don't need Google services.
I want to install custom firmware.
Other

Method 1: Remove GApps via TWRP (for unlocked bootloader)

The most reliable method is the use of custom TWRP recavator. It is suitable for devices with unlocked bootloader (bootloader) and allows you to remove GApps without the risk of β€œbricking” the smartphone. Importantly, on Xiaomi models after 2022 (for example, Xiaomi 13T or Redmi Note 12) may require additional unlocking through the Mi Unlock Tool.

Algorithm of action:

  • πŸ“± Install TWRP for your model (download the official version from twrp.me).
  • πŸ”§ Load into the recaveri: turn off the phone, then press Volume up + Power.
  • πŸ—‘οΈ From the TWRP menu, select Advanced β†’ File Manager and go to /system/priv-app/ folder.
  • 🚫 Delete folders from GApps (lists below) or use the GApps Remover script to automatically delete.

List of key folders and GApps files in /system/priv-app/:

Folder/file nameRelevant serviceCan I remove it?
GmsCoreGoogle Play Services⚠️ Only if you do not use a Google account
PrebuiltGmsCoreBackup copy of the GMSYes.
GoogleServicesFrameworkGoogle framework⚠️ May disrupt some applications
PhoneskyGoogle Play StoreYes.
VelvetGoogle SearchYes.

⚠️ Warning: Deleting GmsCore or Google ServicesFramework may cause errors in applications using Google API (e.g. Uber, Banking apps or Google Maps).

Make a data backup in MIUI (Settings β†’ About Phone β†’ Backup)

Download TWRP for your Xiaomi model

Check the battery (minimum 70%)

Connect your phone to your PC for backup (optional)

Make sure the bootloader is unlocked (check: fastboot oem device-info)

-->

Method 2: Removal via ADB (without root rights but with limitations)

If you don't have a bootloader unlocked, but you have access to USB debugging (ADB), you can deactivate GApps via commands, and this method doesn't delete files completely, it only disables them, which is safer for system stability, and it's suitable for MIUI 13/14 devices with USB Debugging enabled.

Instructions:

  1. Activate Developer Mode: Go to Settings β†’ About Phone and click on MIUI Version 7 times.
  2. Enable USB debugging in Settings β†’ Additional β†’ For developers.
  3. Connect your phone to your PC and execute commands in the terminal (or Platform Tools):
adb shell


pm uninstall -k --user 0 com.google.android.gms




pm uninstall -k --user 0 com.android.vending




pm uninstall -k --user 0 com.google.android.gsf




pm uninstall -k --user 0 com.google.android.googlequicksearchbox

These commands don't delete, but disable GApps for the current user, and to bring them back, you just have to do:

cmd package install-existing com.google.android.gms

⚠️ Warning: On some Xiaomi models (e.g., POCO X5 Pro) after disabling GApps via ADB, the MIUI OTA Updater may stop working. Google services will have to be temporarily returned before upgrading.

What if the ADB can’t see the device?
If the adb device command does not show your Xiaomi, check: 1. If the Mi USB Driver drivers are installed. 2. If the phone is in File Transfer mode (MTP) rather than Charging. 3. If the smartphone screen is allowed to debug (pop-up window) if the problem persists, try another USB- cable or port on your PC.

Method 3: Install custom firmware without GApps

The radical but cleanest way is to flash custom firmware without GApps. Popular options for Xiaomi:

  • πŸ“± LineageOS supports most models, there are versions without GApps.
  • The πŸ”„ Pixel Experience is a firmware with pure Android, but requires manual MicroG installation to replace Google services.
  • πŸ›‘οΈ GrapheneOS – for advanced users, a focus on security (supports a limited list of devices).
  • 🌍 MIUI EU is a modified version of MIUI without Chinese or Google services (but may contain bugs).

Firmware process:

  1. Unlock the bootloader via the Mi Unlock Tool (can take up to 7 days to wait on new devices).
  2. Install TWRP and make a full backup of the current firmware.
  3. Download GApps-free firmware (like LineageOS for Redmi Note 11) from the XDA Developers website.
  4. Fly through TWRP by running Wipe β†’ Format Data (this will delete all data!).

Advantages of the method:

  • βœ… The complete absence of Google services out of the box".
  • βœ… Option to choose alternatives (e.g. F-Droid instead of Play Market).
  • βœ… Increased performance due to lack of background processes.

⚠️ Warning: Custom software firmware voids Xiaomi's warranty and may cause problems with Widevine L1 (reduced streaming quality on Netflix or Disney+ to 480p). Some models (e.g., Xiaomi 12 Pro) also stop working IR Blaster (infrared port).

πŸ’‘

Before you run your firmware, check the model compatibility on the XDA forum. For example, the firmware for the Redmi Note 10 Pro (sweet) will not work for the Redmi Note 10 Pro 5G (camellian).

What happens after removing GApps: consequences and solutions

Deleting Google services will cause a number of changes to the smartphone, and here are the most common problems and ways to solve them:

Problem.Reason.Decision
Push notifications are not working.Google Play Services (responsible for FCM)Install MicroG or use alternatives (e.g. UnifiedPush)
Applications not updatedThere is no Google Play Store.Use the Aurora Store or F-Droid
Geolocation in maps does not workThere is no Google Maps API.Install OsmAnd or Magic Earth (Use OpenStreetMap)
Errors in entering banking applicationsMany banks are demanding Google SafetyNet.Use Magisk with Universal SafetyNet Fix

To restore some functionality, you can install MicroG, an open-source implementation of Google services.

  • πŸ“ Geolocation via Mozilla Location Service.
  • πŸ”” Push notifications (compatible with Signal, Telegram).
  • πŸ”’ SafetyNet Basic Verification (for some banking applications)

However, MicroG does not support:

  • ❌ Google Pay (no certification for contactless payments)
  • ❌ YouTube Vanced (requires original Google services)
  • ❌ Widevine L1 for streaming in 1080p+ (remains L3).

πŸ’‘

Removing GApps doesn’t mean it’s completely isolated from Google. Many apps (like Chrome or Gmail) can be manually installed via APK, but they’ll work with restrictions without background services.

Alternatives to Google Services for Xiaomi

If you removed GApps, you'll need replacements for key features. Here are proven alternatives:

Google serviceThe alternativeAdvantagesDeficiencies
Google Play StoreAurora Store / F-DroidAnonymous APK Download, No TrackingNot all apps are available (e.g. Netflix)
Google MapsOsmAnd / Magic EarthOffline maps, no ads.Less details for some regions
GmailFairEmail / K-9 MailEncryption, open sourceLess user-friendly interface
YouTubeNewPipe / LibreTubeNo advertising, background playbackNo official 4K support
Google DriveNextcloud / SyncthingComplete control of dataRequires its own server or hosting

For convenience, you can use packages of alternative applications:

  • πŸ“± Simple Mobile Tools is a set of open applications (galleries, calendars, contacts).
  • πŸ”’ Shelter – isolating applications in a sandbox to enhance privacy.
  • 🌐 Bromite is a Chromium-based browser with ad blocker and tracker.

If you use MIUI without GApps, look for Xiaomi’s built-in services:

  • Mi Cloud is an alternative to Google Drive for backups.
  • Mi Browser is an ad-blocking browser (but it collects data for Xiaomi).
  • Mi Video is a player with support for most formats.

Frequent Mistakes and How to Avoid Them

When removing GApps, Xiaomi users often face typical problems, and here’s how to prevent them:

  1. Error: "App stopped" after removing GmsCore Reason: Many system and third-party apps depend on Google Play Services.Solution: Install MicroG or use Magisk to mask the absence of GApps.
  2. Time and time zone auto-update is not working Reason: No synchronization with Google servers. Solution: Enable Network Time in MIUI settings or install ClockSync from F-Droid.
  3. You can't log in to Xiaomi account after deleting GApps Reason: On some MIUI firmware, account verification is tied to Google services Solution: Reset your phone to factory settings and log in to Xiaomi account before deleting GApps.
  4. Loss of Widevine L1 (no HD in Netflix/Disney+) Cause: Custom firmware or removal of DRM-Z Google components. Solution: Sweat the original partition or use Magisk vendor with L1 Patch module.

⚠️ Warning: On devices with MIUI 14 and later (e.g., Xiaomi 13 or Redmi K60), removing GApps may block access to the Mi Unlock Tool, the bootloader unlocking tool. If you plan to go back to the original firmware, keep a backup copy of the persist partition.

πŸ’‘

Before removing GApps, check if you are using apps that depend on Google Play Services. For example, Google Authenticator will stop working without them - transfer the 2FA- codes to Aegis Authenticator or andOTP in advance.

FAQ: Answers to Frequent Questions

Can I remove GApps without unlocking the bootloader?
Partly through ADB (method 2 in the article). Complete removal is possible only with the unlocked bootloader and TWRP. On some Xiaomi models (for example, the POCO M4 Pro) you can disable GApps through Settings β†’ Apps β†’ Show system, but this will not remove them completely, but only stop work.
Will Xiaomi work without GApps?
Yes, but with limitations: βœ… The core features (calls, SMS, camera) will work. βœ… MIUI is not dependent on Google services for basic functionality. ❌ Apps requiring Google Play Services (e.g., Uber, Google Maps) will not work. ❌ Some features MIUI (e.g., Mi Share) may require Google services to sync.
How to return GApps after removal?
Recovery methods depend on the method of removal: If deleted via TWRP: Sweep the GApps package (such as Open GApps or NikGApps) through the receptacles. If disabled through ADB: Follow the command cmd package install-existing com.google.android.gms. If you have flashed custom firmware: Install the firmware version with GApps or swipe the original MIUI through the Mi Flash Tool. Important: After GApps are restored, you may need to reset (Wipe Data in TWRP), as some system applications may lose communication with Google.
What Xiaomi models are best for life without GApps?
The most compatible devices (according to user reviews on XDA and 4PDA): POCO F1 (beryllium) is an old model with good support for custom firmware. Redmi Note 7/8 Pro – popular among enthusiasts, many guides. Xiaomi Mi A2/A3 – originally came with pure Android, easy to sew. POCO X3 Pro (vayu) – a powerful processor, good compatibility with LineageOS. The most difficult to remove GApps on new flagships (Xiaomi 13 Ultra, Redmi K60 Pro Camera) due to the dependence of Google camera for some closed features.
Can I delete GApps without losing data?
Yes, but with reservations: When deleting through ADB (method 2), data is not affected. When using TWRP (method 1), backup through Backup β†’ System before deleting. When you are firmware-wise (method 3), all data will be erased - a backup through Mi Cloud or Titanium Backup is mandatory. We recommend using Swift Backup (requires root) to save applications and their data before manipulating the system.