How to remove the password from Xiaomi Redmi Note 4: from Mi-Account to Hard Reset

The forgotten password on Xiaomi Redmi Note 4 is a problem that thousands of users face. The smartphone is blocked after several failed attempts to enter, and access to photos, contacts and messages is lost. In this article, we will analyze all working ways of unlocking, from recovery through Mi-Account to a complete reset via Fastboot.

It's important to understand that not all methods will save your data, for example, resetting to factory settings will delete all information from the device if there was no backup, we will describe each option in detail, its pros and cons, and give recommendations for preventing similar situations in the future.

If you’re looking for a way to get around the lock without losing data, look at the ADB unlock section. This only works if the smartphone previously had Developer Mode and USB debugging enabled. Alternative solutions are suitable for other cases.

1 Unlocking through Mi-Account (official method)

The most reliable and recommended method Xiaomi uses is the use of a tied Mi Account, which works even if you forget the pattern lock or the user's account. PIN-code, but remember the username and password from the account:

  • πŸ”‘ On the lock screen, enter any password 5 times in a row until the message β€œForgot the password” appears?Β».
  • πŸ“§ Click on the β€œUnlock via Mi Account” button and enter email/phone + password from your account.
  • πŸ“± After successful authorization, the system will offer to create a new PIN-code.

This method works on all versions of Redmi Note 4 (including Redmi Note 4X) if the device was tied to the account before the lock.If you do not remember the data from the Mi-Account, try to restore it through the official website account.xiaomi.com.

⚠️ Note: If the smartphone was bought with hands and the previous owner did not untie his Mi-Account, it will not be officially possible to unlock it).

πŸ“Š You remember the data from your Mi-Account?
Yes, login and password saved.
I remember the login, but I forgot the password.
I don't remember anything.
I don't have a Mi-Account.

2. Reset the pattern lock via call (only for older versions of MIUI)

This method worked on the Redmi Note 4 with MIUI 8-9 and below, and the new firmware fixes the vulnerability, but if you have an older version of the system, you can try the following trick:

  1. On the locked screen, click "Emergency Call".
  2. Enter the combination ##4636## (test menu).
  3. In the window that opens, select β€œUse Statistics” β†’ β€œBack” β†’ β€œSettings”.
  4. Go to Settings β†’ Lock the screen and turn off the pattern lock.

If this method doesn't work, you have a newer version of MIUI on your device, where this "rook" is closed, so move on to the next method.

Why did this method stop working?
With the release of MIUI 10, Xiaomi has closed the ability to bypass the lock through the test menu. Now, when you try to enter engineering codes on a locked screen, the system requires unlocking.

3. Unlock through ADB (for advanced users)

If your Redmi Note 4 previously enabled Developer Mode and USB debugging, you can delete the password file through your computer, a method that stores all the data on your device but requires pre-preparedness.

You'll need:

  • πŸ–₯️ A computer with installed Xiaomi drivers and ADB Tools.
  • πŸ”Œ USB-cable (preferably original).
  • βš™οΈ Included debugging by USB on a smartphone (before blocking!).

Instructions:

  1. Connect your smartphone to your PC and open the command line (Win + R β†’ enter cmd).
  2. Enter the command: adb shell rm /data/system/gesture.key or PIN-code: adb shell rm /data/system/password.key
  3. Reboot the device with the command: adb reboot

After the reboot, the lock will reset, and you can set a new password. ADB Does not recognize the device, check the drivers or try another USB-port.

Install ADB Tools on PC|Download drivers for Xiaomi Redmi Note 4|Connect your phone to the original cable|Check if the debugging is included USB (developer-setting)-->

4. Hard Reset (full reset via Recovery)

If previous methods didn't work, the radical way is to hard-reset through recovery mode, which will remove all data from the device, including photos, apps and settings. Use it only as a last resort!

Instructions for Redmi Note 4:

  1. Turn off your smartphone (press the power button for 10 seconds).
  2. Press Volume Up + Power at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. From the Recovery menu, select the language (English / Chinese), then go to Wipe & Reset β†’ Wipe All Data.
  4. Confirm the reset and wait for the process to be completed (5-10 minutes).

Once reset, the device will restart to its original state (as after purchase), you will have to reconfigure the Redmi Note 4, install applications, and restore data from the backup (if it was created).

⚠️ Note: Some Xiaomi firmware after Hard Reset may require data entry from the Mi Account that was associated with the device.If you do not remember the username / password, the smartphone will remain locked!

Unlocking methodAre the data stored?You need a Mi Account?Difficulty
Through the Mi Accountβœ… Yes.βœ… Yes.⭐
Resetting over a bellβœ… Yes.❌ No.⭐⭐ (old-fashioned MIUI)
ADB (USB debugging)βœ… Yes.❌ No.⭐⭐⭐
Hard Reset (Recovery)❌ No.⚠️ Maybe.⭐⭐
Fastboot (via PC)❌ No.❌ No.⭐⭐⭐⭐

5. Unlock via Fastboot (for power users)

If the Redmi Note 4 doesn’t respond to other methods, you can try resetting it via Fastboot mode.

  • πŸ”„ The smartphone does not load into the system.
  • πŸ”§ Recovery Men unavailable.
  • πŸ’» You have a computer with Xiaomi drivers installed.

Step-by-step:

  1. Turn off the phone and press Volume Down + Power to log into the Fastboot.
  2. Connect the device to the PC and open the command line.
  3. Enter the command to check the connection: fastboot devices (should display the serial number of the phone).
  4. Run reset: fastboot erase userdata fastboot erase cache fastboot reboot

This method completely cleans the partition with user data, but does not affect the system files. After the restart, you will need to reconfigure the smartphone.

πŸ’‘

If, after a Fastboot reset, the phone asks you to enter a Mi Account password, try using the official Mi Unlock Tool to unlock the bootloader.This can take up to 72 hours due to Xiaomi restrictions.

6.How to avoid blocking in the future

To avoid having a forgotten password problem on Redmi Note 4, follow these tips:

  • πŸ” Use a fingerprint or facial recognition as an additional way to unlock.
  • πŸ“± Regularly back up through Settings β†’ Additionally. β†’ Backup.
  • πŸ“§ Link your Mi Account and write data to a secure location (for example, a password manager).
  • πŸ”§ Enable Developer Mode and Debugging by USB in case of emergency release through ADB.

We also recommend writing down. PIN-If you often forget passwords, install an application to manage them, such as Google Password Manager or KeePass.

πŸ’‘

The most reliable way to avoid data loss is to back up regularly, and enable automatic sync with Mi Cloud in your account settings.

FAQ: Frequent questions about unlocking Redmi Note 4

Can I unlock Redmi Note 4 without losing data?
Yes, but only if the device is debugging over USB (ADB method) or you remember the data from the Mi Account, otherwise you will have to do a reset that will delete all the files.
What if you ask for an old Mi-Account after Hard Reset?
This means that the device has activated the Mi Cloud Lock feature, you need to enter data from the account that was associated with the phone. If you do not remember it, contact Xiaomi Support with proof of purchase.
Does unlocking through the engineering menu on MIUI 12 work?
No, newer firmware versions (MIUI 10 and above) have eliminated the vulnerability via ##4636##. Use other methods from this article.
Can I unlock Redmi Note 4 through Xiaomi Service Center?
Yes, but only if you have a check or a phone box to prove your purchase, and official service centers don't remove the lock without proof of ownership.
How to find out the MIUI version on a locked phone?
If the phone is turned on but locked, you can see the firmware version in Fastboot (the screen will have a line with the MIUI version) or through the ADB command line: adb shell getprop ro.miui.ui.version.name