How to completely clean the dictionary on Xiaomi Redmi Note: from keyboard to system data

Why Clean Your Smartphone Dictionary and When You Really Need It

The custom dictionary on Xiaomi Redmi Note is a hidden but critical part of the system that is responsible for auto-replacement, typing tips, and even voice command recognition. Over time, it gets jammed with erroneous words, slang, typos, or outdated information (such as old addresses, contact names you deleted long ago), and as a result, the keyboard starts to โ€œfoolโ€: offer ridiculous options, correct the right words for the wrong ones, or even slow down when you type.

But cleaning a dictionary isn't always a panacea. For example, if the problem is just one keyboard (say, Gboard or SwiftKey), you just reset it without touching the MIUI system dictionary. But when auto-replacement is buggy in all applications, from SMS to browser, it's a sure sign that it's time to clean the system user dictionary, which is stored deep in the Android settings.

In this article, weโ€™ll look at all the ways you can clean up your dictionary on Redmi Note (including the 10/11/12 series and older versions), from simple to radical, with MIUI 14/15 firmware in mind, learn how to remove words from your keyboard, reset your system dictionary without losing data, and even manually edit your dictionary files through ADB (for advanced users).

Method 1: Cleaning the dictionary in the standard MIUI keyboard

If you use Xiaomiโ€™s native keyboard (itโ€™s called the โ€œMIUI Keyboardโ€ or โ€œMi Keyboardโ€), most of the junk words are stored in its settings, which is the most secure method and doesnโ€™t affect system files.

Instructions:

  1. Open any field to enter text (such as notes or a message).
  2. Touch the badge. โš™๏ธ (gears) on the keyboard to open its settings.
  3. Go to the dictionary section โ†’ User-generated dictionary.
  4. Here you'll see a list of all the words you've saved. Click on three dots (โ‹ฎ) In the upper right corner and select Delete everything.
  5. Confirm the action.

If you have a different keyboard installed (like Gboard), the process will be slightly different:

  • ๐Ÿ”น Gboard: Settings โ†’ Dictionary โ†’ Personal dictionary โ†’ [Choose a language] โ†’ Delete everything
  • ๐Ÿ”น SwiftKey: Settings โ†’ Accounts โ†’ Microsoft SwiftKey โ†’ Dictionary โ†’ Clear the dictionary data
  • ๐Ÿ”น Samsung Keyboard (if installed): Settings โ†’ General management โ†’ Language and input โ†’ Samsung keyboard โ†’ Resetting settings

โš ๏ธ Note: After cleaning the dictionary, the keyboard may temporarily โ€œforgetโ€ frequently used words (such as your first or last name) and have to re-enter them several times so that the system remembers them again.

๐Ÿ“Š What keyboard do you use on the Xiaomi Redmi Note?
Standard MIUI
Gboard (Google)
SwiftKey
other
I don't know.

Method 2: Reset keyboard settings via application menu

If cleaning the dictionary didn't help, or if you want to return the keyboard to factory settings, you can do a complete reset of the keyboard, which will delete not only the dictionary, but all personal settings (themes, gestures, predictions).

How to do this:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Find your keyboard (e.g., "MIUI Keyboard" or "Gboard").
  3. Go to the Warehouse. โ†’ Clear the data.
  4. Confirm the action. The app will restart and all settings will reset.

There is an alternative way for Gboard:

  • ๐Ÿ“Œ Open any input field, touch the icon โš™๏ธ keyboard.
  • ๐Ÿ“Œ Go to Settings. โ†’ Additionally. โ†’ Resetting settings.
  • ๐Ÿ“Œ Select Reset all settings and confirm.

Save frequently used words (you can take a picture of the dictionary screen)

Remember the keyboard design theme (if important)

Disable dictionary sync with Google (unless you need to restore)

Check that after reset the keyboard will not change to the system (in the default settings)-->

After resetting, the keyboard may be slower for the first few days โ€” which is normal, as it relearns your typing style. If the brakes don't go past more than a week, try reinstalling the keyboard or clearing the system's cache (more on that below).

