Xiaomi Redmi 5, released in 2017, is still a popular budget smartphone thanks to reliable hardware and support for MIUI. But what if you forget your password, pattern lock or phone locked after resetting due to the binding to Mi Account? In this article, all the current ways to unlock Redmi 5 (codename rosy), including bypassing factory restrictions and working with the bootloader.
We will look at both software methods (via Fastboot and Recovery) and hardware solutions for cases where the smartphone does not respond to the connection to the PC. Importantly, the procedures for the Redmi 5 are different from newer models (for example, the Redmi Note 5 or Redmi 5 Plus), so instructions from other guides may not work. All methods are tested on MIUI 10-14 firmware (including global and Chinese versions).
1 Unlocking through Mi Account (official method)
If you remember the data from the Mi Account tied to the phone, this is the easiest way to unlock. Xiaomi Redmi 5 supports access restoration through the web interface, but there are nuances:
- π The smartphone must be connected to the Internet (Wi-Fi or mobile network).
- π Synchronization with Mi Cloud should be enabled on the device (checked in account settings).
- β³ After 5 failed attempts to enter a password, the system will block attempts for 24 hours.
To unlock Redmi 5 via Mi Account:
- On the locked screen, tap Forgot Password? (or Forgot Password).
- Enter the email or phone number associated with the account.
- Confirm your identity via SMS or code letter.
- Create a new password or pattern lock.
β οΈ Note: If the smartphone was bought from hand and tied to someone else's account, official unlocking is impossible without the data of the previous owner.
2.Reset via Recovery Mode (without loss of data)
The method is suitable if you do not remember the password, but Mi Account on the phone is not tied (or you know the account details). Recovery on Redmi 5 allows you to bypass the screen lock, but does not work on firmware newer MIUI 12.5 if the function "Data Protection" is enabled.
Instructions:
- Turn off your smartphone (press the Power for 10 seconds).
- Press the Power + Volume Up at the same time before the Mi logo appears.
- From the Recovery menu, select Wipe & Reset β Wipe All Data (control β volume buttons, confirmation β Power).
- After the reset, the phone will restart. At the setup stage, skip the account binding (if required).
Turn off phone | Press Power + Volume Up| Wait for Recovery menu (lago Mi)| Select Wipe All Data| Confirm reset
-->
If the phone requires Mi Account data to be entered after reset, then the binding has been activated before, in which case, go to the unlock section of the bootloader.
3. Unlocking the bootloader (Bootloader)
Official unlocking of the bootloader on Xiaomi Redmi 5 is required for:
- π Bypassing Mi Account lock after reset.
- π± Custom firmware installations (e.g. LineageOS or Pixel Experience).
- π οΈ Restoring access if the phone is βbrickedβ after a failed update.
The procedure takes 72β168 hours (3β7 days) due to Xiaomiβs policy.
- PC with Windows 10/11 and Mi Flash Tool drivers.
- Mi Account linked to your phone (or new if the device is not activated)
- USB Type-C cable (original or high-quality)
Step-by-step:
- Download the Mi Unlock Tool (version 5.5.224.24 or later).
- Sign in to the program under the same account as on the phone.
- Put Redmi 5 to Fastboot (Power + Volume Down)
- Connect your phone to your PC. In Mi Unlock Tool, press Unlock.
- Wait for the SMS confirmation (will come in 3-7 days).
β οΈ Warning: Once the bootloader is unlocked, the smartphone will perform a full reset. All data, including photos and messages, will be deleted. If the phone has been enabled synchronization with Mi Cloud, some data can be restored after unlocking.
What if the Mi Unlock Tool can't see the phone?
4. bypassing the Mi Account lock after reset (unofficial methods)
If Redmi 5 requires Mi Account data after reset, and you don't know it, there are no official ways to circumvent it. However, there are informal solutions that work on MIUI 10-12 (newer patches are closed).
- π¨ Possible total loss of the phone ("brickΒ»).
- π Xiaomi could be blocked IMEI devices for the use of informal methods.
- π΅ The warranty is cancelled (even if it is still valid).
The most reliable method is firmware via EDL Mode (emergency mode) using the Mi Flash Pro tool.
- π₯οΈ Windows PC and Qualcomm 9008 drivers.
- π Fastboot firmware for Redmi 5 (version rosy_global_images).
- π Cable with support EDL (or modified cable for forced transfer to 9008 mode).
Algorithm of action:
- Download the firmware from the Xiaomi Firmware Updater website.
- Unpack the archive in a folder without Cyrillic characters.
- Transfer the phone to EDL Mode: (a) Turn off the phone. (b) Close the Test Point contacts (on the board next to the battery) and connect USB-cable. c) The device Qualcomm must appear in Device Manager HS-USB QDLoader 9008.
- Run Mi Flash Pro, select the firmware folder and press Flash.
1. Open the back cover of the phone (need a mediator).
2. Disconnect the battery plume.
3. Close the contacts. + and - batteries for 2-3 seconds, then plug in USB-cable.
-->
5. Unlock via ADB (if USB debugging is enabled)
The method only works if Redmi 5 has previously been activated debugging USB (USB Debugging) and the computer is authorized on the list of trusted devices. This is rare, but if the condition is met, it will take 5 minutes to unlock.
Instructions:
- Connect your phone to your PC via USB.
- Open Command Prompt (or Terminal on Mac/Linux) and type: adb shell su rm /data/system/gesture.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot
- After the reboot, the screen lock will be reset.
If the commands donβt work, try an alternative method:
adb shell am start -n com.android.settings/.ChooseLockGenericThis command will open a password change menu where you can set a new PIN or pattern lock.
β οΈ Attention: On firmware MIUI 13+ This method may not work because of changes in the structure of the system files, in which case only unlocking the bootloader or firmware through the system will help. EDL.
6 Hardware methods (if the phone is not turned on)
If the Xiaomi Redmi 5 doesnβt respond to the power button, doesnβt charge or hovers over the Mi logo, the reasons may be hardware:
- π Failed battery (blown, loss of capacity).
- π Damaged charging connector or power controller.
- π± Flying firmware after a failed update.
Diagnostics and solutions:
| Symptoms. | Possible cause | Decision |
|---|---|---|
| The phone is not turned on, the indicator does not burn. | Battery discharged or power controller malfunctioned | Connect to charge for 30 minutes. If it doesn't work, replace the battery or the power board. |
| Vibrates when connected to charging, but does not turn on | Firmware Flighted or Boot-Section Damaged | Fastboot or EDL (see section 4) |
| Hangs on the Mi logo or loads in an infinite loop | System partition or module conflict is damaged | Run Wipe Data in Recovery or run the full firmware package |
| Not defined by PC in Fastboot/EDL | Problems with USB-port-driver | Try another cable/port, reinstall Qualcomm drivers |
Redmi 5 hardware repairs may require:
- π οΈ Replacement of the battery (original code β BM47 or BM48).
- π§ Replicating the charging connector (a frequent problem after falls).
- π Firmware EMMC via the programmer (if the phone is not detected in any mode).
π‘
If the phone doesn't turn on after falling or getting moisture, don't try to stitch it - check the hardware first. Connecting to a PC in this state can cause a short circuit and damage the motherboard.
7. Frequent mistakes and how to avoid them
When unlocking Xiaomi Redmi 5, users often face typical problems. Hereβs how to prevent them:
- π Mi Unlock Tool: Make sure your Mi Account is logged in for at least 72 hours. If your phone is new, wait 3-7 days.
- π΅ Phone is not defined in Fastboot: Check the cable (should support data transfer), try another USB-port or disable the antivirus.
- π After firmware, the phone discharges in 2 hours: This is normal for the first 2-3 charging cycles. perform battery calibration (discharge to 0%, then charge to 100% without interruptions).
- π No network after reset: Go to Settings β SIM-Maps and mobile networks and select the operator manually.
If after unlocking the bootloader, the phone stopped seeing SIM-Cards, check status. IMEI:
- Enter the dialer *#06#.
- If Null or 00000000 is displayed, restore the IMEI via the SN Write Tool (requires a backup or box from the phone with the original IMEI).