How to Reset Your Password on Xiaomi Redmi 4 Phone: All Working Methods

Forgot the pattern lock or PIN-Can't unlock your phone after buying with your hands? this situation is familiar to many smartphone owners, especially if the device has been unused for a long time or was bought on the secondary market. Fortunately, there are formal and informal ways to reset your password without losing data – or with minimal file consequences.

In this article, we will discuss 5 proven methods that work on Redmi 4 (including modifications of Redmi 4A/4X/4 Pro). You will learn how to bypass the lock via Mi Account, use Recovery Mode or Fastboot, and also what to do if the phone requires an old password after reset. Important: some methods require preliminary preparation, for example, linking a Xiaomi account or debugging on USB.

Before you start, check if one of the simple options is right: you may enter the wrong password because of the β€œInvisible PIN” mode (when the numbers are not displayed when you enter) or the smartphone is locked after unsuccessful attempts, in which case it is enough to restart the device or wait 30 minutes - the temporary lock will be removed automatically.

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 synced to Xiaomi’s account (even if you don’t remember it).
  • 🌐 Internet access (via Wi-Fi or mobile network).
  • πŸ”‘ You remember the username and password from Mi Account (or you can restore them).

After 5 failed attempts to enter the password, the button "Forgot the password?" will appear on the lock screen. Click on it and follow the instructions:

  1. Enter the email or phone number associated with the Mi Account.
  2. Confirm your identity via SMS or email.
  3. Create a new password or pattern lock.

If you don't have a "Forgot Password?" button, try entering any password 5 times in a row, it should appear. Importantly, this method doesn't work if your phone has lost its Internet connection or has previously reset via Recovery without deleting your account.

πŸ’‘

If you don’t remember the Mi Account, try to restore access via account.xiaomi.com. Use a backup email or a linked phone number.

2.Reset via Recovery Mode (without loss of data)

If Mi Account is not tied or you don't remember the login details, the next step is to use Recovery Mode, which doesn't erase user files (photos, videos, music), but resets system settings, including the lock password.

  • ⚠️ After reset, you may need to enter an old password to decrypt the data (if encryption was enabled).
  • πŸ”§ On some Redmi 4 firmware, this method is disabled, instead of resetting, the error will appear: "Can't verify the package".
  • πŸ“± The phone must be charged at least 30% or the process will be interrupted.

Resetting instructions:

  1. Turn off the phone with a long press on the power button.
  2. Press the Volume Up (+) and Power button for 10-15 seconds at the same time until the Mi logo appears.
  3. From the Recovery menu, select the language (usually English) and go to Wipe & Reset β†’ Wipe All Data.
  4. Confirm the action and wait for the reboot.

If after resetting the phone requires you to enter the old password for decrypting data, and you do not remember it, you will have to perform a complete reset with the removal of all files (see the next section).

Charge your phone at least 30 times%|Download the official firmware for Redmi 4 (in case of errors)|Prepare. OTG-cable (if you need to connect your mouse)|Make sure that the phone does not have encryption enabled (otherwise the data will be lost)-->

3. Complete reset with deletion of all data (Hard Reset)

If previous methods have failed, the radical way is to completely reset, which deletes all data, including photos, contacts and apps, but is guaranteed to unlock the phone. Use it only as a last resort!

There are two options for Redmi 4 Hard Reset:

MethodWhen to applyWhether a PC is requiredDifficulty
Through Recovery ModeIf the phone is turned on but blockedNo.⭐⭐
Through Fastboot.If the phone is not loading or Recovery is not availableYes.⭐⭐⭐
Through the Mi Flash ToolIf the firmware is damaged or the phone is "brick".Yes.⭐⭐⭐⭐

For reset via Recovery Mode:

  1. Press Volume Up (+) + Nutrition to enter Recovery.
  2. Choose Wipe Data β†’ Wipe All Data.
  3. Confirm the action and wait for the completion (5-10 minutes).
  4. Reboot the phone (Reboot) β†’ Reboot to System).

⚠️ Warning: If encryption is enabled on the phone (in the security settings), the data will become unavailable after the reset - even specialized programs will not be able to restore it.

4. Unlock via Fastboot (for advanced users)

If Recovery Mode is unavailable or if it is not available, you can use Fastboot mode, USB-cables and installed drivers ADB/Fastboot. It is suitable for cases where:

  • πŸ”§ The phone does not load beyond the Mi logo.
  • πŸ“± Recovery is an error called "This" MIUI version cannot be installed on this device".
  • πŸ”’ You need to flash your phone from scratch (for example, after a failed update).

Step-by-step:

  1. Download and install Platform Tools (includes fastboot and adb).
  2. Turn off the phone and press Volume Down (-) + Power to log into Fastboot.
  3. Connect your phone to your PC via USB.
  4. Open the command line in the folder with Platform Tools and type:
fastboot devices

If the phone is determined (the serial number will appear), reset:

fastboot erase userdata


fastboot erase cache




fastboot reboot

Once rebooted, the phone will be like new, without a password, but without your data. If this method doesn't work, try flashing the phone through the Mi Flash Tool (instructions in the next section).

Yes, I had to reset | No, I always remember passwords | Using a fingerprint/face | I keep backups of passwords-->

5. Firmware through Mi Flash Tool (extreme case)

