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.
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:
- Turn on your phone and wait for the Mi Account data entry screen.
- Enter the reconstituted email/phone and new password.
- If there is a notification of a discrepancy between the region of the account and the phone, confirm the login through SMS.
- 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
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:
- Connect your phone to your PC and start the Command Prompt (Windows) or Terminal (Linux/Mac).
- Check if the device is detected: Adb devices If the list is empty, install drivers or try another cable.
- 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
- The phone should open a Google account entry window, and enter any existing account (even not the one that was previously).
- After successful login, restart the phone - the lock will be removed.
If the commands donβt work, try an alternative method using ADB:
- Install it on a PC. MIUI FRP Bypass Tool.
- Connect your phone in Fastboot mode (clip Volume Down + Power when turned on).
- Launch the tool and follow the instructions on the screen.
| Model Redmi | MIUI version | It's working. ADB-circumvention? | The alternative |
|---|---|---|---|
| Redmi Note 9/10 | MIUI 11β12 | β Yes. | Fastboot method |
| Redmi 9A/9C | MIUI 12 | β Yes (mistakes) | EDL-firmware |
| Redmi Note 11 | MIUI 13 | β No. | Only EDL |
| Redmi K40 | MIUI 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:
- Open the Command Prompt in the Platform Tools folder.
- Check the connection: fastboot devices must display the serial number of the phone.
- 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).
- 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
- 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?
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:
- 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.
- The programmatic method (through ADB): adb reboot edl
The firmware through Mi Flash Pro:
- Run Mi Flash Pro and select the downloaded firmware.
- Connect the phone in mode EDL (I have to decide how. COM-port).
- In the program, press Refresh β the serial number should appear.
- 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:
- In QFil, select Flat Build and specify the path to the file. prog_emmc_firehose.mbn firmware.
- Load tab XML β select files rawprogram_unsparse.xml and patch0.xml.
- 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:
- Download. TWRP for your Redmi model (make sure the version is compatible with your firmware!).
- Download your phone to Fastboot mode and swipe TWRP: fastboot flash recovery twrp.img fastboot boot twrp.img
- In TWRP, go to Advanced β File Manager.
- 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
- 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:
- Download. TWRP for its model (for example, twrp-3.7.0_9-0-picasso.img For the Redmi Note 10).
- Recreation: Fastboot Flash Recovery twrp.img
- Download TWRP: fastboot boot twrp.img
- 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 image | Check the file name and folder where it is located. twrp.img. Download the image again. |
| device not found in ADB/Fastboot | No drivers or problem cable installed | Install the drivers manually through Device Manager. Try another cable/port. |
| Mi Account Locked After Firmware | The firmware did not delete the account data | Repeat the firmware with full cleaning (Clean All in Mi Flash). |
| The phone is not included in the EDL | Wrong button combination or faulty cable | Try another cable. Use it for Mediatek. SP Flash Tool. |
| Invalid IMEI after the firmware | IMEI section damaged | Restore. 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:
- Download to Recovery and make Wipe Data.
- Switch the phone again by selecting a different version of the firmware.
- 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.