Owners of Xiaomi, Redmi and POCO smartphones often face a problem: a pre-installed Google keyboard (Gboard) takes up memory, slows down the system and constantly suggests changing the layout. Even after installing an alternative keyboard (for example, SwiftKey or Fleksy), the system can automatically return to Gboard after updates or resets.
In this article, 5 proven ways to get rid of Gboard on Xiaomi, including hidden MIUI settings and methods for rootless devices. We will understand how not just to disable, but completely remove the Google keyboard so that it does not recover from updates. The instructions are relevant for MIUI 14/13 based on Android 13/12 (including HyperOS), but most methods work on older versions.
Important: Some methods require care โ doing the wrong thing can cause system failures. If you are unsure of your skills, start with the safest options (sections 2โ3).
1.Why does Gboard come back after being deleted?
The fact is that the Google keyboard on Xiaomi is a system application (com.google.android.inputmethod.latin) integrated into the MIUI firmware at the Android level, so:
- ๐ Automatically recovers after resetting or updating MIUI through OTA.
- ๐ฆ Takes up a seat in the section /system, Where Users Cannot Access Without Root.
- ๐ Linked to Google Services โ Deleting it could affect Google Play, Assistant and other apps.
In addition, MIUI 14 adds a system application protection mechanism: even if you delete Gboard.apk via ADB, the system can restore it the next time you reboot it, so a combination of methods is required to completely remove it.
โ ๏ธ Note: Some Xiaomi models (e.g. Redmi Note 12 Pro)+ or POCO F5) Google keyboard can be part of Google Mobile Services (GMS). Deleting it will cause errors in the Play Market and other services. Check alternatives before you do it (section 4).
2. Method 1: Disable Gboard without removal (the safest)
If you donโt need to completely remove the keyboard, but simply hide it from the list of available keyboards, follow the following steps:
- Open Settings โ Applications โ Application Management.
- In the search bar, type Gboard (or โGoogle Keyboardโ).
- Slip on the application, then select Disable.
- Confirm the action in the dialog window.
After that:
- ๐ฑ The keyboard will disappear from the list available in the language settings.
- ๐ It will not be updated through the Play Market.
- ๐ค Released. ~50โ100 MB of memory (depending on model).
The downside of the method: when you reset or update MIUI, the keyboard can be activated again. To avoid this, use freezing through ADB (section 3).
โ๏ธ Preparing for Gboard shutdown
Method 2: Freeze Gboard via ADB (without root)
This method blocks Gboard but does not physically delete it, but the advantage is that the keyboard will not recover after the updates, as the system will consider it โmissingโ.
You'll need:
- ๐ฅ๏ธ Computer with ADB-tools installed.
- ๐ฑ Included debugging by USB on the phone (Settings) โ The phone. โ Version. MIUI โ 7 times tap to unlock the developer mode, then Settings โ Additionally. โ For developers โ Debugging by USB).
- ๐ USB-cable (preferably original).
Instructions:
- Connect the phone to the PC and confirm access to debugging on the smartphone screen.
- Open the command prompt (cmd on Windows or Terminal on macOS/Linux) in the adb folder.
- Enter the command to check the connection: Adb devices must appear serial number of your device.
- Follow the command to freeze Gboard: adb shell pm hide com.google.android.inputmethod.latin
If the command fails (Operation not allowed error), try the alternative:
adb shell pm disable-user --user 0 com.google.android.inputmethod.latinTo defrost the keyboard (if necessary), use:
adb shell pm uninstall -k --user 0 com.google.android.inputmethod.latinโ ๏ธ Note: Some Xiaomi firmware (for example, MIUI Global for Redmi 10) pm hide may not work. ADB AppControl (Section 5) or manual removal through TWRP (section).
๐ก
If ADB doesnโt recognize the device, try reinstalling Xiaomi drivers from the official website or using the Mi PC Suite program, and check if File Transfer (MTP) mode is enabled when you connect.
Method 3: Removing updates and resetting to factory version
If Gboard has been updated through the Play Market, it can be rolled back to a factory version that takes up less space and has no unnecessary features.
How to do this:
- Go to Settings โ Applications โ Application Management โ Gboard.
- Slip on the three dots in the top right corner and select Remove Updates.
- Confirm the action.
- Return to the main settings of the application and click Clear cache and Clear data.
After that:
- ๐ The size of the application will decrease with ~150MB to ~30-50 MB.
- ๐ Functions like GIF-Searching or Translating Real-Time Will Disappear.
- ๐ Play Market will no longer offer updates (if you disable auto-update for that app).
To prevent Play Market from automatically updating Gboard:
- Open Google Play and find Gboard.
- Slip on three points next to the Update button.
- Uncheck the auto update box.
| Method | Need root? | Frees up memory. | Is it re-established after the MIUI update? | Does it affect other Google services? |
|---|---|---|---|---|
| Disconnection in settings | โ No. | โ ~50โ100 MB | โ Yes. | โ No. |
| Freeze through ADB | โ No. | โ ~100โ150 MB | โ No. | โ No. |
| Removal of updates | โ No. | โ ~100MB | โ Yes. | โ No. |
| Removal via TWRP | โ Yes. | โ ~150-200 MB | โ No. | โ ๏ธ Maybe. |
| Debloater tools | โ No, but you do. ADB) | โ ~150 MB | โ No. | โ ๏ธ Maybe. |
5. Method 4: Using ADB AppControl (for power users)
ADB AppControl is a graphical interface utility that makes it easier to work with system applications, not only freezing, but also completely removing Gboard, as well as other unnecessary Xiaomi applications (for example, Mi Browser or Mi Music).
Step-by-step:
- Download ADB AppControl (version 2.3 or later).
- Connect your phone to your PC and start the program.
- In the list of applications, find Gboard (com.google.android.inputmethod.latin).
- Select an action: ๐๏ธ Freeze - Freeze (analogue of pm hide). ๐๏ธ Uninstall โ Delete completely (requires confirmation).
Reboot the phone.
Advantages of the method:
- ๐ฏ Visual interface โ no need to remember commands ADB.
- ๐ You can uninstall other Xiaomi apps (such as Mi Video or GetApps).
- ๐ Supports Recovery of Remote Applications.
โ ๏ธ Note: If, after deleting Gboard, ADB AppControl stopped working Google Play Services or other services, restore the application through the same utility or follow the command: adb shell cmd package install-existing com.google.android.inputmethod.latin
What if ADB AppControl canโt see the device?
Method 5: Complete removal via TWRP (for stitched devices)
If your Xiaomi has custom recovery (TWRP) installed, you can physically remove Gboard files from the system partition, which ensures that the keyboard will not recover even after resetting.
You'll need:
- ๐ฑ Established TWRP Recovery (installation instructions are available on XDA-Developers for your model).
- ๐ฅ๏ธ Backup of data (deletion of system files can lead to unstable operation).
- ๐ง File Manager with support for root (such as Root Explorer or Mixplorer).
Instructions:
- Load the phone into TWRP mode (press Power + Volume up when turned on).
- In the main menu, select Mount and select System.
- Go back to the main menu and select Advanced โ File Manager.
- Go to /system/priv-app/GboardGoogle or /system/app/GboardGoogle (the path may vary depending on the model).
- Delete the entire folder or only the files: GboardGoogle.apk GboardGoogle.odex (if any)
Reboot the phone.
If you have problems with Google Play after deleting, restore deleted files from a backup or reflash MIUI via Fastboot.
๐ก
Removing via TWRP is the most radical method, but it is only suitable for users with an unlocked bootloader and recovery installed. On devices with a locked bootloader (for example, the new Xiaomi 13/14), this method will not work.
7. Method 6: Using debloater scripts (for advanced ones)
For those who donโt want to mess with ADB or TWRP, there are ready-made scripts to remove unnecessary Xiaomi apps, including Gboard. One of the most popular is Universal Android Debloater (UAD).
How to use:
- Download Universal Android Debloater (available for Windows, Linux and macOS).
- Connect your phone to your PC and start the program.
- In the list of applications, find com.google.android.inputmethod.latin.
- Select an action: ๐๏ธ Disable - Disable (analogue of freezing). ๐๏ธ Uninstall - Remove (requires) ADB).
Apply the changes and restart the phone.
Advantages of UAD:
- ๐ Supports batch removal of multiple applications.
- ๐ Here are some tips on which apps can be safely removed on Xiaomi.
- ๐ You can create a backup copy before deleting.
Disadvantages:
- โ ๏ธ Risk of removing critical system components (read package descriptions carefully!).
- ๐ฅ๏ธ Requires a connection to the PC.
8. Alternative Keyboards for Xiaomi: Which to Choose?
If you removed Gboard, you'll need an alternative. Here are the best options for Xiaomi:
| keyboard | Advantages | Deficiencies | Size (MB) |
|---|---|---|---|
| SwiftKey (Microsoft) | ๐น Predicting the text accurately๐น Synchronization between devices๐น Topics and customization | ๐ธ Requires a Microsoft account for synchronization๐ธ Sometimes it slows down on weak devices. | ~60 |
| Fleksy | ๐น Minimalist design๐น Quick-entry gestures๐น It's offline. | ๐ธ Fewer features than Gboard๐ธ Plugins paid | ~40 |
| AnySoftKeyboard | ๐น Complete customization of layout๐น Support for rare languages๐น Open source code | ๐ธ Tough setup๐ธ No cloud synchronization | ~30 |
| Simple Keyboard | ๐น lightweight (~5MB)๐น No data collection๐น No advertising. | ๐ธ Minimum functionality๐ธ No text prediction | ~5 |
Recommendation: If you want speed and minimal memory consumption, choose Simple Keyboard or AnySoftKeyboard.
To install an alternative keyboard:
- Download it from Play Market.
- Go to Settings โ System โ Language and input โ Current keyboard.
- Activate the new keyboard and set it by default.