How to remove a word from the dictionary on Xiaomi Redmi: all ways for MIUI

Have you ever encountered a situation where the keyboard on Xiaomi Redmi stubbornly offers a non-existent word, a typo or an obscene expression added by mistake? Android and MIUI system dictionary remembers all the terms entered by the user - and sometimes these entries interfere with comfortable typing. Unlike iOS, where dictionary management is hidden in the depths of settings, Redmi has several ways to clear unnecessary entries, but not all of them are obvious.

Complicating the problem is that the manufacturer regularly changes the layout of options in the MIUI firmware (especially after major updates like the transition to Android 13/14). In addition, on different Redmi models β€” whether it is the Note 12 Pro+, Redmi 10 or POCO X5 β€” the path to the dictionary settings may differ. In this article, we will discuss 5 proven methods, including hidden MIUI functions that work even if the standard methods do not help.

Why the keyboard saves unnecessary words

The system dictionary on Xiaomi is formed from three sources:

  • πŸ“± Custom words – those you have added manually or confirmed in type (e.g., jargon, names, abbreviations).
  • πŸ€– System sentences - basic dictionary Android/MIUI, which is updated with the firmware.
  • ☁️ Cloud Tips – Personalized Options from Google (if Sync is enabled) or Xiaomi Cloud.

The most common problems are caused by user words. /data/data/com.android.inputmethod.latin/shared_prefs/UserDictionaryProvider.xml And they don't even get deleted after you reset the keyboard to the factory settings. MIUI It can duplicate entries: for example, if you made a mistake in typing the word β€œhello” as β€œprivt”, the system will remember both options and will offer them equally.

⚠️ Note: Some applications (such as SwiftKey or Gboard) have their own vocabulary that is not synced with the system one. If you use a third-party keyboard, check its settings first - there may be a separate partition for managing words.

Another common reason is that you automatically add words from messages or search queries, for example, if you often search Google for the phrase "buy a redmi case," the keyboard may start to suggest the word "cachollaredmi" as a whole. In MIUI 14, this feature has become more aggressive, so users of the Redmi Note 12 and later complain about it more often.

Method 1: Remove via MIUI keyboard settings

The most obvious method is to use the built-in MIUI Keyboard tools (a standard keyboard on Xiaomi), but the path to the dictionary depends on the firmware version:

  • πŸ“Œ MIUI 12/13 (Android 10-12): Settings β†’ Additionally. β†’ Language and input β†’ Current keyboard (MIUI Keyboard) β†’ Settings β†’ User's dictionary.
  • πŸ“Œ MIUI 14 (Android 13/14): Settings β†’ Language and input β†’ Virtual keyboard β†’ MIUI Keyboard β†’ Advanced settings β†’ Dictionary management.

In the list that opens, you'll see all the words you saved to remove the unnecessary ones.

  1. Slip on the word, the editing window will open.
  2. Click on the basket icon (πŸ—‘οΈ) top-right.
  3. Confirm removal.

Check the version of MIUI in Settings β†’ About the phone

Close all applications that use the keyboard

Connect to Wi-Fi (to sync changes)

Take a screenshot of a list of words (in case of an error)

-->

If the word is not on the list, but the keyboard still offers it, then the record is stored in the keyboard cache.

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Find the MIUI Keyboard (or Android Keyboard on older models).
  3. Select Warehouse. β†’ Clear the cache.

⚠️ Caution: Clearing the cache will reset all temporary keyboard data, including typing history.This can lead to short-term lags on the next typing until the system resets the word index.

Method 2: Reset keyboard settings to factory

If the dictionary is filled with hundreds of unnecessary entries, it is not rational to delete them one at a time, which will help to completely reset the keyboard, which works on all Redmi models, including the Redmi 9A, Note 11 Pro and POCO F4.

Instructions:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Find the MIUI Keyboard (or Android Keyboard).
  3. Tap the Warehouse β†’ Delete the data (NO Cache!).
  4. Confirm the action.

Once reset, the keyboard will return to a post-purchase state, removing all user words, input history, auto-replace settings, and even the themes, but the Android system dictionary and cloud prompts will remain intact.

MIUI Keyboard (standard)

Gboard (Google)

SwiftKey (Microsoft)

Another.

-->

Action.Effects of consequencesRecovery
Clearing the cacheTemporary data, including unsaved words, is deletedNot required
Deletion of dataReset all user settings and dictionaryWe need to reconfigure the keyboard.
Removal of updatesReturn to the factory version of the keyboard (the risk of bugs)Update via Google Play

Important: On some MIUI firmware, resetting the keyboard can cause instant messengers (such as Telegram or WhatsApp) to fail.If the keyboard stops appearing after the procedure, restart the phone or install an alternative keyboard from Google Play.

Method 3: Editing the system dictionary file (for advanced)

If the standard methods didn't work, you can manually edit the dictionary file, which requires root rights or ADB access, so it's only suitable for advanced users. We'll look at the ADB option, because it doesn't require unlocking the bootloader.

Connect Redmi to your computer and execute the following commands:

adb shell


su




cd /data/data/com.android.inputmethod.latin/shared_prefs/




ls

You should see the UserDictionaryProvider.xml file. Download it to your computer:

adb pull /data/data/com.android.inputmethod.latin/shared_prefs/UserDictionaryProvider.xml

