Unlocking Xiaomi Redmi 6A bootloader via ADB: Full Guide 2026

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.
πŸ“Š You have already tried to unlock the bootloader on Xiaomi?
Yes, through the Mi Unlock Tool.
Yes, through ADB.
No, it's my first time.
I tried it, but it didn't work.

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:

  1. 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.
  2. 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.
  3. 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.
  4. 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-tools

Then run the command to check the connection:

adb devices

If 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 bootloader

The 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:

  1. Sign in to your Mi Account on your phone.
  2. Link the device to your account in Settings β†’ Mi Account β†’ Security.
  3. 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 unlock

A 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?
If you see an FAILED error (remote: 'Command not allowed'), your device requires official permission via the Mi Unlock Tool. In this case: 1. Download the Mi Unlock Tool from the official website. 2. Log in to the same Mi Account as your phone. 3. Connect the device in fastboot mode and follow the instructions of the program. 4. If the tool gives an error about waiting, wait for the specified time (usually 7 days) and try again.

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 deviceADB does not see the deviceCheck the cable, drivers, debugging resolution via USB
Device is not boundThe device is not linked to the Mi AccountLink your account and wait 72–168 hours
Command not allowedUnlocking through ADB is prohibitedUse Mi Unlock Tool or Unofficial Methods
Invalid tokenWrong unlock tokenGet 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:

  1. Check out the reviews on independent sites.
  2. Use a virtual machine or a separate PC for security.
  3. 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:

  1. Return the standard recovery (so that the new owner does not run into problems).
  2. Complete the reset via fastboot:
fastboot erase userdata


fastboot erase cache

This 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.

FAQ: Frequent questions about unlocking Redmi 6A

Can I unlock the bootloader without being tied to my Mi Account?
On devices released before 2018, you can sometimes bypass the binding through exploits or informal tools. However, on the Redmi 6A (2018 release), this is unlikely β€” Xiaomi has tightened checks. If the phone is not tied to the account, try unlocking through ADB immediately. If you are tied, you will have to wait 7 days.
Why does the phone not turn on after unlocking?
This can be caused by: interruption of the unlocking process (for example, disconnecting the cable); installation of incompatible firmware after unlocking; failure of fastboot; Solution: try to reflash the device through the Mi Flash Tool in EDL mode; if it does not help, contact the service center.
Can I lock the bootloader back?
Yes, it is possible through the command: fastboot oem lock However, note: All data will be deleted. If you installed custom firmware, the device may stop booting. On some versions of MIUI, the lock may require resetting through the Mi Flash Tool.
Unlocking the bootloader removes the warranty?
Officially, yes. Xiaomi considers unlocking a breach of warranty. However, in practice: If the device is not bricked, service centers may turn a blind eye to unlocking when repairing for other reasons (e.g., changing the screen), you can temporarily lock the bootloader before visiting the service (see previous question).
What is the best custom firmware to put on Redmi 6A after unlocking?
For Redmi 6A (codename cactus) fit: LineageOS 16/17 (Android 9/10) β€” stable, but without GApps. Pixel Experience β€” firmware with interface from Google Pixel. Havoc-OS β€” customizable firmware with many functions. MIUI Pro β€” modified version of the standard MIUI without advertising. Before installing check compatibility on the forum XDA or 4PDA. Note that custom firmware may work slower than standard due to the weak hardware Redmi 6A.