How to unlock Xiaomi 6A if you forget your password

The situation when the owner of a Xiaomi smartphone forgets the pattern lock or digital pin code is one of the most common problems in the operation of mobile equipment. For the Redmi 6A model, which is often used as the first device for children or elderly relatives, the risk of accidental locking is especially high. Modern Android security systems do not leave easy loopholes to bypass protection, so the user will have to choose between losing data or completely resetting the system.

There are several proven methods to restore access to the operating system interface. The choice of the specific method depends on whether you have previously signed in to the Mi Account, whether you have debugging on USB and whether you have access to a linked Google account. In some cases, you can save photos and contacts, but most often you have to resort to hard reset.

Before you take action, you need to clearly understand the consequences of your manipulation of the phone software. Any attempts to hack the security can lead to complete loss of information if you did not make a timely backup in the cloud. Next, we will look in detail the algorithms for the various lock scenarios.

Effects of blocking and types of protection

The MIUI security system installed on the Xiaomi Redmi 6A uses layered data protection. When you type the wrong password several times in a row, the device temporarily blocks the ability to enter, increasing the waiting interval with each attempt. This is done to prevent brute-force code selection. If the limit of attempts is exhausted, the phone may require you to enter a password from a Google account or Mi Account that was synchronized with the device.

It's important to distinguish between locking the screen and locking the bootloader. In this case, we're talking about protecting the user interface, where graphic keys are entered, digital passwords are entered, or biometric data is used, and the bootloader is responsible for starting the operating system and unlocking it is only required to install custom firmware, which is not the goal when you forget a password.

⚠️ Attention: After 10-15 Failed attempts to enter a password some versions MIUI can initiate automatic data reset without warning if the appropriate security function has been activated in the settings.

And you also need to consider FRP, which is a feature of Google that links the device to the owner's account, and if you reset through the Recovery menu, the next time you boot, the phone will require you to log in and log in to the Google account that was the primary one on that device before you lock it, and you won't be able to use the phone without that data, even after you've formatted the memory.

Recovery Mode (Hard Reset) Reset Method

The most effective and versatile way to unlock the Xiaomi Redmi 6A is to enter Recovery Mode, which allows you to completely reset user data, including a forgotten lock password, which works even if the touch screen is partially unresponsive or the system is getting stuck.

To enter Recovery mode, Xiaomi devices use a combination of physical buttons. You need to turn off your smartphone completely. Then press both the Volume Up and Power button at the same time. Hold them until the Mi logo appears, then release the power button, but keep the volume down until the main recovery menu appears.

β˜‘οΈ Pre-reset check

Done: 0 / 5

In the Recovery menu, you can control the volume buttons (up/down), and the choice of item is confirmed by the power button. You need to find the Wipe Data section and select it. Then the system can offer several options, among which we are interested in Wipe All Data. Confirm the action by selecting Confirm. The process takes a few seconds, after which the words Data wiped successfully appear.

Once you have successfully completed the procedure, select Reboot and then Reboot to System. The phone will reboot, and this process can take longer than usual, up to 5-7 minutes.

Action.Button/TeamThe result
Entrance to the menuVolume Up + NutritionRecovery launch
NavigationVolume Up/DownMoving the cursor
ConfirmationPower buttonChoice of menu item
Data resettingWipe All DataDeletion of password and files
Reboot.Reboot to SystemAndroid launch

Use the β€œFind Device” function from Google

If the blocked Xiaomi 6A was active Internet (Wi-Fi or mobile data) and enabled geolocation, you can try to remotely unlock the device through Google services.This method does not require physical access to the buttons of the smartphone, but requires another device (computer or tablet) with access to the network.

Go to the official website android.com/find and log in to the same Google account that was used on the locked phone. The service will try to locate the device. If the phone is connected, the action menu will appear on the screen. Here we are interested in the option to Clear the device (Erase Device).

Once you have opted for a cleanup, you will send a command to reset completely.The phone will receive a signal, reboot and delete all user data, including the lock password.It is important to understand that this method also results in the loss of all files not stored in the cloud.After cleaning, the phone will request a password from the Google account to confirm ownership (FRP protection).

What to do if the phone is offline?
If the phone is turned off or has no access to the network at the time of sending the command, the command will be executed automatically as soon as the device goes online.

Unlocking through Mi Cloud (Find Device)

