The situation when you pick up your Xiaomi Mi A2 Lite, and you know you can't unlock the screen, is one of the most stressful things for a smartphone owner, and there are many reasons: you might forget a complicated pattern lock, you might confuse the numbers. PIN-code after a long break in use of the device, or the screen panel ceased to respond to touch due to a technical malfunction. Owners of this model often face the problem when Android security gets too strict after several failed input attempts.
Fortunately, the Android architecture on which the Mi A2 Lite is based has several scenarios for data recovery. Factory resetting is a radical but most effective method that is guaranteed to remove a forgotten password. However, before any manipulations begin, you need to be aware of the risks: most methods involve completely cleaning the internal memory of the device.
In this detailed guide, we’ll take a look at all the available unlocking options, from standard Google features to using the engineering menu, how to properly prepare your device, what button combinations to use to log into Recovery mode, and how to avoid blocking your Google account (FRP).
Preparation for discharge procedure and precautions
Before you start active action to unlock Xiaomi, you need to carry out a number of preparatory activities, which will help to avoid additional complications, such as loss of important contacts or complete locking of the device with the protection system Google FRP. Make sure that the battery level is at least 50-60%, as the reset and subsequent setup requires energy.
If you have any way to get into the system (for example, through an external keyboard connection via OTG or if the phone is unlocked, but you just want to change the password), be sure to back up your data. In the case when access is completely closed, this step is, alas, impossible, and you will have to accept the loss of files that are not stored in the cloud.
⚠️ Warning: After resetting, the phone will require you to enter a Google account that was synced to the device before locking.If you don't remember the password from the Gmail mail, restoring access will be extremely difficult.
It is also worth checking whether the device is enabled debugging by USB. For regular users, this feature is often disabled by default, but if you have previously activated developer mode, it will open up additional possibilities for resetting without losing data through the user. ADB-In a standard situation, you don't have to count on that, so the focus is on hardware reset.
💡
Before the procedure begins, remove SIM-MicroSD card and memory card, which will prevent the accidental deletion of personal photos and contacts stored on external media, and also eliminate blocking SIM-reboot.
Method 1: Reset via the Recovery (Hard Reset) menu
The most versatile and reliable method that works even with a completely broken sensor is to enter the recovery mode (Recovery Mode). On the Xiaomi Mi A2 Lite, as on most Android One devices, this mode is hidden from the average user, but is available through a combination of physical buttons. This method completely clears the /data partition, where all user settings and passwords are stored.
First, you need to turn off your smartphone completely. If the device is stuck on the password screen and does not respond to long presses, try to press the power button and the volume button simultaneously for 10-15 seconds until the screen goes out. Once the phone is turned off, you can move to the combination to enter the Recovery.
☑️ Recovery login algorithm
Press the Volume Up button and the Power button at the same time. Hold them until the Mi or Android logo appears. Once the logo appears, release the power button, but continue to hold the volume button until the Recovery menu opens. Navigation in this menu is done with volume buttons (up/down), and the choice is confirmed by the power button.
In the list that opens, select Wipe data/factory reset. The system will ask for confirmation of action, as this is a critical operation. Select Yes or Factory data reset. The formatting process will take a few seconds or minutes, after which the phone will prompt you to reboot by selecting Reboot system now.
| Action. | Control button | The result |
|---|---|---|
| Navigating the menu | Volume Up/Down | Moving the cursor |
| Confirmation of choice | Power (Power) | Execution of the team |
| Getting out of the regime | Reboot system now | Resetting the OS |
| Cancel the operation | No (select No only) | Return to the menu |
Method 2: Delete your password through Google Find My Device
If you have the Internet (Wi-Fi or mobile data) activated on the blocked Xiaomi Mi A2 Lite and geolocation enabled, you can use Google’s remote control service, which allows you not only to find the phone, but also to execute a remote erasure command, which automatically removes the lock screen.
You will need access to another device (a computer, tablet or phone of a friend) Go to the official Google Find My Device website and log in to the same Google account that was used on the locked smartphone. From the list of devices, select your Xiaomi Mi A2 Lite model.
In the management interface, select the option to Clear the device (Erase Device), the system will warn that all data will be deleted permanently. Once confirmed, the command will be sent to the phone. Once the Mi A2 Lite receives the signal and connects to the network, the reset process will begin, similar to Hard Reset.
What to do if the phone is offline?
This method is particularly convenient because it does not require knowledge of button combinations and the risk of damaging the hardware of the phone with frequent reboots, but it is useless if the phone is turned off or in an area without network coverage.
Using ADB to reset a lock (for advanced ones)
For users who previously included debugging USB In the developer menu, you can reset your password without losing data, although this doesn't always work on modern Android versions. ADB (Android Debug Bridge).
Connect your smartphone to your PC through USB-Open the command line or terminal in the folder with the installed ADB. Enter adb devices to check the connection. If the device is displayed and has device status, the connection is established. If the unauthorized status, you can't unlock the phone without entering the code on the screen.
adb shell rm /data/system/gesture.key
adb shell rm /data/system/keyguard/locksettings.db
adb shell rm /data/system/keyguard/locksettings.db-wal
adb shell rm /data/system/keyguard/locksettings.db-shmExecuting these commands deletes files that store pattern lock hashes and PIN-After that, you need to reboot the device with the command adb reboot. On some versions of Android, after rebooting, the lock screen may disappear or allow you to enter any code. A2 Lite with Google’s updated security patches is often blocked.
If the commands are executed successfully, but the lock remains, only the option with a full reset via Recovery, described above, is left.Do not try to replace system files manually without a backup, as this can lead to a bootloop (cyclic reboot).
FRP problem: How to get around blocking Google account
After successfully resetting your password with any of the above methods, Android’s security system will run FRP (Factory Reset Protection), a mechanism designed to protect the owner’s data in the event of a device being stolen.
If you remember your username and password, just enter them and the phone unlocks. If the account is unknown or lost, the device becomes a brick at the initial setup stage, and Google doesn't officially provide any way around that protection, because it's a security hole.
⚠️ Attention: Attempts to circumvent FRP using third-party software can lead to blocking IMimei or damage to the system partition.
There are specialized utilities and Test Mode reset methods that allow you to activate your browser or TalkBack settings to bypass the welcome screens. For the Xiaomi Mi A2 Lite, the method of activating TalkBack through triple tapping or a combination of volume buttons on the language selection screen often works, allowing you to call the voice assistant and go into settings.
In some cases, it helps to reset the date and time or exploit vulnerabilities in specific versions of Android security patches. However, since Google regularly closes these vulnerabilities, specific instructions quickly become obsolete.
What to do if your phone doesn’t respond to the buttons
Sometimes the problem isn't software failure, but a physical button malfunction. If the volume or power button on the Xiaomi Mi A2 Lite is triggered or not working, you won't be able to enter Recovery mode in the standard way, in which case you can try software methods or use a PC.
If debugging is on USB And you can use the adb reboot recovery command sent from your computer, and this forcefully resets your phone to recovery mode without having to press the buttons. USB-jig (JIG), which close certain contacts in the connector, causing the phone to go into boot or recovery mode.
As a last resort, if the buttons are completely non-functional and access to data is critical, disassembly of the device will be required, and inside the plume of the volume buttons you can close with tweezers at the right time or temporarily replace the plume with a working one for the reset procedure.
💡
Physical failure of volume buttons is a common reason for not being able to reset your password. Check that they work when they are off (vibration or sound when pressed).