Xiaomi Redmi 5 is a popular smartphone that is still widely used due to its reliability and low price, but even with such a device can be a problem: a forgotten pattern lock, PIN-If you find yourself in this situation, do not rush to carry your phone to the service center - in 90% of cases, you can unlock yourself.
In this article, we will look at all the current ways to remove a password from Redmi 5, including official methods through Mi Account, unlocking through Fastboot, and emergency Hard Reset.
Important: Before you start unlocking, check to see if your Redmi 5 is connected to the Internet via mobile or Wi-Fi. Some methods require an active connection, and its absence can lock the device permanently.
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 is connected to the Internet (Wi-Fi or mobile network).
- π You remember the username and password from the Mi Account that was linked to the device.
- π More than 5 failed attempts to enter a password were not made on the phone (otherwise the account is blocked for 24 hours).
Instructions:
- On the lock screen, click Forgot Password? (or Forgot Password?).
- Select the option to Sign in via Mi Account.
- Enter the email or phone number associated with the account, and then the password.
- Confirm your login via SMS or email (if two-factor authentication is enabled).
- After successful authorization, the phone is unlocked automatically.
β οΈ Note: If you have previously changed your Mi Account password but havenβt updated it on your phone, unlocking may not work, in which case you can try to restore your account through account.xiaomi.com.
π‘
If the lock screen does not have a button "Forgot your password?", try to enter any password 5 times in a row - the system will offer the recovery option through Mi Account.
2. Password reset via Fastboot (without data loss)
The method via Fastboot is suitable if:
- π§ The phone's debugging on. USB (lock-in).
- π» You have access to a computer with drivers installed ADB/Fastboot.
- π± The phone is determined by the PC in Fastboot mode (checked by the team of fastboot devices).
Step-by-step:
- Turn off Redmi 5 and press the Power + Volume Down buttons to log into Fastboot.
- Connect your phone to your PC through USB-cable.
- Open the command line (cmd) and enter:
fastboot oem unlock- If the command is successful, the phone will restart without a password.
β οΈ Attention: New firmware MIUI 12+ The fastboot oem unlock command may not work due to the increased protection:
fastboot erase frpThis command removes FRP-Factory Reset Protection, but does not guarantee screen unlocking.
Install drivers ADB/Fastboot PC-only|Enable debugging on USB on the phone (before locking)|Download Mi Unlock Tool from the official website|Prepare original USB-cable (do not damage the port!)
-->
3. Hard Reset (full reset)
Hard Reset is an extreme method that erases all data from your phone, including photos, contacts and apps. Use it only if other methods have not worked.
How to perform the reset:
- Turn off Redmi 5.
- Press the Power + Volume buttons to enter Recovery Mode.
- With the volume buttons, select Wipe Data (or Factory Reset) and confirm the choice with the power button.
- After reset, select Reboot System Now.
β οΈ Warning: On some firmware after Hard Reset, the phone may require you to enter a password from the Mi Account that was previously linked, and if you don't remember your account details, the device will become a brick:
- π Make sure your phone is not tied to your account (check Settings). β Mi Account).
- π± Turn off Find Device in your security settings.
What if after Hard Reset, the phone asks for an old password?
4. Unlock through service codes (hidden menus)
Redmi 5 has hidden engineering menus that sometimes let you bypass locking, a method that doesn't work on all firmware, but it's worth a try.
Instructions:
- On the lock screen, enter any password 5 times to see the message Repeat in 30 seconds.
- Type the code on the keyboard:
##7378423##- If the code works, you'll be taken to the service menu. Select Reset or Factory Reset.
- Confirm the reset - the phone will reboot without a password.
Important: Service codes are often changed in newer versions of MIUI. If the code doesn't work, don't try other combinations at random - this can cause the system to crash.
| Service code | Appointment | Works for MIUI. |
|---|---|---|
| ##7378423## | Resetting settings | Up to version 10. |
| ##36446337## | Firmware information | All versions. |
| ##4636## | Testing of the device | All versions. |
| ##232338## | MAC-Wi-Fi address | Up to version 12 |
5. Use of third-party programs (risks and alternatives)
There are many programs available on the Internet to unlock Xiaomi, for example:
- π₯οΈ Mi Account Unlock Tool β removes the link to the account.
- π FRP Bypass Tool β bypasses protection after reset.
- π± Xiaomi Tool V2 β complete solution for unlocking and firmware.
β οΈ Note: Using third-party programs is fraught:
- π¨ Installing malware on a PC.
- π Blocking. IMEI Devices (if the program modifies the firmware).
- πΈ The need to pay for the βpremium versionβ after allegedly successful unlocking.
If you still decide to use such software, watch out for:
- π Reviews in independent forums (e.g, 4PDA or XDA Developers).
- π Open source (closed code programs are more likely to contain viruses).
- π‘οΈ Support your model (Redmi 5 should be on the list of compatible devices).
Mi Account|Fastboot|Hard Reset|Service codes|Third-party software |None of the above
-->
6. Contact the Xiaomi Service Center
If all the self-unblocking attempts failed, you just have to contact the official Xiaomi service center, which is the most reliable, but also the longest way.
What will be required:
- π Document confirming the purchase (check, warranty card).
- π¦ Original box from the phone (with indication) IMEI).
- π Passport of the holder (to confirm the identity).
Cost and timing:
| Type of unlock | Duration (working days) | Cost (roughly) |
|---|---|---|
| Screen password reset | 1-3 days | 1 000β2 500 β½ |
| Deleting Mi Account | 3-7 days | 2 500β4 000 β½ |
| Recovery after a failed reset | 5-10 days | 3 000β6 000 β½ |
β οΈ Warning: Unofficial service centers may offer unlocking cheaper, but risks are high:
- π§ Use of uncertified parts (e.g. replacement motherboard).
- π΅ Loss of the original IMEI (The phone will be unsuitable for calls).
- π« Denial of warranty service in the future.
π‘
An official service center is the only legal way to unlock if you donβt remember your Mi Account details and canβt use Fastboot.