Xiaomi smartphone owners often neglect to create a Mi Account, but it can be a salvation in a critical situation. If the Redmi 6A was signed in to the Mi Account and enabled the function "Find the device", you can delete the password remotely through the manufacturer's cloud service.

To do this, go to i.mi.com from any browser. Enter your Mi Account login and password. In the service interface, select your device from the list. If your phone is online, you will have the functions of location, audio playback, locking and deleting data.

The Mi Cloud deletion feature works similarly to Google services: it initiates a complete reset (Wipe), a feature of which is that it can bypass some restrictions if Google services have been blocked or are not working correctly, and after reset, the phone will return to factory settings.

⚠️ Note: Find the device only works if the phone is turned on, connected to the Internet and activated the corresponding option in the Mi Account settings.

There is also a nuance with a Mi Account binding: After resetting through the Xiaomi cloud, when turned on, the phone may require you to enter a password from the Mi Account, not just from Google. Make sure you remember data from both services if you used them simultaneously.

πŸ“Š What type of lock you have right now?
pattern lock
Digital. PIN-code
A complex password
The fingerprint doesn't work.

Unlocking the block via ADB (for advanced)

For users who previously included debugging USB In the Developer menu, there is a technical way to delete a password file without losing data. ADB (Android Debug Bridge. It doesn't work on all versions MIUI It depends on access rights, but it is worth trying if the data is critical.

Connect the blocked Xiaomi 6A computer-to-computer USB-Open the command line on your PC and enter a command to check the connection:

adb devices

If a device with device status appears on the list, the connection is established, then you need to enter a command to delete the file that stores the access keys:

adb shell rm /data/system/gesture.key

Depending on the type of lock:

adb shell rm /data/system/password.key

Once you have completed the command, reboot the device. In some cases, this allows you to log in without entering a password. However, on modern versions of Android (starting with 6.0 and higher, and MIUI is based on newer cores), this method often does not work due to the encryption of the /data partition. If the command does not execute or the file is not deleted, then the security system does not allow you to manipulate key files without an unlocked screen.

The FRP problem and how to solve it

Once you do Hard Reset or reset through the cloud, you'll come across an activation screen. This is FRP (Factory Reset Protection) protection. The phone will require you to enter a Google account that was synced to the device before the reset, so that the stolen phone can't just be reflashed and sold.

If you remember your Google account, just type it in and the phone unlocks, and all the data is lost, but the device becomes usable, and if you don't remember the account, or you bought the phone with your hands and the previous owner didn't untie the device, things get complicated.

To bypass FRP on Xiaomi Redmi 6A (MediaTek processor), there are special software tools such as Mi Unlock Tool (official, requires waiting 168 hours) or third-party utilities (Bypass tools).The official Mi Unlock tool requires you to apply for unlocking the bootloader, which is impossible to do from a locked screen without accessing the menu.

πŸ’‘

When buying used Xiaomi, always ask the seller to perform a full reset with you and log out of all accounts to avoid FRP issues in the future.

Third-party methods of circumventing FRP are often based on vulnerabilities in a particular version of Android and firmware. Since Redmi 6A is not a new device, there are many ready-made solutions for it on the network, but their use requires caution not to infect a computer or phone with a virus.

Frequently Asked Questions (FAQ)

Will my phone drop if I just drain the battery to zero?
No, a full battery drain won't cause a password to reset. When the charge drops to a critical level, the phone will simply shut down. When connected to a charge, it will turn on and request a password or a pattern lock again, and the data stays in memory because it's non-volatile.
Can I unlock the Xiaomi 6A without losing photos and contacts?
Without data loss, unlocking a modern Android smartphone is almost impossible unless USB debugging is enabled and you are an expert in mobile security. Standard methods (Recovery, Mi Cloud) always involve the complete removal of user information (Wipe Data).
What if the phone says "Device locked" after resetting?
This means that FRP protection has worked. You need to enter the login and password from the Google account that was the main one on this phone before the lock. If you don't remember the data, you will have to look for ways to bypass FRP for the specific version of MIUI installed on the device.
How long does the reset process take through Recovery?
The formatting procedure itself takes 10 seconds to 2 minutes. However, the first boot after the reset (Boot) can last up to 10-15 minutes, as the system optimizes applications and creates new configuration files.

πŸ’‘

The only guaranteed way to remove the password on the Xiaomi 6A is a full reset (Hard Reset), which irrevocably deletes all data from the internal memory of the device.