Xiaomi smartphone owners often face the need to disable the built-in text editor β whether itβs a standard MIUI keyboard, Googleβs Gboard or Microsoftβs SwiftKey. The reasons range from auto-replacement bugs to wanting to install an alternative like Fleksy or AnySoftKeyboard. However, Android (especially in the MIUI shell) doesnβt always allow you to do this intuitively β the shutdown buttons can be hidden and deleting leads to crashes.
In this article, we will discuss all possible ways to disable the text editor on Xiaomi (including the Redmi, POCO and Black Shark models), taking into account the nuances of different versions of MIUI 12/13/14 and Android 11/12/13.
- π§ Deactivate the keyboard through system settings (without root)
- ποΈ Remove the standard editor (including hidden packages)
- π οΈ Correct errors if any keyboard stopped working after disconnection
- π Bring it all back if something goes wrong.
Warn in advance: Some methods require superuser rights (root) or work with ADB. If you are a beginner, start with the simplest ways and do not miss out on the most basic ones.
β οΈ Attention: Disabling the system keyboard MIUI On some models (e.g. Redmi Note 10 Pro) it may be impossible to enter text in the lock field!
1. Method: Disabling the keyboard through Android settings
The most secure and versatile method that works on all Xiaomi smartphones without additional tools, suitable for disabling the Gboard, SwiftKey and even the built-in MIUI keyboard (but not for removing it!).
Instructions:
- Open Settings β System and device β Language and input.
- Tapping on Virtual Keyboard (or Keyboard Management in MIUI 14)
- Select the keyboard you want to disable (such as Gboard).
- Click on the icon. βοΈ (setting) β Shut down.
- Confirm the action in the window that appears.
If you don't have the option to disable, you're using the system keyboard (e.g., standard MIUI), and then you'll move on to the next one.
Install an alternative keyboard from Google Play
Make a backup of important texts (in case of bugs)
Check that at least one working keyboard is included in the settings
Close all applications where you may need to enter text
-->
2. Method: Remove the keyboard via ADB (without root)
To remove system applications (including the MIUI keyboard), you don't need to get root rights. Use the Android debugging bridge (ADB), which works on all Xiaomi models, but requires a connection to a computer.
Step-by-step:
- Download and install ADB Tools on PC.
- Turn on the smartphone Developer Mode (7 times tap the Assembly Number in Settings β About the phone).
- Activate Debugging by USB in Settings β Additional β For developers.
- Connect your phone to your PC and execute in the command line:
adb devices
adb shell pm list packages | grep keyboardIn the conclusion, find the name of the keyboard package (for example, com.miui.miuikeyboard for standard MIUI or com.google.android.inputmethod.latin for Gboard).
adb shell pm uninstall -k --user 0 com.miui.miuikeyboardπ‘
If the keyboard still appears in the list after deleting, follow the command adb shell pm clear com.miui.miuikeyboard to reset its settings.
3. Method: Disconnection through application settings
If the keyboard is not system-based (like SwiftKey or Fleksy), it can be disabled as a regular application, which wonβt work for the built-in MIUI keyboard, but will work for third-party solutions.
How to do this:
- Go to Settings β Applications β Application Management.
- In the search bar, type the keyboard name (e.g. SwiftKey).
- Slip on the application β Disable (or Delete if the button is active).
If the button is inactive, it means:
- π The keyboard is system-based (needed) ADB root).
- π± The application is installed as a system update (first remove the updates).
- π‘οΈ The phone's got security on. MIUI (Turn it off in Settings. β Special facilities β Simplified regime).
What if the keyboard still appears after disconnection?
Method 4: Use of applications for freezing (without root)
If you don't want to delete the keyboard permanently, but you need to temporarily disable it, use applications to freeze system applications.
- π§ App Inspector (allows you to disable applications without rooting through the app) ADB).
- βοΈ Package Disabler (works on Xiaomi with the MIUI 12+).
- π Debloater Tool (for PCs, requires a connection over the Internet) ADB).
Example from Package Disabler:
- Download and install the app from APKMirror.
- Provide access to Special Opportunities (in your phone settings).
- Find a keyboard in the list (e.g. com.miui.miuikeyboard).
- Slap it on and select Unplug.
π‘
Freezing is the safest way to return the keyboard in one click, but some system applications (such as MIUI Keyboard) can automatically turn on after a system update.
5. Method: Removal by root rights
If you have root access (e.g., through Magisk), you can completely delete the keyboard, including all of its files, and this is the only way to permanently get rid of the MIUI system keyboard without affecting other features.
Instructions:
- Install a file manager with root support (such as Root Explorer or FX File Explorer).
- Go to /system/app/ or /system/priv-app/.
- Find folders with names: MiuiKeyboard (standard MIUI keyboard), LatinIME (Gboard), SwiftKey (if installed).
.bak
Reboot the phone.
β οΈ Note: Deleting system files may result in bootloop (locked boot) or inoperability of some functions (e.g., input) PIN-Always back up Nandroid before you do that!
| keyboard | The path to files | Risks of removal |
|---|---|---|
| Standard MIUI | /system/app/MiuiKeyboard | Input in locking is not working, MIUI Launcher fails |
| Gboard | /system/priv-app/LatinIME | Minimum (can be restored through Play Market) |
| SwiftKey | /data/app/com.touchtype.swiftkey-* | No risks (third party application) |
6.What to do if the keyboard does not work after disconnection?
Sometimes, after removing or disabling the keyboard, Xiaomiβs system may lose the ability to type text.
- π Reboot: Just restart the phone - often this solves the cache issue.
- π± Reset keyboard settings: Go to Settings β System system β Resetting settings β Reset application settings.
- π§ Recovery through ADB: If the keyboard is completely missing, connect to the ADB and execute: adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural
- π οΈ Install an alternative keyboard via Recovery: If the phone doesnβt respond to touch, download the.apk keyboard (e.g. Simple Keyboard) to the phone. SD-map and install through TWRP.
If none of the methods helped, and the text input is critical (for example, to unlock), you will have to reset the phone to the factory settings or reflash it through the Mi Flash Tool.
7. How do you get the standard keyboard back?
If you decide to return the built-in MIUI or Gboard keyboard after experimenting, do the following:
- π Through Settings: Go to Settings β Language and input β Virtual keyboard β Control keyboards and turn on the desired.
- π₯ Through ADB: Install the keyboard back with the command: adb shell cmd package install-existing com.miui.miuikeyboard
- π Through Reset: Reset application settings in Settings β Memory. β Clearing the data.
- π οΈ Through System Restore: If the keyboard has been removed from root, restore it from the Nandroid backup or reinstall it through TWRP.
For Gboard, it is easiest to download it again from Google Play.