Modern Xiaomi and Redmi smartphones provide powerful privacy protection tools, with the pattern lock taking a central place, but there are times when this protection becomes an obstacle: you forget the drawing, the phone is locked after a reboot, or the device you got from the previous owner, in which case there is an urgent need to find a way to remove the pattern lock from the android in the chiaomi settings or completely reset the lock.
The process of deactivating the security depends on whether you have access to the device's desktop or the screen is completely locked. In the first case, the problem is solved in a couple of minutes through the security menu, in the second case, more radical measures will be required, up to a complete data reset. It is important to understand that MIUI has its own characteristics of working with accounts and access rights, which must be considered whenever you manipulate locks.
In this article, we will take a look at all the legitimate ways to delete a graphical password, from standard settings to the use of engineering menus. We will look at the nuances of working with Mi Cloud, the features of unlocking through Google account and methods that apply even in the event of a complete unavailability of the interface.
Standard key disabling via security menu
If you have access to your smartphone desktop, the easiest and safest way to do this is to turn off locking through system settings, which requires no third-party software and ensures that all your data, photos and contacts are safe. First, unlock the screen with the current pattern and go to the main app menu.
Find the Settings icon and open it. In the list of options, you need to find the security section. Depending on the version of the MIUI shell, this item may be called differently. Usually the path is: Passwords and Security or Additional Settings. Inside this section, look for Privacy or Screen Lock.
After you go to the lock menu, the system will require you to confirm your rights by offering to enter the current graphics or PIN-Only after successful authorization will the Security Type Management menu open, and here you will see the list of available options: "No", "Swipe", "pattern lockยป, ยซPIN-code and passwordยป.
โ ๏ธ Note: If you change the type of lock, the system may require you to enter a password from your Mi or Google account for security reasons.
Select the No or Swipe option to remove the pattern lock completely. The system will issue a warning that the data on the lock screen (widgets, notifications) may become available to unauthorized persons. Confirm the action and the protection will be removed. Now, when the screen is turned on, the phone will immediately go to the desktop.
โ๏ธ Pre-switch check
Resetting via Mi Account and Cloud Services
Xiaomi smartphone owners often tie the device to the Mi Cloud ecosystem, which creates an additional layer of protection, but also opens up the possibility of remote control. If you forget the pattern lock, but the phone is connected to the Internet and synced to the cloud, you can try to unlock it remotely.
You'll need a computer or other smartphone to do this. Go to i.mi.com and log in to the same Mi Account that's used on the locked device. In the cloud interface, find Find Device.
The system will try to locate your gadget. If you have a connection to the server, the control menu will appear on the screen. Among the options available, there is often a "Unlock" function or the ability to remotely change your password. However, it is worth noting that in new versions of MIUI, direct deletion of the key through the site may not be available for security reasons, and the system will only suggest erasing the data.
- ๐ Make sure that the Internet is turned on on on the blocked phone (Wi-Fi or mobile data).
- ๐ Remember the username and password from the Mi Account.
- ๐ฑ The feature only works if the โFind Deviceโ option was previously activated in the phone settings.
Cloud services are a powerful tool, but they require some preparation, and if Find Device has not been activated in advance, it will not work, and then you will have to consider more stringent options for restoring access.
What to do if your Mi Account is not logged in?
Google Find My Device with Google Find My Device
The mechanism of action is similar to the previous one, but relies on a Google account, which must be added to the phoneโs settings, which is relevant for devices with Android version up to 9-10, since in the newer versions of Google, the ability to remotely unlock without losing data is limited.
Go to android.com/find from any browser. Sign in to the Google account, which is the main one on the locked smartphone. If the device is online, you will see it on the map. The side menu has three main functions: Call, Lock and Clear.
Lock allows you to set a new temporary password that will replace the forgotten pattern lock. Enter a new code, confirm the action, and after a few seconds try to unlock the phone with this code. Once you successfully log in, the old graphics pattern can be disabled in the settings.
| Function | Action. | Data retention |
|---|---|---|
| Call me. | Turns on a loud signal. | Yes. |
| Block it. | Set a new password | Yeah (on old Android) |
| Clean up | Full reset (Wipe) | No (all removed) |
It is worth considering that on modern versions of Android, the password change option can be hidden, and only a full reset will remain available, this is done to ensure that attackers can not access data even knowing the password from the ownerโs Google account.
๐ก
If the phone is not connected to the Internet, commands from Google will not be executed immediately, but will be applied automatically when the device is connected to the network (for example, when connecting to a known Wi-Fi).
Resetting with Recovery Mode (Hard Reset)
When none of the softer methods work, the only guaranteed way to remove the pattern lock from the android in the shaomi settings is to completely reset the phone through Recovery Mode, which returns the phone to factory status, completely erasing all user data, including the forgotten password.
Before starting the procedure, make sure that the battery charge is at least 50-60%. Interrupting the reset process due to battery discharge can damage system files and not be able to turn on the device. Also remember that after reset, the phone will require you to enter a password from a previously synchronized Google or Mi Account (FRP protection).
The procedure for entering Recovery on most Xiaomi and Redmi models:
- Turn off your smartphone completely.
- Press the Volume Up button and the Power button at the same time.
- Hold both buttons until the Mi or Redmi logo appears, then release the power button while continuing to keep the volume.
- The Recovery menu will appear. Navigation is done with volume buttons (up/down), and selection is done with a power button.
โ ๏ธ Attention: In the Recovery menu, the touch screen is not working. All actions are done with physical buttons only.
Select a language from the menu (if you have a choice), then look for Wipe Data or Clear Data. Then select Wipe All Data. The system will ask for confirmation โ select Confirm. The cleaning process will begin, which will take from 30 seconds to several minutes. Once completed, select Reboot to reboot.
๐ก
Hard Reset is a last resort, and it's guaranteed to remove the pattern lock, but you lose all the photos, contacts and apps that aren't saved in the cloud.
Unlocking through ADB and debugging via USB
There is a more technical way that allows you to delete the file with the key without losing data, but it works only under one condition: the phone should have been enabled in advance. USB (USB If this feature has been activated and the computer has previously been authorized to work with the device, the chances of success are high.
You'll need a computer with ADB drivers installed and Platform Tools package. Connect the locked smartphone with a cable to your PC. Open the Command Prompt (CMD) or terminal in the ADB tool folder.
Enter a command to check the connection:
adb devicesIf a device has been listed, the connection is established, and then you can try to delete the file that stores the pattern lock.
adb shell rm /data/system/gesture.keyOr, for some versions of Android:
adb shell rm /data/system/keyguard/gesture.keyOnce you have completed the command, restart the phone. The pattern lock should disappear, and you can log in, and then you want to set a new password. If the command returns an access error, then without root rights or prior authorization of the computer, this method will not work.
- ๐ป The method requires a PC and basic command line skills.
- ๐ Cable USB It must be correct and maintain the data transmission.
- ๐ Without pre-debugging included USB method.
Features of unlocking old versions of Android
Owners of Xiaomi budget models or devices released a few years ago may encounter less secure versions of Android (up to 5.0-6.0), on which there were vulnerabilities that allowed to bypass the lock without resetting data.
One of the known methods is to exploit a vulnerability in the status bar, where if you typed the key incorrectly several times, you might see a 30 second lock message on the screen, at which point you pull the notification curtain down and quickly click on the Settings icon, and the system will ask you to enter a password, but sometimes you can go to the settings menu, where you can already turn off the lock.
Another option is an emergency call. On the lock screen, click "Emergency Call" and enter a special code (for example, ##4636## or the codes of the engineering menu). If the system misses this request, a diagnostic menu will open, through which you can go to settings or launch an application, gaining access to the system.
But don't count on these techniques on modern devices: Xiaomi and Google engineers regularly close these security holes. On current MIUI firmware 12, 13, 14 and above, these tricks tend to fail, and the lock screen remains an insurmountable barrier without being completely reset.