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.
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:
- Turn off the phone with a long press on the power button (10-15 seconds).
- Press both Loudness up (+) and Nutrition at the same time.
- Hold the buttons for 10-15 seconds until the Mi logo and Recovery menu appear.
- From the menu, select Wipe Data (use volume buttons for navigation and power button for confirmation).
- Confirm the reset by selecting Wipe All Data.
- 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:
- Turn off the phone and press Volume Down (-) + Power to log into Fastboot Mode.
- Connect your phone to your computer via USB.
- Open the command prompt (cmd on Windows) and check the connection command: fastboot devices If the device is displayed, go further.
- 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.
- 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?
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:
- Connect your phone to your computer via USB.
- Open the command line and check the connection: Adb devices
- 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
- 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:
| Method | Risks. | Efficiency |
|---|---|---|
| Mi Account Unlock Tools for the Software | Virus, data theft, IMEI blocking | Low (often not working) |
| Firmware via SP Flash Tool | Phone "hooking" and loss of IMEI | Medium (requires skills) |
| FRP bypass through TalkBack | It doesnβt work on all versions of MIUI. | Low (often patched) |
| Reset via EDL Mode (9008) | Requires an authorized Xiaomi account | High (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.