How to unlock Xiaomi Redmi after resetting: the full guide 2026

Resetting factory settings on Xiaomi Redmi smartphones is standard when selling a device or fixing software failures. But what if, after a hard reset, the phone requires you to enter an old password you don't remember? Or worse, asks for data from Mi Account, which has not been used for a long time? This situation is familiar to thousands of users, and today we will be discussing all the working ways to unlock Redmi after a reset, including bypassing Mi Account, working with Fastboot and mode. EDL.

It is important to understand: the methods of unlocking depend on the Redmi model, version. MIUI and reset type (via the recovery menu or Fastboot). MIUI 14 can work bypassing through ADB, on the Redmi. 9A s MIUI 12 - just firmware through EDL. We have put together the latest solutions for 2026, given the latest security updates Xiaomi.

We warn you right away: some methods require technical skills and can lead to loss of warranty or device brilliance. If you are not sure about yourself, contact the service center. For others, we will start a detailed analysis.

1.Why is Redmi blocked after resetting?

The reasons for blocking after hard reset are several, and they depend on how the reset was performed:

  • πŸ”’ Factory protection FRP (Factory Reset Protection is an Android feature that requires you to enter data from your last Google account or Mi Account after a reset.
  • πŸ“± Mi Account lock is an additional protection Xiaomi, tied to the account manufacturer. Even after reset via Recovery, the phone can request the username and password from Mi Account.
  • πŸ”„ Incomplete reset – if the reset was performed through Settings β†’ Reset, not through Recovery, some data (including passwords) may be saved in protected memory areas.
  • πŸ›‘οΈ Anti-theft protection – on new Redmi models (for example, Note 12 Pro)+) Uses enhanced protection that locks the phone even after a hardware reset.

The most common situation is a forgotten password from Mi Account, where many users register an account when they first turn on their phone and don’t remember it until they encounter a lockdown, in which case either restoring access to the account or bypassing security (which we’ll talk about later).

⚠️ Note: If the phone was bought with hands and the previous owner did not untie his Mi Account, unlocking may not be possible without his help.In such cases, we recommend contacting the seller or contacting Xiaomi with proof of purchase.

Another nuance is the firmware region, and phones with global (Global) and Chinese (China) firmware may have different unlocking methods, such as the Chinese versions of Redmi often lacking. FRP, There is a strong link to the Mi Account.

πŸ“Š What kind of Redmi model do you have?
Redmi Note 10/11/12
Redmi 9/9A/9C
Redmi 8/8A
Redmi 7/7A
Another model

2. Method 1: Unlocking through Mi Account (official method)

If the phone requires you to enter your Mi Account data after the reset, the first thing you should do is try to restore access to your account. This is the safest and most legal way, and it does not require technical manipulation.

Step 1: Restoring access to your Mi Account

  • 🌐 Go to the official website account.xiaomi.com.
  • πŸ”‘ Click on β€œForgot your password?” and enter your linked email or phone number.
  • πŸ“§ Follow the instructions for recovery (confirmation code will be sent to the mail or SMS).
  • πŸ”„ If email/phone is irrelevant, try to restore access via backup email or security questions.

If you don’t remember the login or backup data, try:

  • πŸ“± Remember which email was used when you first set up your phone (often this is the first time you’ve done it). @gmail.com or @mi.com).
  • πŸ” Check saved passwords in your browser or password manager (if you previously logged in to your account from a PC).
  • πŸ“ž Contact Xiaomi with proof of ownership of the device (check, box, IMEI).

Step 2: Signing in to an account on a locked phone

Once access is restored:

  1. Turn on your phone and wait for the Mi Account data entry screen.
  2. Enter the reconstituted email/phone and new password.
  3. If there is a notification of a discrepancy between the region of the account and the phone, confirm the login through SMS.
  4. After successful authorization, the phone will unlock and offer to configure it as new.

⚠️ Note: If you try to log in, the error β€œDevice is tied to another account” means that the previous owner did not untie his Mi Account. In this case, official unlocking is possible only through Xiaomi support with the provision of purchase documents.

If you cannot restore your account, go to alternative methods.

β˜‘οΈ What to check before bypassing Mi Account

Done: 0 / 4

3. Method 2: Circumvention FRP through ADB (Android 8-11)

