Unlock Bootloader on Android — Brand-by-Brand Guide (2026)
Unlock the bootloader on Samsung, Xiaomi, OnePlus, Pixel and Motorola — exact steps per brand, OEM unlock waiting period, and what gets wiped in each case.
Table of Contents
- What you need before you start
- Universal pre-flight (do this first on every brand)
- Samsung (Galaxy S, A, Note, Z, Tab)
- Steps
- Samsung-specific caveats
- Xiaomi, Redmi and POCO
- Steps
- Xiaomi-specific caveats
- OnePlus
- Steps
- OnePlus-specific caveats
- Google Pixel
- Steps
- Pixel-specific caveats
- Motorola
- Steps
- Motorola-specific caveats
- After unlock — what changes permanently
- Common pitfalls and how to avoid them
- When to call a professional
Unlocking the Android bootloader is the first step for almost every advanced modification — root access via Magisk or KernelSU, custom recovery flashing, custom ROM installs, and certain advanced repair procedures. The process is fundamentally similar across brands but each manufacturer adds its own twist: Samsung uses an on-device warning screen, Xiaomi enforces a multi-day waiting period, Pixel uses standard fastboot, OnePlus is the most permissive, and Motorola requires a per-device unique code from the manufacturer’s website. This guide covers the exact procedure for each major brand in 2026.
What you need before you start
Regardless of brand, you need the following ready before triggering an unlock:
- A complete, verified backup of all photos, contacts, app data, two-factor authentication seeds, password manager vaults and any local files. Verify by checking that you can restore at least one item from the backup before you unlock.
- A PC with platform-tools installed (adb and fastboot). Download from developer.android.com/tools/releases/platform-tools. Add the folder to your PATH or run commands from inside it.
- A working USB-C or USB-A to USB-C cable rated for data, not just charging. Many cheap charging-only cables will fail the fastboot handshake.
- At least 50 percent battery on the device to avoid a flat-battery interruption during the wipe.
- A Google account signed in on the device — required by every major brand to enable OEM unlocking.
Universal pre-flight (do this first on every brand)
These steps apply to every brand below. Do them once before you switch to your brand-specific section.
-
Enable Developer options
Settings → About phone → tap Build number seven times. You'll see a 'You are now a developer' toast.
-
Enable OEM unlocking
Settings → System → Developer options → toggle OEM unlocking ON. Confirm the system warning. If the toggle is greyed out, sign in to Google, connect to mobile or Wi-Fi data, and wait 24 hours.
-
Enable USB debugging
Same Developer options screen → toggle USB debugging ON.
-
Connect to PC and authorise
Plug the phone into your PC. Run 'adb devices' from the platform-tools folder. The phone shows an 'Allow USB debugging' prompt — tap Always allow and OK. Re-run adb devices and confirm the phone is listed as 'device' (not 'unauthorized').
-
Reboot to bootloader/fastboot mode
Run 'adb reboot bootloader' from the PC. The phone reboots into the brand's fastboot screen.
Now follow the section for your specific brand.
Samsung (Galaxy S, A, Note, Z, Tab)
Samsung uses download mode rather than fastboot, and the unlock is triggered on-device rather than via PC. This is the only major brand where you do not need a PC for the actual unlock step.
Steps
- Power the phone off completely.
- Hold Volume Down + Volume Up + Power simultaneously (or Volume Up + Bixby + Power on older devices). Plug into a PC or any USB cable while holding.
- Release when the warning screen appears.
- Long-press Volume Up for 10 seconds at the warning screen. The device prompts for OEM unlock confirmation.
- Press Volume Up to confirm. The device wipes userdata and reboots.
- Complete the setup wizard. The Knox e-fuse is now permanently tripped.
Samsung-specific caveats
- Knox e-fuse is one-way. Tripping it disables Samsung Pay, Samsung Health for some features, Secure Folder, and any banking apps that check Knox status. There is no way to untrip it short of motherboard replacement.
- OEM unlocking is regional. US-carrier Samsung devices (Verizon, AT&T) do not show the OEM unlocking toggle and cannot be officially unlocked. International unlocked Samsung models (SM-XXXX without a carrier suffix) are unlockable.
- Snapdragon vs Exynos — both unlock the same way. The downstream root and custom-ROM ecosystems differ significantly; check XDA for your specific model code before unlocking.
Xiaomi, Redmi and POCO
Xiaomi enforces a mandatory waiting period between binding your Mi Account to the device and being allowed to unlock. The countdown is non-negotiable.
Steps
- Sign in to a Mi Account on the device. Use a Mi Account that is at least 30 days old to qualify for the shorter 72-hour waiting period; brand-new accounts wait 7 days.
- Settings → Additional Settings → Developer options → Mi Unlock status. Tap Add account and device and confirm. The device is now bound to your Mi Account.
- Wait the required period (72 hours or 7 days). The countdown starts the moment you bind.
- Download the Mi Unlock Tool from
en.miui.com/unlockto a Windows PC. Sign in with the same Mi Account. - Reboot the phone into fastboot — power off, then hold Volume Down + Power for 10 seconds.
- Connect to PC. The Mi Unlock Tool detects the device.
- Click Unlock. The tool checks the waiting period server-side; if the time is up, it triggers the unlock and wipes the device.
Xiaomi-specific caveats
- Anti-rollback fuses on newer chipsets prevent flashing older firmware. Once unlocked on HyperOS, you may not be able to downgrade to MIUI 14 even with the bootloader unlocked.
- Mi Account binding is per-device-per-account. If you change Mi Accounts, the new account must wait the full period again before it can unlock.
- Some 2024-2026 models in China have unlock disabled entirely. Check community forums for your exact model before assuming unlock is possible.
OnePlus
OnePlus has historically been the most root-friendly major brand. Standard fastboot unlock with no waiting period.
Steps
- Complete the universal pre-flight steps above.
- With the phone in fastboot mode, on the PC run:
On newer OnePlus devices (OnePlus 8 and later), use:fastboot devices fastboot oem unlockfastboot flashing unlock - The phone displays an unlock confirmation screen.
- Use volume keys to highlight Yes and press Power to confirm.
- The device wipes and reboots into setup.
OnePlus-specific caveats
- OxygenOS vs ColorOS-based OxygenOS. Post-merger OnePlus devices share more code with ColorOS and the unlock-and-root experience is closer to Oppo than to legacy OnePlus. Module compatibility may be reduced.
- Indian and Chinese variants sometimes have additional regional restrictions; check community resources first.
Google Pixel
The cleanest, most documented unlock procedure. Pixel devices are designed to support this workflow.
Steps
- Complete the universal pre-flight steps above.
- With the phone in fastboot mode, on the PC run:
fastboot flashing unlock - The phone displays the unlock confirmation screen.
- Use volume keys to highlight Unlock the bootloader and press Power to confirm.
- The device wipes and reboots.
Pixel-specific caveats
- Carrier-locked Pixels (US) cannot be unlocked. Verizon and some AT&T Pixel devices have OEM unlocking permanently disabled at the carrier level.
- Pixel 7 and later use a-only partition layout for some workloads. Check the latest Magisk and KernelSU compatibility notes for your exact Pixel generation before flashing root.
- Re-locking with custom firmware is possible on Pixel by flashing the AVB key, but doing so locks the phone to that custom firmware permanently. This is an advanced workflow, not for first-time rooters.
Motorola
Motorola requires a per-device unlock code generated on Motorola’s website. The code is unique to your device’s serial number and must be issued before the unlock command will succeed.
Steps
- Complete the universal pre-flight steps above.
- With the phone in fastboot mode, on the PC run:
Copy the long string output (without spaces; concatenate the multiple lines into a single string).fastboot oem get_unlock_data - Visit
motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-aon the PC. - Sign in with a Motorola account. Paste the unlock data string. Submit.
- Motorola emails a per-device unlock code (usually within 5 to 30 minutes). Check spam folders.
- Back at the PC with the phone still in fastboot mode:
fastboot oem unlock <UNLOCK_CODE_FROM_EMAIL> - Confirm on-device. The device wipes and reboots.
Motorola-specific caveats
- Some carrier variants are blocked. US-locked Motorolas often cannot be unlocked even with a valid code.
- Unlock code is one-time per device. If you relock and want to unlock again, you must re-request the code (and Motorola sometimes refuses repeat requests).
After unlock — what changes permanently
Bootloader unlock leaves visible traces on the device that you cannot fully remove:
- Boot warning screen — every cold boot displays a warning (“Your device is unlocked and cannot be trusted”) for 5 to 10 seconds before continuing into Android.
- Knox status (Samsung) — flips to “0x1” permanently. Visible in Settings → About phone → Software information.
- AVB / verified boot status — most brands show some form of “verified boot status: orange” or “device state: unlocked” when checked.
- Play Integrity — basic verdict can usually be passed with Magisk + Play Integrity Fix module; strong verdict and hardware attestation are harder.
- Some banking and payment apps will refuse to run until you configure DenyList or root-hiding properly.
These are unavoidable consequences of the unlock — they exist to alert a future user (or thief) that the device’s software environment is no longer trusted by the manufacturer.
Common pitfalls and how to avoid them
- Do not skip the backup step. “I’ll just back up tomorrow” is how people lose 5 years of photos. Verify your backup before unlocking.
- Do not use a charging-only cable. Test the cable with
adb devicesfirst; if the phone is not detected, the cable is suspect. - Do not unlock during a battery low warning. A flat battery mid-wipe can leave the device in an inconsistent state. Charge to at least 60 percent first.
- Do not assume relock fully reverses unlock. On most brands it does not — Knox stays tripped, anti-rollback stays set, device-state flag is logged.
- Do not unlock a phone you do not own. Unlocking wipes the device, including the original owner’s data. If you bought a second-hand phone with an account lock, get it cleared properly first via Mi Account recovery or the equivalent for your brand.
When to call a professional
If you are unsure about any step, on a carrier-restricted variant, dealing with an anti-rollback or Knox-related rejection, or want a guided unlock with Magisk pre-installed and configured for banking-app compatibility — message us on WhatsApp or Telegram. Most unlock-and-root jobs finish remotely in 60 to 120 minutes with a verified, banking-app-friendly setup at the end. See our Android rooting service for what is included.
Frequently Asked Questions
Will unlocking the bootloader erase my Android phone?
Yes, on every brand without exception. Bootloader unlock wipes the userdata partition completely — photos, apps, accounts, settings, all gone. This is a security feature so a thief cannot unlock and access your data. Always back up everything to two separate destinations before you start, and verify the backup is complete before you trigger the unlock.
Does unlocking the bootloader void my Android warranty?
On most brands yes, in practice. Samsung's Knox security e-fuse trips permanently and the warranty is voided for software-related issues. Xiaomi's anti-rollback flag is set. Pixel and OnePlus do not have a hardware fuse but the unlock state is logged and warranty is typically refused for issues that could be related. Hardware-only failures (battery swelling, screen failure) are sometimes still honoured at the manufacturer's discretion.
How long does the Xiaomi bootloader unlock waiting period last?
Xiaomi enforces a 7-day waiting period for accounts under 30 days old, dropping to 72 hours for older accounts on most regions. The countdown only starts after you bind your Mi Account to the device via the Mi Unlock app. The waiting period is a fraud-prevention measure and cannot be bypassed officially. Plan ahead — start the countdown a week before you need to unlock.
Can I relock the bootloader after unlocking?
On Pixel and OnePlus, yes — fastboot flashing lock relocks and wipes the device again. On Samsung, the Knox fuse cannot be untripped even after relock. On Xiaomi, you can relock via the Mi Unlock Tool but the anti-rollback flag remains set, which can cause issues with future firmware downgrades. Relocking generally improves Play Integrity verdicts but does not fully restore the original locked state on most brands.
Do I need a computer to unlock the bootloader on Samsung?
No. Samsung is the only major brand that does not require a PC for bootloader unlock — the unlock prompt appears at the device's download mode warning screen, and you confirm with Volume Up. You will need a PC later for flashing custom firmware via Odin or for installing Magisk, but the unlock itself is on-device.
Why is OEM unlocking greyed out on my Android phone?
Three usual culprits — you have not signed in to a Google account on the device (required by most brands as a fraud check), the device has no SIM or has not connected to mobile/Wi-Fi data in the past 24 hours, or the carrier has disabled OEM unlocking on a carrier-locked variant (especially common on US carrier Pixels and some Verizon Samsungs). Sign in to Google, connect to data, wait 24 hours, and retry. Carrier-locked variants may require a separate carrier unlock first.