Xiaomi Mi 9: How to open a smartphone if you forgot your password or blocked the bootloader

The Xiaomi Mi 9, released in 2019, is still popular with users thanks to its powerful hardware and affordable price in the secondary market. However, owners often face unlocking problems: a forgotten pattern lock, a locked bootloader after firmware or activation of Factory Reset Protection (FRP) after reset. In this article, current ways to open the Mi 9 in 2026, including official methods from Xiaomi and workaround solutions.

It's important to understand that unlocking procedures depend on the type of lock, for example, resetting the lock screen password and unlocking the bootloader are different processes that require different tools. We'll take each case apart, taking into account the features of the Mi 9 (codename cepheus). If your smartphone does not respond to touch or requires you to enter a password after rebooting, here you will find a solution.

Warning: some methods can lead to data loss or warranty cancellation. For example, unlocking the bootloader through the Mi Unlock Tool erases all data on the device, and using unofficial firmware deprives you of the right to service. Before you start, make sure that you have a backup of important files.

1. unlock the screen: what to do if you forget your password or pattern lock

If Xiaomi Mi 9 requires a password, PIN-There are several ways to get back access, and the easiest way to do that is to use a Mi Account account that is linked to the device:

  • πŸ“± Smartphone connected to the Internet (Wi-Fi or mobile network).
  • πŸ”‘ Remember the username and password from Mi Account.
  • πŸ”„ The device is enabled synchronization with the account Xiaomi.

To unlock the Mi 9 with your Mi Account:

  1. On the lock screen, enter the wrong password 5 times in a row.
  2. Will you see a button for Forgot your password?
  3. Select the recovery option via Mi Account and enter the login details.
  4. Follow the instructions on the screen to create a new password.

If this method does not work (for example, there is no network connection or account is not tied), you will have to do a hard reset - a full reset. FRP-lock if the device previously configured Mi Account.

πŸ“Š What Unblocking Method Is Right for You?
Through the Mi Account.
Hard Reset (reset)
Unlocking the loader
FRP circumvention
Other

2. Hard Reset on Xiaomi Mi 9: How to make a reset to factory settings

Factory reset is a radical method that removes all data, including passwords, accounts and installed apps. On the Mi 9, you can do this in two ways: via the Recovery menu or via Fastboot. The first option is simpler and doesn't require a computer.

Instructions for resetting via Recovery:

  1. Turn off your smartphone.
  2. Press the Power + Volume buttons up at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. From the Recovery menu, select the language (if required), then go to Wipe Data β†’ Wipe All Data.
  4. Confirm the action and wait for the process to be completed.
  5. Select Reboot to reboot.

β˜‘οΈ Preparation for Hard Reset

Done: 0 / 4

If the Mi 9 requires the entry of data from the Mi Account, it is FRP-If the smartphone doesn't load even in Recovery, try resetting via Fastboot:

fastboot erase userdata


fastboot erase cache




fastboot reboot

⚠️ Note: After reset via Fastboot, the device may hang on the Mi logo. In this case, repeat the procedure or sew the stock firmware.

Factory Reset Protection (FRP) bypass on Xiaomi Mi 9

FRP-Lock is a reset protection that is activated if the device has configured Mi Account and then executed hard reset. After rebooting, the Mi 9 will require you to enter a username and password from the account that was previously associated. If you do not remember this data, you can bypass the lock in several ways.

The official method is to restore access to Mi Account through account.xiaomi.com, and if that's not possible (e.g., the account is deleted), you'll have to use informal solutions. EDL-Emergency Download Mode with the Mi Flash Tool.

Step-by-step instructions for bypassing FRP through EDL:

  1. Download and install the Mi Flash Tool on your PC.
  2. Download the stock firmware for Mi 9 (cepheus code) from the Xiaomi Firmware Updater website.
  3. Turn off the smartphone and connect it to the PC, holding the buttons Volume up + Loudness down (it activates) EDL-regime).
  4. In the Mi Flash Tool, select the downloaded firmware and press Flash.
  5. After the firmware is completed, the device will restart without FRP-locking.
FRP bypass methodYou need a PC?DifficultyThe risk of bricks
Recovery of Mi AccountNo.Low.Absent.
Firmware through EDLYes.MediumHigh (in case of errors)
Use of APK-scoutsNo.Tall.Medium.
Reset via TestPointYes.Tall.Very tall.

