Forgot the pattern lock or PIN-The situation is familiar to many: the smartphone is blocked after several failed attempts to enter, and access to data seems lost. Fortunately, there are several formal and informal unlocking methods, from recovering via Mi Account to completely resetting via Recovery Mode.It is important to understand that some methods will lead to data loss, so try the safe options first.
In this article, we will discuss all the current methods of password reset for Redmi 9 (including Redmi 9A/9C/9T modifications), their pros and cons, as well as give recommendations for data recovery after unlocking. If you are not sure about your actions, contact the Xiaomi service center to avoid software failures.
β οΈ Warning: Methods using Fastboot or ADB They require an unlocked bootloader. On new Xiaomi devices, it's locked by default, and unlocking it erases all data!
1 Unlocking through Mi Account (official method)
The safest method is to use a linked Mi Account, which works if:
- π± Smartphone connected to the Internet (Wi-Fi or mobile network).
- π You remember the username and password from Mi Account that was tied to the device.
- π Find the device activated in the settings.
After 5 failed attempts to enter the password on the screen will appear button Forgot the password?. Click on it and follow the instructions:
- Enter the email or phone number associated with the Mi Account.
- Confirm the entry via SMS or email.
- Create a new one. PIN-code.
If the buttons Forgot your password? no, try connecting to the Internet via another device (for example, handing out Wi-Fi from your phone) and try again. This method does not erase data and takes no more than 5 minutes.
π‘
If you donβt remember the password from Mi Account, restore it through the official account.xiaomi.com. Use a backup email or phone number.
2. Recovery Mode reset (data loss)
If the Mi Account is not tied or you don't remember the login details, you'll have a hard reset via Recovery Mode, which will delete all the data, including photos, contacts and apps, but will return access to the smartphone. 9 on MIUI 12/13/14.
Instructions:
- Turn off the smartphone with a long press of the power button.
- Press Volume Up + Power and hold for 10-15 seconds until the Mi logo appears.
- In the Recovery menu, select a language (e.g. English).
- Go to Wipe Data β Wipe All Data and confirm the action.
- After reset, select Reboot β Reboot to System.
β οΈ Note: Some firmware after a reset may require data entry from a Mi Account that was previously linked (protection) FRP). If you donβt remember your account, your smartphone will become a brick"!
What to do if you need a Mi Account after resetting?
3. Unlock via Fastboot (for advanced)
This method is suitable if you have a bootloader unlocked and have access to a PC.
- π₯οΈ Computer with Xiaomi drivers installed and Mi Flash Tool.
- π USB-cable (preferably original).
- π₯ Firmware for Redmi 9 (download from the official website).
Step-by-step:
- Turn off your smartphone and turn to Fastboot mode: Press Volume down + Power.
- Connect to the PC and check the device recognition command:
fastboot devices- Unclose the firmware and start the Mi Flash Tool.
- Select the firmware folder and press Refresh, then Flash.
- Wait for the finish (5-10 minutes) and restart the device.
β οΈ Attention: Continuous power is critical! If the process is interrupted, the smartphone may stop turning on. Use a laptop with a charged battery or UPS.
Install Xiaomi drivers|Download the firmware for Redmi 9|Check the battery charge (minimum 50%)|Connect the original USB-cable|Disable the antivirus on the PC-->
Password bypass through ADB (without loss of data)
If the smartphone is enabled debugging by USB and there is access to the PC, you can delete the file with a password through ADB. The method does not work on all versions of MIUI, but it is worth trying.
What needs to be done:
- Connect Redmi 9 to your PC and open the command line in the folder with ADB.
- Check the connection:
adb devices- Delete the password files:
adb shell rm /data/system/gesture.key
adb shell rm /data/system/password.key
adb shell rm /data/system/locksettings.db- Reboot your smartphone:
adb rebootIf the password is not gone after the reboot, the method didnβt work for your version of MIUI, in which case only a reset via Recovery or Fastboot remains.
π‘
ADB-The method only works if the debugging USB This is often blocked by the manufacturer on new Xiaomi devices.
5. Contact the Xiaomi Service Center
If independent attempts were unsuccessful, and data on a smartphone is critically important, contact an authorized service center.
- π§ Guaranteed unlock without risk of damaging the device.
- π Preservation of the guarantee (if it is valid).
- π Possibility of circumvention FRP if there is evidence of purchase.
The cost of the service in 2026 ranges from 800 to 2000 rubles, depending on the complexity. In Moscow and St. Petersburg, you can contact the official centers:
| Town | Address | Phone. |
|---|---|---|
| Moscow | Letnikovsky street, 10k2 | +7 (495) 120-00-10 |
| St. Petersburg | Marshal Govorov Street, 35 | +7 (812) 336-00-10 |
| Kazan | 136 Decembristov Street | +7 (843) 202-00-10 |
Before visiting, check by phone if they are unlocking Redmi 9 and bring:
- π Check or guarantee card.
- π± Smartphone box (to confirm the model).
- π Passport (for proof of identity).
6. How to recover data after resetting the password
If you reset through Recovery or Fastboot, the data on the device is deleted, but it can be partially restored:
Recovery methods:
- βοΈ Cloud Backups: Check Mi Cloud (Photos, Contacts, Notes) or Google Drive (App Data).
- πΎ Local backups: If you have made a backup through Settings β System system β Backup, connect your smartphone to your PC and copy files from the folder MIUI/backup.
- π Recovery software: Dr.Fone, EaseUS MobiSaver or Recuva (only works if data has not been overwritten).
β οΈ Warning: Do not write new data to your smartphone after a reset, which reduces the chances of recovering old files. Use a memory card or other media to save the recovered data.
If you donβt have backups and data is critical, contact a data recovery lab (e.g. HDD Recovery or Flashback Data) which starts at 5,000 rubles, but the chances of returning photos or documents are 60-80%.