How to unlock Xiaomi Redmi 9 without data loss: the full guide 2026

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).
πŸ“Š How often do you block your smartphone?
Never.
1-2 times a year
More often than 3 times a year
I always forget my password.

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:

  1. On the lock screen, tap Forgot Password? (or Forgot Password).
  2. Select Sign in via Mi Account and enter the authorization details.
  3. Confirm unlocking via SMS or email (if two-factor authentication is enabled).
  4. 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:

  1. Connect your phone to your computer via USB.
  2. Open Device Manager on PC and find Xiaomi Redmi 9 in the Portable Devices section.
  3. If there is Android ADB Interface on the list, debugging is enabled.

If the condition is met, follow the instructions:

  1. Download and install Android SDK Platform-Tools (or only adb.exe).
  2. Connect Redmi 9 to your PC and open the command line (Win + R β†’ cmd).
  3. 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
  4. 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?
1. Install drivers for Xiaomi from the official website (section "Fastboot Drivers"). 2. Try another one. USB-cable (preferably original). 3. Switch the connection mode on the phone from Charging to File Transfer (if the screen is unlocked for even a second). 4. Enable Debugging by USB" manually through recovery mode (if available) TWRP).

ConditionsMethod 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:

  1. Turn off the phone. Press Power + Volume Down before the Fastboot logo appears.
  2. Connect your phone to your PC and open the command line in the folder from fastboot.exe.
  3. Check the connection: fastboot devices
  4. Quickboot flash recovery recovery.img fastboot reboot recovery
  5. From the TWRP menu, select Advanced β†’ File Manager and delete files: /data/system/gesture.key, /data/system/password.key.
  6. 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:

  1. Go to Find My Device and log in.
  2. Select your Redmi 9 from the list of devices.
  3. Click Lock the device and enter a new password (the old one will reset).
  4. 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:

  1. Turn off your phone and remove the back cover (carefully so you don’t damage the plumes!).
  2. Find EDL contacts on the motherboard (usually signed or located near the battery connector).
  3. Close the contacts with tweezers and connect the phone to the PC via USB.
  4. Open the Mi Flash Tool, select firmware and press Refresh (the device should appear in COM-port mode).
  5. 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:

  1. 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 reboot

Before 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.

FAQ: Frequent questions about unlocking Redmi 9

Can I unlock Redmi 9 without a computer?
Yes, but only if: The phone is linked to Mi Account and has Internet access (method 1). Google sync is enabled and the last activity was no later than 3 days (method 4). Without a PC, you can not use ADB, Fastboot or EDL.
Why did some apps disappear after being unlocked through ADB?
This is because when you delete gesture.key and password.key, you reset some of your MIUI settings, including application access rights. To get it back: Go to Settings β†’ Applications β†’ Application Management. Click on the three dots in the top right corner and select Reset App Settings. Reboot your phone.
How to avoid blocking in the future?
So that you don't have to face the problem again: πŸ” Use a fingerprint or facial recognition as the primary method of unlocking. πŸ“ Write your password to a secure location (for example, in Google Keep or a notebook). ☁️ Enable automatic sync with Mi Cloud (even if you don’t use the cloud, this will help you recover your data). πŸ”§ Activate. USB Debugging and OEM Unlock in the developer settings (this will make it easier to unlock in the future).
Does this work on the Redmi 9A/9C/9T?
Yes, but with nuances: Redmi 9A/9C: Supports all methods except EDL (due to different location of contacts). Redmi 9T: Requires firmware recovery specifically for the lime model (not to be confused with lancelot for Redmi 9). Before firmware, specify the code name of your model in Settings β†’ About phone β†’ MIUI version.
Can I recover data after a Fastboot reset?
If you've done a full reset (fastboot erase userdata), the chances of recovery are minimal. However, you can try: Use programs like Dr.Fone or EaseUS MobiSaver (efficiency ~30%). Go to a data recovery lab (cost from 5,000 rubles). Important: Don't write new data to your phone after the reset - this reduces the chances of recovery!