How to Remove a Password from Xiaomi Redmi 5: All Working Methods in 2026

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:

  1. On the lock screen, click Forgot Password? (or Forgot Password?).
  2. Select the option to Sign in via Mi Account.
  3. Enter the email or phone number associated with the account, and then the password.
  4. Confirm your login via SMS or email (if two-factor authentication is enabled).
  5. 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:

  1. Turn off Redmi 5 and press the Power + Volume Down buttons to log into Fastboot.
  2. Connect your phone to your PC through USB-cable.
  3. Open the command line (cmd) and enter:
fastboot oem unlock
  1. 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 frp

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

  1. Turn off Redmi 5.
  2. Press the Power + Volume buttons to enter Recovery Mode.
  3. With the volume buttons, select Wipe Data (or Factory Reset) and confirm the choice with the power button.
  4. 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?
If Redmi 5 After the reset requires the input of data from the previous Mi Account, you will need to: 1. Restore access to your account through [account.xiaomi.com](https://account.xiaomi.com). 2. If the account is not restored, contact Xiaomi with proof of ownership of the device (checks, box, IMEI). 3. In extreme cases, use paid unlocking services (for example, [MIUI Unlock](https://en.miui.com/unlock/)), But it violates Xiaomi’s rules and could lead to a lockdown. IMEI.

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:

  1. On the lock screen, enter any password 5 times to see the message Repeat in 30 seconds.
  2. Type the code on the keyboard:
##7378423##
  1. If the code works, you'll be taken to the service menu. Select Reset or Factory Reset.
  2. 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 codeAppointmentWorks for MIUI.
##7378423##Resetting settingsUp to version 10.
##36446337##Firmware informationAll versions.
##4636##Testing of the deviceAll versions.
##232338##MAC-Wi-Fi addressUp 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 unlockDuration (working days)Cost (roughly)
Screen password reset1-3 days1 000–2 500 β‚½
Deleting Mi Account3-7 days2 500–4 000 β‚½
Recovery after a failed reset5-10 days3 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.

FAQ: Frequent questions about unlocking Redmi 5

Can I unlock Redmi 5 without losing data?
Yes, but only if: πŸ”‘ You remember the data from Mi Account (recovery method through the account). πŸ–₯️ The phone was debugging on. USB And you have access to the Fastboot. Otherwise, the data will be lost.
Why does a Hard Reset phone ask for a password from an old account?
This is FRP (Factory Reset Protection) that is automatically enabled if the Mi Account is attached to the phone. To avoid locking: Unplug your account in settings before resetting. Or restore access to the Mi Account after reset.
What to do if you forget your Mi Account password?
Restor access via the official website: Go to account.xiaomi.com. Click Forgot Password?. Enter the email or phone number associated with the account. Confirm the recovery via SMS or backup email. If the account is not restored, contact Xiaomi with proof of ownership of the device.
Can I unlock Redmi 5 via ADB if USB debugging has been disabled?
No. To work ADB debugging must be enabled before the phone locks. If it doesn't, only methods through Mi Account, Fastboot or Hard Reset remain.
What Redmi 5 firmware supports Fastboot unlocking?
The fastboot oem unlock method works: πŸ“± MIUI 9–11 (most versions). 🚫 MIUI 12 and later - official permission is required to unlock the bootloader. Check the firmware version in the Settings menu β†’ The phone. β†’ Version. MIUI.