How to open the smartphone Xiaomi Redmi Note 5: from resetting the password to bypassing Mi Account

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).
πŸ“Š What kind of unlocking method do you need?
Resetting password through Recovery
Mi Account bypass
Removal of FRP
Unlocking the bootloader (Bootloader)
Other

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:

  1. Turn off the phone (press the power button for 10 seconds).
  2. Press Volume Up + Power at the same time and hold for 5-7 seconds until the Mi logo appears.
  3. From the Recovery menu, select the language (volume buttons) and go to Wipe Data β†’ Wipe All Data.
  4. 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

Done: 0 / 4

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:

  1. Connect your phone to Wi-Fi or mobile network (click Connect to Network in the lock menu).
  2. Enter the email or phone number associated with your Mi Account.
  3. 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:

MethodDifficultyPC requiredRisk of a brickLoss of data
via Fastboot (official unlocker)MediumYes.Low.No.
With ADB (if debugging is enabled)Low.Yes.Absent.No.
Firmware via EDL (9008 mode)Tall.Yes.High-pitchedYes.
Use of Mi Flash UnlockMediumYes.Medium.No.

The most reliable way is to use the Mi Flash Unlock utility (to unlock the bootloader) or firmware through Fastboot.

  1. Download the official firmware for Redmi Note 5 (choose the Fastboot version).
  2. Install the Mi Flash Tool and Xiaomi drivers.
  3. Transfer your phone to Fastboot mode:
  4. 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?
Errors like "Couldn't load device" or "Critical error" are usually driver-related. Try: 1. Install drivers manually via Android SDK. 2. Use another USB-port (preferably) USB 3. disable the digital signature check for drivers in Windows (via gpedit.msc) β†’ User configuration β†’ Administrative templates β†’ System system β†’ Installation of the driver).

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)

  1. On the lock screen, press Emergency Call.
  2. Enter ##4636## β†’ select Usage statistics β†’ Back (click on the return button at the top of the screen).
  3. Turn on TalkBack (a visually impaired assistance service) and follow the voice prompts to open Settings.
  4. 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:1

After 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:

  1. 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).
  2. Download Mi Unlock Tool and log in to the program.
  3. Transfer the phone to Fastboot and connect to the PC.
  4. 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 FastbootThe bootloader is not unlockedUse the Mi Unlock Tool or run through EDL
"Invalid token" in Mi FlashAn outdated firmware versionDownload the latest firmware with Xiaomi Firmware Updater
Phone is not defined in FastbootThere are no drivers.Install Qualcomm Drivers and reconnect the device
After the firmware, there's no network.Lost IMEIRestore. 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.-->

FAQ: Answers to Frequent Questions

Can I unlock Redmi Note 5 without losing data?
Yes, but only if you have USB debugging enabled and have access to ADB. In this case, you can delete the lock files (gatekeeper.password.key, gatekeeper.pattern.key) via the command: adb shell rm /data/system/gesture.key adb shell rm /data/system/locksettings.db After the reboot, the screen lock will reset. If debugging is not enabled, the data will be lost.
What if Mi Unlock Tool says "Couldn't unlock"?
This error occurs due to: Account mismatch (you are logged in to the wrong Mi Account that is linked to the phone). USB-Cable or port: Xiaomi locks (try in 72 hours) Solution: use alternative utilities (e.g. Xiaomi Bootloader Unlocker from the company). XDA).
How to get around FRP on Redmi Note 5 with MIUI 13?
On newer versions of MIUI, TalkBack bypassing doesn't work. Alternative methods: Firmware via EDL (requires an authorized Xiaomi account for Mi Flash Pro); Using SP Flash Tool with auth file (risky, can lead to a blink); Contacting a service center with a check for a purchase (officially unlocked in 1-3 days).
Why did the camera stop working after unlocking the bootloader?
This is a typical Redmi Note 5 problem when running unofficial software, and it's caused by damage to persist or vendor files. Solution: Fastboot your stock firmware. Restore persist.img (see bug section). Check the camera's performance with Engineering Mode (#4636## β†’ Hardware Testing).
Where to download the original firmware for Redmi Note 5?
Official firmware available at: Xiaomi website (choose Redmi Note 5 or whyred model) Xiaomi Firmware Updater (archive with all versions) MIUI). XDA Developers (Castom and Modified Firmware). ⚠️ Avoid firmware from questionable sources – they may contain spyware or be built with errors.