Owners of Xiaomi, Redmi and POCO smartphones regularly encounter an annoying feature of MIUI: the system requires you to enter a password, PIN or pattern lock every 72 hours, even if you use a fingerprint or facial recognition.This security feature appears after updates, password changes or activation of certain functions - and interferes with the comfortable use of the device.
The reason for this behavior is the MIUI security policy, which forcibly resets the trust of biometric data. However, you can disable this request β and it doesnβt always need root or resetting. In this article, weβll discuss 3 working ways (including hidden settings), explain why the problem comes back after updates, and show you how to get rid of unnecessary password requests forever.
β οΈ Important: Methods differ from version to version MIUI (12, 13, 14) and models. POCO F5 Or Redmi Note 12 on the latest firmware, start with the second method β it will work more likely.
Why does Xiaomi ask for a password every 3 days?
The password-forced function every 72 hours is part of MIUIβs security policy, which is borrowed from Android Enterprise standards, and is activated in the following cases:
- π After updating the firmware (even minor).
- π When you change your password, PIN-code-key.
- π± If you have enabled Remote Management (in your Mi Account settings).
- π‘οΈ When activating Incognito Mode or Second Space.
- π§ If you manually reset your Trust Management settings (via adb or engineering menu).
From a technical point of view, MIUI flag-drop trust_agents For biometrics, the system is asked to request a master password to "recheck" the user, which is supposed to protect against unauthorized access, but in practice only annoying.
π‘ Fun fact: on some models (for example, Xiaomi 13 Ultra) the interval can be reduced to 24 hours if the function of Finding a device via Mi Cloud is enabled.
Method 1: Disconnect via security settings (without root)
This method works on most devices with MIUI 12-14 and does not require superuser rights, but rather, it is important not to miss the hidden item in the menu.
- Open the Settings. β Password and security.
- Go to the screen lock settings.
- Enter your current password/PIN to confirm.
- Scroll down and find Trust Agents (or Smart Lock on some firmware).
- Disable all agents except the Device securely (if any).
- Go back and select Delete Lock Data β Reset Trust Devices.
After that, the system will stop resetting trust in biometrics every 72 hours, and if there is no Trust Agents, move on to the next method.
Make sure your phone has more than 50% charge.
Connect to a stable Wi-Fi network
Make a backup copy of important data
Remember the current lock password-->
β οΈ Attention: On some firmware (MIUI 14 Global) after the trust agent is reset, the face unlock may be lost, and to return it, you will have to reconfigure the biometrics in Settings. β Password and security β Data persons.
Method 2: Change system settings through ADB (for advanced)
If the first method didnβt work, try disabling forced password verification via ADB (Android Debug Bridge).This is secure and doesnβt require root rights, but youβll need a computer.
π What's the matter:
- π₯οΈ Computer with installed ADB Tools.
- π± Included Debugging by USB on a smartphone (in Settings) β The phone. β Version. MIUI Press 7 times, then return to the Additional Settings β For developers).
- π Cable USB (preferably original).
π Step-by-step instruction:
- Connect your phone to your PC and confirm your trust in the computer on your smartphone screen.
- Open the command prompt (or Terminal on Mac/Linux) and type:
adb devicesMake sure your device appears in the list. Then do:
adb shell settings put global device_provisioned 1
adb shell settings put secure lock_screen_lock_after_timeout 0Reboot the phone. If the problem persists, execute an additional command:
adb shell pm disable-user --user 0 com.android.credentialmanagerβ οΈ Warning: The latest command disables the Android Account Manager, which can disrupt some applications (e.g. banking) and if you notice a failure, return the settings with the command:
adb shell pm enable com.android.credentialmanagerπ‘
If ADB doesnβt recognize the device, try reinstalling Mi USB Driver drivers from Xiaomiβs official website. On Windows, running the command line on behalf of the administrator can also help.
Method 3: Edit the settings file (requires root)
If you have root rights (or are willing to get them), you can permanently remove the password request by editing the system file. settings_global.xml. This method is suitable for MIUI 13/14 custom-made.
π Instructions:
- Install any file manager with root support (such as Root Explorer or Solid Explorer).
- Follow the path:
/data/data/com.android.providers.settings/databases/settings.dbOpen the file with the help SQL-Editor (or export it to PC) and find a line:
lock_screen_lock_after_timeoutChange the value from 72 hours to 0. Save the changes and restart the phone.
π§ Alternative path: If editing the database is difficult, you can use the command ADB root-access:
adb shell su -c "sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'UPDATE global SET value=0 WHERE name=\"lock_screen_lock_after_timeout\";'"β οΈ Warning: Incorrect editing of system files can lead to a cyclic reboot.Before making changes, back up the partition /data through TWRP Or OrangeFox.
Compatibility table with Xiaomi models
Not all methods work on all devices, but the following are compatibility data for popular models (based on user tests and official MIUI 14 firmware):
| Model | Method 1 (Settings) | Method 2(ADB) | Method 3(Root) | Notes |
|---|---|---|---|---|
| Xiaomi 13/13 Pro | β Yes. | β Yes. | β Yes. | Global firmware may need to disable Mi Cloud. |
| Redmi Note 12 Pro+ | β No. | β Yes. | β Yes. | Method 1 does not work on MIUI 14.0.4+. |
| POCO F5/F5 Pro | β οΈ Partially. | β Yes. | β Yes. | After ADB, the Trust Devices setting may reset. |
| Xiaomi 12T | β Yes. | β Yes. | β Yes. | β |
| Redmi 10C/11 | β Yes. | β No. | β οΈ The risk of bootloop | On budget models, root often breaks the camera. |
π Conclusion: For most modern smartphones Xiaomi is the optimal way 2 (ADB) β It doesn't require root and it works in a stable way. Method 3 is only suitable for advanced users who are prepared for potential risks.
π‘
If you have returned a password request after 1-2 days after using any method, check your Mi Cloud β Device Search settings. This feature can reset the credibility of biometrics.
What do you do if nothing helps?
If all three methods fail, the problem may be:
- π Custom firmware (e.g. xiaomi.eu or Pixel Experience) where security policies are changed.
- π¦ Application conflict (antiviruses, password managers like Bitwarden or 1Password).
- π§ Hardware restrictions (on some models for corporate clients, for example, Xiaomi Mi) A3 Android One).
π Diagnostics:
- Check the system logs via adb logcat by filtering by the key "LockPatternUtils".
- Remove all third-party security-related applications (VPNs, antiviruses).
- Reset your Smart Lock settings to Settings β Google β Security.
If the problem remains, there are two options:
- Reverse to an older version of MIUI (e.g. 14 to 13).
- Install custom firmware without restrictions (for example, LineageOS).