⚠️ Attention: Firmware through EDL may result in loss IMEI Or convert the device to a brick if the wrong firmware version is selected.

4. Unlock the bootloader (Bootloader) on Xiaomi Mi 9

The bootloader on the Xiaomi Mi 9 is blocked by default, which prevents you from installing custom firmware, obtaining root rights or restoring your device via Fastboot. The official way to unlock is to use Xiaomi's Mi Unlock Tool utility.

The process takes up to 720 hours (30 days) due to Xiaomi’s policy: once an account is linked to a device, you have to wait for the company’s servers to allow unlocking.

  1. Download Mi Unlock Tool from the official website.
  2. Turn on the smartphone Developer Options (7 times click on the MIUI version in the settings).
  3. Activate OEM Unlock and USB Debugging in the developer menu.
  4. Attach Mi Account to the device in the settings.
  5. Connect your smartphone to your PC, launch the Mi Unlock Tool and follow the instructions.

Once the bootloader is successfully unlocked, all data on the device will be erased. If you need to save files, back up in advance. An alternative method is to unlock through EDL, but it requires an authorized Xiaomi account and a special cable.

πŸ’‘

If the Mi Unlock Tool gives you a β€œCouldn’t unlock” error, try using a different version of the utility (e.g. 3.5.501.27) or connect to your PC via USB 2.0 (not 3.0).

5. Alternative ways to unlock: TestPoint and custom firmware

If the official methods didn’t work, you can try TestPoint, a hardware unlocking method that works even on locked devices, and the bottom line is that the Mi 9 motherboard closes special contacts that translate the smartphone into a smartphone. EDL-warranty.

This will require:

  • πŸ”§ Thin screwdriver or mediator for disassembling the body.
  • πŸ”Œ USB-cable and PC with Mi Flash Tool installed.
  • πŸ“„ TestPoint layout for Mi 9 (can be found on the forums) 4PDA or XDA-Developers).
What happens if you make a mistake with TestPoint?
Incorrect closure of contacts can lead to short circuit, damage to the motherboard or complete failure of the device. If you are not sure of your skills, you should contact the service center.

Another radical method is to install custom firmware, such as LineageOS or Pixel Experience, which will bypass locks, but will require unlocked bootloader and ADB/Fastboot skills. Be sure to check compatibility with the cepheus model before you run the firmware.

6. Frequent errors and their solutions

When unlocking the Xiaomi Mi 9, users often face typical problems, and here are the most common ways to fix them:

  • πŸ”„ The device got stuck on the Mi logo after reset: Try reflashing through Fastboot or EDL. If it doesn’t work, there is a problem in the damaged boot section.

If none of the methods worked, there may be a problem with hardware damage (such as a faulty flash memory), in which case only diagnostics at the service center will help.

πŸ’‘

Before any firmware manipulation or unlocking, check the battery charge - it should be at least 50%. interruption of the process due to discharge can turn a smartphone into a "brick".

FAQ: Answers to Frequent Questions

Can I unlock the Xiaomi Mi 9 without losing data?
No, official methods (unlocking the bootloader, resetting via Recovery) always erase user data.The only way to save files is to remember the password or bypass the lock through Mi Account if it was tied.
How long does it take to unlock the bootloader through the Mi Unlock Tool?
Since 2021, Xiaomi has tightened its policy: once an account is linked to a device, you have to wait 720 hours (30 days) before unlocking.
What if the Mi 9 is not turned on after the firmware?
If the device doesn't respond to the power button, try: Connect to charge for 30 to 60 minutes (possibly the battery has gone down); Press Power + Volume down for 20 seconds for a forced reboot; Swipe stock firmware through EDL (if the smartphone is defined as Qualcomm HS-USB QDLoader 9008). If nothing helps, a hardware malfunction (for example, a damaged BootROM).
How do I know if the bootloader is unlocked on the Mi 9?
Turn off your smartphone, then press Power + Volume down to enter the Fastboot. If there's Unlocked at the bottom of the screen, the bootloader is unlocked. If Locked is locked.
Can I bypass FRP on Mi 9 without a computer?
Theoretically yes, with the help of special APK-files, for example, FRP Bypass APK), but on new versions MIUI (12+) This method often doesn't work because of the increased protection. EDL or TestPoint.