Forgot the password from Xiaomi or just want to update the unlock method? Changing the way the screen is protected on the brand's smartphones is a procedure that every user faces. MIUI 14/15 The algorithm differs from the older versions and from the newer ones (Xiaomi). 14, Redmi Note 13, POCO F6) Additional options like dual authentication or face scanner have been added. 3D. In this article - current ways for Android 13/14, including avoiding typical errors.
Many people mistakenly think that changing a password requires a complete phone reset, and in fact, 90 percent of the time, standard settings are enough -- if you remember the current code, of course -- but if you lose access, you have to use Restore Mode or Mi Account. We will discuss both scenarios, and also tell you how to configure a hidden folder with an alternative one. PIN-code (the feature is available only on the flagships of Xiaomi 2023-2026 years).
If you've just bought a smartphone or are planning to sell it, be sure to update the unlock method. Old passwords (especially simple ones like 1234 or 0000) are vulnerable to being hacked through brute force attacks. MIUI You can pick up in 10-15 minutes with special scripts, so you'd better use a combination of numbers, letters and symbols that are 8 characters long.
1. Standard change of password/pattern lock
The easiest way is through the settings menu, which works if you remember the current unlock code and you have access to your phone. MIUI 14/15 The path has changed slightly compared to previous versions.
Open the Settings app (cog icon) and go to the section:
Settings β Passwords and security β Unlocking the screenHere, the system will ask you to enter the current password or confirm the unlock with your fingerprint (if it is configured), after which you will see all the options available:
- π’ Password β digital or alphanumeric code (minimum 4 characters, recommended 8 characters)+).
- π pattern lock - connection of points (minimum 4, maximum 9). MIUI 15 the option "invisible key" appeared (dots are not illuminated when entering).
- π Fingerprint -- up to 5 fingerprints on one device. 13T/14 Supported under-screen scanning.
- π Facial recognition β 2D- or 3D-Scan (on flagships) works even in the dark thanks to infrared illumination.
- π Smart locking β unlocking on a Bluetooth device (for example, Mi Band or headphones).
Choose the method you want and follow the prompts on the screen, for example, a pattern lock requires you to swipe your finger twice across the screen to confirm the new pattern, or a fingerprint requires you to put your finger several times on the scanner (the system remembers different angles of touch).
β οΈ
Note: If you use Mi Account and have enabled password sync, the new unlock code can be saved to the cloud. Make sure your Xiaomi account is protected with two-factor authentication, otherwise attackers will be able to restore access to the phone through leaked data.
Make sure your phone is at least 30% charged
Connect to stable Wi-Fi (for sync with Mi Account)
Remember or write a new password in a safe place
Shut down. VPN (Can block the verification of Xiaomi servers)-->
2. How to change the unlock if you forgot the password
It gets complicated if you don't remember the current code, and in this case, there are three official ways to restore access -- without using third-party software that could harm the device.
Method 1: Mi Account (works if the phone is linked to the account and has access to the Internet).
- On the lock screen, click Forgot your password? (appears after 5 failed attempts to enter).
- Choose Restore through Mi Account.
- Enter the username and password from your Xiaomi account.
- Confirm the action via SMS or email (if two-factor authentication is enabled).
- Reset the screen password and set a new one.
Method 2: Recovery Mode, which will result in a complete reset of your phone (delete all data, including photos and apps), so use it only as a last resort.
- Turn off the phone.
- Press the buttons Power + Volume up at the same time (on some models POCO - Power + Volume down).
- From the Recovery menu, select Wipe Data β Wipe All Data (manage by volume and power buttons).
- After resetting, the phone will reboot to the initial setting, where you can set a new password.
Method 3: Fastboot (for advanced users) will require a computer with drivers installed ADB and Fastboot.
fastboot oem unlock
fastboot flashing unlock
fastboot rebootβ οΈ
Warning: Unlocking the bootloader via Fastboot will reset all data and may result in a loss of warranty on some models (e.g. Xiaomi) 12S Before the procedure, check the lock status with the command fastboot oem device-info.
Password (digits/letters)
pattern lock
Fingerprint.
Facial recognition
Don't lock the screen.-->
3. Facial recognition setting (Face Unlock)
Xiaomiβs Face Unlock technology has evolved: if it was a regular one before 2D-scan (vulnerable to photos), now on the flagships (Xiaomi 13 Pro, 14 Ultra) 3D-IR scanning, which improves security, but requires proper setup.
To add or change facial recognition:
- Go to Settings. β Passwords and security β Screen unlocking.
- Choose Add Face Recognition (if you are setting it up for the first time) or Face Recognition Management (for change).
- Follow the instructions on the screen: Keep your phone at eye level, turn your head slowly so that the system captures your face from different angles.
- On the flagships with 3D-The scanner will require additional calibration in a dark room (for IR sensors).
Important nuances:
- π¦ Lighting: 2D-scanner (on Redmi Note 12, POCO X5) It may not work in bright sun or in complete darkness. 3D-scanner lacks this flaw.
- π Glasses/Masks: The system remembers your appearance with glasses, but may not recognize your face in a medical mask (relevant to the use of a medical mask). COVID-era).
- π‘οΈ Safety: On MIUI 15 the option Require password after reboot appeared β even if facial recognition is enabled, after reboot you will need to enter PIN.
β οΈ
Note: If you use twins or have changed your appearance (for example, shaving your beard), the system may stop recognizing your face, in which case you will have to reconfigure the scanner or temporarily switch to another method of unlocking.
π‘
In the models with AMOLED-With screens (like the Xiaomi 13 Lite), facial recognition works faster if you turn on the "Always On Display" feature.
4. Fingerprint setting
The fingerprint scanner on Xiaomi comes in three types:
- Physical button (on older models like Redmi 5 Plus)
- Under the screen (optical or ultrasonic, on Xiaomi) 12/13/14).
- Side (built into the power button, as on the POCO F4 Or the Redmi Note 11 Pro).
To add or change a fingerprint:
- Open Settings β Passwords and Security β Fingerprint.
- Enter the current screen password for confirmation.
- Press Add fingerprint and follow the instructions. Apply your finger at different angles to improve recognition.
- On models with an ultrasonic scanner (for example, Xiaomi Mix 4) you will need to apply your finger wet β this improves pore reading.
Tips for better scanner performance:
- π§΄ Dry skin: If the print is not readable, wipe your finger with a wet wipe or use a cream.
- π Charging: On some models, the scanner shuts down when the battery is low (less than 5%).
- π§€ Gloves/damages: If there are cuts or calluses on your finger, add a backup fingerprint of the other finger.
Nana MIUI 15 has a Quick Unlock feature, so if you touch the scanner right after you press the power button, the phone unlocks without delay:
Settings β Additional settings β Quick unlockWhy can't the fingerprint scanner work?
5. Alternative methods of unlocking
Beyond the standard ways, Xiaomi offers a few additional convenience options that donβt replace the primary password, but can speed up access to the phone in everyday situations.
1. Smart Lock (Smart Lock)
It allows you to keep your phone unlocked under certain conditions:
- π Trusted Places β Unblocking by GPS (for example at home or work).
- π Trusted devices β the phone remains unlocked while connected to a trusted Bluetooth device (e.g. Mi Band 8 or Xiaomi Buds 4 headphones).
- π€ Voice recognition is an experimental function that only works on Chinese firmware.
To set up:
Settings β Passwords and Security β Smart LockTemporary guest regime
If you want to give your phone to a friend but don't want to reveal your personal information, use Guest Mode, which hides notifications, messages, and restricts access to settings, and swipes down the lock screen (in some models, by holding the user icon).
3. Hidden folder with backup PIN (available 13/14)
Exclusive feature for flagships: you can create a second PIN-code that will only work to access hidden folders in a gallery or file manager.It doesn't replace the main screen password, but adds a layer of privacy.
To set up:
- Open the Settings. β Passwords and security β Hidden folders.
- Set up a separate one. PIN (It may be different from the main).
- Transfer files to a hidden folder through the Gallery or Explorer.
π‘
Smart locking is convenient, but it reduces security, and do not use it for devices with sensitive data (such as work phones).
Table of compatibility of unlocking methods
Not all options are available on all models, and the following is a comparison of features depending on the series and year of release:
| Model | pattern lock | Print (under the screen) | 3D Face Unlock | Smart locking | Hidden PIN |
|---|---|---|---|---|---|
| Xiaomi 14 Ultra (2026) | β | β (ultrasonic) | β | β | β |
| Redmi Note 13 Pro+ (2026) | β | β (optical) | β (only 2D) | β | β |
| POCO F5 (2023) | β | β (lateral) | β | β | β |
| Xiaomi 12T (2022) | β | β (optical) | β | β | β |
| Redmi 10A (2022) | β | β | β | β | β |
β οΈ
Note: On models with Global ROM (Xiaomi for Europe may not have support 3D Face Unlock, even if you have hardware sensors, is a firmware restriction that can only be circumvented by flashing it into Chinese or Chinese. EEA-version MIUI.
7. Frequent errors and their solutions
When you change the unlock, you're faced with typical problems, and here are the most common ways to fix them:
1.The system does not accept the current password
If you are sure you are entering the correct code but your phone is not accepting it:
- π Restart the device β sometimes a banal rebut helps.
- π± Check the keyboard layout (Caps Lock or other language may be enabled).
- π Connect charging β some models have security features blocked when the discharge is below 10.
- π Wait 30 minutes β after several failed attempts, the system may temporarily block input.
2.The fingerprint scanner is not working after the update
After updating MIUI Or the Android scanner can stop recognizing fingerprints:
- Remove all the saved prints and add them again.
- Clear the scanner cache in Settings β Annexes β Application management β Fingerprint scanner β Warehouse β Clear the cache.
- Reverse to the previous version of the firmware (if the problem appeared after the update).
3 Face Unlock does not recognize a face in the dark
If you 2D-scanner (on most of the Redmi/POCO), It depends on the lighting:
- π‘ Use an external light source (such as another phone flashlight).
- π¦ Customize the brightness of the screen to the maximum β this will help the camera light up.
- π Switch to the switch. 3D-scanner (if you have one in your model) via camera settings.
4.Forgotten password from Mi Account
If you don't remember the data from your Xiaomi account, it's going to be hard to restore access to your phone.
- π§ Recovery via email (link will come to the mail associated with the account).
- π Recovery through SMS (If the number is confirmed in the Mi Account).
- π οΈ Contact the Xiaomi service center with documents for the phone (guarantee card, check).
π‘
If you often forget passwords, turn on the Mi Account settings to "Backup email" and link a second phone number, which will speed up access recovery.