Open the file in any text editor (like Notepad++) and you will see the structure of the view:

<map>


<string name="word_1"> hello</string>




<int name="freq_1" value="5"/>




<string name="word_2">privt</string>




<int name="freq_2" value="3"/>




</map>

Remove unnecessary lines (for example, word_2 and freq_2 For the word "privt", save the file and download back:

adb push UserDictionaryProvider.xml /data/data/com.android.inputmethod.latin/shared_prefs/


adb shell chmod 660 /data/data/com.android.inputmethod.latin/shared_prefs/UserDictionaryProvider.xml

Reboot the phone. If the keyboard is not working properly after that, clear the keyboard (see Method 2).

What to do if you don’t have root rights?
You can’t edit a system file without root or ADB, but you can try an alternative method: 1. Install a root-enabled file manager (e.g., FX File Explorer). 2. Grant it permissions via adb shell pm grant nextapp.fx file:///data/. 3. Manually find and delete the problem entries in /data/data/com.android.inputmethod.latin/....

Method 4: Using Third-Party Applications

If you don't want to go through system files, you can use specialized utilities, such as the User Dictionary Editor app (available on Google Play) that allows you to control a dictionary without root rights, but on MIUI, it doesn't work well because of manufacturer restrictions.

Alternatives:

  • πŸ”§ MoreLocale 2 – Changes language settings, which sometimes resets the dictionary.
  • πŸ“² SwiftKey – has its own dictionary that can be cleared in the app settings.
  • πŸ”„ Gboard syncs the dictionary with your Google account, allowing you to manage words through a web interface.

For Gboard, the instructions are as follows:

  1. Open any input field and tap the icon. βš™οΈ keyboard.
  2. Select a dictionary β†’ Personal dictionary.
  3. Remove unnecessary words or reset the dictionary completely.

On Xiaomi Redmi with MIUI 14, the Gboard can conflict with the built-in keyboard. To avoid problems, turn off text prediction in the MIUI Keyboard settings.

πŸ’‘

If the emoji or emojis have disappeared after installing the third-party keyboard, switch back to MIUI Keyboard and check the settings in Settings β†’ Additional β†’ Emoji. Sometimes MIUI blocks emojis for non-system keyboards.

Method 5: Reinstall the keyboard via ADB

The last method is to completely reinstall the keyboard, which is good if the previous methods have failed or the dictionary is damaged, and you need a computer with ADB installed and drivers for Xiaomi.

Steps:

  1. Connect Redmi to your PC and activate Debugging over USB (Settings β†’ About Phone β†’ MIUI version – tap 7 times, then go back to Settings β†’ Additional β†’ For Developers).
  2. Open the command line and execute: Adb devices Make sure the device is defined.
  3. Delete the current version of the keyboard: adb shell pm uninstall -k --user 0 com.android.inputmethod.latin
  4. Reboot the phone. The system will automatically restore the standard keyboard with a clean dictionary.

⚠️ Note: Some Redmi models (such as the Note 10 Pro) may lose the Russian layout after this procedure. MIUI for your model from the official Xiaomi website and install it through the Software Update.

Frequent Mistakes and How to Avoid Them

When working with a dictionary on Xiaomi, users often face typical problems:

  • πŸ”„ Words come back after deletion, which means that the record is duplicated in the cloud dictionary.
  • 🚫 It is impossible to find the dictionary settings - on some firmware MIUI section hidden. Try resetting the keyboard settings (see Method 2).
  • ⚠️ The keyboard is laying down after cleaning -- that's normal, because the system is rearranging the index. 10-15 minutes or restart the phone.

Another common mistake is the confusion between the system dictionary and the user vocabulary, for example, if you try to delete the word "ashan" (a typo instead of "ashan"), but it still appears, then this word is in the basic Android dictionary, which can not be edited, in which case you just ignore the hint or add the correct option with a higher priority.

A new problem appeared on MIUI 14: once the firmware update is updated, the dictionary can be automatically restored from the backup.

  1. Turn off backup in Settings β†’ Google β†’ Backup.
  2. Clear the keyboard data (see Method 2).
  3. Only then do you install the update.

πŸ’‘

If you often experience dictionary issues, consider switching to an alternative keyboard (like Gboard or SwiftKey) that offers more flexible word management settings and is not dependent on MIUI updates.

Can I remove a word from the dictionary without root rights?
Yes, in most cases, standard keyboard settings (see Method 1 and Method 2) are sufficient. Root is only required for manual editing of system files, which is extremely rare.
Why did the emoji disappear after the keyboard was dropped?
This is a well-known MIUI problem. To return the emoji, switch to another keyboard (like the Gboard), then back to the MIUI Keyboard. If it doesn't work, upgrade to the latest version.
How to remove a word from Google’s cloud dictionary?
Open the Google language settings, search the Personal Dictionary section, and delete unnecessary entries. Changes are synchronized within 24 hours.
Can I transfer the dictionary to another Xiaomi phone?
Yes, if both devices are running MIUI. Use Backup in Settings β†’ Additional β†’ Backup and Reset. Select Application Data and select MIUI Keyboard.
Why does the keyboard offer obscene words?
They were most likely added to the dictionary by mistake or through sync with another device. Delete them through keyboard settings (see Method 1) and disable sync in Settings β†’ Google β†’ Sync.