How to reset your password to Xiaomi Redmi 9 if you forget your pattern lock PIN-code

The forgotten password on Xiaomi Redmi 9 is a situation that even experienced users face. The smartphone is blocked after several failed attempts to enter, and access to photos, messages and applications is closed. Fortunately, there are several official and informal ways to unlock, but each of them has its own nuances.

In this article, we will discuss all the current methods of resetting passwords on Redmi 9 (including Redmi 9A/9C/9T models), from the simplest to the most technically complex. It is important to understand that some methods will lead to complete loss of data, so first try options with minimal risks. Also note that if the device is enabled with Find My Device or Mi Account is tied, the chances of recovering access without reset are much higher.

Before you start, check:

  • πŸ”‹ Battery level (minimum 30% to avoid shutdown during process).
  • πŸ“Ά Availability of a backup of data (if previously synced with Mi Cloud or Google Account).
  • πŸ”§ Access to a computer with drivers installed ADB/Fastboot (It will be necessary for advanced methods).

If you are not sure about your technical skills, it is better to contact the Xiaomi service center - independent manipulation of the firmware can lead to loss of warranty or "bricking" of the device.

1 Unlocking through Mi Account (official method)

The safest method is if you have previously linked your device to a Xiaomi account, which works even when the screen is locked, but requires access to the Internet (via Wi-Fi or mobile network).

Instructions:

  1. On the locked screen of Redmi 9, enter any password / pattern lock 5 times in a row until the message β€œForgot your password?” appears.
  2. Tap that on the label. β†’ Select "Unblock with Mi Account".
  3. Enter the username and password from your Xiaomi account (the same one used for sync).
  4. Confirm unlocking via SMS or email (if two-factor authentication is enabled).

βœ… Pros: does not require data reset, works without a PC, is supported officially.

❌ Cons: if the account is not tied or forgotten password from it – the method is useless.

⚠️ Note: If you bought Redmi 9 handheld, the previous owner could not untie your Mi Account. in this case, unlocking through the account is impossible – you will need to contact Xiaomi with proof of purchase.

πŸ“Š You link your smartphone to your Mi Account?
Yeah, always.
Only for synchronization.
No, I don't see the point.
I don't know what it is.

2.Reset via Recovery Mode (complete data cleanup)

If Mi Account is not tied or you don’t remember the login details, you will be hard reset via Recovery mode, which will delete all data on the device, including photos, apps and settings.

Step-by-step:

  1. Turn off Redmi 9 with a long hold on the power button.
  2. Press the Power button + Volume up simultaneously and hold for 10-15 seconds until the Mi logo appears.
  3. Release the buttons – you will be taken to the Recovery Mode menu (manage by the volume and power buttons).
  4. Select the option "Wipe Data" β†’ "Wipe All Data".
  5. Confirm the action by choosing "Confirm".
  6. After the reset is complete, select "Reboot" to reboot.

Action.ButtonsNote
Entrance to RecoveryFood + Volume ↑Hold until vibrating.
Moving on the menuLoudness ↑/↓Choice - power button
Confirmation of dischargeLong-term retention of foodYou may need to enter. PIN from SIM-map

⚠️ Once reset, the device will be as new as it is, you will need to reconfigure Redmi 9, including the Mi Account and Google Account binding. If you previously enabled sync with Mi Cloud, some of the data (contacts, notes) can be restored.

Shut down. SIM-card (if any) PIN-request)

Charge your phone to at least 50%

Prepare a backup copy of the IMEI (in case of errors)

Make sure there is no important unsynchronized data-->

3. Unlock via Fastboot (for advanced users)

The method is suitable if Recovery Mode is not available or resetting through it does not help.Requires a computer with ADB/Fastboot drivers installed and a USB Type-C cable.