If the phone after the reset requires a Google account (not a Mi Account), you can try to get around it. FRP assisted ADB (Android Debug Bridge.This method works on Redmi with Android versions 8-11 (MIUI 9-12) On new firmware (MIUI 13+) It may not work because of the increased protection.

What you need:

  • πŸ–₯️ Computer with Windows/Linux.
  • πŸ”Œ Original. USB-cable (not cheap charging!).
  • πŸ“¦ Installed drivers Xiaomi and ADB.
  • πŸ“± Phone with a charge of at least 30%.

Step-by-step:

  1. Connect your phone to your PC and start the Command Prompt (Windows) or Terminal (Linux/Mac).
  2. Check if the device is detected: Adb devices If the list is empty, install drivers or try another cable.
  3. Enter the roundabout commands. FRP (for MIUI 10–12): adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1 adb shell am start -n com.google.android.gsf.login/ adb shell am start -n com.google.android.gsf.login.LoginActivity
  4. The phone should open a Google account entry window, and enter any existing account (even not the one that was previously).
  5. After successful login, restart the phone - the lock will be removed.

If the commands don’t work, try an alternative method using ADB:

  1. Install it on a PC. MIUI FRP Bypass Tool.
  2. Connect your phone in Fastboot mode (clip Volume Down + Power when turned on).
  3. Launch the tool and follow the instructions on the screen.
Model RedmiMIUI versionIt's working. ADB-circumvention?The alternative
Redmi Note 9/10MIUI 11–12βœ… Yes.Fastboot method
Redmi 9A/9CMIUI 12βœ… Yes (mistakes)EDL-firmware
Redmi Note 11MIUI 13❌ No.Only EDL
Redmi K40MIUI 12.5+❌ No.Official unlocking

⚠️ Attention: Redmi with MIUI 13 and a new round-trip through ADB It usually doesn't work because of security patches, and you'll need to run a firmware through a Fastboot or EDL.

πŸ’‘

If the phone is not identified in ADB, Try to turn on the debugging. USB In the hidden menu: enter ##7780## on the lock screen (not working on all models).

Method 3: Unlock via Fastboot (without data loss)

If we go through ADB If it didn't work, the next step is to work with Fastboot, which is a method that works for most Redmi models, but requires an unlocked bootloader. If the bootloader is locked, it will have to be unlocked first (this erases all data!).

Preparation:

  • πŸ“₯ Download the official firmware for your model (choose the Fastboot version, not Recovery).
  • πŸ”§ Install Platform Tools (includes fastboot).
  • πŸ”Œ Connect your phone to your PC in Fastboot mode (clip Volume Down) + Power on-set).

Instructions for unlocking:

  1. Open the Command Prompt in the Platform Tools folder.
  2. Check the connection: fastboot devices must display the serial number of the phone.
  3. Unlock the bootloader (if it is blocked): fastboot oem unlock On new models (Redmi Note 12 and later) you will need to link the Mi Account to the device via unlock.mi.com (it will take 7-30 days).
  4. Swipe your phone with the official firmware: fastboot flash all [name file firmware].tgz Or Step-by-step (if the first command does not work): fastboot flash boot boot.img fastboot flash system system.img fastboot flash recovery recovery.img fastboot flash userdata userdata.img
  5. Reboot the phone: fastboot reboot

Once you've done the firmware, the phone will turn on as new, without locking, but all the data will be deleted. If you need to save files, try retrieving them first. TWRP (if established).

What if fastboot doesn’t see the device?
1. Check the cable - use the original one from Xiaomi. 2. Install the drivers manually through Device Manager (select "Mi Flash" or "Android Bootloader Interface"). 3. Try another one. USB-port USB 2.0 on the back of the PC). 4. Disable the driver signature in Windows (you need to reboot in a special mode).

5. Method 4: Firmware via EDL (for power users)

Regime. EDL (Emergency Download Mode is a firmware emergency mode that allows you to restore your phone even when there are serious crashes. It works at the Qualcomm processor level, so it is suitable for most Redmi (except for models on Mediatek, for example, Redmi). 9A).

⚠️ Attention: Firmware through EDL This method can cause a device to blink if the wrong firmware version is selected or the process is interrupted.

What you need:

  • πŸ“₯.mbn or.elf firmware for your model (look for Xiaomi Firmware Updater).
  • πŸ”§ Mi Flash Pro or QFil (for Qualcomm).
  • πŸ”Œ Cable USB Type-C with data support (not all cables are suitable for the EDL!).
  • πŸ”‹ Phone with a charge of at least 50%.

How to enter EDL mode:

There are two ways:

  1. Hardware method (for Qualcomm): Turn off the phone. Press Volume up. + Volume down and connect the cable to your PC. Hold the buttons for 10-15 seconds until the Qualcomm port comes on. HS-USB QDLoader 9008 in Device Manager.
  2. The programmatic method (through ADB): adb reboot edl

The firmware through Mi Flash Pro:

  1. Run Mi Flash Pro and select the downloaded firmware.
  2. Connect the phone in mode EDL (I have to decide how. COM-port).
  3. In the program, press Refresh – the serial number should appear.
  4. Select firmware mode: Clean All - Clean All and Lock - Clean All (recommended). + Locking the bootloader (if you need to return the phone to the stock).

Flash

After successful firmware, the phone will restart automatically.

If the firmware through Mi Flash fails, try QFil:

  1. In QFil, select Flat Build and specify the path to the file. prog_emmc_firehose.mbn firmware.
  2. Load tab XML β€” select files rawprogram_unsparse.xml and patch0.xml.
  3. Press Download and wait until it is completed.

