Why Mi 9 is blocked and what to do
The forgotten password on Xiaomi Mi 9 is a bad situation, but it is solvable. The smartphone is blocked not only because of input errors: sometimes it happens after a system failure, a failed update or even because of children's pranks. The main thing is not to panic and not try to find a combination at random: after 5 wrong attempts, the device can lock for 30 minutes, and after 20 - completely erase all data.
In this article, we will look at all the current ways of unlocking, from the official (via Mi Account) to radical (full reset via Fastboot). Each method has its pros and cons: somewhere you will need access to the computer, somewhere you will lose data. It is important to understand that without knowing the username / password from the Xiaomi account, some methods will not be available. If you have never tied the device to the account, you will have to use alternative options.
Before you start, check:
- π Battery level (minimum 50%, otherwise the risk of "bricking" during the procedure)
- π± Backup (if backup is done via Mi Cloud or locally)
- π» Access to PCs with installed drivers ADB/Fastboot (advanced)
Method 1: Unlocking with Mi Account (official method)
The safest and most recommended way for Xiaomi is to use a tied Mi Account, which works if:
- π± The phone is connected to the Internet (Wi-Fi or mobile network)
- π Remember the login and password from the account
- π The "Find the device" function was activated in the settings
Instructions:
- On the lock screen, tap Forgot your password? (bottom of the screen).
- Choose Unblock with Mi Account.
- Enter your email/phone and password from your account.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
If the screen does not have a button "Forgot your password?", it means:
- π« The device is not tied to the account
- π No Internet connection.
- π§ In the settings disabled function "Find the device"
π‘
If you donβt remember the password from Mi Account, restore it through the official account.xiaomi.com. Use the linked email or phone number.
β οΈ Note: Once unlocked via Mi Account, all data on your phone will be saved, but if you have previously encrypted your device (in the security settings), you may need to enter an old password to access files.
Method 2: Recovery Mode Reset (without data loss?)
Many users mistakenly believe that a reset via Recovery always results in data loss. 9 There is a caveat: if you have never encrypted the device memory (in the security settings did not activate "Phone Encryption"), then after resetting some files (photos, videos) can remain in the folder. MIUI/backup. There are no guarantees, depending on the version of the firmware.
How to log in to Recovery:
- Turn off the phone (press the power + Volume increase for 10 seconds).
- Hold Power + Volume Up until the Mi logo appears.
- Release the buttons and you will be taken to the Recovery menu (English or Chinese).
Next:
- π§ Choose Wipe Data β Wipe All Data (control β volume buttons for navigation, power for selection).
- π Confirm the action (Confirmation).
- π± After the reboot, the phone will be like new β you will need an initial setup.
| Action. | Effects of consequences | Probability of data retention |
|---|---|---|
| Wipe All Data | Full reset to factory. | 0% (if there was encryption) |
| Wipe Cache | Cleaning up the app cache | 100% (data not affected) |
| Reboot | A simple reboot. | 100% |
β οΈ Note: Some Mi 9 firmware (especially global ones) may require you to enter an old password to activate the device after resetting via Recovery. This is anti-theft protection β if you don't remember the password, you'll have to use other methods.
Turn off the phone.|Check the battery charge (>50%)|Prepare the charger (in case of discharge)|Download the firmware for recovery (if you plan to re-flash)|-->
Method 3: Unlocking via Fastboot (for advanced)
The method via Fastboot is suitable if:
- π§ You have access to a PC with drivers installed ADB/Fastboot
- π₯ You can download the official firmware for Mi 9 (version must match the current one!)
- π You are ready to lose data (if you donβt backup)
Step-by-step:
- Download the official firmware for Mi 9 (select the Fastboot version, not Recovery).
- Unpack the archive in a folder on a PC (for example, C:\Mi9_Fastboot).
- Put your phone to Fastboot: Hardware: Turn off your phone β Press <Power + Volume Down> Software: Connect to PC β Command adb reboot bootloader
- Connect your phone to your PC and launch the file flash_all.bat (for Windows or flash_all.sh (for Linux/Mac).
It takes 5-10 minutes, and when it's done, it'll reboot in a factory state.
What if Fastboot canβt see the phone?
β οΈ Warning: Continuous interruption of the firmware process via Fastboot can cause a device to "brick" (completely inoperable) if the battery runs out during the procedure, the phone may stop turning on even after charging.
Method 4: Use of service codes (hidden functions)
The Xiaomi Mi 9 has hidden engineering codes that sometimes help bypass the lock. They donβt work on all firmware, but itβs worth a try:
- π’ ##7378423## - Reset security settings (on some versions) MIUI)
- π’ ##3646633## - Engineering menu (not recommended without experience!)
- π’ ##4636## - Phone information (sometimes allows you to reset your password)
How to enter codes:
- On the lock screen, tap the emergency call.
- Enter the code as a phone number and press the call button.
- If the code works, you will be taken to the service menu β look for Factory Reset or Security Reset.
Please note that:
- β On the new versions MIUI (12+) These codes are usually disabled.
- β οΈ Incorrect use of the engineering menu can be harmful IMEI communications module.
- π§ If the code doesnβt work, the screen will just return to dialing.
π‘
Service codes are the most unreliable method, they only work on old firmware (MIUI 10 and below) and can be disabled by the manufacturer at any time.
Method 5: Contact Xiaomi Service Center
If all previous methods did not work, the official service remains. Xiaomi provides a document unlock service, but there are nuances:
- π You will need a check document (check, warranty card) or a box with IMEI.
- π³ The cost of the service is from 1000 to 3000 rubles (depending on the region).
- β³ Time limit for implementation β 1-5 workday.
- π The data will not be saved β the phone will be completely reset.
How to find the official service:
- Go to the Xiaomi Service website.
- Choose a country and a city.
- Check the reviews about the service center (some unofficial SCs may offer "unlock" with a loss of warranty).
The alternative is informal workshops, but here are the risks:
- π¨ Possible installation of pirated software or viruses.
- π§ Loss of warranty (if the phone is still guaranteed).
- π° The price may be higher than in the official SC.
β οΈ If you bought the Mi 9 with your hands, check its status by IMEI The device may be blacklisted (stolen/lost) and the service center will refuse to unlock.
What to do after unlocking: data recovery and security
After successful unlocking:
- Recover the data: π± If you have done a backup through Mi Cloud, log in to your account and sync contacts, notes, photos. πΎ For local backups, connect your phone to your PC and copy files from your folder MIUI/backup. π§ Use programs like Dr.Fone or EaseUS MobiSaver to recover deleted data (efficiency) ~30-60%).
- Set up security: π Install. PIN-code instead of a pattern lock (more difficult to find). π± Activate Find the device in the settings of the Xiaomi account. π Set up two-factor authentication for Mi Account.
To avoid problems in the future:
- π Backup once a month through Settings β System system β Backup.
- π Write it down. PIN-password to a secure location (for example, in the password manager Bitwarden or KeePass).
- π Regularly update the firmware in new versions MIUI Improved access recovery system.