How to install the default keyboard on Xiaomi: all ways and life hacks

Why Xiaomi can’t change the keyboard and how to fix it

Xiaomi smartphone owners often face a situation where, after installing an alternative keyboard (such as Gboard or SwiftKey), the system persistently returns the standard MIUI Keyboard. The reason lies in the aggressive policy of optimizing MIUI 14+ automatically resets the keyboard settings after rebooting or clearing the cache.

Another common problem is that there's no "Default" button in the keyboard settings, which happens if:

  • πŸ“± You have a beta version installed. MIUI experimentally
  • πŸ”„ The keyboard is not fully activated in the special features settings
  • πŸ› οΈ System files damaged after failed update
  • πŸ”’ On the smartphone enabled Developer mode with restrictions for third-party applications

In this article, we will discuss all working ways to change the keyboard to Redmi, POCO and Xiaomi, including models 2023-2026 And we'll also talk about how to fix change forever, and let's start with the simplest method that works in this world. 80% case.

πŸ“Š Which keyboard do you prefer on Xiaomi?
Standard MIUI Keyboard
Gboard by Google
SwiftKey by Microsoft
Another (write in the comments)

Method 1: Standard keyboard change via MIUI settings

This method is suitable for most models, including the Xiaomi 13/14, Redmi Note 12 and POCO F5. The main condition is that you must have at least one alternative keyboard from Google Play.

  1. Open Settings β†’ Applications β†’ Application Management
  2. Click on the three dots in the top right corner and select the Default Apps
  3. Scroll to the keyboard section and tap it.
  4. In the list of available keyboards, select the desired one (for example, Gboard)
  5. Confirm the choice with the button Set by default

If after these actions the keyboard is still reset, check:

β˜‘οΈ What to do if the keyboard doesn’t change

Done: 0 / 4

⚠️ Attention: On some firmware MIUI The default application may not be available, in which case use an alternative method through language settings.

Method 2: Alternative path through language and input settings

This method is especially relevant for devices with MIUI 13 and later, where the standard path can be hidden.

  1. Go to Settings β†’ Additional settings β†’ Language and input
  2. Select Current Keyboard (or Keyboard Management on some models)
  3. Activate the slider next to the desired keyboard (e.g. SwiftKey)
  4. Click on the gear icon next to the keyboard name
  5. Choose Use as a system or Make the default keyboard

Some firmwares will need to confirm the choice in the window that appears after this action. If the window does not appear, try:

  • πŸ”„ Switch to another keyboard and back
  • πŸ“± Reset the device
  • 🧹 Clear the Settings app data (safe, settings won't reset)

πŸ’‘

If the keyboard is not on the list, check if it is included in the special features settings (Settings β†’ Special features β†’ Installed services).

Method 3: Radical Method through ADB (for power users)

If the standard methods do not work, and the keyboard is stubbornly reset to the standard MIUI Keyboard, I'll have to use it. ADB-This method requires a connection to a computer, but it's guaranteed to solve the problem.

You'll need:

  • πŸ’» Computer with Platform Tools installed
  • πŸ“± Developer Mode on Xiaomi enabled
  • πŸ”Œ USB-cable (preferably original)
  • πŸ” Debugging authorization USB

Step-by-step:

  1. Connect your smartphone to your computer and allow debugging
  2. Open the command line in the folder with platform-tools
  3. Enter the command to check the connection: Adb devices Must appear serial number of your device
  4. Run the command to change the keyboard (replace com.example.keyboard with your keyboard package): adb shell ime set com.example.keyboard
  5. For Gboard, use: adb shell ime set com.google.android.inputmethod.latin

Once you've done the command, the keyboard will change immediately. To fix the changes, you'll need to do an additional command:

adb shell ime enable com.example.keyboard && adb shell ime disable com.miui.internal.keyboard

⚠️ Attention: Misuse of the right ADB This may cause system failures. Do not change other settings through ADB, If you're not sure what they're supposed to do, some models. POCO With global firmware, this method may not work due to manufacturer restrictions.

keyboardAdvantagesDeficienciesSupport for MIUI
MIUI KeyboardOptimized for Xiaomi, themes support, gesturesData collection, limited settingsβœ… Complete.
GboardGoogle Translate, GIF, Voice InputHigh energy consumptionβœ… Complete.
SwiftKeyBest word prediction, cloud synchronizerPlugins require subscriptionsβœ… Complete.
FleksyMinimalist design, extensionsFees paid⚠️ Partial (bugs on) MIUI 14)
ChroomOpen source code, no advertisingLimited localizationβœ… Complete.

For most Xiaomi users, Gboard remains the best choice, as it is best integrated with Google services and has minimal compatibility issues. However, if you care about privacy, look at Chroom or AnySoftKeyboard.

How to find out the batch name of the keyboard for ADB?
Install the App Inspector app from Google Play. Open it, find your keyboard in the list, and copy the value in the Package Name field.