πŸ’‘

Firmware through EDL β€” It's the last chance to bring your phone back to life if other methods don't work, but remember, doing the wrong thing can turn your smartphone into a brick".

Method 5: Bypassing the lock through TWRP (loader)

If your Redmi has a custom recapvery installed TWRP, It's easy to unlock. It's a way to get around it. FRP and Mi Account, but requires a pre-unblocked downloader.

What needs to be done:

  1. Download. TWRP for your Redmi model (make sure the version is compatible with your firmware!).
  2. Download your phone to Fastboot mode and swipe TWRP: fastboot flash recovery twrp.img fastboot boot twrp.img
  3. In TWRP, go to Advanced β†’ File Manager.
  4. Delete the following files (this will reset) FRP Mi Account): /data/system/gesture.key /data/system/locksettings.db /data/system/locksettings.db-wal /data/system/locksettings.db-shm
  5. Restart the phone. Once it's on, the lock should disappear.

If TWRP not installed, but the bootloader is unlocked, you can flash it through Fastboot:

  1. Download. TWRP for its model (for example, twrp-3.7.0_9-0-picasso.img For the Redmi Note 10).
  2. Recreation: Fastboot Flash Recovery twrp.img
  3. Download TWRP: fastboot boot twrp.img
  4. V TWRP Follow the steps to delete the lock files (see above).

⚠️ Note: New Redmi models (e.g. Note) 12 Pro+) TWRP It may not work due to partition encryption /data. In this case, only the firmware through EDL.

7. Frequent mistakes and how to avoid them

When unlocking Xiaomi Redmi, users often face typical problems, and consider the most common errors and their solutions:

Mistake.Reason.Decision
fastboot: error: cannot load 'twrp.img'Wrong path to file or damaged imageCheck the file name and folder where it is located. twrp.img. Download the image again.
device not found in ADB/FastbootNo drivers or problem cable installedInstall the drivers manually through Device Manager. Try another cable/port.
Mi Account Locked After FirmwareThe firmware did not delete the account dataRepeat the firmware with full cleaning (Clean All in Mi Flash).
The phone is not included in the EDLWrong button combination or faulty cableTry another cable. Use it for Mediatek. SP Flash Tool.
Invalid IMEI after the firmwareIMEI section damagedRestore. IMEI via Maui META or SN Write Tool.

Another common problem is loss. IMEI after the firmware is via Fastboot or EDL. To avoid this:

  • πŸ“ Write down the originals. IMEI (are under the battery or in a box until the firmware is installed.
  • πŸ”§ Use firmware marked Stable (not Developer) to minimize risks.
  • πŸ› οΈ If IMEI Lost, restore it through Maui META (for Mediatek or QCN-file (for Qualcomm).

If the phone doesn’t turn on after unlocking or is stuck on the Redmi logo, try:

  1. Download to Recovery and make Wipe Data.
  2. Switch the phone again by selecting a different version of the firmware.
  3. Check if the battery is turned off (sometimes after a failed firmware, the phone does not respond to buttons).

8. Alternative methods and when to contact the service

If none of the above methods worked, consider alternative options:

  • πŸ”§ Contact Xiaomi Service Center - if the phone is warranty or you don't want to risk it.
  • πŸ’° Buying an unlock code – on some forums (e.g, XDA) Sell codes to unlock Mi Account, but it is risky (fraud, viruses).

Should you try to unlock your phone yourself? Depends on your experience:

  • βœ… Try it yourself if: the phone is not warranty, you have a backup of data, you are ready for the risk of "bricking".
  • ❌ Contact the service if: the phone is new, warranty, you are not sure about your actions, the model is rare or expensive (for example, Redmi). K60 Pro).

The average cost of unlocking in service centers:

  • πŸ’΅ Circumvention FRP β€” 1000–2000 β‚½.
  • πŸ’΅ Unlocking Mi Account – 1500–3000 β‚½.
  • πŸ’΅ Firmware through EDL β€” 2000–4000 β‚½.
  • πŸ’΅ Recovery IMEI β€” 1000–1500 β‚½.

⚠️ Note: If you bought a Redmi with your hands and the previous owner did not untie the Mi Account, official unlocking may not be possible. EDL with complete cleaning, but this will void the warranty.

πŸ’‘

If all methods are exhausted and the phone is still locked, don't waste time experimenting -- talk to the professionals. Sometimes the cost of repairing is cheaper than the risk of losing the device permanently.

FAQ: Answers to Frequent Questions

❓ Can I unlock Redmi without losing data?
Theoretically, yes, but in practice, it's extremely difficult. If the phone is locked in the password entry stage or Mi Account, the data in the section is very difficult. /data The only way to save the files is to extract them through the TWRP (If installed, or with specialized tools like Oxygen Forensic (used in service centers), in most cases, unlocking results in a complete reset.
❓ Why After Fastboot Firmware