The situation when the owner of Xiaomi Redmi Note 7 forgets the set password or pattern lock is one of the most stressful for the user.The lock screen turns into an insurmountable barrier, hiding all important contacts, photos and applications. Fortunately, the architecture of the Android Operating System and the MIUI shell provide several mechanisms for access recovery, although they often involve the loss of user data.
Before you start taking action, you need to be clear about what kind of protection was installed. PIN-Code or complex alphanumeric password: The type of lock and status of the Mi Account will determine the method of unlocking. In some cases, if the Find Device function was activated in advance, deleting the password is possible even without a complete reset, but such scenarios are becoming rare in new firmware versions.
It is important to immediately tune in to the fact that most effective methods will require the implementation of the Hard Reset procedure. This means completely erasing all data from the internal memory of the smartphone. Unless you have been backed up to the Google or Xiaomi Cloud cloud, it will be impossible to restore deleted photos and contacts after the procedure, so real professionals always recommend checking the sync status regularly while accessing the device is open.
Using a Mi Account to Remotely Reset
The most civilized and safe way to restore access is to use the manufacturer's cloud service, which requires that a blocked Redmi Note 7 has a Mi Account login and the Find Device function is activated, and the smartphone must have an Internet connection, whether it's a mobile network or Wi-Fi, to receive commands from the server.
The process begins with the transition to the official site of the Xiaomi cloud service from any other device, whether it is a computer or another phone, you will need to enter the login and password from the account that is used on the blocked gadget, and if the login data is also lost, you will first have to go through the procedure of restoring access to the account through the linked mail or phone number.
- π± Go to i.mi.com and log in to your profile.
- π Select your Redmi Note 7 from the list of available gadgets in the device menu.
- π Click on the Unlock button to initiate a remote reset of the screen password.
β οΈ Warning: Once successfully unlocked through the cloud, all data on the device will be deleted for security reasons.
It's worth noting that in the latest updates to the MIUI shell, the remote password reset functionality of the screen without losing data was eliminated. Now the system only offers full formatting. This is done to improve security: if there was a loophole to remove the lock without erasing data, it would be actively used by attackers. So if you see the option of only a full reset, know this is the standard behavior of the system.
Resetting with Recovery Mode (Hard Reset)
If you don't have Internet access on your device or you don't remember your Mi Account, the only way out is to use Recovery Mode, a low-level environment built into your phone's memory that allows you to control the system bypassing the main interface. To log into this mode on the Redmi Note 7, you need to use a combination of physical buttons when the device is off.
The login procedure may require some skill, because the timing of the taps is important. First, you need to turn off the smartphone completely, waiting for the vibration and the screen to go out. Then you clamp two buttons simultaneously, and hold them until the Mi logo or restore menu appears. In some versions of the firmware, you may need to press the volume button three times after the logo appears.
βοΈ Recovery login algorithm
Once you enter the menu, which usually has an English interface, the control is carried out by volume buttons (up/down) and power button (select).You need to find the Wipe Data or Clear Data. In new versions of MIUI, the system may require you to enter a special confirmation code that is displayed on the screen to prevent accidental resets by children or in your pocket.
| Action. | Control buttons | The result |
|---|---|---|
| Navigating the menu | Volume Up/Down | Moving the cursor |
| Confirmation of choice | Power (Power) | Entrance to the submenu |
| Entering the code (if required) | Volume Up/Down | Change of figure |
| Code confirmation | Power (Power) | Launching discharge |
Once the operation is confirmed, the userdata partition formatting process will begin. The screen may go out or an animation of progress appears. You can't interrupt this process, as this can damage the file system and prevent the phone from booting further. Upon completion, the smartphone will automatically restart, and you will see the screen of the initial setup, as if you just bought the device.
π‘
If the Recovery menu doesnβt open on the first try, try connecting your phone to your computer via the Recovery Menu. USB-cable.
Unlocking through Find Device on PC
An alternative use case for cloud technology is the advanced functionality available through the desktop version of the site, which is relevant if the touch screen on the phone itself is partially not working or locking occurs immediately after turning on, without giving time to react.
To do this, you need to have data on the Redmi Note 7, and if the phone is in flight mode or just out of coverage, the command will queue up and execute when the network comes along, which creates the illusion that the method is not working, even though the team is actually just waiting in the wings.
There is an important nuance associated with activating Mi Unlock: If you plan to reflash your device in the future, having an activated account and an unlocked bootloader (through the official procedure) gives you more options, but a standard cloud service without the need for superuser rights is enough to simply remove your screen password.
β οΈ Note: After resetting your password through Find Device, when you first download, the system will require you to enter a password from your Google account (FRP) And the Mi Account that was synced earlier, that's theft protection.
Use of debugging by USB and ADB
For advanced users who previously included in the developer settings Debugging mode USB (USB Debugging, there is a possibility to unblock through the computer. This method requires the installation of drivers. ADB And if you have the appropriate software on your PC, if you don't have debugging on before you lock it, it's not going to work.
Connecting the phone to the computer, you need to open the command line in the folder with the tools ADB. The essence of the method is to delete files that store hashes of graphic keys or passwords. The system does not find these files when downloading and believes that the lock is not installed, launching the user on the desktop.
adb shell rm /data/system/gesture.key
adb shell rm /data/system/password.key
adb shell rm /data/system/locksettings.dbExecuting these commands requires superuser rights on the device itself, which is difficult to obtain in the standard Redmi Note 7 configuration without an unlocked bootloader. However, some older versions of Android and MIUI have vulnerabilities that allow you to execute an adb shell command with increased privileges without additional confirmation on the phone screen.
What if the ADB canβt see the phone?
The problem of Google and Mi accounts after resetting
After a successful Hard Reset or remote reset, the user is confronted with FRP (Factory Reset Protection), a mechanism introduced by Google that links the device to the owner's account, and when the phone is first activated, it will require the username and password from the Google account that was synchronized before the reset.
The same is true for Xiaomiβs ecosystem: If the phoneβs settings were enabled to search for a device, then the reset will require authorization to Mi Account. Without input of correct data, the phone will remain locked, and re-resetting via Recovery will not help, since the lock is tied to the server, not to files inside the memory.
- π FRP Blocking requires entering the last synchronized Google account.
- βοΈ Mi Account requires you to enter a password from the account included in your phone settings.
- πΆ To verify accounts may require a connection to the Wi-Fi network.
If you forget your password from your Google account, it becomes much more difficult to restore access, the official way is to restore an account through Google's website with answers to classified questions or through backup mail. Using third-party programs to bypass FRP is often temporary and depends on the specific version of the Android security patch.
π‘
Remember: Hard Reset does not remove the link to your Google and Mi accounts. It only erases user data, but theft protection remains active at the server level.
Frequent questions and possible problems
During the unlocking process, users often encounter unusual situations that cause panic, such as a phone that may go into a cyclic bootloop after a failed reset attempt, and a common problem is the lack of response to button presses, which may be due to software getting stuck or hardware failure of the volume buttons.
It is important to distinguish between software lock (forgotten password) and hardware locks. If the phone does not respond to button clamping even when connecting to charging, it may be a button plume or power controller that is problematic, and in such cases, software methods are powerless and require diagnostics at the service center.
What if the phone says "Device is locked" after resetting?
Can I unlock the Redmi Note 7 without losing data?
The phone asks for an activation code after reset, what is it?
Will unlock work if the phone is not on? SIM-map?
β οΈ Attention: Use of informal programmes for βcallβ (circumvention) FRP A lock may result in malware being installed on your computer or in the future, your smartphone will not work properly.