Algorithm of action:

  1. Download and install Google’s Platform Tools (includes fastboot).
  2. Turn off Redmi 9 and turn to Fastboot mode: Press Power + Volume down for 10 seconds.
  3. Connect your phone to your PC via USB. In the command line (on behalf of the administrator), perform: fastboot devices Make sure the device is determined (serial number should appear).
  4. Run the command to reset: fastboot erase userdata fastboot erase cache fastboot reboot

⚠️ Note: Some Xiaomi firmwares may require additional Mi Account unlocking after the fastboot erase userdata command (even if the account is not tied.

If the error "This device is locked" appears after the reboot, then the OEM Lock function is enabled on the device.

  • πŸ”“ Unlock the bootloader through the official Xiaomi website (the procedure takes up to 72 hours).
  • πŸ“± Or use the method of using EDL (see section 4).

πŸ’‘

If the fastboot command doesn’t work, try installing drivers manually through Windows Device Manager. Select β€œUpdate Driver” β†’ β€œSearch on this computer” β†’ specify the folder with Platform Tools.

EDL (Emergency Download Mode) for "brick" devices

This is an extreme method where other methods have failed, suitable for devices that don't turn on, that are stuck on the Mi logo or that have damaged firmware, requires a special EDL cable (or short circuit of the contacts on the board) and firmware for Redmi 9.

Attention! The wrong EDL actions can permanently bring the phone down, a method only recommended for experienced users or service engineers.

Instructions:

  1. Download the firmware for Redmi 9 (for example, from the Xiaomi Firmware Updater website).
  2. Install the Mi Flash Tool program.
  3. Put the phone in mode. EDL: πŸ”Œ Connect the device off to the PC. πŸ”§ Close the Test Point contacts on the motherboard (requires disassembly of the phone). πŸ–₯️ Or use the command adb reboot edl (if you have a ADB included).

Mi Flash Tool

"Flash"

πŸ“Œ After successful firmware, the device will be completely cleaned, including IMEI Serial number (they will have to be restored separately).

What if the network does not work after EDL?
If, after the firmware is through EDL The mobile network is missing, most likely. IMEI. To recover: 1. Install the application MTK Engineering Mode (for MediaTek processors) or Qualcomm QPST (2 Enter the engineering code ##4636## β†’ Go to Information. 3. Restore. IMEI team AT+EGMR=1.7,"Your_IMEI" (IMEI indicated on the box or under the battery). ⚠️ Incorrect input IMEI This can lead to a network blocking!

5. Unlock through Google Account (for Android 9 and below)

On Redmi 9 with Android 9 Pie or older (until upgraded to) MIUI 12+) Sometimes the old method of unlocking through Google Account works. MIUI this way is off.

How to check the Android version:

  1. On the locked screen, enter any password 5 times β†’ the button β€œForgot the password?” will appear.
  2. Select β€œSign in via Google” (if available).
  3. Enter the login and password from the account that was synced with the phone.

In all other cases, the data will be deleted.

What if you ask for an old password after reset?
This means that the device has Factory Reset Protection (FRP) enabled. To get around it: Connect to Wi-Fi during the setup phase. Enter data from a Google Account that was synced to your phone earlier. If you don't remember your account, you'll need firmware via Fastboot or EDL.
How do I know if my Mi Account is linked to my phone?
If your phone is locked, check this: Enter any password 5 times β†’ the "Forgot password" button will appear. If you have an "Unlock via Mi Account" option, the account is tied. You can also check the binding before blocking in Settings β†’ Mi Account.
Will a reset through Recovery work if the phone doesn't turn on?
If Redmi 9 doesn't respond to the power button (no vibration, no screen lights), check first: πŸ”‹ Charging (plug into charger for 30 minutes). πŸ”Œ Cable and port USB (Try another cable). πŸ”§ If the phone fell or got wet, the problem may be in the hardware – repairs are required.
Can I unlock Redmi 9 through Google’s Find My Device?
Find My Device is a feature that allows you to use only: πŸ“ Determine the location of the phone. πŸ”Š Activate the beep. πŸ“± Erase the data (but not unlock!). This method is not suitable for password resetting.