Have you ever encountered a situation where the auto-replacement on Xiaomi stubbornly replaces the right word with the wrong one added to the dictionary by mistake? Or the keyboard offers obscene expressions that have accidentally survived after correspondence? In MIUI (the Xiaomi brand shell), the user dictionary accumulates words automatically - and not always convenient. Unfortunately, standard settings do not always allow you to quickly clear unnecessary entries.
In this article, we will discuss 5 Proven ways to remove a word from the dictionary on Xiaomi, Redmi, Poco and Black Shark smartphones β from standard tools to hidden Gboard keyboard features and MIUI Keyboard. We will pay special attention to the nuances for different versions. MIUI 14/15 android models 13/14, So if you've tried to reset the dictionary through the settings, but it didn't work, you'll find alternative solutions here, including: ADB-Teams for experienced users.
Why Words Are Saved in Xiaomiβs Dictionary and How It Works
The MIUI Keyboard (and its modifications for different regions) automatically adds new words to the user dictionary when:
- π Manual addition through long pressing on the word in the sentence line (function "Add to the dictionary").
- β Auto-replacement confirmation β if you choose one of the options, it can be saved as βright".
- π¬ Frequent use - algorithm MIUI Analyzes repeated words and adds them to the database (even with typos!).
- π Sync with Xiaomi account β if you have enabled the option to Sync keyboard data in your account settings.
The problem is you can't delete a word from the keyboard interface -- MIUI doesn't provide direct access to editing the dictionary -- but there are workarounds that not everyone knows about, like resetting the keyboard, which deletes all the saved words, but this is a radical solution. We'll look at point methods.
Method 1: Delete a word via MIUI Keyboard settings (official method)
This method works on most devices with MIUI 12-15 and is relevant for the standard MIUI Keyboard. If you use Gboard or another keyboard, move on to the next section.
- Open any text field (such as Notes or Messages) and call the keyboard.
- Press the gear icon (βοΈ) in the top row of the keyboard to open its settings.
- Go to the section Keyboard Settings β Dictionary and input β User dictionary.
- In the list, find an unnecessary word, click on it and select Delete.
Important! Some firmware (e.g. MIUI Global for the European region) may not have a user dictionary, in which case try an alternative path:
Settings β Additional β Language and input β Virtual keyboard β MIUI Keyboard β Settings β Dictionaryπ‘
If a word doesnβt appear in the list, try typing it into the text box β sometimes MIUI only shows actively used entries.
Method 2: Reset keyboard settings (radical method)
If the previous method didnβt work, or you want to delete all the saved words at once, you can reset the keyboard settings, which will delete the entire user dictionary, as well as reset auto-replace options, gestures and themes.
βοΈ Preparation for keyboard reset
- Go to Settings β Applications β Application Management.
- Find the MIUI Keyboard (or Keyboard) and open its settings.
- Select Warehouse. β Clear the data.
- Confirm action. The keyboard will restart with factory settings.
β οΈ Note: Some models (e.g. Xiaomi 13 Pro or Redmi Note 12) may require resetting the input language after resetting.
Method 3: Delete words via Gboard (if you use Google keyboard)
Many Xiaomi users install Gboard instead of a standard keyboard, in which case the word deletion process is easier:
- Open Settings β System β Language and input β Virtual Keyboard β Gboard.
- Select the dictionary β User dictionary.
- Click on the language (such as Russian), then find the unnecessary word and swipe it left or through the menu.
If the word is not listed, but the keyboard still suggests it:
- π Check the sync of the dictionary with your Google account in the Gboard settings.
- ποΈ Clear Gboard cache in Settings β Annexes β Gboard β Warehouse.
- π Reinstall the keyboard via Google Play.
What if Gboard doesnβt save new words?
Method 4: Manual editing of a dictionary file (for advanced users)
On Xiaomi with root rights or through ADB, you can manually edit a user dictionary file, which is suitable if the standard methods do not work, but requires caution.
The dictionary file is usually along the path:
/data/data/com.android.inputmethod.latin/files/user_dict_ru_RU.dict(for MIUI Keyboard) or
/data/data/com.google.android.inputmethod.latin/files/user_history_dict_ru_RU.dict(for Gboard).
To remove the word:
- Connect your phone to your PC and open ADB Shell (the ADB setup instructions are in the FAQ).
- Use the command to view the file: Adb shell cat /data/data/com.android.inputmethod.latin/files/user_dict_ru_RU.dict
- Find the unnecessary word and write down the line in which it is located.
- Delete the file with the command: adb shell rm /data/data/com.android.inputmethod.latin/files/user_dict_ru_RU.dict (The keyboard will recreate it the next time you enter it).
β οΈ Attention: Incorrect editing of system files can lead to keyboard failures. MIUI 14+ Android 13+ Access to this file can be blocked even through ADB In this case, use Magisk or modules to circumvent restrictions.
Method 5: Disable synchronization and reset via Mi Account
If words are saved again after deletion, the problem may be syncing with Xiaomi account, and even after manual cleaning, the dictionary is restored from the cloud.
To fix this:
- Open Settings β Accounts β Mi Account β Synchronization.
- Turn off the option of Keyboard Synchronization (or Input Data Synchronization).
- Return to the keyboard settings and reset (see Method 2).
- Reset the device.
After that, words will not be restored. If you want to save other data (such as notes or contacts), leave the synchronization on for them.
| Method | Difficulty | Required. root/ADB | Deleting all words? | It's working on MIUI 15. |
|---|---|---|---|---|
| Through the MIUI Keyboard settings | β | β No. | β No (pointed) | β Yes. |
| Resetting the keyboard | ββ | β No. | β Yes. | β Yes. |
| Editing via Gboard | β | β No. | β No (pointed) | β Yes. |
| ADB/Manual deletion of file | ββββ | β Yes. | β Yes. | β οΈ Partially (depending on SELinux) |
| Shutting down synchronization | ββ | β No. | β No, just the cloud) | β Yes. |
π‘
The most reliable way for most users is to combine disabling sync (Method 5) and resetting the keyboard (Method 2) to ensure that all local and cloud copies of the dictionary are deleted.
Frequent problems and solutions
Even after the word is deleted, it can reappear, and let's look at the typical causes and ways to eliminate them:
- π Word comes back after reboot β Check sync with Mi Account or Google (see Method 5).
- π± No "User Dictionary" in the settings β Update the firmware or use it ADB-method.
- π Keyboard asks for password after reset β It's a bug. MIUI 14.Reset the keyboard via Settings β Annexes.
- π English words not deleted β Remove them separately in the Input Language settings β English (USA/UK).
If none of the methods worked, it might be saved in a system dictionary (e.g., firmware for a specific region).
- Use another keyboard (e.g. SwiftKey or Fleksy).
- Turn off auto-replacement in keyboard settings.
- Wait for firmware updates (sometimes Xiaomi fixes such bugs in new versions of MIUI).