How to open the Xiaomi Redmi 9 phone: all ways to unlock the screen and the account Mi

Xiaomi Redmi 9 remains one of the most popular budget smartphones even in 2026, but its owners often face the problem of a locked screen or a tied Mi Account. The reasons are different: a forgotten pattern lock, buying a used phone with someone else’s account, software failure after an update or even blocking after unsuccessful attempts to enter a password. In this article, 5 working methods of unlocking, including official and technical methods, taking into account the features of Redmi 9 (codename lancelot) based on MIUI 12-14.

It's important to understand that not all methods are universal. For example, resetting through Recovery won't help if the phone activates the "Find the device" (Mi Cloud) function. And bypassing Mi Account through EDL requires special equipment and can lead to irreversible loss of IMEI if you do not do the right thing. We will analyze each method with the risk, the tools necessary and the step-by-step actions - from simple to complex.

1 Unlocking through Mi Account (official method)

If you remember the data from your Xiaomi account tied to your phone, this is the fastest and most secure method.

  • πŸ”‘ Forgotten pattern lock or PIN-lock-screen;
  • πŸ“± Phone requires you to enter a password from Mi Account after resetting;
  • πŸ”„ The device is locked after too many failed unlock attempts.

Instructions:

  1. On the locked screen, tap the button "Forgot your password?" (if it is active).
  2. Enter the email or phone number associated with the Mi Account.
  3. Confirm your identity via SMS or backup email (code arrives within 1-2 minutes).
  4. Create a new password for the lock screen.

⚠️ Note: If the phone was purchased from hand and tied to someone else's account, this method will not work, in which case you will need to contact the previous owner to untie the device via account.xiaomi.com (section "Device Management").

If there is no β€œForgot Password?” button (for example, after a hard reset), try unlocking the device via the web interface:

  1. Go to i.mi.com and log in.
  2. In the "Find the device" section, select your Redmi 9.
  3. Click "Unlock Device" (the function is only available if the phone is connected to the Internet).
πŸ“Š What Unlocking Method Have You Tried Before?
Officially through Mi Account
Reset via Recovery
Firmware through Fastboot
Bypassing through EDL
No, it's my first time.

2.Reset to factory settings via Recovery

The method is suitable if:

  • πŸ”“ You don’t remember the screen password, but Mi Account isn’t tied;
  • πŸ“¦ You need to delete all data (photos, contacts, applications);
  • πŸ”§ The phone doesn’t respond to touch or hovers on the logo MI.

For Redmi 9, the procedure is performed via stock Recovery (not to be confused with custom TWRP!).

β˜‘οΈ Preparing for resetting through Recovery

Done: 0 / 4
  1. Turn off the phone with a long press on the power button (10-15 seconds).
  2. Press the Power button + Volume up simultaneously and hold for 10-15 seconds until the Mi logo and Recovery menu appear.
  3. In the Recovery menu, use the volume buttons for navigation and the power button for selection.
  4. Select Wipe Data β†’ Wipe All Data (Erase all user data).
  5. Confirm the action by choosing Confirm.
  6. After reset, select Reboot β†’ Reboot to System.
Problem.Reason.Decision
Recovery menu not openingFaulty volume or power buttonTry to pinch the buttons alternately or connect your phone to your PC and use adb reboot recovery.
After reset, requires a Mi AccountThe "Find the Device" function is activatedYou need to enter the data of the associated account or bypass through EDL/Fastboot
phone is stuck on startup logo after resetFirmware damaged.Swipe your phone through Fastboot (see section 4)

⚠️ Note: If after a reset, the phone requires you to enter Mi Account details that do not belong to you, further actions without the consent of the previous owner may be considered a violation of Xiaomi’s policy. In such cases, we recommend contacting the support service with proof of purchase (check, contract).

3. Bypassing the lock through ADB (for enabled debugging)

This method only works if USB debugging was enabled before the lock (Settings β†’ About Phone β†’ MIUI β†’ 7 taps according to version β†’ For developers β†’ USB debugging). If debugging is disabled, skip this section.

It will require:

  • πŸ–₯️ Computer with Windows/Linux;
  • πŸ”Œ USB-cable (original or high quality);
  • πŸ“₯ Installed Xiaomi drivers and ADB Tools.

Instructions:

  1. Connect the blocked Redmi 9 to your PC.
  2. Open the command line (Win + R β†’ cmd) and type: adb devices If the device appears in the list, go further. If not, install the drivers or try another cable.
  3. Enter the command to delete the lock key file: adb shell rm /data/system/gesture.key or PIN-code: adb shell rm /data/system/password.key
  4. Reboot your phone: adb reboot

After restarting, the lock screen should disappear. If not, try repeating the command or using an alternative method:

adb shell


su




rm /data/system/locksettings.db




rm /data/system/locksettings.db-wal




rm /data/system/locksettings.db-shm




reboot

πŸ’‘

If the su command doesn't work, then there's no root rights on the phone, and then only the Fastboot firmware will help.

4. Firmware via Fastboot (for power users)

The method is suitable if:

  • πŸ”§ Recovery reset didn't help (requires Mi Account);
  • πŸ“± Phone "brickled" (not included, stuck on the logo);
  • πŸ”„ You need to install a clean firmware without locking.

