Forgot the password from Mi Account, and Xiaomi Redmi 5 requires data entry after reset? Or bought a used device with a tied someone else's account? The situation is familiar to thousands of users - the smartphone turns into a "brick" due to blocking FRP (Factory Reset Protection, which Xiaomi has implemented to protect against theft. EDL-Emergency Download Mode allows you to bypass the lock and return the device to life.
In this article, we will discuss the current 2026 methods of flashing Redmi 5 (codename rosy) with a blocked Mi Account, including choosing the right firmware, preparing tools and step-by-step actions. We will analyze both official methods (with the risk of re-blocking) and alternative methods through custom recovery and patched files. Importantly, the procedure requires technical training and can lead to loss of warranty or complete failure of the device in case of errors.
Why is Redmi 5 blocked after resetting?
The locking of Mi Account on Xiaomi Redmi 5 is triggered due to the FRP mechanism, which is activated when:
- π Hard reset via Recovery or Fastboot.
- π± Delete your account without detachment of the device in the Mi Cloud settings.
- π οΈ Flashing without first removing the link to the account.
- π Buying a used phone where the previous owner did not untie the device.
Once reset, the system requires the username and password from Mi Account, which was tied to the last. If the data is not available, the phone becomes unusable. Xiaomi does not officially provide ways to circumvent this protection, but there are informal methods based on firmware vulnerabilities or hardware modes.
Preparation for re-flashing: what will be needed
Before starting the procedure, collect everything you need. Without the right tools and files, you risk permanently locking the bootloader or getting a brick.
| Component | Description | Where to find it. |
|---|---|---|
| Firmware | Official or custom firmware for rosy (Redmi 5) The version must match the region of the device. | Xiaomi or Xiaomi Firmware Updater |
| Mi Flash Tool | Utility for firmware via EDL. Version not lower than 2020.3.14.0. | XiaomiTool website |
| Qualcomm drivers | Drivers to work with the Snapdragon 450 processor in EDL mode. | XDA Developers |
| USB cable | The original Xiaomi cable or the quality cable. Cheap cables may not be transmitting data to EDL. | Electronics stores |
| Windows PC | Computer running Windows 7/10/11 (macOS/Linux may have driver problems). | β |
β οΈ Note: If your Redmi 5 has an unlocked bootloader, you can use the method with a bootloader. TWRP And it's patched, and if the bootloader is locked, it's only a patch. EDL-firmware.
Method 1: Firmware via EDL (for locked bootloader)
The method is suitable if the bootloader is not unlocked and the phone does not respond to other methods. EDL (Emergency Download Mode) is a service mode that allows you to flash the device directly through the Qualcomm port.
Install Qualcomm Drivers | Download Mi Flash Tool and firmware | Disable driver signature in Windows | Connect phone to PC in off state | Run Mi Flash Tool on behalf of administrator-->
Steps:
- Turn off the phone. Press Volume up + Volume down + Power for 10 to 15 seconds until the screen goes out. This will force the device to EDL.
- Connect your phone to your PC. The Device Manager should have a Qualcomm HS-USB QDLoader 9008.
- Launch the Mi Flash Tool, press Select and select the folder with the unpacked firmware (.tgz or.zip format).
- At the bottom of the program, select Clean All (Full Cleaning) or Clean All and Lock (Cleaning) mode. + Clean all is suitable for bypassing Mi Account.
- Press Refresh, the program must detect the device, then click Flash and wait for the end (5-10 minutes).
After successful firmware, the phone will restart. At the setup stage, skip the Mi Account binding - the lock should disappear. If the phone again requires an account, then the firmware is not patched (see Method 3).
What if the Mi Flash Tool canβt see the device?
Method 2: Unlock bootloader + TWRP (for unlocked bootloader)
If the Redmi 5 bootloader is already unlocked (checked by the fastboot oem device-info team - look for the Device unlocked: true string), you can use custom recovery (TWRP) and patched firmware.
Advantages of the method:
- β The ability to install firmware without Mi Account.
- β Data retention (during selective cleaning).
- β Installation of custom kernels and modifications.
Disadvantages:
- β The risk of damage to the persist partition (responsible for the IMEI and communication modules).
- β Not all versions. TWRP It works well with Redmi 5.
Instructions:
- Download TWRP for rosy (for example, the official version or a modified version from XDA).
- Transfer your phone to Fastboot (clip Volume Down + Power).
- Please. TWRP Team: Fastboot Flash Recovery twrp-3.6.2_9-0-rosy.img fastboot boot twrp-3.6.2_9-0-rosy.img
- In TWRP, run Wipe β Format Data (this will remove encryption and reset settings).
- Download the patched firmware (e.g. Xiaomi.eu without checking Mi Account) and install it through Install.
β οΈ Attention: After installation TWRP Do not restart your phone through the system menu, this will lead to a recovery of stock recovery. twrp.img or the reboot button β Recovery is in the right place. TWRP.
Method 3: Using patched firmware (bypassing Mi Account)
If standard firmware via EDL doesnβt remove the lock, youβll need a modified firmware with remote Mi Account checks, which are created by enthusiasts and distributed on forums like 4PDA or XDA.
Where to look:
- π The subject is 4PDA (Redmi 5 without Mi Account).
- π Xiaomi.eu (European builds without Chinese restrictions).
- π Telegram channels with custom firmware.
How to stitch:
- Download the firmware in.zip format (for example, miui_ROSYGlobal_V12.5.1.0.RERMIXM_..._no_mi_account.zip).
- If the bootloader is unlocked, run through TWRP (see Method 2).
- If the bootloader is locked, unpack the firmware and run through the Mi Flash Tool in Clean All mode (see Method 1).
π‘
Before installing the patched firmware, check its hash (MD5) to prevent corrupted or infected files from being downloaded. Use WinMD5Free.
Risks and possible problems
Flashing Redmi 5 with Mi Account blocked is not a safe process.
| Problem. | Reason. | Decision |
|---|---|---|
| The phone does not turn on after the firmware | Wrong firmware version or interrupted process. | Repeat the firmware through EDL with another version of the software. |
| Loss of IMEI | The persist or nvram partition is damaged. | Restore the IMEI through Engineer Mode or MauiMeta. |
| Bootloop (locked load) | A conflict of modules in firmware or an incompatible kernel. | Swipe stock firmware through the Mi Flash Tool in Clean all and lock mode. |
| Networks are down/Wi-Fi is down | There are no module drivers or incorrect firmware region. | Install firmware for your region (e.g. Global instead of China). |
The most common error is to damage the persist partition, which stores data about communication modules. If the IMEI is lost after firmware or the mobile network stops working, restore the partition through Qualcomm Tools or contact the service center.
π‘
If you want your account back after you've firmwareed, it's not patchy. Try another version or use the method with a different version. TWRP and deletion of files /data/system/mi_account manually.
Alternative methods (if the firmware does not help)
If none of these methods worked, try:
- π Contact Xiaomi Service Center with proof of purchase (check) and they can unlock the account by serial number.
- π§ Use boxing to unlock (e.g. UFi Box or Medusa Pro) This is a paid method, but guaranteed to work.
- π§ Restore access to Mi Account via the official website (if your phone is yours but your password is forgotten).
Xiaomi service centers in Russia and the CIS often refuse to unlock phones without a check, but you can try to write in support of Xiaomi with a description of the situation.