How to put a password on the offer in the Xiaomi phone: protection from changes

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:

๐Ÿ“Š What keyboard do you use on Xiaomi?
Stock MIUI
Gboard (Google)
SwiftKey
Another.
I don't know.
Model/seriesSupport for offer passwordMIUI 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).

  1. Open Settings and go to Additional โ†’ Language & Enter โ†’ Xiaomi Keyboard (or Gboard if you use it).
  2. Select Dictionary โ†’ Personalized sentences (on some models, path: Keyboard settings โ†’ Text input โ†’ Word management).
  3. Stick to three points (โ‹ฎ) in the upper right corner and select Offer Protection or Set Password.
  4. Think of a 4-8-digit PIN-code MIUI 14+ You will need to confirm it via Mi Account).
  5. 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).

  1. Log in to Mi Account on another device and check the history of changes in Mi Cloud โ†’ Sync โ†’ Keyboard.
  2. 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?
Without a linked account, you canโ€™t reset your password to MIUI 14+, and the only way out is to contact Xiaomiโ€™s support team with proof of ownership of the device (check or box), and they will provide a temporary unlock code in 80% of cases, but the process can take up to 72 hours.

โš ๏ธ 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 setNo 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 MIUIUpdate the firmware or switch to the stock keyboard
After resetting the password, the sentences disappearedNo synchronization with Mi Cloud was enabledRestore 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:

  1. Create a separate user profile for work tasks.
  2. Use Secure Folder (available on some models via Settings โ†’ Privacy) to store sensitive data.
  3. 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.

FAQ: Answers to Frequent Questions

Can I put a password on the offers in Gboard?
No, Gboard doesn't support this feature. However, you can enable dictionary sync with your Google account and protect it with two-factor authentication. Go to Gboard Settings โ†’ Dictionary โ†’ Sync.
Why did the password for the offers reset after the MIUI update?
This is a known error in MIUI 13.5โ€“14.0. When updating via OTA, keyboard settings are sometimes reset. To avoid data loss, before updating: Export sentences to a file. Back up via Settings โ†’ About Phone โ†’ Backup. After updating, import data back.
Does the password for POCO F4 offers work?
Nana POCO F4 s MIUI 13 is available, but with limitations: you can only protect user templates, not the entire dictionary. To activate it: Open Settings โ†’ System system โ†’ Language and input โ†’ keyboard POCO. Go to Text Templates โ†’ Settings โ†’ Install the protection. PIN-code (maximum 6 digits). Please note: POCO s MIUI 14 Ways may differ โ€“ look for option in Additional Keyboard Settings.
How to transfer secure offers to the new Xiaomi phone?
To transfer: On an old phone, export sentences to a file via Keyboard Settings โ†’ Export. Copy the file (usually) miui_keyboard_backup.db) Import it through the keyboard settings. โ†’ Import. If the offers are password protected, enter it when you first import. MIUI 14+, You will need authorization through the Mi Account to which the data was linked.
Can I use a fingerprint instead of a password?
No, Xiaomi doesn't support biometric authentication to protect offers, but you can: Set up a complex pattern lock instead of a pattern lock. PIN-code (available on MIUI 13+). Use Smart Lock to automatically unlock the keyboard in secure locations (set up in Settings) โ†’ Lock screen โ†’ Smart Lock).