Forgot the pattern lock or PIN-The code for the Xiaomi Redmi Note 5? is a nasty but solvable situation. This smartphone, launched in 2018, is still popular today for its reliability and performance, but its security system can be a problem if you don't remember the login details. Unlike the new face unlock models, the Redmi Note 5 (codenamed Whyred) relies on traditional protection methods β and itβs both a plus and a minus.
In this article, weβll look at all the current ways to unlock, from official (via Mi Account) to radical (full reset via Fastboot). Itβs important to understand that some methods will lead to data loss, so first check whether the phone is connected to a Xiaomi or Google account. If so, the chances of returning access without a reset are much higher.
β οΈ Warning: Methods using ADB or Fastboot requires an unlocked bootloader. OEM Unlock in the developer settings, these methods will not work without prior preparation.
Before you start, prepare:
- π Charged phone (minimum 50% β unlocking may take time).
- π» Computer with installed Xiaomi drivers (you can download on the official website).
- π Data from your Mi Account or Google account if your phone is linked to it.
- π§ USB-cable (preferably original β cheap cables may not transmit data).
1 Unlocking through Mi Account (official method)
If your Redmi Note 5 was tied to a Xiaomi account, itβs the easiest and safest way to get back access, and it works even without an internet connection on your phone, so you need to keep your account active.
Instructions:
- On the lock screen, click "Forgot Password?" (or Forgot Password).
- Select the recovery option through Mi Account.
- Enter the username (email or phone number) and password from your Xiaomi account.
- Confirm your login via SMS or email (if two-factor authentication is enabled).
- Reset the screen lock password and install a new one.
β οΈ Note: If the phone is not connected to a mobile network or Wi-Fi, you may need to connect to your computer via Mi. PC Suite for Identity Confirmation.
What to do if you donβt remember your Mi Account?
- π Try to restore access through the recovery page.
- π§ Check the mail or SMS β Maybe there's a backup code letter.
- π οΈ If you do not restore your account, go to other methods (but the data will be lost).
π‘
If you previously synced contacts with Mi Account, they will automatically reset on your phone once unlocked.
2 Unblocking through Google Account (if sync is enabled)
This method only works on Redmi Note 5 with Android 8.1 Oreo or older if sync with Google has been activated previously. On newer firmware (MIUI 12+), the feature can be disabled by default.
Step-by-step:
- On the lock screen, enter any password 5 times in a row until the message "Repeat in 30 seconds" appears.
- At the bottom of the screen will appear the button "Forgot the pattern lock?" - click on it.
- Select Sign in via Google and specify details from the account that was linked to the phone.
- After successful authentication, set a new password.
β οΈ Attention: On some firmware MIUI This method is disabled because of security policy, and if you don't have a "Google Sign in" button, go to the next one.
Why is Google not using the login?
- π The phone was not linked to a Google account.
- π± Installed custom firmware without Google services.
- π The last reset removed the link to the account.
3. Recovery Mode reset (data loss)
If the previous methods didnβt work, itβs hard to reset through recovery mode, which will delete all the data on the phone, including photos, messages and apps, but will return access to the device.
How to Sign In to Recovery Mode on Redmi Note 5:
- Turn off the phone with a long press on the power button.
- Press the Power button + Volume up at the same time and hold for 10-15 seconds.
- When the Mi logo appears, release the buttons β you will be taken to the Recovery menu.
Further action:
- π Use volume buttons for navigation, power button for selection.
- π§ Choose Wipe Data β Wipe All Data (complete reset).
- π Confirm the action and wait for the process to be completed.
- π± Reboot the phone (Reboot) β Reboot to System).
β οΈ Note: On some versions MIUI After the reset, you may need to enter data from the Mi Account that was previously linked to the phone (protection) FRP). If you do not remember the username / password - the phone will become a "brick" without the possibility of using it.
Turn off the phone from charging.
Make sure the battery is at least 30% charged.
Prepare the original. USB-cable (in case of errors)
Download Xiaomi drivers on PC (if you need Fastboot)
-->
4. Unlock via Fastboot (for advanced users)
If the bootloader on your Redmi Note 5 has been unlocked before, you can try resetting the password via Fastboot.This method requires a computer and basic knowledge of working with ADB.
What you need:
- π» Computer with Platform Tools installed (ADB and Fastboot).
- π Original. USB-cable.
- π Permission to unlock the bootloader (if not unlocked β the method will not work).
Instructions:
- Turn off your phone and press the Power button + Volume down to log into Fastboot Mode.
- Connect the phone to the computer.
- Open the command line (cmd) in the folder with Platform Tools and type: fastboot devices (should display the serial number of the device).
- Run the command to reset: fastboot erase userdata fastboot erase frp fastboot reboot
β οΈ Warning: erase userdata and erase frp commands will completely delete user data and reset the Mi Account protection. Once rebooted, the phone will be like new, but without being linked to the account.
What is FRP and why should it be washed?
5.Use of ADB (if USB-debugging was included)
If the phone has been activated before USB-debugging (in the developer settings), you can delete the file with the password through ADB. This method does not cause data loss, but only works when the key condition is met β the debugging enabled.
Step-by-step:
- Connect your phone to your computer via USB.
- Open the command line and check the connection: adb devices (the device should be displayed).
- Enter commands to delete files with a password: adb shell su rm /data/system/gesture.key rm /data/system/password.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboottings.db-shm
β οΈ Warning: If the phone is not rooted, the su command will not work, in which case skip it and try to delete files without superuser rights (but the chances of success are lower than the previous one).
Why can't ADB work?
- π USB-The debugging was not included in advance.
- π The phone is not rooted and there is no right to delete system files.
- π± A firmware with enhanced protection is installed (for example, MIUI EU).
6. Contact the Xiaomi Service Center
If all of these methods did not help, the last option is to contact the official service center Xiaomi.
- π The phone is linked to Mi Account, the data from which is lost.
- π± The device does not respond to reset via Recovery.
- π οΈ Reflashing or repair of hardware is required (for example, after unsuccessful manipulations with Fastboot).
What to bring with you:
- π Documents confirming the purchase (checks, warranty card).
- π Passport (for proof of identity).
- π§ Phone box (if saved - there is a serial number).
β οΈ In informal services may offer to βbypassβ the lock for an additional fee, but this is fraught with risk:
- π« Loss of warranty (if it is still valid).
- π Installation of unlicensed software.
- π΅ The risk of damaging the phone with unqualified intervention.
How much does it cost to unlock in the service?
| Type of service | Cost (β½) | Timeline |
|---|---|---|
| Password reset (without data loss) | 1 500 β 3 000 | 1-2 hours |
| Unlocking Mi Account (with proof of ownership) | 3 000 β 5 000 | 1-3 days |
| Flashing (if the software is damaged) | 2 500 β 4 000 | 2-4 hours |
| Replacement of the motherboard (in case of hardware failures) | 7,000 | 3-7 days |
π‘
Official service is the only legal way to unlock if all other methods fail, but it can cost more than buying a used phone of the same model.
Unlocking methods comparison: which one to choose?
| Method | PC required | Loss of data | Difficulty | It works without a Mi Account. |
|---|---|---|---|---|
| Mi Account | β No. | β No. | β | β No. |
| Google Account | β No. | β No. | ββ | β Yes. |
| Recovery Mode | β No. | β Yes. | ββ | β οΈ Partially (may require a Mi Account) |
| Fastboot | β Yes. | β Yes. | βββ | β Yes. |
| ADB | β Yes. | β No. | ββββ | β Yes. |
πΉ The easiest way is Mi Account or Google (if the phone is tied).
πΉ The most reliable: Fastboot (but requires preparation).
πΉ Last Chance: Service Center (if nothing helps).