Redmi 9 (lancelot) will require:

  • πŸ–₯️ PC with Mi Flash Tool installed;
  • πŸ“₯ Official Fastboot firmware ROM for your model;
  • πŸ”Œ Cable USB (preferably original);
  • πŸ”§ Unlocked bootloader (if you are stitching through an informal firmware).

Step-by-step:

  1. Download and install the Mi Flash Tool.
  2. Unpack the firmware archive in a folder without Cyrillic characters (for example, C:\MIUI\lancelot).
  3. Turn off the phone and put it into Fastboot mode: press the Power button + Volume down for 10 seconds. The hare in the eardress hat will appear on the screen.
  4. Connect the phone to the PC.
  5. Open the Mi Flash Tool, press Select and point the path to the firmware folder.
  6. At the bottom, choose Clean all (full cleaning) or Clean all and lock (clean + lock bootloader).
  7. Press Flash and wait for the process to end (5-10 minutes).

⚠️ Note: Firmware through Clean all and lock will block the bootloader, which will complicate further manipulation of the software. Use this mode only if you are sure that you will not install custom firmware.

What to do if the Mi Flash Tool is in error?
If the Mi Flash Tool shows a "Couldn't find device" error, check the drivers and cable. "Critical error" often means that the firmware is not suitable for your model. Download the correct version from miuirom.org or Xiaomi Firmware Updater.

5 Unlocking through EDL (last resort)

EDL (Emergency Download Mode) is a "emergency" firmware mode that allows you to restore the phone even if it does not turn on. On Redmi 9, bypassing Mi Account via EDL is possible, but requires an authorized Xiaomi account or a special box (for example, UFi or EasyJTAG). Without them, the firmware in EDL will lead to locking the device!

When you need an EDL:

  • 🚨 The phone does not respond to buttons and does not load;
  • πŸ”’ bootloader locked and Mi Account tied;
  • πŸ“± We need to rebuild. IMEI post-fast-fast.

Instructions (for experienced users):

  1. Download firmware for EDL (for example, with Xiaomi Firmware Updater).
  2. Install Qualcomm 9008 drivers (can be found on 4PDA).
  3. Connect the phone off to the PC by clamping Volume up + Volume down, then insert the cable USB. The device must be defined as QHUSB_BULK qualcomm HS-USB QDLoader 9008.
  4. Open the Mi Flash Tool, select the firmware and press Flash.

Risks:

  • πŸ”΄ Loss of loss IMEI (The phone won't catch the network);
  • πŸ”΄ Locking the device if the firmware is not authorized;
  • πŸ”΄ Loss of guarantee.

πŸ’‘

EDL is the most powerful, but also the most dangerous method. Without experience and an authorized Xiaomi account, you should contact the service center.

Frequent mistakes and their solutions

Even following the instructions, users often encounter problems, and consider common errors and ways to fix them:

Mistake.Reason.Decision
Couldn't find a device in ADBNo drivers or cable faultyInstall drivers from here or try another cable
The phone is not included in FastbootSticked the volume or power buttonTry to press the buttons alternately or disassemble the phone to clear the contacts.
After the firmware no network (IMEI invalid)The modem or nvram partition is damagedRestore your IMEI via Maui META or SN Write Tool (requires authorization)
Mi Flash Tool is 99% FreezingConflict of firmware versions or driversTry flashing Mi Flash 2018 or using the --skip-secondary in fastboot commands

If none of the methods worked, there may be a hardware problem (for example, a damaged memory chip or screen controller), in such cases, we recommend contacting the Xiaomi service center or a trusted smartphone repairman.

FAQ: Answers to Frequent Questions

Can I unlock Redmi 9 without losing data?
Yes, but only if USB debugging is enabled (see section 3 about ADB). Otherwise, resetting or firmware will delete all data. If your phone had important files, try retrieving them via TWRP (if installed) or contact the data recovery service.
What to do if your phone requires an old Mi Account after a reset?
This means that the phone has activated the "Find the device" function. Options: Contact the previous owner and ask to untie the device via account.xiaomi.com. Swipe the phone through Fastboot with full cleaning (Clean all). Contact Xiaomi with a check to buy (if the phone is new). Bypassing the EDL without authorization can lead to locking the device!
How do I know if the Redmi 9 is unlocked?
Turn off your phone and press Volume Down + Power to log in to Fastboot. If the bottom of the screen says "Unlocked" - the bootloader is unlocked. If "Locked" - locked. Unlocking is officially possible through the Xiaomi site, but requires a wait (up to 720 hours for new accounts).
Will TWRP help you bypass Mi Account?
No, TWRP doesn't bypass the Mi Account binding. Moreover, installing a custom recavator on a locked bootloader can lead to a phone "brick" (inoperability) and bypassing Mi Account requires EDL with authorization or official untie of the device.
How much does it cost to unlock Redmi 9 in the service center?
Cost depends on method: Reset via Recovery: ~500–1000 β‚½; Firmware through Fastboot: ~1500–2500 β‚½; Bypassing Mi Account through EDL: ~3000–5000 β‚½ (risk of loss IMEI). In official Xiaomi services, bypassing Mi Account without proof of purchase is not performed.