Solving problems: Keyboard resets after rebooting

This is the most common complaint of Xiaomi users, and the reason is because of the optimization service com.miui.daemon, which resets the default settings. Here's how to fix it:

  1. Open Settings β†’ Applications β†’ Application Management
  2. Find the Settings app (cog icon)
  3. Select Warehouse β†’ Clear the cache
  4. Reset the device
  5. Reset the keyboard by default

If this doesn’t work, try more radical measures:

  • πŸ›‘οΈ Turn off battery optimization for keyboard: Settings β†’ Battery. β†’ Optimizing the battery β†’ All applications β†’ Find the keyboard. β†’ No restrictions.
  • πŸ”§ Turn off automatic system optimization: Settings β†’ The phone. β†’ Tap 7 times on "Version" MIUI" β†’ Return to "Additional settings" β†’ Developer mode β†’ Turn off Optimization. MIUI"
  • πŸ“¦ Remove updates for MIUI Keyboard through Settings β†’ Annexes β†’ MIUI Keyboard β†’ Three points. β†’ Remove updates

Some firmware (especially Chinese versions) may require disabling com.miui.daemon via ADB:

adb shell pm disable-user --user 0 com.miui.daemon

⚠️ Note: Disabling system services may cause the device to work unstable. Before executing this command, back up your data via Settings β†’ Additional settings β†’ Backup and reset.

Features for different Xiaomi models

The manufacturer uses different firmware versions for different lines, which affects the process of changing the keyboard.

LineaFeaturesRecommendations
Xiaomi 12/13/14MIUI 13/14 with aggressive optimizationUse ADB or turn off optimization
Redmi Note 10-12Global firmware is more loyalThe standard method usually works.
POCO F3-F5Often go without preinstalled MIUI KeyboardYou can install any keyboard immediately.
Black SharkGame software can block third-party keyboardsTurn off the game mode before the change

For Chinese firmware devices (such as the Xiaomi 13 Pro CN), the process is complicated by the lack of Google services.

  • 🌍 Install Google Installer from the official Xiaomi store
  • πŸ”„ Restart your device after installing Google services
  • πŸ“± Install Gboard via APKMirror (if Play Market is not available)

On POCO models with MIUI for POCO (e.g. POCO X5 Pro), a bug is common when the keyboard is reset after the system update.

  1. Reverse to the previous version of the keyboard via Settings β†’ Apps β†’ Keyboard β†’ Three Dots β†’ Remove Updates
  2. Turn off automatic keyboard updates in Play Market

FAQ: Frequent questions about changing the keyboard to Xiaomi

Can I remove the standard MIUI Keyboard?
No, it's a system application, and if you delete it completely, you can crash. β†’ Annexes β†’ MIUI Keyboard β†’ Disable Remove Updates to Return to the Factory Version Use ADB-command to hide: adb shell pm hide com.miui.internal.keyboard On some firmware after shutdown MIUI Keyboard may miss the virtual keyboard in some system applications (for example, in Settings).
Why does voice input disappear after changing the keyboard?
This is because voice input is tied to Google or MIUI system services. Solutions: For Gboard: Update Google App and enable voice input in the keyboard settings for MIUI Keyboard: check if voice input is enabled in Settings β†’ Additional settings β†’ Language and input β†’ Voice input Install a separate voice input app, such as Speech Services by Google
How to return a standard keyboard if the alternative one is not working properly?
Bring it back. MIUI Keyboard can be done in two ways: through settings: β†’ Annexes β†’ Application management β†’ Default applications β†’ keyboard β†’ MIUI Keyboard Through ADB (if the standard method does not work: adb shell ime set com.miui.internal.keyboard If the keyboard has been disabled, first enable it in Settings β†’ Annexes β†’ MIUI Keyboard β†’ Turn on.
Will resetting your settings help if the keyboard doesn’t change?
Resetting to factory settings is a last resort, which solves the problem 90 percent of the time: πŸ“ Save important data (contacts, photos, messages) πŸ”– Take a picture or take a picture of the current settings. πŸ”‹ Charge your phone at least 50% After reset: Do not restore settings from backup (this can return the problem) Immediately after the first setup, set the desired keyboard Turn off automatic optimization in the developer settings
Can I use a keyboard from other manufacturers (Samsung, Huawei) on Xiaomi?
Technically yes, but there are nuances: πŸ“± Samsung Keyboard requires additional Samsung services, which may conflict with the MIUI πŸ“± Huawei SwiftKey (not to be confused with Microsoft SwiftKey) is not optimized for Xiaomi and can slow down πŸ“± iOS keyboards (for example, through emulators) will not work due to different API It is better to use universal solutions like Gboard, SwiftKey or Chroom, which are adapted for most Android devices.

πŸ’‘

If standard methods do not work, the combination of "cleaning the Settings cache" + ADB-team + Disabling optimization solves the problem 99% of the time.