Forgot the pattern lock on Xiaomi Redmi Note 5 or the phone locked after failed attempts to enter a password? Have problems with Mi Account after resetting? This article will help you return access to the device without contacting the service center. We will look at all the current methods of unlocking, from standard methods through Recovery to advanced solutions for bypassing FRP (Factory Reset Protection).
The Redmi Note 5 (codenamed Whyred) was released in 2018, but is still popular thanks to its robust hardware and custom firmware support, but its security features include: For example, after a Fastboot reset, you may need to enter data from Mi Account, even if the phone was not previously tied. MIUI 12β14.
Before you start, make sure you have:
- π Charged phone (minimum 30% β discharge during the procedure can lead to a βbrickβ of the device).
- π» Windows computer (for methods via Fastboot or ADB).
- π Original. USB-cable (cheap analogues are often not recognized in firmware mode).
- π₯ Archive with the necessary utilities (links are given in the relevant sections).
1. Standard reset via Recovery Mode
The easiest way to get back access to the Redmi Note 5 is to reset your settings through stock Recovery, which is suitable if:
- π You forgot your password, PIN graphical.
- π± The phone is not tied to Mi Account (or you remember login details).
- βοΈ The device was not locked through Find Device (remote lock).
To enter Recovery:
- Turn off the phone (press the power button for 10 seconds).
- Press Volume Up + Power at the same time and hold for 5-7 seconds until the Mi logo appears.
- From the Recovery menu, select the language (volume buttons) and go to Wipe Data β Wipe All Data.
- Confirm the action and wait for the process to be completed (it will take 2-5 minutes).
β οΈ Note: After resetting via Recovery, the Redmi Note 5 may request Mi Account data, even if the phone was not previously tied. FRP on Xiaomi devices with MIUI 10+. If you do not remember the username / password, go to the section about bypassing Mi Account.
βοΈ Preparing for resetting through Recovery
2 Unlocking through Mi Account (if you remember the data)
If after resetting Redmi Note 5 requires the entry of Mi Account data, but you remember the username and password, use the official unlock method:
- Connect your phone to Wi-Fi or mobile network (click Connect to Network in the lock menu).
- Enter the email or phone number associated with your Mi Account.
- Enter your password. If you see a device not recognized error, try:
If the data is entered correctly, but unlocking does not occur, check:
- π Account region (must match the region of the phone).
- β³ Time on the device (incorrect date/time may block authorization).
- π Xiaomi server status (sometimes crashes β check through Downdetector).
π‘
If the linked phone number is no longer available, try to restore access to Mi Account via the recovery form. Specify a backup email or answer check questions (if asked).
3. bypass Mi Account without login data
If you don't remember the Mi Account data or the phone was bought with a handheld account tied to someone else's, you'll need to bypass security. There are several working methods for the Redmi Note 5:
| Method | Difficulty | PC required | Risk of a brick | Loss of data |
|---|---|---|---|---|
| via Fastboot (official unlocker) | Medium | Yes. | Low. | No. |
| With ADB (if debugging is enabled) | Low. | Yes. | Absent. | No. |
| Firmware via EDL (9008 mode) | Tall. | Yes. | High-pitched | Yes. |
| Use of Mi Flash Unlock | Medium | Yes. | Medium. | No. |
The most reliable way is to use the Mi Flash Unlock utility (to unlock the bootloader) or firmware through Fastboot.
- Download the official firmware for Redmi Note 5 (choose the Fastboot version).
- Install the Mi Flash Tool and Xiaomi drivers.
- Transfer your phone to Fastboot mode:
- In the Mi Flash Tool, select the downloaded firmware and press Flash. Wait for completion (10-15 minutes).
β οΈ Note: After the firmware through Fastboot on Redmi Note 5, you may still have Mi Account blocked if you previously had an account linked. EDL or contacting the service center with proof of purchase.
What to do if the Mi Flash Tool is in error?
Factory Reset Protection (FRP) bypasses Redmi Note 5
FRP (Factory Reset Protection) is a setting reset protection that is activated after Wipe Data on devices with MIUI 10+. If after a reset Redmi Note 5 requires data input from the previous Mi Account, use one of these methods:
Method 1: TalkBack (powered by MIUI 11-12)
- On the lock screen, press Emergency Call.
- Enter ##4636## β select Usage statistics β Back (click on the return button at the top of the screen).
- Turn on TalkBack (a visually impaired assistance service) and follow the voice prompts to open Settings.
- Go to Accounts & Sync and delete the Mi Account.
Method 2: Through ADB (if debugging is enabled)
If the phone previously had USB debugging enabled, connect it to your PC and do:
adb shell am start -n com.android.settings/.Settings
adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1After that, restart the phone and the Mi Account request will disappear.
π‘
TalkBack bypasses FRP only on firmware up to MIUI 12.5. On newer versions, Xiaomi has closed this vulnerability, and you will need firmware through EDL or contact the service.
5 Unlock the bootloader on the Redmi Note 5
If you plan to flash custom software (like LineageOS or Pixel Experience), you first need to unlock Bootloader.The official way Xiaomi requires binding to Mi Account and waiting 7-15 days, but there are workarounds.
Instructions for official unlocking:
- Link Mi Account to your phone (in About phone β MIUI version settings, press 7 times, then go back to Additional settings β Developer options and enable OEM Unlocking).
- Download Mi Unlock Tool and log in to the program.
- Transfer the phone to Fastboot and connect to the PC.
- In Mi Unlock Tool, press Unlock and wait until it is completed (a second attempt may be required in a week).
β οΈ Warning: Unofficial methods of unlocking (e.g., through EDL) may result in loss IMEI or problems with the module NFC. On the Redmi Note 5, this is especially true because of the hardware features of the Snapdragon 636 chipset.
6. Data recovery after unlocking
If resetting caused you to lose important files, try to restore them with:
- π Local backup: check the folder /MIUI/Backup/AllBackup backup.
- βοΈ Cloud storage: log in to Mi Cloud via browser and download data (photos, contacts, notes).
- π Recovery programs: DiskDigger, Recuva or 7-Data Recovery (only works if data has not been overwritten).
To recover via ADB (if the phone is recognized but not turned on):
adb pull /data/media/0/ C:\Redmi_Note5_Backup\
adb pull /sdcard/ C:\Redmi_Note5_SDCard\β οΈ Note: Do not save recovered files back to your phone immediately after resetting β this can lead to conflicts in your phone. MIUI. First, move them to the PC or cloud.
7. Frequent errors and their solutions
When unlocking Redmi Note 5, users face typical problems:
| Mistake. | Reason. | Decision |
|---|---|---|
| "This device is locked" on Fastboot | The bootloader is not unlocked | Use the Mi Unlock Tool or run through EDL |
| "Invalid token" in Mi Flash | An outdated firmware version | Download the latest firmware with Xiaomi Firmware Updater |
| Phone is not defined in Fastboot | There are no drivers. | Install Qualcomm Drivers and reconnect the device |
| After the firmware, there's no network. | Lost IMEI | Restore. IMEI through QCN maui META |
fastboot flash persist persist.img
This file is responsible for hardware settings and is often damaged when the firmware is incorrect.-->