How to reset the password on Xiaomi Redmi Note 8 Pro: all ways to unlock

Forgot the pattern lock or PIN-Can't log in after buying a used phone? The situation is familiar to many - according to statistics, one in five users at least once blocked their smartphone. Fortunately, the manufacturer has provided several official and informal ways to reset the password. In this article, we will analyze all the current methods of unlocking, from simple (via Mi Account) to complex (using Fastboot and other methods). EDL-regime).

It is important to understand that some methods require prior preparation (for example, a tied Mi Account or enabled debugging over USB). Others are risky and can lead to data loss or even β€œbricking” of the device. We will describe each step in detail, point out pitfalls and give recommendations for restoring information after a reset. If you are not sure about yourself, you better contact the Xiaomi service center.

1 Unlocking through Mi Account (official method)

The safest and most recommended method is to use a linked Mi Account. It works if:

  • πŸ“± The phone is connected to the Internet (Wi-Fi or mobile network)
  • πŸ”‘ You remember the username and password from Mi Account that was tied to the device.
  • πŸ”„ Find Device has been activated in the settings

After 5 failed attempts to enter the password on the screen will appear button Forgot the password?. 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 (the code will come to the mail / phone).
  3. Create a new password or pattern lock.

If you forget your password? No, try entering any password 5 times in a row to trigger it. This method works on 90% of devices with the original MIUI firmware.

⚠️ Note: If the phone was bought from hand and the previous owner did not untie his Mi Account, it will not be possible to officially unlock the device).

2. Recovery Mode reset (data loss)

If the Mi Account is not tied or you don't remember the login details, the next option is a hard reset via the Recovery Mode, which will delete all data from the phone, including photos, contacts and installed apps.

  • πŸ’Ύ There is no important information on the phone (or it is synced to the cloud)
  • πŸ”§ You are ready for a complete system reinstallation
  • πŸ“΅ The device is not blocked by the Mi Account (otherwise, after the reset, you will need to enter a login / password)

Resetting instructions:

  1. Turn off the Redmi Note 8 Pro with a long press of the power button.
  2. Press Volume Up + Power Button at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. In the Recovery menu, select the language (volume buttons) and confirm the choice with the power button.
  4. Go to Wipe Data β†’ Wipe All Data and confirm the action.
  5. After the process is complete, select Reboot β†’ Reboot to System.

The phone will reboot and offer to configure it as new, and if you request Mi Account data after the reset, it means that the device was tied to the previous owner's account, so you can't unlock it yourself.

β˜‘οΈ What to do before resetting through Recovery

Done: 0 / 4

3. Unlock via Fastboot (for power users)

If the standard methods didn't work, you can try resetting your password through Fastboot mode, USB-cables and installed drivers ADB/Fastboot. It is suitable for devices with an unlocked bootloader (bootloader) or if you are ready to unlock it (this erases all data!).

Step-by-step:

  1. Download and install Android SDK Platform-Tools on your PC.
  2. Turn off the phone and transfer it to Fastboot: Press Volume Down + Power button.
  3. Connect the Redmi Note 8 Pro to your computer via USB.
  4. Open the command prompt (cmd) in the folder with the platform-tools and type:
fastboot devices

If the device is determined (a serial number appears), run the command to reset:

fastboot erase userdata


fastboot erase frp




fastboot reboot

After the reboot, the phone will be unlocked, but all data will be deleted. If the bootloader is locked, before these commands you will need to unlock it through the Mi Unlock Tool (the process takes up to 720 hours of waiting!).

⚠️ Note: On some versions MIUI (Especially in China, fastboot erase commands may not work because of anti-Rollback protection. EDL-regime (see next section).

πŸ“Š What kind of unlocking method have you tried?
Mi Account
Recovery Mode
Fastboot
I haven't tried it yet.

4. Firmware through EDL-regime (extreme case)

EDL-Emergency Download Mode is an emergency boot mode that allows you to flash your phone even with a locked bootloader.It is used when other methods do not help, but requires special equipment (Qualcomm). HS-USB QDLoader 9008) and knowledge in firmware.

For the Redmi Note 8 Pro (begonia model), the process looks like this:

  • πŸ–₯️ Download the official firmware for your model from the site MIUI Downloads.
  • πŸ”Œ Install the Qualcomm driver and the Mi Flash Tool.
  • πŸ“± Transfer the phone to EDL: Turn it off, press the volume up. + Volume down and connect to the PC (should be defined as QHUSB_BULK).
  • πŸ”„ In Mi Flash Tool, select the downloaded firmware and press Flash.