If all previous methods did not work, you can reflash the phone using the official Mi Flash Tool utility, which is guaranteed to delete the password, but:

  • ⚠️ All data will be erased without recovery.
  • πŸ”§ You will need a Windows computer and original USB-cable.
  • πŸ“₯ You need to download the firmware for your model (Redmi 4, Redmi). 4A, Redmi 4X Or Redmi 4 Pro).

Instructions:

  1. Download the official firmware for your model (choose the Fastboot version).
  2. Unpack the archive in a folder without Cyrillic characters (for example, C:\Redmi4_Firmware).
  3. Download and install the Mi Flash Tool.
  4. Log in to Fastboot on your phone (as in the previous section) and connect it to your PC.
  5. In the Mi Flash Tool, click Select, specify the firmware folder, then Refresh (the serial phone number should appear).
  6. Select Clean All mode and press Flash.

It takes 5-15 minutes to do this, and when it's done, it'll restart in a factory state, and if the Mi Flash Tool is a bug, try:

  • πŸ”Œ Use the other USB-port (preferably) USB 2.0).
  • πŸ”„ Reinstall the driver (via Mi Phone Manager).
  • πŸ“₯ Download another firmware version (for example, an older one).
What if the Mi Flash Tool can't see the phone?
Make sure your phone is in Fastboot mode. If the drivers don't install automatically, download them manually from Xiaomi or use Mi PC Suite. Also try to disable the driver digital signature check on Windows (the instructions are on the 4PDA forums).

6. Alternative methods (if nothing helps)

If the standard methods don't work, you can try less obvious solutions, and they'll work for specific cases.

πŸ“ž Unlocking by Call (for Older Versions) MIUI)

Some MIUI 8-9 firmware (installed on Redmi 4 at release) ran a vulnerability:

  1. Call the locked phone from another device.
  2. Accept the call, then quickly roll the call screen (without completing it).
  3. In some cases, this allowed access to the phone menu.

Now this method is closed in new versions of MIUI, but if the phone is old firmware – try.

πŸ”§ Use of the OTG-cable

If the keyboard for entering the password is displayed on the lock screen, but the sensor does not work:

  1. Buy or borrow. OTG-adapter (Micro-USB) β†’ USB).
  2. Put a wired phone on. USB-mouse.
  3. With the mouse, enter a password or reset through Recovery.

πŸ“± Bypassing the lock through ADB (if debugging is on)

If USB debugging was previously enabled on the phone, you can try to delete the password file via ADB:

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




reboot

Once you reboot, the password will be reset, but this method only works when the bootloader is unlocked and debugging is enabled.

πŸ’‘

If the phone was bought from hand and locked by the previous owner, contact him to delete the Mi Account through the Xiaomi website. Without this, it is officially impossible to unlock the device - you will need firmware with loss of data.

Frequent Mistakes and How to Avoid Them

When you reset your password to Redmi 4, users often face typical problems.

Mistake.Reason.Decision
"This device is locked" on FastbootThe bootloader is blocked (Bootloader)Unblock through the official Xiaomi website (it takes 7-30 days to wait)
Phone asks for old password after resetEncryption of data is enabledComplete reset via Fastboot or Mi Flash Tool
"Can't verify the package" in RecoveryDamaged firmware or unofficial recoverySwitch your phone to the Mi Flash Tool with Clean All
The phone will not turn on after resettingInterrupted firmware or batteryCharge the phone for 30+ minutes, repeat the firmware from the beginning

⚠️ Note: If you bought a Redmi 4 with your hands and the previous owner did not delete your Mi Account, the phone may remain locked even after the reset.In this case, contact the seller and ask him to delete the device from the account through the Xiaomi website (i.mi.com). Without this, it is officially impossible to unlock the phone.

FAQ: Answers to Frequent Questions

Can I reset my Redmi 4 password without losing data?
Yes, but only if: πŸ”‘ You remember the data from Mi Account (recovery method through the account). πŸ“± The phone does not have encryption enabled (otherwise, the data will be blocked even after the reset). πŸ”§ You're using Recovery reset, not Fastboot. In all other cases, the data will be lost.
What if the phone needs an old password after resetting?
This means that the phone has been encrypted, in which case: Try to enter the old password (maybe you remember it). If you don't remember, do a full reset via Fastboot (see section 4). If that doesn't work, run the phone through the Mi Flash Tool (section 5). Unfortunately, it's impossible to recover data after encryption without a password.
How do I know if I have encryption enabled on my Redmi 4?
If the phone is locked, indirect signs of encryption: πŸ”’ On the lock screen there is a lock icon in the status bar. πŸ“± After resetting via Recovery, the phone asks you to enter a password to decrypt. πŸ”§ The security settings previously activated the "Phone Encryption" option. If the phone is unlocked, check the Settings. β†’ Additionally. β†’ Security β†’ Encryption.
Can I unlock Redmi 4 without a computer?
Yes, but with limitations: βœ… Mi Account (if you are tied and remember data). βœ… Through Recovery Mode (reset with or without data loss, depending on firmware). ❌ Using Fastboot or Mi Flash Tool – you need a PC. If these methods do not work, contact Xiaomi service center (but be prepared to show proof of purchase).
How much does it cost to unlock Redmi 4 in the service center?
The cost depends on the reason for the lock: πŸ”§ Password reset (without deleting Mi Account): 500–1500 β‚½. πŸ“± Delete Mi Account (if the previous owner can’t do it himself): 1500–3000 β‚½. πŸ”’ Firmware after a failed reset: 2000–4,000 β‚½. Xiaomi’s official service centers may refuse to unlock if you do not present a check or a sales contract.