What to do if you forget your password for Xiaomi Redmi 6A

The situation when the smartphone Xiaomi Redmi 6A suddenly blocked due to a forgotten password, pattern lock, or PIN-The device becomes a brick, contacts, photos and apps are completely blocked, and the system insists on entering the right combination. Often users try to remember the code, making endless attempts, which only leads to an increase in the lock timer or a complete locking of the account.

Fortunately, the architecture of the Android operating system and the MIUI shell has several scenarios for access recovery. Depending on whether the Mi Account was tied, whether debugging is enabled over USB or cloud backup is configured, the solutions can be radically different. It is important not to panic, because rash actions can lead to irretrievable data loss.

In this article, we will take a look at all the working methods for unlocking Redmi 6A. We will look at both standard recovery tools and forced reset methods through Recovery Mode. You will learn how to bypass protection, minimize information loss, and what to do if standard methods do not help.

⚠️ Note: Most of the methods described below, especially those related to resetting, will result in the complete removal of all user data from the internal drive.

Standard ways to restore through the lock screen

Before you take any drastic measures, it’s worth checking the capabilities that the lock system itself provides: If you’ve previously activated a Google or Xiaomi account binding, you have a chance to restore access without losing data, a scenario that only works if your smartphone is connected to the Internet (Wi-Fi or mobile data).

After several misty attempts to enter a password, the screen may appear with the words “Forgot your password?” or “Forgot your pattern lock?” By clicking on this button, the system will prompt you to log in to the account that was the main one on the device. For Redmi 6A, this can be both a Google account and Mi Account, depending on the region settings and firmware version.

  • 🔑 Enter the username and password from your Mi Account that was used when you first set up your phone.
  • 📱 Use a Google account if the “Find Device” feature was previously enabled».
  • 🌐 Make sure the device has an active internet connection, otherwise it is not possible to verify your account.
📊 Did you have a Mi Account prior to blocking?
Yeah, I remember the data.
Yeah, but I forgot the password.
No, there was no account.
Not sure.

It’s worth noting that newer versions of MIUI often eliminate the email or check question recovery function for security reasons, so if you don’t have two-factor authentication set up or don’t remember the login details, it may not work, so you’ll have to move on to more complex technical procedures.

Resetting settings via Recovery (Hard Reset)

The most effective and versatile method, which helps in 99% of cases, is to execute Hard Reset through the Recovery menu.This mode is built into the memory of the smartphone at a low level and allows you to control the system regardless of the lock screen. Redmi 6A is equipped with a standard Xiaomi recovery, which is controlled by volume and power buttons.

To enter this mode, you need to turn off the device completely, then you need to pinch the key combination and hold them until the logo appears. It is important to observe the timing: if you release the buttons too early, the phone will simply turn on as normal. If it is too late, you can miss the moment of logging into the bootloader.

☑️ Recovery login algorithm

Done: 0 / 4

Once you enter the menu, you will see a list of options where the cursor is controlled by a volume rocker and the choice is confirmed by the power button. You need to find the Wipe Data or "Erase Data" item. The system will warn you that all files will be destroyed. Confirm the action by selecting Wipe All Data.

