Why is Redmi 9 blocked and can you bypass the protection without resetting?
Forgotten passwords, failed attempts to enter a pattern lock or failure in MIUI β these problems are faced by one in five owners of Xiaomi Redmi 9. The main difficulty is that standard methods of unlocking (for example, through Find My Device) lead to a complete reset, but save photos, correspondence and applications when unlocked is a more difficult task, but doable.
In this article, we will discuss 5 working ways to unlock Redmi 9 (including Redmi 9A/9C/9T modifications) without deleting files. It is important to understand that success depends on the version of MIUI, the status of the Mi Account account, and even whether OEM Unlock was enabled in the developer settings. Some methods require a PC, others work directly on the phone - choose the appropriate option.
Before you start, check:
- π Battery level (must be at least 30%, otherwise the phone may be turned off during the process).
- πΆ Backup in Mi Cloud (even if you donβt remember your account password, sometimes you can recover your data via the web version).
- π₯οΈ Access to a Windows or MacOS computer (for methods using ADB or Fastboot).
Method 1: Unblocking with Mi Account (if an account is linked)
The easiest and most official method is to use a Xiaomi account, which works if:
- π± The phone is connected to the Internet (via Wi-Fi or mobile network).
- π You remember the username and password from Mi Account (or you can restore them through the email/SMS).
- π More than 5 failed attempts to enter a password were not made on the phone (otherwise the account will be blocked for 24 hours).
Instructions:
- On the lock screen, tap Forgot Password? (or Forgot Password).
- Select Sign in via Mi Account and enter the authorization details.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
- Create a new password or pattern lock.
Important! If your phone is not connected to the network, connect it to the charger and wait for the Wi-Fi icon to appear in the top panel, sometimes a 10 second Power + Volume Up reboot helps, after which the network is restored.
Check your internet connection
Make sure you remember the information from your Mi Account.
Confirm access to email/SMS for recovery
Charge your phone to at least 30%
-->
β οΈ Note: If you've previously switched firmware to custom (like LineageOS), this may not work. ADB or Fastboot.
Method 2: Bypassing the lock through ADB (without resetting data)
The method is suitable for Redmi 9 with debugging enabled USB (USB If you've ever connected your phone to a PC to transfer files or install apps, chances are high that debugging is activated:
- Connect your phone to your computer via USB.
- Open Device Manager on PC and find Xiaomi Redmi 9 in the Portable Devices section.
- If there is Android ADB Interface on the list, debugging is enabled.
If the condition is met, follow the instructions:
- Download and install Android SDK Platform-Tools (or only adb.exe).
- Connect Redmi 9 to your PC and open the command line (Win + R β cmd).
- Enter commands in order: adb devices (should appear serial number) adb shell su rm /data/system/gesture.key rm /data/system/password.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot
- After the restart, the phone will unlock, but you will need to reconfigure the pattern lock.
Why does it work? Commands delete files that store the password and pattern lock in MIUI. User data (/data/media/0/) remains intact.
What if the ADB canβt see the device?
| Conditions | Method 1 (Mi Account) | Method 2 (ADB) |
|---|---|---|
| PC required | β No. | β Yes. |
| It works without the internet. | β No. | β Yes. |
| Saves the data. | β Yes. | β Yes. |
| It works on custom firmware. | β No. | β οΈ Partially. |
Method 3: Using Fastboot Mode (for Power Users)
If USB debugging is disabled but you have access to Fastboot, you can try bypassing the lock via recovery firmware, which is more risky because if you make a mistake, it can lead to a device blink (complete failure), but in 80% of cases the data is stored.
You'll need:
- π₯οΈ Computer with Fastboot installed and Xiaomi drivers.
- π File. recovery.img for Redmi 9 (You can download the Xiaomi Firmware Updater).
- π Original. USB-cable (low-quality cables often cause firmware errors).
Step-by-step:
- Turn off the phone. Press Power + Volume Down before the Fastboot logo appears.
- Connect your phone to your PC and open the command line in the folder from fastboot.exe.
- Check the connection: fastboot devices
- Quickboot flash recovery recovery.img fastboot reboot recovery
- From the TWRP menu, select Advanced β File Manager and delete files: /data/system/gesture.key, /data/system/password.key.
- Reboot your phone (Reboot β System)
β οΈ Note: If after the firmware recovery phone is stuck on the logo MI, The command is: fastboot flash recovery. stock_recovery.img (where stock_recovery.img β Original Restore for Your Model).
π‘
Before you run your Fastboot, disable the antivirus on your PC β it can block recovery.img files as βsuspicious.β
Method 4: Unblocking with Google Find My Device (limited support)
Googleβs official Find My Device service allows you to reset your password on some Xiaomi devices, but with reservations:
- π± The phone must be linked to a Google account (not just a Mi Account).
- π Remote management and data transfer are enabled on the phone.
- π The last sync with Google was 72 hours ago.
How to unlock:
- Go to Find My Device and log in.
- Select your Redmi 9 from the list of devices.
- Click Lock the device and enter a new password (the old one will reset).
- Wait 5-10 minutes and try unlocking your phone with a new password.
Why doesn't it always work? Xiaomi restricts Google functionality on its devices. If a phone is locked through Mi Account, Find My Device may show an error "The device doesn't support this feature."
Method 5: Emergency reset via EDL Mode (last chance)
EDL (Emergency Download Mode) is a "emergency" firmware mode used by service centers, which allows you to reflash your phone even with a locked bootloader, but is guaranteed to save data only 50% of the time (depending on the version of MIUI).
What will be required:
- π₯οΈ PC with Mi Flash Tool (download from the official website).
- π Firmware for Redmi 9 in.tgz format (select the version that matches your model).
- π§ Screwdriver for disassembling the phone (you need to close contacts on the board).
Instructions:
- Turn off your phone and remove the back cover (carefully so you donβt damage the plumes!).
- Find EDL contacts on the motherboard (usually signed or located near the battery connector).
- Close the contacts with tweezers and connect the phone to the PC via USB.
- Open the Mi Flash Tool, select firmware and press Refresh (the device should appear in COM-port mode).
- Press Flash and wait until it is completed (the process will take 5-15 minutes).
β οΈ Attention: Incorrect closure of contacts EDL It can knock out the power unit of the phone. If you're not sure, go to the service center.
π‘
EDL mode is a last resort, only use it if the phone is not unlocked by other means and you are ready for possible data loss.
What do you do if nothing helps?
If all of these methods fail, there are two options:
- Contact the Xiaomi Service Center. π Find the nearest authorized center on the Mi Service website. π° The cost of unlocking without data loss: ~1500-3000 rubles (depending on the region). β³ Term of execution: 1-3 days (if there is no queue).
Fastboot
If the data is not critical, reset the phone to factory settings with the command:
fastboot erase userdata
fastboot erase frp
fastboot rebootBefore you go to the service center,
- π Bring a check or a box from your phone (to confirm ownership).
- π Make sure you remember your Mi Account information (sometimes required to unlock it).
- π± Take a photo. IMEI phone (on the box or under the battery) β this will speed up the process.