How to open Xiaomi Redmi 5: all ways to unlock your smartphone

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:

  1. On the locked screen, tap Forgot Password? (or Forgot Password).
  2. Enter the email or phone number associated with the account.
  3. Confirm your identity via SMS or code letter.
  4. 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.

πŸ“Š You forgot your password on Xiaomi Redmi 5?
Yeah, pattern lock.
Yes, PIN-code
No, the phone is locked after firmware.
Another case

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:

  1. Turn off your smartphone (press the Power for 10 seconds).
  2. Press the Power + Volume Up at the same time before the Mi logo appears.
  3. From the Recovery menu, select Wipe & Reset β†’ Wipe All Data (control – volume buttons, confirmation – Power).
  4. 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.

  1. PC with Windows 10/11 and Mi Flash Tool drivers.
  2. Mi Account linked to your phone (or new if the device is not activated)
  3. USB Type-C cable (original or high-quality)

Step-by-step:

  1. Download the Mi Unlock Tool (version 5.5.224.24 or later).
  2. Sign in to the program under the same account as on the phone.
  3. Put Redmi 5 to Fastboot (Power + Volume Down)
  4. Connect your phone to your PC. In Mi Unlock Tool, press Unlock.
  5. 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?
Make sure that: 1. Qualcomm drivers installed HS-USB QDLoader 9008 (You can download it through the Mi Flash Tool). 2. The original cable is used (not used)-USB 3.0). 3. In Device Manager, the phone appears as Android Bootloader Interface. If the problem persists, try another one. USB-port (preferably) 2.0) or disable the antivirus.

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:

  1. Download the firmware from the Xiaomi Firmware Updater website.
  2. Unpack the archive in a folder without Cyrillic characters.
  3. 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.
  4. 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:

  1. Connect your phone to your PC via USB.
  2. 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
  3. 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/.ChooseLockGeneric

This 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 causeDecision
The phone is not turned on, the indicator does not burn.Battery discharged or power controller malfunctionedConnect 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 onFirmware Flighted or Boot-Section DamagedFastboot or EDL (see section 4)
Hangs on the Mi logo or loads in an infinite loopSystem partition or module conflict is damagedRun Wipe Data in Recovery or run the full firmware package
Not defined by PC in Fastboot/EDLProblems with USB-port-driverTry 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:

  1. Enter the dialer *#06#.
  2. 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).

FAQ: Answers to Frequent Questions

Can I unlock Redmi 5 without losing data?
No, all official methods (resetting via Recovery, unlocking the bootloader) result in complete deletion of data. The only way to save files is if you had Mi Cloud enabled and synced, and once unlocked, you can recover data from the cloud.
How much does it cost to unlock Mi Account in the service center?
Cost depends on the method: Official unlock (if you know the account details) is free. EDL in service - 1500-3000 β‚½. Hardware repair (replacement of the battery, connector) – 1000–5000 β‚½. Beware of β€œmasters” offering unlock for 500 β‚½ β€” Often these are scammers who will simply reset the phone to factory settings without solving the Mi Account problem.
How to check if the bootloader is unlocked on Redmi 5?
Put your phone in Fastboot mode (clamp down Power) + Volume Down) and connect to the PC. In Command Prompt, type: fastboot oem device-info If the answer has a line Device unlocked: true, the bootloader is unlocked. If false is blocked.
What to do if after firmware phone is stuck on startup the Mi logo?
This is a typical problem with incomplete firmware. Solutions: Run Wipe Data in Recovery (see section 2). Re-scan your phone by selecting the Clean All option in the Mi Flash Tool. If it doesn't work, run through EDL (section 4). If the phone is warming or not responding to buttons, the Boot partition may be damaged, in which case only the firmware through the programmer will help.
Can I unlock Redmi 5 with Test Point without a PC?
No, Test Point is a hardware method for EDL 9008, but you still need a PC with Mi Flash Pro or similar to your firmware, and you can't unlock Mi Account without a computer.