You open the messenger to send a message, but instead of the usual keyboard, there is empty space or an error: "Unfortunately, the Gboard/SwiftKey keyboard has stopped." This is familiar to many Xiaomi owners on MIUI 12-14. The problem can occur after a system update, an application failure, or even due to a banal cache conflict, and in 80% of cases it can be solved in 5-10 minutes without going to the service center.
In this article β 7 working methods of keyboard recovery on Redmi, POCO and Mi, including hidden settings MIUI, We'll look at both standard solutions (reset, cache clearing) and advanced ones (reset keyboard settings via ADB, Forced activation of the system keyboard. Particular attention will be paid to Xiaomi models 13/14 A series where the problem is often related to HyperOS optimization.
1. Basic checks: what to do before resetting
Before you start complex manipulations, make sure that the problem is not solved by simple actions. In 30% of cases, the keyboard disappears due to a temporary system failure or conflict with background processes.
Start with a forced reboot: press the power button for 10-15 seconds until the screen goes out and the phone starts to reboot. This method works if the failure occurred at the level of Android System UI, the component responsible for displaying the interface. On POCO F5 and Redmi Note 12 models, the keyboard often appears automatically after such a reboot.
- π Reboot: Hold the power button 10+ seconds before vibration.
- π± Checking the physical keyboard: If you use Xiaomi Black Shark with gaming triggers, make sure they donβt block the software.
- π Charging connection: Sometimes the keyboard disappears when itβs below 15% (especially on Redmi). 10A).
- π Plane Mode: Turn it on for 30 seconds, then turn it off β this will reset network settings that may conflict with Gboard.
If the keyboard doesn't show up after you restart, check if the kid mode or the guest profile is on, and in MIUI, these modes limit functionality, including text input, to exit:
- Swipe down from the top edge of the screen to open the notification bar.
- Click on the user icon in the upper right corner.
- Select your main profile (usually marked as βOwnerβ).
2. Cleaning the cache and keyboard data
The most common reason for keyboard loss is a damaged app cache, which occurs after automatic updates (especially if you use Gboard beta) or when memory is scarce. Clearing the cache will not delete your settings (such as saved words or themes), but will reset temporary files that can block work.
Instructions for MIUI 14:
- Open Settings β Applications β Application Management.
- In the search bar, type the name of the keyboard (such as Gboard or Xiaomi Keyboard).
- Click on the app β Storage β Clear the cache.
- If it didnβt work, go back and select Clear Data (this will remove all keyboard settings!).
On the POCO X5 and Redmi Note 11 models, switching to the system keyboard may be necessary after cleaning the data:
- Go to any input field (for example, Notes).
- Tap the keyboard icon in the lower right corner (if any).
- Select the Xiaomi Keyboard (or the Android AOSP Keyboard).
βοΈ Preparation for cache cleanup
β οΈ Note: If you are using SwiftKey synced via Microsoft, clearing the data will remove all cloud settings. Before the procedure, check if sync is enabled in your Microsoft account.
3. Reinstall the keyboard via Safe Mode
If the cache cleaning didnβt help, the keyboard could be damaged at the installation level, in which case Safe Mode, where all third-party applications are disabled, will help to determine whether the keyboard application itself is to blame or a conflict with other software (for example, MIUI Optimization or Security).
How to get into Safe Mode on Xiaomi:
- Turn off the phone.
- Hold the power button until the MI logo appears.
- Once the logo appears, immediately press and hold the volume button until the phone boots.
- In the lower left corner of the screen should appear the inscription βSafe modeβ.
In safe mode:
- π² Remove the current keyboard (Settings) β Annexes β Gboard/SwiftKey β Delete).
- π Restart your phone to normal mode.
- π₯ Install the keyboard again from Google Play.
If Safe Mode's keyboard works, the problem is conflicting with another app.
- MIUI Optimization (disable in Settings β Applications β Show everything β System).
- Second Space or Double Applications (remove keyboard duplicates)
- Cache cleaning applications (such as Clean Master).
What to do if you canβt get into Safe Mode?
4.Restore system keyboard via ADB
Xiaomi devices with MIUI 13/14 sometimes lose not only the user keyboard (Gboard), but also the system (LatinIME), in which case ADB (Android Debug Bridge) - a debugging tool that allows you to control your phone through a computer.
This method is the only one that works on Xiaomi 13 Ultra and POCO F4 GT after the HyperOS update failure, when the keyboard disappears completely, and the Language and Input section is missing in the settings.
Step-by-step:
- Download ADB Tools and unpack it on your computer.
- Connect your phone to your PC via USB, enable debugging via USB (see spoiler above).
- Open the command line in the adb folder and type: adb shell pm enable com.android.inputmethod.latin This command activates the LatinIME system keyboard.
- If you need a Xiaomi keyboard, use: adb shell pm enable com.miui.miuilatin
- Reboot your phone: adb reboot
After the reboot, the system keyboard should appear. If not, check if it is disabled in the settings:
- Open Settings β Additional settings β Language and input β Current keyboard.
- Activate the Android Keyboard (AOSP) or Xiaomi Keyboard.
β οΈ Note: On some Xiaomi.EU firmware (castom) the pm enable command may not work due to modified access rights.
5. Resetting language settings and input
If previous methods didn't work, the problem could be the system settings of the language, and MIUI has a hidden partition that manages keyboards, voice input, and speech recognition, and resetting it back to factory settings without losing any personal data.
Instructions:
- Open Settings β System and device β Additional settings β Resetting.
- Select Reset language settings, input and special features.
- Confirm the action (a password may be required).
- After reset, restart the phone.
This method is particularly effective if:
- π The keyboard appears, but immediately disappears when dialing.
- π€ Voice input is not working (Google Assistant or XiaoAI).
- π Languages are incorrectly displayed (for example, instead of Russian, hieroglyphics).
On the Xiaomi Mi 11 and Redmi K40, you may need to reset:
- Go to Settings β Additional settings β Language and input β Virtual keyboard.
- Turn on the desired keyboard and set it by default.
π‘
If the keyboard still doesn't work after reset, try adding a second input language (e.g. English) and switching to it, sometimes waking up system components.
Problems with HyperOS: Features for New Models
With the release of HyperOS (starting with Xiaomi 13 series and POCO F5), new system optimization bugs have appeared, one of which is the automatic switching off of the keyboard when activating power saving mode or using MIUI+ functions (PC sync).
How to fix it:
- Open Settings β Battery and Performance β Battery Modes
- Select Performance mode (not Energy Saving or Balanced).
- Go to Settings β Connected Devices β MIUI+ and turn off keyboard synchronization.
- Update HyperOS to the latest version (in 2026, the bug is fixed in versions 1.0.23+).
If the problem persists, try rolling back MIUI optimization:
- Open the Settings. β The phone.
- Click 5 times on the MIUI version to activate the developer mode.
- Return to the additional settings β Developer parameters.
- Find the option to Disable MIUI Optimization and activate it.
- Reboot the phone.
| Xiaomi model | Typical reason for missing keyboard | Recommended solution |
|---|---|---|
| Redmi Note 12 | Discussion with MIUI Optimization after update | Cache Clearing + Disabling MIUI Optimization |
| POCO F4 GT | LatinIME system keyboard failure | ADB-pm enable com.android.inputmethod.latin |
| Xiaomi 13 Pro | HyperOS bug in energy saving mode | Switching to Performance Mode |
| Redmi 10C | Lack of memory (Gboard cache >500 MB) | Cleaning data + reinstalling the keyboard |
| Mi 11 Lite | Conflict with Second Space | Removing the keyboard duplicate in the second space |
7.Extreme measures: reset to factory settings
If none of the methods worked, you have to reset your settings completely. This will delete all the data from your phone, so pre-back up via Settings β About Phone β Backup or Mi Cloud.
How to reset Xiaomi without losing data (if the phone still reacts to touch):
- Open Settings β About the phone β Reset settings.
- Choose to erase all data.
- Enter the password from the Mi Account (if linked).
- Confirm the action.
If the screen is not responsive or the keyboard is needed to enter the password:
- π§ Use Recovery Mode: Turn off the phone, then pinch the Power + Loudness up until the Recovery menu appears.
- π₯οΈ Connect to your PC and use the Mi Flash Tool to flash it (requires an unlocked bootloader).
β οΈ Note: On HyperOS models (e.g. Xiaomi 14), a reset via Recovery can result in a Mi Account being blocked if you don't unplug it in advance. β Xiaomi account.
π‘
Before resetting to factory settings, be sure to delete your Mi Account if you plan to sell the phone, otherwise the new owner will not be able to activate the device!