It takes 5-10 minutes to run the firmware, and when it's done, it'll reboot to the clean system, and it's guaranteed to remove all the locks, but it requires care -- the wrong firmware can turn the device into a brick.

What is Anti-Rollback and why does it interfere with resetting?
Anti-Rollback is a protection mechanism in Xiaomi firmware that prohibits rollbacks to an older version of MIUI. If you try to flash the old firmware on a new device, the phone will lock forever. Before you run through EDL, always check the Anti-Rollback version in the firmware file and on your phone!

5. Bypassing the lock via ADB (if debugging is enabled)

If the phone was on debugging for USB (USB Debugging, you can try to delete the file with the password through ADB. This method only works when connected to a computer and requires pre-configuration.

Instructions:

  1. Connect the Redmi Note 8 Pro to your PC and open the command line in the folder with the platform-tools.
  2. Enter the commands in turn:
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 lock should disappear, and if you have a su: not found error, you don't have root rights on your phone, it won't work.

πŸ’‘

If USB debugging was enabled but the phone is locked, try connecting it to your computer and entering the adb device command. If the device is detected, there is a chance of unlocking through ADB!

6. Data recovery after password reset

If you managed to unlock the Redmi Note 8 Pro, but all the data was erased, don't despair.

  • πŸ“± Contacts and Notes: Check sync with Mi Cloud or Google Account.
  • πŸ“· Photo/Video: Use programs like DiskDigger or Recuva (if your phone is defined as a drive).
  • πŸ’¬ Messages: Restore SMS You can use Mi Cloud or Google Drive backups (if automatic sync was enabled).

To improve the chances of recovery:

  • Do not write new data to your phone after resetting.
  • Use a memory card (if the data was on it).
  • Contact specialized data recovery services (for example, Hetman Recovery).
Type of dataRecovery methodChance of success
ContactsSynchronization with Mi/Google Account90%
Photo/videoProgramming programs like DiskDigger50–70%
CommunicationsBackup in Mi Cloud80%
AnnexesReinstallation from Google Play100%
NotesExports from Mi Cloud95%

⚠️ Note: If the phone has been encrypted (device encryption enabled in the settings), it is almost impossible to recover data after a reset via Recovery or Fastboot. Encryption links the data to the password, and after it is deleted, the files become unreadable.

FAQ: Frequent questions about unlocking the Redmi Note 8 Pro

Can I unlock my phone without losing data?
Yes, but only if: πŸ”‘ You have access to your Mi Account (Type 1). πŸ–₯️ The phone was debugging on. USB and there are root rights (mode 5). In all other cases, the data will be deleted.
The phone requires a password from Mi Account after reset.
This means that the device was linked to the previous owner's account: πŸ“ž Contact the seller and ask to untie the account via account.xiaomi.com. πŸ“„ Provide a purchase check to the Xiaomi service center for official unlocking (paying a commission). πŸ”§ Switching the phone through EDL (Risky, may violate the guarantee).
How to avoid blocking in the future?
So that you don't have to face the problem again: πŸ” Use a fingerprint or facial recognition as an additional way to unlock. ☁️ Enable synchronization with Mi Cloud (settings) β†’ account β†’ Mi Cloud β†’ Synchronization). πŸ“ Write it down. PIN-a code or pattern lock to a secure location (for example, a password manager). πŸ”§ Regularly back up through Settings β†’ Additionally. β†’ Backup and reset.
Will a Recovery reset work if the phone is turned off and doesn’t respond to buttons?
If the Redmi Note 8 Pro is completely discharged or not powered on, you must first charge it to at least 20-30: πŸ”Œ Connect the original cable and charger. ⏳ Wait 15-20 minutes (even if the indicator is not on). πŸ”„ Try to pin the volume up. + Power to force reboot. If the phone doesn't respond to charging, the problem could be in the battery or power controller (repair required).
Can I unlock the Redmi Note 8 Pro without a computer?
Yes, but only through Mi Account (method 1) or Recovery Mode (method 2). All other methods (Fastboot, ADB, EDL) require a PC. If your phone is locked with a Mi Account and you don't have access to your computer, contact the service center.

πŸ’‘

If the phone is bought from hand and locked by the previous owner’s account, the only legal way to unlock it is to contact the Xiaomi service center with purchase documents.