Method 3: Cleaning the Android System User Dictionary

If the problem isn't with the keyboard, but with Android itself, which stores a common vocabulary for all apps, you need to clean up the system data, which is more complex but more effective, removing words that are tightened even in apps where you haven't used the keyboard.

Instructions for MIUI 14/15:

  1. Open Settings โ†’ Additional โ†’ Language and Entering โ†’ Virtual Keyboard.
  2. Press three points (โ‹ฎ) in the upper right corner and select Text Input Settings.
  3. Scroll down and find the User Dictionary section (on some firmware it may be called the Android Dictionary).
  4. Open it and delete all unnecessary words manually or click Clear the Dictionary.

On older versions of MIUI (up to 12.5), the path may differ:

Settings โ†’ System and device โ†’ Language and input โ†’ Text โ†’ User dictionary

If the User Dictionary is not on the menu, it is hidden, and one of the following ways will help:

  • ๐Ÿ”ง Use it. ADB (Method 5 in this article).
  • ๐Ÿ”ง Install a third-party dictionary management app (e.g., Personal Dictionary Editor).
  • ๐Ÿ”ง Reset all language settings (but this will also delete other personal data).

โš ๏ธ Note: Some Xiaomi firmwares have the system dictionary tied to your Mi Account. Once cleared, words can recover the next time you log in. To avoid this, turn off sync in your account settings before clearing.

Method 4: Delete dictionary files via File Manager (for advanced)

If standard methods fail, you can manually delete dictionary files that are stored in system folders, which requires root rights or at least access to hidden folders through a file manager (e.g., MiXplorer or Solid Explorer).

Where to look for dictionary files:

Type of dictionaryThe path to the fileWhat it keeps.
Android System Dictionary/data/data/com.android.providers.userdictionary/databases/user_dict.dbAll custom words for auto-replacement
MIUI keyboard dictionary/data/data/com.miui.miuikeyboard/shared_prefs/ (file extension.xml)Settings and words specific to the Xiaomi keyboard
Gboard Dictionary/data/data/com.google.android.inputmethod.latin/databases/Personal dictionary and history of input
Cash predictions/data/data/[name packet keyboard]/cache/Temporary data for faster input

How to delete:

  1. Install a file manager with root access (e.g. MiXplorer).
  2. Go to one of the paths above (depending on which dictionary to clear).
  3. Delete or rename files (e.g. add.bak at the end of the name).
  4. Reboot the phone.
What if there are no root rights?
Without root, you canโ€™t delete files directly, but you can try: 1. Use ADB (method 5). 2. Set an alternative keyboard and move the dictionary to it, and then delete the old one. 3. Reset the application settings (method 2), but itโ€™s less effective.

Once manually cleaned, the dictionary will be empty, and it will take time for the keyboard to relearn your typing style. If you delete Gboard files, then after the reboot, the app may ask you to reconfigure the language โ€” that's okay.

Method 5: Cleaning the dictionary through ADB (for technical users)

If you're familiar with the command line, ADB (Android Debug Bridge) is the most powerful dictionary management tool, and it allows you not only to clean words, but also to add them in batches, export them or import the dictionary.

What you need:

  • ๐Ÿ–ฅ๏ธ Computer with installed ADB and drivers for Xiaomi.
  • ๐Ÿ“ฑ Included debugging by USB on the phone (Settings) โ†’ The phone. โ†’ Version. MIUI โ€” Press 7 times, then return to Settings โ†’ Additionally. โ†’ For developers โ†’ Debugging by USB).
  • ๐Ÿ”Œ USB Type C C Cable (preferably original).

Cleanup commands:

  1. Connect your phone to your PC and execute: Adb devices (you should display your device).
  2. To clean up the Android system dictionary: adb shell pm clear com.android.providers.userdictionary
  3. To reset the MIUI keyboard: adb shell pm clear com.miui.miuikeyboard
  4. For Gboard: adb shell pm clear com.google.android.inputmethod.latin

