Have you ever encountered a situation where someone at home or in a colleague accidentally (or intentionally) changed your text sentences in Xiaomi? For example, corrected a word auto-replacement or deleted a frequently used phrase from the keyboard? MIUI has a hidden feature that allows you to block password editing โ but it is not so easy to find it. This guide will help you understand how to turn on protection, which models support the function, and what to do if the password is forgotten.
It's important to understand that this isn't about locking the entire phone, but protecting the specific text patterns you've added to Keyboard Settings โ Personalized Offers, which is useful for business users who store email templates in sentences, or for parents who want to restrict children's access to certain phrases. However, on devices with MIUI 14 and later, the algorithm for encrypting sentences has changed, so the password is now tied to a Mi Account, not a local storage.
What are Xiaomiโs โoffersโ and why block them
In MIUI, proposals are understood to mean:
- ๐ Text templates that appear when typed (e.g., "Good day, {name}!" when typed "ddd").
- ๐ค Words from the user dictionary added manually through Settings โ Additionally. โ Language and input โ Keyboard Xiaomi โ Dictionary.
- ๐ฌ Quick answers in messengers (available in some versions) MIUI long-pressed).
Without protection, anyone who takes your phone can change this data, for example, a colleague will jokingly replace the "Immediate Importance" template with "Send Memes" and a child will delete all saved email addresses from autocomplete, and the sentence password solves this problem, but it doesn't work on all models:
| Model/series | Support for offer password | MIUI version |
|---|---|---|
| Xiaomi 13/13 Pro | โ Yes (via Mi Account) | 14.0.5+ |
| Redmi Note 12 | โ Yes (local password) | 13.0.12โ14.0.3 |
| POCO F5 | โ ๏ธ Partially (for templates only) | 14.0.2 |
| Xiaomi 11T | โ No (removed in) MIUI 13.5) | 13.5.1 |
If your model is not in the table, check for the feature experimentally: try adding a password to the instructions below. On devices with MIUI 12 and older, the option may be called Privacy Protection instead of "Service Password".
Step-by-step instructions: how to turn on a password
The process varies depending on the firmware version, and below is the universal algorithm that works on most current devices (2022-2026 release).
- Open Settings and go to Additional โ Language & Enter โ Xiaomi Keyboard (or Gboard if you use it).
- Select Dictionary โ Personalized sentences (on some models, path: Keyboard settings โ Text input โ Word management).
- Stick to three points (โฎ) in the upper right corner and select Offer Protection or Set Password.
- Think of a 4-8-digit PIN-code MIUI 14+ You will need to confirm it via Mi Account).
- Repeat the password and save the changes.
Check the version of MIUI in Settings โ About the phone
Make sure your Mi Account is linked to your device
Write your password to a secure location (for example, a password manager)
Turn it off. VPN โ It can block synchronization with Xiaomi servers.-->
After activation, an icon will appear next to the protected offers ๐. To edit or delete such a sentence, you will request a password. Please note: on devices with MIUI 14+ password reset is possible only through resetting keyboard settings (this will delete all personal data!).
โ ๏ธ Note: If you use Gboard instead of the standard Xiaomi keyboard, the sentence password function is not available. In this case, protect access to keyboard settings through Settings โ Annexes โ Permits โ Special access โ Protection of settings.
How to Reset Your Password If You Forgot
Forgotten sentence passwords are a common problem, and recovery methods depend on the version of MIUI:
- ๐ MIUI 14+: Go to Settings. โ Accounts. โ Mi Account โ Security and select Reset password sentences. Require confirmation SMS email.
- ๐ฑ MIUI 12โ13: Delete the file. /data/data/com.miui.systemui/shared_prefs/keyboard_settings.xml through ADB (Root rights are required).
- โ ๏ธ Any version: Reset the keyboard settings in Settings โ Annexes โ Application management โ keyboard โ Warehouse โ Clear the data. It will delete all the saved words!
If none of these methods work, you just have to reset your phone completely (with data loss).
- Log in to Mi Account on another device and check the history of changes in Mi Cloud โ Sync โ Keyboard.
- Use the adb shell to retrieve the backup of offers (command: adb pull) /data/data/com.miui.systemui/shared_prefs/keyboard_settings.xml).
What to do if your Mi Account is not tied?
โ ๏ธ Attention: On devices with MIUI For the global market (e.g. Redmi Note 12 Global), the Mi Account password reset function can be disabled, in which case only a keyboard reset or firmware via Fastboot will help.
Alternative ways to protect proposals
If your Xiaomi model doesnโt support a password for offers, consider these methods:
- ๐ Entire phone protection: Set a password/fingerprint to unlock the screen.This will not block editing sentences, but will restrict access to settings.
- ๐ฑ Third-party keyboards: SwiftKey and Fleksy allow you to encrypt user words (set up in your account) โ Synchronization โ Data protection).
- ๐ฅ๏ธ Backups: Export sentences to the file via Keyboard Settings โ Export/Import and keep a copy in an encrypted archive.
For business users, a solution with MDM-For example, Mi Enterprise Suite allows you to block changes to system settings, including the keyboard, but this requires you to register a company in Xiaomiโs business program.
๐ก
If you share your phone with colleagues often, create a separate user in Settings โ System โ Multiplayer. In the guest profile, the offers will be empty, and the main data will remain secure.
Common Mistakes and How to Avoid Them
Users often face these problems when setting up a password:
| Mistake. | Reason. | Decision |
|---|---|---|
| Password not set | No Internet connection (required for MIUI 14+) | Connect to Wi-Fi or mobile network |
| No option "Protection of offers" | Installed third-party keyboard or old version of MIUI | Update the firmware or switch to the stock keyboard |
| After resetting the password, the sentences disappeared | No synchronization with Mi Cloud was enabled | Restore data from backup |
Another common mistake is trying to set a password for system sentences (e.g., "sps" โ "thank you"), which can only be protected by custom phrases added manually, and you can't block sentences in instant messengers (e.g., quick answers on WhatsApp) because they are stored in the application database, not in the system keyboard.
Security: What else you need to know
A password for offers is a useful feature, but it does not replace other protection measures:
- ๐ก๏ธ Encrypting the device: Include it in Settings โ Additionally. โ Confidentiality โ Encryption. This will protect all data, including sentences, from being retrieved through ADB.
- ๐ Backups: Export offers regularly to Keyboard Settings โ Backup and store the file in the cloud (e.g. Google Drive).
- ๐ซ Access Restriction: In Settings โ Annexes โ Permissions Disable Keyboard Access for Unreliable Programs.
If you use Xiaomi to handle sensitive information (e.g., store passwords or card numbers in offers), consider these additional measures:
- Create a separate user profile for work tasks.
- Use Secure Folder (available on some models via Settings โ Privacy) to store sensitive data.
- Set up automatic sentence cleansing via Settings โ Additional โ Clean (the option โRemove unused wordsโ).
๐ก
Passwords to MIUI offers do not protect against data extraction through physical access to the phone (for example, through a memory chip).For complete security, combine it with device encryption and two-factor authentication in Mi Account.