How to unlock Xiaomi Redmi 6A if you forget your pattern lock or password: the full guide

Forgetting your smartphone password is a difficult situation, but it's not a hopeless one. Especially when it comes to the Xiaomi Redmi 6A budget model, which is still popular due to its reliability and simplicity. The main thing is not to panic or try to find a combination at random: after 5 failed attempts, the device will lock for 30 seconds, and after 20 - it may require a hard reset. In this article, we will analyze all the current ways of unlocking, from the simplest to the most radical, taking into account the features of this model.

Redmi 6A

MediaTek Helio A22

MIUI

Find My Device

Mi Account

Fastboot

Any reset will result in data loss

If you're not sure about your technical skills, you should go to a service center -- especially if you're storing important data on your phone, but if you're willing to do it yourself, we'll go through each method in detail, and let's start with the obvious one: restore it through your Xiaomi account.

1 Unlocking through Mi Account (if the phone is linked to the account)

This is the fastest and safest way to do this, but it only works if:

  • πŸ“± The phone was linked to your Mi Account (check if you remember your email or phone number).
  • 🌐 The device has access to the Internet (Wi-Fi or mobile network).
  • πŸ”‘ You remember the login details (or you can reset the password via email).

After 5 failed attempts to enter the password, the lock screen will appear the button "Forgot the password?". Click on it - the system will redirect you to the login page in Mi Account. Enter the login and password, confirm unlocking via SMS or email (if two-factor authentication is enabled).

If you don't have a "Forgot Password?" button, try entering your password at random before the "Try again in 30 seconds" message appears. Sometimes the button appears after a few failed attempts. Also check if the bottom of the screen displays small text "Unlock via Mi Account" - on some versions of MIUI it is barely noticeable.

⚠️ Warning: If you bought your phone with your hands and the previous owner didn't untie his Mi Account, this method won't work.

πŸ“Š You link your smartphone to your Mi Account?
Yeah, always.
Only if asked when setting up
No, I don't see the point.
I don't know what it is.

2.Reset to factory settings via Recovery Mode

If Mi Account is lost, the next step is to hard-reset through Recovery Mode, which will remove all data from the phone, including photos, contacts and apps, but will return access to the device. On Redmi 6A, Recovery Mode is logged in via a combination of physical buttons.

Step-by-step:

  1. Turn off the phone with a long press on the power button (10-15 seconds).
  2. Press both Loudness up (+) and Nutrition at the same time.
  3. Hold the buttons for 10-15 seconds until the Mi logo and Recovery menu appear.
  4. From the menu, select Wipe Data (use volume buttons for navigation and power button for confirmation).
  5. Confirm the reset by selecting Wipe All Data.
  6. After the process is complete, select Reboot to reboot.

