How to unlock Xiaomi Redmi 9 if you forget the pattern lock: all working methods of 2026

A forgotten pattern lock on Xiaomi Redmi 9 can turn into a real headache - especially if the phone stores important data and there is no backup. PIN-If you have a code or a password, the graphical pattern seems more convenient, but it's also easier to lock yourself up with it: you've made a few mistakes when you type it in. Fortunately, the manufacturer has provided several ways to unlock, and not all of them lead to data loss.

In this article, we will discuss 5 current methods of resetting a pattern lock on Redmi 9 (including Redmi 9A/9C/9T models), from the most secure to radical - with a complete reset. You will learn how to bypass locks through Mi Account, Recovery mode, ADB and even with service codes. And also - how to avoid losing photos, contacts and messages when unlocking.

⚠️ Important: the methods vary in complexity and consequences. For example, a reset via Mi Cloud saves data, and a hard reset deletes everything irrevocably!

1 Unblocking through Mi Account (the safest way)

If your Redmi 9 is tied to a Xiaomi account (Mi Account), this is your chance to unlock your phone without losing data.The method works even if you don't remember the password from your account - it can be restored via email or phone number.

How it works: After 5 failed attempts to enter the pattern lock, the system will prompt you to log in to Mi Account. If the phone is connected to the Internet (via Wi-Fi or mobile network), you can unlock it remotely.

  • πŸ”Ή Pros: no data is lost, no technical skills are needed.
  • πŸ”Έ Cons: Access to the attached email/phone, phone, phone should be online.
  • πŸ”Ά Limitation: If an account is not tied or blocked, the method will not work.

Step-by-step:

  1. Enter the wrong pattern lock 5 times in a row.
  2. On the screen will appear button Forgot password? or Unblock through Mi Account – click it.
  3. Enter the email or phone number associated with the account.
  4. Confirm the login via a code from an SMS/letter or password.
  5. Create a new pattern lock or disable the lock.

⚠️ Note: If two-factor authentication is enabled on the phone, you may need to confirm via backup email or the Mi Security app.

πŸ“Š You link your smartphone to the manufacturer’s account?
Yeah, always.
Only if required
No, I don't.
I don't know how to do that.

2. Reset the pattern lock via Find Device (Mi Cloud)

If your phone is connected to the Internet but you can’t enter your account details directly (for example, because of a damaged screen), use Mi Cloud, which also saves data, but requires you to pre-configure Find Device (similar to Google’s Find Device).

How to check if the function is enabled:

  • πŸ“± Go to i.mi.com from another device.
  • πŸ” Sign in with the same account as Redmi 9.
  • πŸ› οΈ In the menu, select your phone – if it shows up, the feature is active.

Instructions for resetting the key:

  1. Open Mi Cloud and log in to your account.
  2. Select your Redmi 9 from the list of devices.
  3. Press Find the device. β†’ Unlock.
  4. Confirm the action via SMS or email.
  5. Wait for the notification on the phone – the pattern lock will be reset.
ConditionsWill the method work?Data loss?
Online phone, Find Device enabledβœ… Yes.❌ No.
Offline phone❌ No.β€”
Account untied❌ No.β€”
Find Device is disabled in the settings❌ No.β€”

πŸ’‘

If Find Device is not enabled but the phone is connected to Wi-Fi, try restarting it – sometimes this helps to activate the feature remotely.

3. Unlock through Recovery Mode (with data loss)

If previous methods failed, you’ll need to use Recovery Emergency Mode, which removes all data from your phone, including photos, messages and apps, but is guaranteed to reset the pattern lock, and is suitable for Redmi 9 on any firmware (MIUI 12/13/14).

What you need:

  • πŸ”‹ Battery charge > 30% (so that the phone does not turn off during reset).
  • πŸ”Œ Cable USB (In case you need to connect to the PC).

Step-by-step:

  1. Turn off the phone with a long press on the power button.
  2. Press the power + volume button up for 10-15 seconds until the Mi logo appears.
  3. Release the buttons and you will see the Recovery menu (in English or Chinese).
  4. Use volume buttons for navigation and power button for selection.
  5. Select Wipe Data β†’ Wipe All Data β†’ Confirm.
  6. After reset, select Reboot β†’ Reboot to System.

⚠️ Note: on some Redmi 9 firmware, the Recovery menu may require you to enter a Mi Account password even to reset.If you don't remember the password, this method won't work - go to the Fastboot method.

Turn off the phone.|Charge the battery. > 30%|Prepare the cable. USB (bug-in)|Make sure there are no important unsaved data on your phone.-->

4. Reset the pattern lock via Fastboot (for advanced)

If Recovery is blocked by a password from Mi Account, Fastboot mode remains. This method requires connecting the phone to the computer and using the Mi Flash Tool utility or ADB commands. All data will be deleted, but the lock will be removed guaranteed.

