How to Reset Your Graphic Password on Xiaomi Redmi 9: All Ways to Unlock

Forgot your graphical password on Xiaomi Redmi 9 and can’t unlock your phone? This is a familiar situation to many β€” especially if the device has been idle for a long time or used by children. Fortunately, there are several formal and informal ways to reset the lock, but not all of them are safe for your data. In this article, we will discuss 5 proven methods, including unlocking through Mi Account, Recovery and Fastboot modes, as well as alternative solutions for cases when standard options do not work.

It is important to understand that resetting a graphical password almost always leads to the deletion of user data (photos, contacts, messages) if there was no prior backup. However, in some cases (for example, when linking to a Xiaomi account), you can do without completely cleaning, we will explain in detail which methods will save your files and which will not, and also warn against common errors that can turn your phone into a brick.

If you're not sure about your technical skills, you should go to a service center -- especially if you're storing critical data on your phone -- but if you're willing to do it yourself, you can start with the instructions.

1 Unlocking with Mi Account (the safest way)

This method only works if your Redmi 9 was tied to your Xiaomi account before blocking, in which case you can reset your graphical password without losing data – the main thing is to remember the username and password from Mi Account.

Algorithm of action:

  • πŸ”Ή Enter the wrong pattern lock 5 times in a row – the message β€œForgot the password” will appear on the screen?Β».
  • πŸ”Ή Click on the Forgot Password button (or Forgot Password in English version of the firmware).
  • πŸ”Ή Enter your username and password from your Xiaomi account (or Google if you have linked it).
  • πŸ”Ή Follow the instructions on the screen – the system will prompt you to create a new pattern lock or PIN-code.

⚠️ Note: If you don’t remember the Mi Account data or the phone wasn’t tied, this won’t work. Also note that after several failed login attempts, the system may block the ability to unlock through the account for 24 to 72 hours.

πŸ’‘

If you have two-factor authentication enabled in Mi Account, prepare a backup code or access to the linked phone number/email in advance.

Advantages of the method:

  • βœ… No need to reset to factory settings.
  • βœ… It works on all versions. MIUI (including Redmi 9 s MIUI 12/13/14).
  • βœ… Stores all user data.

2.Reset via Recovery Mode (complete data cleanup)

If Mi Account unlock is not available, you will need to use hardware reset via Recovery Mode, which removes all data from your phone, including photos, apps and settings, but is guaranteed to unlock the device.

Step instructions:

  1. Turn off Redmi 9 with a long press on the power button.
  2. Press the Power button + Volume up at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. Release the buttons and you will be taken to the Recovery menu (may be in Chinese or English).
  4. Use volume buttons for navigation and power button for selecting the item. Select Wipe Data β†’ Wipe All Data β†’ Confirm
  5. Wait until the process is completed (usually takes 1-3 minutes).
  6. Reboot your phone with Reboot β†’ Reboot to System.

⚠️ Note: Some Xiaomi firmware may call the Wipe All Data item differently, such as Factory Reset or Clear eMMC. If you see unfamiliar characters, focus on the third menu item - this is usually a reset.

Turn off the phone.

Charge the battery at least 30%

Prepare a backup (if you have access to the PC)

Make sure you know the data from Mi Account (to re-activate)

-->

Unlocking methodAre the data stored?You need a Mi Account?Difficulty
Through the Mi Account.βœ… Yes.βœ… Yes.⭐⭐ (simple)
Recovery Mode❌ No.❌ No.⭐⭐ (simple)
Fastboot (via PC)❌ No.❌ No.⭐⭐⭐ (middle-of-the-road)
ADB (if debugging is enabled)βœ… Yes*❌ No.⭐⭐⭐⭐ (difficult)

* Only if USB debugging was enabled before blocking.

3. Unlock via Fastboot (for power users)

If Recovery Mode is unavailable (for example, due to a damaged firmware) or failed, you can use Fastboot mode.This method requires connecting the phone to your computer and using the command line, but is suitable for most Xiaomi models, including the Redmi 9.

What you need:

  • πŸ–₯️ Windows computer (or Linux/macOS driverless ADB/Fastboot).
  • πŸ”Œ USB Type C C Cable (Original or Quality).
  • πŸ“₯ Archive with utility ADB and Fastboot (download from Android site).

Step-by-step:

  1. Turn off Redmi 9.
  2. Press the Power button + Volume down for 10 seconds to enter the Fastboot Mode (a hare in a hat-eared hat will appear on the screen).
  3. Connect the phone to the PC.
  4. Open the command prompt (cmd) in the ADB folder and execute the command: fastboot devices If the phone is determined (the serial number will appear), continue. If not, install the drivers.
  5. Enter the command to reset: fastboot erase userdata fastboot erase frp fastboot reboot

⚠️ Note: Fastboot erase userdata and fastboot erase frp completely delete user data and reset Factory Reset Protection (FRP). If the phone needs to enter an old Google account after the reboot, then, FRP No resets – you will need additional firmware through the Mi Flash Tool.