The phone will reboot and offer to configure it as new. This method works 100 percent, but has a critical drawback: on Redmi. 6A firmware MIUI 11 and later after the reset may require data entry from the previously tied Mi Account (FRP-If you don't remember them, the phone will remain locked even after resetting.

Turn off the phone from charging

Make sure the battery is at least 30% charged

Press and hold Volume up + Nutrition

Don’t release buttons until the Recovery menu appears-->

⚠️ Note: On some versions MIUI The Wipe Data item may be called Clear Data or Factory Reset. If the menu is in Chinese, look for characters (clear the data).

3. Unlock via Fastboot (for advanced users)

If the reset via Recovery does not help because of FRP-locking (requires data from Mi Account after reset), you can try to bypass the protection through Fastboot mode. ADB Fastboot and basic command line knowledge.

What you need:

  • πŸ’» Computer with Windows/Linux/macOS.
  • πŸ”Œ USB-cable (preferably original).
  • πŸ“¦ Utilities. ADB and Fastboot (download from Android site).
  • πŸ”§ Firmware file for Redmi 6A (You can download it on the official Xiaomi website).

Instructions:

  1. Turn off the phone and press Volume Down (-) + Power to log into Fastboot Mode.
  2. Connect your phone to your computer via USB.
  3. Open the command prompt (cmd on Windows) and check the connection command: fastboot devices If the device is displayed, go further.
  4. Unlock the bootloader (unless previously unlocked): fastboot oem unlock Note: On some versions of MIUI, this command may not work without first linking the developer account.
  5. Swipe the phone with the official firmware: fastboot flash all [name file firmware.zip]

Once the firmware is successful, the phone will restart in its clean state. FRP-If the bootloader is blocked, you will first have to obtain permission to unlock through the official Xiaomi website (the process takes up to 72 hours).

What if the fastboot can’t see the device?
If the fastboot device team returns an empty list: 1. Check if MediaTek drivers are installed for your OS. 2. Try another one. USB-cable. 3. Disable the antivirus – it can block the connection. 4. Reinstall. ADB/Fastboot official website. 5. On Windows, try running the command line on behalf of the administrator.

4.Use of ADB (if USB-debugging was included)

This is a method for those who have included in advance USB-If you haven't done that, skip this section. The key is to delete the password file through the ADB (Android Debug Bridge).

Instructions:

  1. Connect your phone to your computer via USB.
  2. Open the command line and check the connection: Adb devices
  3. Enter the command to delete the file with the password: adb shell rm /data/system/gesture.key or PIN-code: adb shell rm /data/system/password.key
  4. Reboot your phone: adb reboot

Once the reboot is over, the lock screen should disappear.This method doesn't work on all versions of MIUI, as Xiaomi has tightened protection in recent updates. If the team doesn't work, try an alternative:

adb shell


su




rm /data/system/locksettings.db




rm /data/system/locksettings.db-wal




rm /data/system/locksettings.db-shm




reboot

⚠️ Attention: To execute commands with su, the phone must have root rights. If they are not, this method will not work.

5. Contact the Xiaomi Service Center

If all of these methods did not work, the last option is to contact an authorized Xiaomi service center.

  • πŸ”’ Phone locked through previous owner's Mi Account (handheld purchase).
  • πŸ”§ You can’t log in to Fastboot or Recovery.
  • πŸ“± There is custom firmware installed on the phone and standard methods don’t work.
  • πŸ’° You need to save the data (the service may try to extract it before resetting).

The cost of unlocking the service varies from 500 to 2000 rubles depending on the complexity. In some cases, proof of ownership may be required (checks, box, IMEI). Xiaomi official service centers can be found on the support website.

What to bring with you:

  • πŸ“„ Passport (for proof of identity).
  • πŸ“¦ Phone box (if it is still available).
  • πŸ’³ Check or warranty card (if the phone is guaranteed).
  • πŸ“± The device itself with a charged battery.

The service can offer two options: software unlocking (if possible) or flashing with a complete reset. In the first case, the data may be saved, in the second case, not.

πŸ’‘

Before visiting the service, check the phone's IMEI (type *#06#). If it matches what's on the box, it will speed up the process of confirming ownership.

6. Alternative methods (with caution!)

There are many magical ways to unlock the Internet, from using special programs to flashing through the SP Flash Tool. We do not recommend them for the following reasons:

MethodRisks.Efficiency
Mi Account Unlock Tools for the SoftwareVirus, data theft, IMEI blockingLow (often not working)
Firmware via SP Flash ToolPhone "hooking" and loss of IMEIMedium (requires skills)
FRP bypass through TalkBackIt doesn’t work on all versions of MIUI.Low (often patched)
Reset via EDL Mode (9008)Requires an authorized Xiaomi accountHigh (but difficult to implement)

If you decide to do one of these things, you should:

  • πŸ” Study the feedback on the program/method in thematic forums (4PDA, XDA Developers).
  • πŸ”‹ Charge your phone 100% (risk of interruption).
  • πŸ“₯ Download firmware only from official sources.
  • πŸ›  Have a spare phone on hand to contact in case of failure.

⚠️ Note: Using informal unlocking methods may result in a lock IMEI (It's only possible to restore it through a service center, and it's more expensive than the original unlock.

πŸ’‘

If the phone is bought by hand and tied to someone else's Mi Account, the only legal way to unlock it is to contact the service with documents confirming the purchase.

FAQ: Frequent questions about unlocking Redmi 6A

Can I unlock Redmi 6A without losing data?
Theoretically, yes, but only if: The phone is tied to Mi Account, and you remember the login details. USB-Debugging and you can use it ADB. In all other cases, the data will be lost. If there is important information on the phone, it is better to contact the service - sometimes specialists can extract the data before resetting.
What if the phone asks for an old Mi Account after a reset?
It's FRP-Factory Reset Protection: Enter data from a previously linked account (if you remember), bypass the lock via Fastboot (requires an unlocked bootloader), contact the service center with proof of purchase. FRP newer MIUI It is almost impossible without the risk of β€œbricking” the phone.
How do I know if the Redmi 6A bootloader is unlocked?
Log in to Fastboot Mode (Loud Down + Power buttons). If the bottom of the screen says "Unlocked" or "Device is unlocked", the bootloader is unlocked. If the label is not written or it says "Locked", the bootloader is locked. You can officially unlock it through the Xiaomi website, but it will take up to 3 days (you need to link the developer account).
Will flashing the SP Flash Tool help if you forget your password?
Technically yes, but: This is a risky method that could lead to loss. IMEI. It requires special drivers and process knowledge. 6A s MIUI 11+ After the firmware may remain FRP-If you are not an experienced user, you should choose another way.
Can I unlock my phone through Google Find My Device?
No. Xiaomi Redmi 6A does not support Google’s unlock services, as it runs on its own MIUI shell. Find My Device allows you to only find the device or erase data remotely (if sync with Google is enabled), but not unlock the screen.