Forgetting your smartphone password is a frustrating situation, but it's fixable, especially if you're talking about the Xiaomi Redmi Note 5 (codenamed whyred), which, despite its age, remains popular among users, and the key is not to panic or try to find a combination at random: After 5-10 unsuccessful attempts, the device will lock for 30 minutes and then may require input. PIN-code from the Mi Account.
In this article, we will look at all the current ways of unlocking, from official (via Mi Account) to technical (using Fastboot or ADB). Each method has its own nuances: somewhere you will need access to your computer, somewhere you will need stored Xiaomi account data, and in some cases you will have to sacrifice user files.
β οΈ Important: If the device has enabled data encryption (Settings option) β Additionally. β Encryption, then after resetting via Recovery or Fastboot, all files will be permanently deleted, restore them even through specialized programs (like Dr.Fone or Tenorshare). 4uKey) fail.
1 Unblocking through Mi Account (official method)
The easiest and most secure method is to use a Xiaomi account linked to the device, which works if:
- π± Smartphone connected to the Internet (via Wi-Fi or mobile network).
- π You remember the username and password from Mi Account that was tied to the phone.
- π The device was not fully encrypted (otherwise, after unlocking the data will be erased).
If the conditions are met, follow the instructions:
- On the lock screen, enter any password 5 times (to activate the recovery option).
- The message will appear βForgot the password?β β click on it.
- Select "Recover through Mi Account" and enter the linked email/phone + password.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
β οΈ Note: If you have previously untied your Mi Account or logged out in settings, this will not work, and it is not available if the smartphone was purchased with your hands and the previous owner did not delete your account (you will need to contact him to untie it).
2. Recovery Mode reset (without password but with data loss)
If Mi Account is lost and unlocked, hard reset remains, which deletes all data, including photos, messages and installed apps, but returns access to the device. On the Redmi Note 5, the reset is performed via Recovery Mode, a special recovery mode.
Instructions:
- Turn off your smartphone (press the power button for 10 seconds).
- Press Volume Up + Power at the same time and hold for 10-15 seconds until the Mi logo appears.
- Release the buttons β you will be taken to the Recovery menu (management is carried out by the volume and power buttons).
- Select Wipe Data β Wipe All Data (some firmware may call it Factory Reset).
- Confirm the action and wait for the process to be completed (it will take 2-5 minutes).
- Reboot your device with Reboot β Reboot to System.
Once reset, the smartphone will launch as a new one, with factory settings, and you will need to reconfigure the language, region, and link your Mi Account (if you plan to use Xiaomi services).
Make sure the battery is at least 50 times charged%|Download important files to your computer (if you have access)|Prepare. SIM-re-activation card|Remember the data from Mi Account for re-assignment
-->
3. Unlock via Fastboot (for advanced users)
The method via Fastboot is suitable if:
- π₯οΈ You have a computer with drivers installed. ADB/Fastboot.
- π There is. USB-cable (preferably original).
- π§ You are ready to work with the command line.
Algorithm of action:
- Turn off the Redmi Note 5 and put it into Fastboot mode: Press Volume Down + Power for 10 seconds.
- Connect your smartphone to your PC via USB.
- Open the command line (Win + R β cmd) and check the connection command: fastboot devices If the device is determined (serial number will appear), continue.
- Run the reset to factory settings: fastboot erase userdata fastboot erase cache fastboot reboot
β οΈ Note: Some Xiaomi firmwares may require additional fastboot oem unlock after fastboot erase userdata. If you haven't done it before, this step will end in error.
What if the Fastboot canβt see the device?
4.Use of ADB (if debugging was included)
If Redmi Note 5 previously activated debugging over USB (Settings β About Phone β MIUI Version β 7 times press to unlock the developer options), you can try to reset the password through ADB. This method does not delete data, but requires preliminary preparation.
Instructions:
- Connect your smartphone to your PC via USB.
- Open the command line and check the connection: Adb devices
- Delete the password file (only works on some firmware): adb shell rm /data/system/gesture.key adb shell rm /data/system/password.key adb reboot
After rebooting, the lock screen should disappear. If not, try entering any password (sometimes the system resets it to a blank value).
π‘
If the adb device command issues a "device unauthorized" error, a window should appear on the smartphone screen asking for permission to debug, unlock the phone (if possible) and confirm access.
5 Unlocking through Xiaomi Service Center
If none of the above methods worked (for example, the device is encrypted, and you do not remember the data from Mi Account), you can contact the official service center Xiaomi.
What will be required:
- π Checks or documents confirming the purchase (if the phone is guaranteed).
- π Passport of the owner (to confirm ownership).
- π³ Willingness to pay for the service (cost varies from 1000 to 3 000 rubles).
Xiaomi service centers are available in all major cities of Russia. Find the nearest one on the official website or through Yandex.Maps. Before visiting, check by phone whether they are engaged in unlocking passwords - some centers refuse such orders.
π‘
Official unlocking at the service center is the only way to return access to encrypted data if the password from Mi Account is forgotten.
6. Alternative methods (with caution!)
There are dozens of magical ways to unlock the Internet, from using Tenorshare 4uKey to running the SP Flash Tool.
- π« Require an unlocked bootloader (which is difficult to do on a locked device by itself).
- πΈ Paid (license cost often exceeds the price of repair in the service).
- π§ Risky (mistakes can turn a smartphone into a brick").
If you do decide to experiment, here is a brief overview of the tools:
| Method | Required. | Risks. | Cost |
|---|---|---|---|
| Tenorshare 4uKey | Computer, USB-cable | Data loss, possible brick | ~2,000 rubles. |
| Dr.Fone - Screen Unlock | Computer, USB debugging | Doesn't work on new firmware. | ~1,500 rubles. |
| Firmware via SP Flash Tool | Unlocked bootloader, firmware | High risk of brick | Free of charge. |
β οΈ Attention: Programs like 4uKey They are often marketed as βuniversalβ but do not work with encrypted devices (and the Redmi Note 5 encrypts the default data on the latest versions). MIUI). Before buying a license, check the reviews for the last month β Xiaomiβs locking algorithms are regularly updated.