What if Fastboot can’t see the phone?
If the fastboot device command doesn't show your Redmi 9, try: 1. Reinstall drivers (use the Mi Flash Tool). 2. try another one. USB-cable or port (better) USB 2.0). 3. Run the command prompt on behalf of the administrator. 4. Disable the antivirus (it can block the ADB).

4.Using ADB (if USB debugging was enabled)

This is the only way to unlock your phone without losing data, but it only works if you've enabled USB debugging in the developer's settings before locking it. If that's the case, you're in luck!

Instructions:

  1. Connect Redmi 9 to your PC via USB.
  2. Open the command line in the ADB folder.
  3. Enter the commands in turn: adb shell su rm /data/system/gesture.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot

After the reboot, the graphical password will be reset and the data stored. If the commands did not work, try the alternative:

adb shell am start -n com.android.settings/.ChooseLockGeneric

⚠️ Attention: On new versions MIUI (13+) This method may not work because of the increased protection. If you have a password left after the reset, try repeating commands or using Fastboot.

Through the Mi Account.

Recovery Mode

Fastboot

ADB (USB debugging)

Never blocked.

-->

5. Alternative methods (if nothing has worked)

If standard methods don't work, there are still more radical options, and they should only be used as a last resort, because they require deep knowledge or risk damaging the phone.

Possible solutions:

  • πŸ”§ Firmware via Mi Flash Tool – Full Reinstallation MIUI It requires an unlocked bootloader and can cause loss IMEI.
  • πŸ› οΈ Bypass FRP via the test menu - suitable if after reset the phone requires an old Google account, you need to log in to the Emergency Call and through the code set ##4636## try to bypass the check.
  • πŸ“± Contacting the service center - if the phone is critical data, it is better to entrust the unlock to professionals. The cost of the service: from 500 to 2000 rubles (depending on the region).

⚠️ Note: Do not use unsavory unlocking software (such as Mi Account Unlock Tool or the Mi Account Unlock Tool). FRP Bypass APK). Many of them contain viruses or can permanently disable the phone.Official tools from Xiaomi are the only safe option.

πŸ’‘

If you are not sure about your actions, it is better not to take risks - the wrong firmware or commands in Fastboot can lead to the loss of IMEI or "bricking" the phone.

Frequent Mistakes and How to Avoid Them

When trying to reset a graphical password, users often make critical mistakes that complicate the process or make the phone inoperable.

Mistake 1: Interrupting the discharge process

If you started resetting via Recovery or Fastboot, never disconnect the phone from power or remove the battery.This can damage the userdata partition and the phone will stop booting. If the reset is getting stuck during the Wipe Data stage, wait at least 10 minutes - sometimes the process takes longer.

Mistake 2: Using unofficial firmware

Firmware custom versions of MIUI (for example, from xiaomi.eu) without unlocking the bootloader is fraught with permanent lock (hard-brick). If you are not an experienced user, use only official firmware from the Xiaomi site.

Mistake 3: Wrong commands in ADB/Fastboot

A typo in the command (e.g., fstboot instead of fastboot) or using outdated instructions can cause a failure.Always check the relevance of commands for your model.For example, for Redmi 9 (codename lancelot), some commands are different from those running on the Redmi Note 9.

FAQ: Answers to Frequent Questions

Can I reset my graphical password without losing data?
Yes, but only if: πŸ”Ή Phone is linked to Mi Account (unlocking through account). πŸ”Ή The debugging was included. USB (unlock ADB). In all other cases, the data will be deleted.
What if your phone asks for an old Google account (FRP) after a reset?
This is Factory Reset Protection. To get around: Log in to Fastboot and fastboot erase frp. If it doesn't work, run your phone through the Mi Flash Tool with the Clean All tick. At the very least, contact the service - bypassing FRP on newer versions of MIUI is often impossible.
Can I unlock Redmi 9 through Google’s Find My Device?
No. Find My Device allows you to delete all data from your phone (like Wipe Data), but not reset your graphical password selectively, and after this operation, the phone will still require input from Mi Account or Google when you first set up.
How much does it cost to unlock in the service center?
The cost depends on the method: πŸ”Ή Dumping through Recovery/Fastboot (firmwareless): 300–800 β‚½. πŸ”Ή Firmware bypass FRP: 1000–2000 β‚½. πŸ”Ή Recovery IMEI After a failed firmware: from 1500 β‚½. In official Xiaomi services, the price is higher, but the safety of the phone is guaranteed.
How to avoid blocking in the future?
Follow simple rules: πŸ”Ή Link your phone to your Mi Account and Google. πŸ”Ή Put the debugging on. USB (Settings β†’ The phone. β†’ Version. MIUI β€” Press 7 times, then additionally β†’ For developers β†’ Debugging by USB). πŸ”Ή Make backups regularly through Settings β†’ System system β†’ Backup. πŸ”Ή Write your graphical password to a secure location (such as Google Keep or Notebook).