If you need to not just clean, but export the dictionary before reset, use:

adb pull /data/data/com.android.providers.userdictionary/databases/user_dict.db

This will copy the dictionary file to your PC, and once cleaned, it can be returned back by the adb push command.

๐Ÿ’ก

Before using ADB, back up your phone data. A team error can cause system applications to crash.

Method 6: Complete resetting of settings (last resort)

If none of these things worked, and the auto-replacement problem is critical (e.g., the keyboard is completely shut down or offers only characters), the last option is to reset the phone to factory settings, which will delete all data, including dictionaries, apps, photos and settings.

How to do the reset correctly:

  1. Create a backup copy of important data (contacts, photos, messages).
  2. Open Settings โ†’ About Phone โ†’ Backup and Reset โ†’ Reset settings.
  3. Select Reset Settings and confirm.
  4. Once you reboot, the phone will be like new.Configure it again, but don't restore the dictionary backup (if you have one) so the problem doesn't come back.

โš ๏ธ Note: Some Xiaomi firmware may require re-assigning your Mi Account after a reset. Make sure you remember your username and password, otherwise the phone will be locked!

Resetting is a radical solution and should only be resorted to if:

  • ๐Ÿ”ธ The keyboard is completely inoperable.
  • ๐Ÿ”ธ The problem is observed in all applications.
  • ๐Ÿ”ธ Other cleaning methods have failed to produce results.
  • ๐Ÿ”ธ You are ready to lose all the data on your phone.

๐Ÿ’ก

Before reset, check if the strange behavior of the keyboard is associated with viruses, install an antivirus (for example, Malwarebytes) and scan the system.

Frequent Mistakes and How to Avoid Them

When cleaning the dictionary, users often face typical preventable problems:

  1. The dictionary cleared, but the words returned after the reboot, and the reason was sync with your Google account or Mi Account, so you can turn off sync in your account settings before you clear.
  2. The keyboard started offering words in another language, and the reason was resetting the language. Solution: check the main input language in Settings โ†’ Language and input.
  3. After cleaning the dictionary, the commonly used abbreviations (e.g., "sps" โ†’ "thank you") disappeared. The reason was that these words were only stored in the user's dictionary. Solution: add them again manually.
  4. ADB can't see the device. The reason is: no drivers are installed or USB debugging enabled. Solution: reinstall Xiaomi drivers and check the developer's settings.

If the keyboard still doesnโ€™t work properly after cleaning the dictionary, try:

  • ๐Ÿ› ๏ธ Install a different keyboard (e.g. Fleksy or Chroom).
  • ๐Ÿ› ๏ธ Update firmware MIUI last-minute.
  • ๐Ÿ› ๏ธ Check your phone for viruses (some Trojans replace system dictionaries).
Can you clean the dictionary without losing other data?
Yes, the first 4 ways in this article (cleaning through keyboard settings, app reset, system dictionary, and ADB) donโ€™t affect user files (photos, videos, contacts). Only a full phone reset (method 6) deletes everything.
Why did the keyboard work slower after cleaning the dictionary?
This is normal: the keyboard takes time (usually 1-3 days) to relearn your typing style. If the brakes don't go past more than a week, try clearing the keyboard cache or reinstall it.
How to transfer the dictionary to the new Xiaomi phone?
If both phones are on MIUI, Use backup in Settings โ†’ The phone. โ†’ Backup. For Gboard, enable sync in the keyboard settings. You can also manually copy the file. user_dict.db through ADB (method 5).
Can I turn off auto-replacement completely?
Yes. For the standard MIUI keyboard: Keyboard settings โ†’ Text input โ†’ Auto Replace โ†’ Disable. For Gboard: Settings โ†’ Text correction โ†’ Auto Replace โ†’ Off.
Why are some words not removed from the dictionary?
Some words (such as mats or insults) can be blocked at the system level, and MIUI also has "protected" words that are added automatically (contact names, addresses), and you have to edit system files through root or ADB to delete them.