⚠️ Warning: After resetting via Recovery, the phone may activate protection FRP (Factory Reset Protection: This will require you to enter a password from a Google account that was synced to the device before the reset.

The process of erasing data takes from 30 seconds to several minutes, depending on the amount of memory filled. Upon completion of the procedure, the phone will automatically restart. The first run will be long, since the system will be reinitialized again, as if you just bought a Redmi 6A in a store.

Using Xiaomi Cloud for Remote Resetting

If you have access to a computer or other smartphone, you can use the Xiaomi Cloud service, which is convenient because it does not require physical interaction with the buttons of the locked device, but it only works if the Redmi 6A has the Internet enabled and the Find Device feature is activated.

You need to go to the official website of the cloud service from any browser and log in to your Mi Account. In the service interface, select your device from the list of available gadgets. If the phone is online, you will see its location and status.

  • 🌍 Go to the Devices section and select your Redmi. 6A.
  • 🗑️ Click the button “Delete data” or “Wipe Device».
  • ✅ Confirm the operation, after which the team will go to the smartphone.

Once the locked phone gets a command, it automatically starts the cleaning process, the screen goes out, and it starts to reboot, and the good thing about this is that it's remotely initiated, but its effectiveness depends on having an active connection to the network at the time of locking.

What to do if the phone is offline?
If the phone was without internet at the time the command was sent, the command will run automatically as soon as the device connects to the network.

It's worth considering that after such a reset, the security system may require re-authorization to the Mi Account from which the team was sent, a protective mechanism against theft that makes using the stolen phone meaningless for an attacker.

Unlocking with Google Find My Device

An alternative to Xiaomi’s branded service is Google’s Find a Device tool, which is relevant for those who have been actively using the Google ecosystem and synchronized their account data, similar to the Xiaomi cloud, but using the search giant’s infrastructure.

To get started, go to the service site from a computer or another phone. Log in to the Google account that was the main one on the blocked Redmi 6A. If there are more than one device, select the one on the left list.

FunctionDescription of actionRisk of data loss
Call me.Turns on a loud signal for 5 minutesNo.
Block it.Set a new password on the screenNo.
Clean upFull reset to factory settingsYes (100%)

We're interested in the Clean Device feature, which will reset when you activate the phone, and it's important to understand that after this procedure, you still need to enter your Google account password when you first set up the system, which is the FRP protection we mentioned earlier.

If you don’t remember the password from your Google account, restore access to it through the Google website recovery process first.Without this step, you won’t be able to unlock the Redmi 6A after the reset, and the phone will remain unusable.

The specifics of unlocking with a Mi Account

Xiaomi smartphone owners often face additional protection.Even after a successful reset via Recovery, the system may require you to enter a password from the Mi Account that was previously tied.This is done to protect against theft, but creates problems for forgetful users.

If you remember your login (phone number or email) but you forgot your password, don't rush into the wrong data many times. Your account may be temporarily blocked. You'd better go to i.mi.com and use the password recovery function. You'll need access to your phone number or backup email.

💡

If the phone number associated with the Mi Account is lost or unavailable, try to restore the account through Xiaomi Support by providing the purchase receipts for the device to confirm ownership.

In the case when the device was bought from hand and the previous owner did not untie his account, it is almost impossible to unlock it by legal means.

⚠️ Attention: Attempts to bypass the binding of Mi Account using third-party software (Bypass) on modern versions MIUI Often lead to unstable operation of the system or a complete lock of the bootloader.

Using ADB to delete password files (Requires preparation)

This method is only suitable for advanced users who previously enabled USB Debugging on their Redmi 6A. If this feature was active and the computer has authorization to connect to the phone, you can try to delete files that store the password hash.

You will need to install ADB drivers on your PC and connect your phone with a cable. You can send a command to delete gesture.key or password.key files that are in the /data/system/ system folder through the command line.

adb shell rm /data/system/gesture.key


adb shell rm /data/system/password.key

However, on modern versions of Android and MIUI, access to these partitions without root rights is often closed even when debugging is enabled. Therefore, this method does not always work and depends on the specific version of the firmware and the level of security installed by the user.

💡

The ADB method is only effective if USB debugging has been enabled before the lock and the computer already has access rights to the device.

Prevention and backup

To prevent a forgotten password situation from catching you off guard in the future, it is recommended to set up a backup system in advance. Xiaomi Redmi 6A allows you to automatically save data to the cloud or to an external medium.

Create contact, message, and app backups regularly, through the built-in Mi Cloud app or syncing with Google Drive, and it’s also helpful to write complex passwords into a paper notebook or use password managers that you can’t lose access to.

  • ☁️ Set up automatic synchronization of contacts with Google and Mi Account.
  • 📸 Enable autoload photo in Google Photos or Yandex.Disk.
  • 📝 Write it down. PIN-SIM card code and password from the account to a safe place.

Remember that a pattern lock or digital code is only the first line of protection, the main value of your data is stored in accounts and cloud storage, regular maintenance and checking of security settings will help to avoid critical situations.

What if after resetting the phone says “Activated by the control device”?
This message means that the device has an enterprise profile activated or is listed in the database of lost ones, and you will need to contact the organization or previous owner to unblock through the MDM server.
Can I unlock Redmi 6A without losing data?
Without data loss, it is possible only if the recovery through “Forgot password” on the lock screen with confirmation via SMS or email works. In other cases, resetting the password implies erasing the data partition.
How long does it take to reset completely?
The process of formatting and reinstallation on Redmi 6A usually takes 5 to 15 minutes.The first run can take longer due to application optimization.
Will the information be lost from SIM-dumping-card?
No, contacts and messages stored directly on SIM-The card will not be affected by the Hard Reset procedure, only the internal memory of the phone will be deleted.