Forgetting your smartphone password is a frustrating situation, but itβs not a dead end, especially when it comes to the Xiaomi Redmi 5. This model, released in 2017, is still popular due to its reliability and availability, but its security system can play a cruel joke. Unlike new devices with face unlock or fingerprint, Redmi 5 relies on classic devices. PIN-codes, graphic keys or passwords β and their recovery requires specific knowledge.
In this article, we will discuss all the working ways of unlocking, from official (via Mi Account) to technical (using Fastboot and Recovery). It is important to understand that some methods will lead to complete loss of data if the phone was not backed up. Others allow you to save files, but require preliminary preparation. Choose an approach based on your situation - and follow the instructions carefully so as not to turn the phone into a brick.
1 Unlocking through Mi Account (official method)
The most secure and recommended method for Xiaomi is to use a tied Mi Account, which works if:
- π± The phone was tied to Mi's account before being blocked.
- π Internet access (via Wi-Fi or mobile network).
- π Remember the login and password from the account.
If all conditions are met, follow the following steps:
- On the lock screen, enter the wrong password 5 times in a row - the message "Forgot the password?" will appear.
- Click on this caption and select βUnblock via Mi Accountβ.
- Enter the email or phone number associated with the account, and then the password.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
Once you've successfully logged in, the phone will unlock and all the data will remain in place, which is the only way to save files if the backup isn't set up.
β οΈ Note: If the phone was bought from hand and the previous owner did not untie his Mi Account, it will not be officially possible to unlock it.
2. Recovery Mode reset (data loss)
If your Mi Account is not tied or you donβt remember the login details, youβll be left with a hardware reset via Recovery Mode, which removes all data from your phone, including photos, contacts and apps, so use it only as a last resort.
Instructions for Xiaomi Redmi 5:
- Turn off the phone with a long press of the power button.
- Press the power button and volume button for 10-15 seconds at the same time 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 (or Factory Reset in some versions).
- Confirm the action and wait for the process to be completed.
- Reboot your phone with Reboot β Reboot to System.
Once reset, the phone will turn on as new. You'll need to reconfigure it, including the Mi Account binding.
Turn off the phone from charging
Make sure the battery is at least 50% charged
Download Xiaomi drivers on PC (if you plan to use Fastboot)
Prepare a backup of important data (if you have access to another device)-->
β οΈ Note: Some Redmi 5 firmware may require data entry from the Mi Account that was previously tied after resetting via Recovery.If you don't remember them, the phone will remain locked even after resetting!
3. Unlock via Fastboot (for advanced users)
The method via Fastboot is suitable if:
- π§ You have access to a computer with Xiaomi drivers installed.
- π₯ You can download the official firmware for Redmi 5 (Rosy version).
- π οΈ You are ready to work with the command line.
This is a more complicated way, but it allows you to bypass the lock even without the attached Mi Account. However, the warranty on the phone will be canceled, and if errors are made, there is a risk of turning the device into a brick.
Step-by-step:
- Download and install Android SDK Platform-Tools (or Mi Unlock Tool from Xiaomi).
- Download the official firmware for Redmi 5 (for example, from en.miui.com) and unpack it in a folder from fastboot.
- Turn off the phone and put it in Fastboot mode: press the power button + volume reduction.
- Connect your phone to your PC through USB-cable.
- Open the command prompt (cmd) in the folder with fastboot and execute the commands:
fastboot devices(Check out if the phone is found.)
fastboot oem edl(Puts the phone into EDL mode for firmware.)
fastboot flash all(Runs the firmware of all partitions. Specify the name of the firmware file, for example: fastboot flash all rosy_global_images_V12.0.1.0.QEIMIXM_20210112.0000.00_10.0_global_1234567890.tgz.)
Once the firmware is complete, the phone will restart, which removes all data, but returns the phone to factory status without locking.
What if the fastboot canβt see the device?
4. Use of service codes (for older versions of MIUI)
Some versions of MIUI (before MIUI 10) had a way to unlock through service codes, and it didnβt work on all devices, but for Redmi 5 with MIUI 9 or older, you can try the following method:
- On the lock screen, dial the combination: ##7378423## (service menu).
- In the menu, select Service Tests β Security.
- Find the Lock Screen option and try resetting the password.
If this method doesnβt work, try another code:
##3646633##In the engineering menu, go to MTK Settings β Security and find the lock reset option.
β οΈ Note: Service codes are often blocked in new versions MIUI. If nothing happens after entering the code, do not try again β this can lead to a temporary lock. SIM-map.
5. Contact the Xiaomi Service Center
If all of these methods did not help, you can contact the official service center Xiaomi.
- π Phone tied to someone else's Mi Account (hand-held purchase).
- π΅ Cannot log into Fastboot or Recovery.
- π₯ After self-manipulation, the phone stopped turning on.
Unlocking will require:
- π Check or contract of sale (proof of possession).
- π Passport or other identification document.
- π± The device itself (preferably with a charge of at least 30%).
The cost of the service varies from 500 to 2000 rubles depending on the complexity, in some cases, the service may refuse if the phone is listed on a blacklist (stolen / lost).
| Method of unlocking | Data retention | Difficulty | PC required | Risk of "bricking" |
|---|---|---|---|---|
| Through the Mi Account. | β Yes. | β | β No. | β No. |
| Reset via Recovery | β No. | ββ | β No. | β οΈ Low. |
| Firmware through Fastboot | β No. | ββββ | β Yes. | β οΈβ οΈβ οΈ High-pitched |
| Service codes | β Yes, if it works) | ββ | β No. | β No. |
| Service centre | β Depends on the cause. | β | β No. | β No. |
6.How to avoid blocking in the future
To avoid having to deal with a forgotten password, follow these tips:
- π Use biometric unlocking (fingerprint) as a backup method.
- π§ Link Mi Account and enable backup in Settings β Xiaomi account β Cloud.
- π Write your password in a secure location (such as Google Password Manager or KeePass).
- π Regularly update the firmware in new versions MIUI Added access restoration functions.
If you often forget passwords, consider smart locking through Smart Lock in your security settings.This feature will automatically unlock your phone in trusted places (such as at home or work).
π‘
Before selling or transferring your phone to another person, you must reset via Settings β Additional β Restore and Reset β Reset. This will delete your Mi Account and protect your data.
FAQ: Frequent questions about unlocking Redmi 5
Can I unlock Redmi 5 without losing data if I canβt remember Mi Account?
What if your phone needs an old Mi Account after resetting via Recovery?
Can I unlock Redmi 5 via ADB if USB debugging was enabled?
How much does it cost to unblock in unofficial services?
Why does the phone not turn on after Fastboot?
π‘
If you're not sure about your Fastboot or Recovery skills, you'd better take the risk and go to a service center. Firmware errors can make your phone unfit for repair, even by specialists.