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:
- Enter the email or phone number associated with the Mi Account.
- Confirm your identity via SMS or email (the code will come to the mail / phone).
- 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:
- Turn off the Redmi Note 8 Pro with a long press of the power button.
- Press Volume Up + Power Button at the same time and hold for 10-15 seconds until the Mi logo appears.
- In the Recovery menu, select the language (volume buttons) and confirm the choice with the power button.
- Go to Wipe Data β Wipe All Data and confirm the action.
- 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
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:
- Download and install Android SDK Platform-Tools on your PC.
- Turn off the phone and transfer it to Fastboot: Press Volume Down + Power button.
- Connect the Redmi Note 8 Pro to your computer via USB.
- Open the command prompt (cmd) in the folder with the platform-tools and type:
fastboot devicesIf the device is determined (a serial number appears), run the command to reset:
fastboot erase userdata
fastboot erase frp
fastboot rebootAfter 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).
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?
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:
- Connect the Redmi Note 8 Pro to your PC and open the command line in the folder with the platform-tools.
- 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
rebootOnce 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 data | Recovery method | Chance of success |
|---|---|---|
| Contacts | Synchronization with Mi/Google Account | 90% |
| Photo/video | Programming programs like DiskDigger | 50β70% |
| Communications | Backup in Mi Cloud | 80% |
| Annexes | Reinstallation from Google Play | 100% |
| Notes | Exports from Mi Cloud | 95% |
β οΈ 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?
The phone requires a password from Mi Account after reset.
How to avoid blocking in the future?
Will a Recovery reset work if the phone is turned off and doesnβt respond to buttons?
Can I unlock the Redmi Note 8 Pro without a computer?
π‘
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.