Xiaomi Redmi 6A is one of the most popular budget smartphones of the brand, but its potential is limited by a locked bootloader. Unlocking provides access to custom firmware, root rights and fine-tuning the system. However, the official way through Mi Unlock Tool does not always work, especially on older models. In this article, we will discuss how to circumvent the restrictions and unlock the bootloader through ADB β with explanations for beginners and nuances for experienced users.
Important: the procedure involves risks, including loss of warranty, data reset and even βbrickingβ the device. We will describe each step in detail, but on Redmi 6A with firmware older than MIUI 12.5, official unlocking via ADB may require additional manipulation of the Mi Account. If you are not ready for experiments, consider alternative methods, such as using third-party services (we will also talk about them).
Why ADB? Pros and cons of the method
Unlocking through Android Debug Bridge (ADB) isnβt the most obvious way, but it has advantages over the standard Mi Unlock Tool:
- π Bypassing restrictions: Xiaomiβs official tool can block unlocking on older devices or those tied to a Mi Account. ADB This allows you to bypass these checks.
- π± It works on any firmware, even if your Redmi 6A I havenβt received any updates for a long time, the method remains relevant.
- π§ More control: You see all commands and can interrupt the process at any stage.
However, there are also disadvantages:
- β οΈ Difficulty for beginners: requires working with the command line and understanding the basic principles ADB.
- π¨ Error risk: One incorrect command can cause a device to reset or fail.
- β³ Additional steps: often you need to get permission to unlock through your Xiaomi account.
Preparation of the device: what to do before unlocking
Before starting the procedure, make sure your Redmi 6A is ready to unlock.Passing at least one item may result in errors or inability to complete the process.
Battery charge β₯ 70%|Developer mode is on|Debugging is permitted. USB|Drivers installed ADB|Data backup created|Mi Account is untied (if possible)-->
Details on each item:
- Turn on Developer Mode: Go to Settings β About Phone and 7 times click on the MIUI Version. After that, the Settings menu β Additional item For Developers will appear.
- Activate USB debugging: In the For Developers section, find the USB debugging option and turn it on. Confirm permission when you connect to your PC.
- Allow OEM unlocking: In the same section, find OEM Unblock and activate it. If the option is inactive, then the bootloader is already unlocked or you need to link to your Mi Account.
- Install ADB drivers: download Googleβs Platform Tools and unpack the archive. Xiaomi drivers can be found on the official website or via the Mi PC Suite.
β οΈ Note: If you previously linked your device to your Mi Account, unlock through ADB may require confirmation through SMS If you don't, you'll end up with a Couldn't unlock error. β Mi Account.
Installation and configuration of ADB on PC
To work with ADB You'll need a computer running Windows, macOS or Linux. The instructions below are general, but the commands are for you to use. macOS/Linux They may be different (specified separately).
Step 1: Download Platform Tools
Googleβs official tools include adb and fastboot, which are the ones you need to unlock. Download the archive from the Android developer site and unpack it into a convenient folder (e.g., C:\platform-tools).
Step 2: Checking the device connection
Get Redmi on board. 6A PC-only USB-cable (preferably original) Open the command line (Win) + R β cmd) and go to the folder with the platform-tools:
cd C:\platform-toolsThen run the command to check the connection:
adb devicesIf the device appears in the list (with the series number), the connection is successful. If not, check the drivers or cable.
Step 3: Going to Fastboot Mode
To unlock the bootloader, you need to transfer the smartphone to fastboot mode.
adb reboot bootloaderThe device will reboot into a black screen with the words FASTBOOT and the Mi Bunny logo, and you can now proceed to unlock.
π‘
If the adb reboot bootloader command doesn't work, try turning off the phone and pinching Power + Volume down for 10 seconds. This will force fastboot mode to start.
Unlocking the bootloader through ADB: step-by-step instructions
Now, the main thing is to unlock the bootloader, which consists of two steps: obtaining permission from Xiaomi (if required) and directly unlocking through fastboot.
Step 1: Getting permission to unlock (if necessary)
Starting in 2018, Xiaomi has made it mandatory to link devices to a Mi Account to unlock.If your Redmi 6A is purchased after that date, you will likely need to:
- Sign in to your Mi Account on your phone.
- Link the device to your account in Settings β Mi Account β Security.
- Wait 72-168 hours (depending on Xiaomi policy)
If you miss this step, the unlock command will end with the error Device is not bound.
Stage 2: Unlocking commands
When the device is in fastboot mode, execute in the command line:
fastboot oem unlockA warning will appear on your phone screen. With the volume buttons, select Unlock the bootloader and confirm with the power button.
If the process is successful, you'll see OKAY message in the console. Now the bootloader is unlocked! However, on Redmi 6A, you may need an additional command to reset the protection:
fastboot oem unlock-goβ οΈ Warning: Once unlocked, the device will reset to factory settings. All data (photos, contacts, apps) will be deleted. If you didn't have a backup, it won't be possible to restore it.
What if the fastboot oem unlock command doesnβt work?
Addressing common mistakes
Even with the right instructions, there can be errors, and we've collected the most common problems and ways to solve them:
| Mistake. | Reason. | Decision |
|---|---|---|
| waiting for device | ADB does not see the device | Check the cable, drivers, debugging resolution via USB |
| Device is not bound | The device is not linked to the Mi Account | Link your account and wait 72β168 hours |
| Command not allowed | Unlocking through ADB is prohibited | Use Mi Unlock Tool or Unofficial Methods |
| Invalid token | Wrong unlock token | Get a new token through the Mi Unlock Tool |
If none of these methods worked, try:
- π Reinstall drivers ADB manually through Device Manager.
- π± Use the other USB-cable (preferably original).
- π₯οΈ Try another computer (sometimes the lock is linked to the computer). IP region).
π‘
On the Redmi 6A with MIUI 9-11 firmware, unlocking through ADB may require an additional command to fastboot flashing unlock instead of the standard fastboot oem unlock.
Alternative methods of unlocking
If the ADB unlock fails, consider alternative ways to do so:
- π Official Mi Unlock Tool: Despite the limitations, it is the most reliable method).
- π οΈ Unofficial services: some sites offer unlocking for a fee (e.g. MiFlashPro or UnlockBoot) Risky but fast.
- π± Exploits for old firmware: on MIUI 9-10 vulnerabilities exist to bypass account verification. XDA Developers or 4PDA.
Before using informal methods, assess the risks:
- π« Possible loss of guarantee.
- π Risk of installing malware (if you download tools from questionable sources).
- π₯ Probability of "bricking" of the device in case of error.
If you decide to unblock informally, be sure to:
- Check out the reviews on independent sites.
- Use a virtual machine or a separate PC for security.
- Create a full backup of your data (if the device is still running).
What to do after unlocking the loader
When the bootloader is unlocked, you have new opportunities, but also new risks.
- π Install custom recovery: for example, TWRP. This will allow you to create backup copies and install informal firmware.
- π± Update the firmware: official updates for Redmi 6A They have long ceased, but there are custom builds based on LineageOS or Pixel Experience.
- π Get root rights: With Magisk you can customize your system deeply, but be aware of the security risks.
- π‘οΈ Set up protection: unlocked bootloader makes the device vulnerable, install a reliable antivirus and do not install software from dubious sources.
If you plan to sell or transfer the device, we recommend:
- Return the standard recovery (so that the new owner does not run into problems).
- Complete the reset via fastboot:
fastboot erase userdata
fastboot erase cacheThis will remove all data, including traces of unlocking.
π‘
Once the bootloader is unlocked, Redmi 6A may start showing a boot warning ("Your device has been unlocked...") This is normal and does not affect work. To remove a message, you need to reflash logo.bin via fastboot, but this is not recommended for beginners.