Unlock Bootloader for Almost any Android Device

5 min

So you want to unlock your Android bootloader? Maybe you’re eyeing custom ROMs, thinking about rooting with Magisk, or just want full control over your device. Whatever the reason, unlocking the bootloader is your first step into proper Android customization.

I’ve done this on multiple devices over the years, and honestly, it’s not as scary as it sounds. But it does require following steps carefully and understanding what you’re getting into. Let me walk you through the entire process.

What You’ll Actually Get From This

Once your bootloader is unlocked, you can:

  • Install custom recoveries like TWRP or OrangeFox
  • Root your device using Magisk or KernelSU
  • Flash custom ROMs (LineageOS, GrapheneOS, whatever you want)
  • Modify kernels for better performance or battery life
  • Make deep system modifications that locked devices can’t touch

The Stuff Nobody Tells You (But Should)

Before you start, know that unlocking your bootloader comes with trade-offs:

  • OTA updates might stop working properly or fail completely
  • Banking apps and payment apps often detect unlocked bootloaders and refuse to work (some can be fixed with root hiding, some can’t)
  • Your warranty is probably void the moment you unlock (check your manufacturer’s policy)
WARNING

Unlocking your bootloader will completely wipe your device . Everything. Photos, apps, messages, all of it. Back up anything you care about before starting. I’m not kidding about this.

Which Manufacturers Actually Let You Do This?

Not all Android devices play nice with bootloader unlocking. Here’s the reality:

ManufacturerMethodWaiting PeriodThings to KnowSuccess Rate
Google PixelFastboot commandNoneEasiest process, no restrictions99%
OnePlusFastboot commandNoneStraightforward, no hassle95%
NothingFastboot commandNoneSmooth process90%
Xiaomi/Redmi/POCOMi Unlock Tool7-30 daysNeed Mi Account, forced waiting period85%
MotorolaUnlock codeNoneWorks but shows permanent warning on boot80%
SamsungUnofficial (Odin)NoneOnly Exynos chips, trips Knox permanently60%
HuaweiNot possibleN/ACompletely blocked since 20180%
IMPORTANT

If you bought your phone from a US carrier (Verizon, AT&T, T-Mobile), there’s a good chance your bootloader is locked permanently. Carrier models are notoriously difficult or impossible to unlock. Always verify your specific model number online before attempting this.

Prerequisites

You’ll need a few things ready before starting:

  • Your Android device with at least 50% battery (seriously, don’t risk it dying mid-process)
  • A decent USB cable that actually transfers data (not just a charging cable)
  • A computer running Windows, macOS, or Linux
  • OEM unlocking enabled on your device (here’s how)
  • USB debugging enabled on your device (guide here)
  • Android SDK Platform Tools installed on your computer (setup guide)
  • USB drivers installed as per Android device’s manufacturer for Windows only (guide here)

If you haven’t enabled OEM unlocking or USB debugging yet, do that first. You can’t proceed without them.

Step 1: Get Your Device Into Fastboot Mode

First, connect your phone to your computer using the USB cable.

When you plug it in, your phone will ask what type of connection you want. Select File Transfer (sometimes called MTP). This is important because charging-only mode won’t work.

You’ll also see a popup asking to allow USB debugging. Tick the box that says “Always allow from this computer” and hit OK. This saves you hassle later.

Now open a terminal or command prompt on your computer and enter below command:

adb reboot bootloader

Your phone should reboot and land in Fastboot Mode. You’ll see a screen that looks different from your normal Android interface, usually with some text and maybe an Android logo.

To make sure your computer can actually see your device in Fastboot Mode, run:

fastboot devices

You should see your device ID show up. If nothing appears, your drivers aren’t working properly or your cable is dodgy.

Step 2: Unlock the Bootloader

This is the main event. Run this command:

fastboot flashing unlock
NOTE

If you have an older device (launched before 2015), you might need this command instead:

fastboot oem unlock

Your phone’s screen will now show a confirmation message. It usually says something about voiding your warranty and wiping all your data. This is your last chance to back out.

Use the Volume Up/Down keys to highlight the “Unlock the bootloader” option, then press the Power button to confirm.

The device will now unlock and wipe itself. This takes a minute or two. Don’t panic if it seems stuck, just let it do its thing.

Once it’s done, your device will reboot back to Fastboot Mode. This time, you should see “Device State: Unlocked” somewhere on the screen. That’s how you know it worked.

To boot back into Android, either press the Power button once (which usually selects “Start” or “Reboot”) or run this command:

fastboot reboot

Your phone will boot up like it’s brand new because, well, it just wiped everything. Go through the setup process again.

Unlock Critical Partitions (If Required)

Some devices, particularly Nothing phones and Fairphones, also lock something called “critical partitions.” If you’re planning to flash custom ROMs or recoveries on these devices, you need to unlock those too.

WARNING

This will wipe your device again , so only do this right after unlocking the bootloader (while everything is already wiped) or back up your stuff first.

Boot back into Fastboot Mode:

adb reboot bootloader

Then run:

fastboot flashing unlock_critical

You’ll get another confirmation screen. Use Volume keys to select the unlock option and Power button to confirm, just like before.

Once it finishes, reboot to Android:

fastboot reboot

And that’s it. Both your bootloader and critical partitions are now unlocked.

What Happens Next?

After unlocking, your device might show a warning every time it boots. This is normal and can’t be removed without relocking the bootloader (which defeats the point). Some manufacturers show a brief message, others show a full-screen warning for a few seconds.

You’re now free to flash custom recoveries, root your device, or install custom ROMs. Just remember that with great power comes great responsibility (and the occasional bootloop if you flash something dodgy).

If you ever want to relock your bootloader later, you can usually do it with fastboot flashing lock, but be aware that this will wipe your device again and might cause issues if you have custom software installed.

Stay safe, back up regularly, and have fun modding your device 🔧