Forgot the password from Xiaomi 9 or want to update it for security? In this article, you will find all the current ways to change the password on your smartphone, from unlocking the screen to restoring access to your Mi Account. We will break down the standard methods through settings, bypassing locks when you lose data and the nuances of working with MIUI 14 (the latest supported version for Mi 9).
Xiaomi 9
cepheus
MIUI
two-factor authentication
"This device is locked. Try it later."
Important: instructions below are suitable for Xiaomi Mi 9, Mi 9 SE and Mi 9 Pro 5G (models on the Qualcomm Snapdragon 855). There may be nuances for the Mi 9 Lite (on the Snapdragon 710) - check in the comments.
1. How to change the screen lock password on Xiaomi 9
If you remember your current password and want to update it, use the standard settings menu, which works on all versions of MIUI, including the latest stable build for the Mi 9 - MIUI 14.0.4.0 (Android 12).
Steps to change password:
- Open the Settings. β Password and security.
- Select Screen Lock.
- Enter your current password, PIN or pattern lock.
- Press the password (or other type of lock you want to use).
- Create a new password (at least 6 characters, with numbers and letters).
- Confirm the change.
β οΈ Warning: If you use a pattern lock, the system will require you to enter it twice to confirm. On Xiaomi 9, you can't set a password shorter than 6 characters - this is a security limitation MIUI.
Once you change your password, your smartphone can request a re-enter when you first unlock it, which is normal because File-Based Encryption (FBE) is a security mechanism that encrypts user data.
Make sure the battery is more than 30% charged.
Connect to Wi-Fi (required to sync with Mi Account)
Remember a new password or save it in the password manager
Check that you have access to the email linked to your Mi Account.-->
2. Reset password if you forgot it on Xiaomi Mi 9
Forgot the lock screen password? There are three official ways to restore access on Xiaomi 9, but each has limitations. Let's take them from the simplest to the radical.
Method 1: Recovery with Mi Account (Internet required)
- On the lock screen, click Forgot your password.
- Enter the username and password from the Mi Account tied to the phone.
- Confirm the action via SMS or email (if two-factor authentication is enabled).
- Follow the instructions on the screen to reset your password.
Important: This method only works if:
- πΆ The phone is connected to the Internet (Wi-Fi or mobile network).
- π The device is synchronized with Mi Account.
- π You did not change your Xiaomi account password after the last unlock.
If the phone is not connected to the network, the error "No Internet connection" will appear, in which case, try connecting to Wi-Fi on the lock screen (network icon in the upper right corner).
Method 2: Unlocking via Fastboot (for advanced users)
If account recovery doesn't work, you can reset your password through Fastboot mode, which requires a computer and a Mi Flash Tool program, but erases all the data on the phone.
Step-by-step:
- Turn off the Xiaomi 9.
- Press the Power button + Volume Down to log into the Fastboot.
- Connect your phone to your PC via USB.
- Download the official firmware for Mi 9 (select the Fastboot version).
- Unpack the archive and launch MiFlash.exe.
- In the program, press Refresh, then Flash (select the clean all option).
β οΈ Warning: After this procedure, the phone will be completely reset to factory settings. If you have had data encryption enabled (FBE), it will be impossible to recover files without a backup.
Recovery through Mi Account
Fastboot reset (data loss)
Contacting the service center
Another option-->
3. How to change the password from the Mi Account to Xiaomi 9
The Mi Account password is not the same as the lock password, but it's used to sync data, to reconnect your Mi Store purchases, and to reconnect your device.
Steps through phone settings:
- Open the Settings. β Mi Account.
- Click on the profile avatar in the upper right corner.
- Select Account Management β Account Security.
- Go to the password and enter the current one.
- Create a new password (at least 8 characters, with capital letters and numbers).
- Confirm the changes via SMS or email.
Through the website (if you do not have access to the phone):
- Go to account.xiaomi.com.
- Log in with the current data.
- In the Security section, click Change password.
- Follow the instructions (confirmation by email or SMS is required).
Mi Account Password Requirements (2026):
- π’ Length: 8-20 characters.
- π€ Must: at least one capital letter, one digit and one special character (!@#$%^&*).
- π« It is forbidden to use your account name or email in your password.
- β³ Expiration date: Passwords cannot be changed more than once every 24 hours.
π‘
If you have forgotten your Mi Account password, restore it through the recovery page, which requires access to an email or phone number associated with your account.
4. Change of password for applications (Google, banks, social networks)
On Xiaomi 9, you can save application passwords in the MIUI password manager or Google Smart Lock. If you want to update the saved data:
For Google apps (Gmail, YouTube, Play Market):
- Open Settings β Google β Manage your Google account.
- Go to the Security tab.
- Press Passwords (you will need to enter the PIN- code of the phone).
- Select the desired application and update the password.
For banking applications (Sberbank, Tinkoff, etc.):
- π¦ Most banks require a password change directly in their app.
- π After changing your bank password, update it to Settings β Passwords and Security β Application Passwords.
- π± Some applications (e.g., SberBank Online) may request re-authorization after changing the password.
For social networks (VK, Telegram, WhatsApp):
Social media passwords are stored on their own systems, so that they can be updated:
- Open the application (e.g. VK).
- Go to Settings β Account β Security.
- Select Change Password and follow the instructions.
β οΈ Warning: If you use two-factor authentication (2FA) on Telegram or WhatsApp, you may need to re-assign your phone number after changing your password.
5. Frequent errors and their solutions
When you change your password to Xiaomi 9, users often face typical problems, and we have collected the most common errors and ways to fix them.
Table: Password change errors and decisions
| Mistake. | Reason. | Decision |
|---|---|---|
| Wrong current password | Misprint or forgotten password | Try to recover via Mi Account or reset your phone |
| This device is locked. Try it later. | Too many failed attempts to enter | Wait 24 hours or unlock through Fastboot |
| I was unable to connect to the server. | Problems with the Internet or servers Xiaomi | Check the connection or try again later |
| Password does not meet the requirements | A password that's too simple. | Use a minimum of 8 characters with numbers and letters |
| Device not activated. | The phone after the reset is not tied to the account | Sign in to Mi Account after rebooting |
Additional advice:
- π If the phone is dead during a password reset, plug it into charging and try again.
- π If you are in another country, you may need VPN to access Xiaomi servers.
- π± On the Mi 9 with MIUI 14, after 5 failed attempts to enter the password, a lock timer appears (from 30 seconds to 24 hours).
What if your phone needs an old password after resetting?
6.How to protect Xiaomi 9 after changing your password
Changing your password is only half the battle, and to keep your Xiaomi 9 secure, follow these guidelines:
Basic security settings:
- π Enable two-factor authentication for Mi Account (Settings β Mi Account β Security).
- π± Set a limit on password attempts (Settings β Password & Security β Screen Lock β Additional).
- π Update regularly MIUI β In new versions, vulnerabilities are closed.
- π Use a fingerprint scanner or facial recognition as an additional unlocking method.
Additional measures:
- π² Install Google Find My Device for remote phone management.
- π Set up automatic lock after 30 seconds of inactivity.
- π§ Link backup email to Mi Account in case of loss of access.
- πΎ Regularly back up Settings β About Phone β Backup.
β οΈ Warning: Xiaomi 9 with MIUI 14 disabled the ability to unlock via ADB (adb shell rm /data/system/gesture.key no longer works). Don't trust instructions promising to bypass locks without losing data - this is fraud.
π‘
The most reliable way to protect is a combination of a complex password (10+ characters), a fingerprint and two-factor authentication in Mi Account.
7. Alternative ways to unlock (for experienced users)
If standard methods don't work, alternatives can be tried, requiring technical skills and may result in a loss of warranty.
Method 1: Unlock via TWRP (requires an unlocked bootloader)
If your Xiaomi 9 has a custom TWRP recap, you can reset the screen lock password:
- Turn off your phone and log in to TWRP (Power button + Volume up).
- Go to Advanced β File Manager.
- Delete files: /data/system/locksettings.db /data/system/locksettings.db-wal /data/system/locksettings.db-shm /data/system/gatekeeper.password.key /data/system/gatekeeper.pattern.key
- Reboot the phone.
Method 2: Bypassing EDL- Mode (for service centers)
If the phone is completely locked, you can flash it in EDL (Emergency Download Mode) mode.
- π₯οΈ Computer with Qualcomm QDLoader installed.
- π Cable USB Type-C (original, undamaged).
- π Firmware in.mbn format for Mi 9.
- π§ Mi Flash Pro or QFilm.
β οΈ Warning: Entering EDL mode on Xiaomi 9 requires short circuiting test points on the board. Wrong actions can bring the phone down. This method is recommended only for service centers.
Yes, through TWRP.
Yes, via Fastboot.
Yeah, through the service center.
No, I always used official methods-->