What you need:

  • πŸ’» Computer with Windows/macOS/Linux.
  • πŸ”Œ Cable USB (preferably original).
  • πŸ“₯ The Mi Flash Tool or ADB.
  • πŸ”‹ Charging the phone > 50%.

Instructions via ADB:

1. Install ADB on your computer (instruction: https://developer.android.com/studio/releases/platform-tools).


2. Connect the Redmi 9 turned off to the PC, holding the volume button down + power (until the hare appears in the eardress cap - the Fastboot logo).




3. Open the command line in the folder with ADB and type:




adb devices




(Your phone should be displayed)




Enter the commands in turn:




fastboot oem unlock




fastboot flashing unlock




5. Confirm unlocking on the phone (if you receive a request).




Enter:




fastboot erase userdata




fastboot reboot




7.The phone will reboot dropped.

The following is the Mi Flash Tool:

  1. Download the firmware for your model (e.g. Redmi 9 Global) from Xiaomi’s official website.
  2. Unpack the archive in a folder.
  3. Open the Mi Flash Tool, select the folder with the firmware.
  4. Connect your phone in Fastboot mode.
  5. Press Refresh β†’ Flash (select Clean All).
  6. Wait for completion (5-10 minutes).
What to do if the Mi Flash Tool is in error?
If an anti-rollback or flash not done error occurs, it means: 1. You downloaded the firmware not for your model (check the exact name in Settings β†’ About the phone). 2. The firmware version is older than the current one on the phone (download a newer one). 3. The bootloader is blocked (you need to unlock through the official Xiaomi website, but it will take 7-15 days).

5. Use of service codes (does not work on all firmware)

Some versions of MIUI for Redmi 9 allow you to reset the pattern lock through service codes, which does not require a computer, but does not always work, depending on the firmware version and region.

Try these codes:

  • πŸ“ž ##7780## - Resets (restores media data, but deletes apps and accounts).
  • πŸ“ž *2767*3855# β€” Resetting everything (including internal memory!).
  • πŸ“ž ##4636## β†’ Testing β†’ Reset (rarely working).

How to enter codes:

  1. Open the standard phone application.
  2. Enter the code as a phone number and press the call button.
  3. If the code is working, confirm the reset.

⚠️ Attention: code *2767*3855# deletes everything, including files on internal memory (photos, videos, music) and do not use it unless you have backed up!

πŸ’‘

Service codes are the fastest way, but only work on older MIUI firmware (up to version 12.5).

6 Unblocking through Google Account (for older versions of Android)

If your Redmi 9 runs on Android 9 or older (MIUI 11 or lower), you can try unlocking it through your Google Account. On newer versions (Android 10+), this method is disabled for security reasons.

How to check the Android version:

Go to Settings β†’ About Phone β†’ Android Version. If version 9.0 or lower, the method may work.

Instructions:

  1. Enter the wrong pattern lock 5 times.
  2. Click Forgot Your Password? β†’ Sign in via Google.
  3. Enter the data from the Google account that was linked to the phone.
  4. Create a new pattern lock or disable the lock.

If there is no Google Sign in button, then the method is not supported by your firmware.

Frequent Mistakes and How to Avoid Them

When you unlock Redmi 9, users often face typical problems.

Mistake.Reason.Decision
Mi Account Locked in RecoveryXiaomi account is blocked or untiedUse Fastboot or restore access to your account
The phone will not turn on after resettingThe process is interrupted in Recovery/FastbootRepeat the procedure, make sure the battery is charged.
ADB does not see the deviceDrivers not installed or cable is faultyInstall ADB drivers, try another cable
Codes are down.New version of MIUI blocks service teamsUse other methods (Recovery, Fastboot)

Tips for successful unblocking:

  • πŸ”‹ Always charge your phone before resetting – discharging during the process can β€œbrick” the device.
  • πŸ“‘ If your phone is not connected to Wi-Fi in a locked state, use mobile internet (if you are not connected to Wi-Fi). SIM-card).
  • πŸ” After unlocking, immediately create a backup and link the account. Xiaomi/Google.

FAQ: Answers to Frequent Questions

Can I unlock Redmi 9 without losing data?
Yes, but only if the phone is linked to Mi Account or Google Account and you have access to them.Methods through Recovery, Fastboot or service codes delete all data.
What to do if you forget your Mi Account password and your pattern lock?
Restore your Xiaomi account through the recovery page. If this is not possible, only a Fastboot reset (with loss of data) remains.
Why does the phone ask for an old pattern lock after resetting via Recovery?
This means that the reset has not been completely reset. Repeat the procedure by selecting Wipe All Data (not Wipe Cache). If the problem persists, use Fastboot.
Can I unlock Redmi 9 through Xiaomi Service Center?
Yes, but only if you have a check or proof of purchase, official service centers do not reset the lock without proof of ownership, the cost of the service is from 1000 to 3000 rubles.
How to protect yourself from repeated blocking?
Set up a backup. PIN-code in lock settings, link Mi Account and Google Account, regularly backup your Mi Cloud or Google Drive.