TL;DR: Bootloader unlocking disables the manufacturer lock that forces your phone to run only its own signed firmware, letting you flash custom ROMs like GrapheneOS or root with Magisk. It needs an "OEM unlocking" toggle plus the fastboot "flashing unlock" command, wipes all data, trips verified boot, and breaks strong Play Integrity.

By the PrivacyPortal team · Last updated June 2026.
So, what is bootloader unlocking in plain terms? Every Android phone ships with a bootloader — the low-level code that runs before Android and decides which software is allowed to start. By default that bootloader is locked, so it will only boot firmware cryptographically signed by the manufacturer. Bootloader unlocking is the deliberate process of switching that lock off so your device will boot software you choose: a custom ROM such as LineageOS or GrapheneOS, a patched boot image, or a root solution like Magisk. On modern Android it takes two things working together — an "OEM unlocking" toggle in Developer options and the fastboot flashing unlock command — and it always erases your data.
The bootloader, explained
To understand unlocking, it helps to have the bootloader explained simply. Think of the bootloader as the bouncer at the door of your phone's operating system. It is the first piece of code to run when you press power, and its job is to start the next stage of boot only if that software passes a signature check.
What the bootloader actually does
When your phone powers on, the bootloader initialises core hardware and then hands control to the kernel and Android. Crucially, it enforces verified boot: it checks that the boot image and system partitions are signed by the manufacturer and have not been tampered with. If anything fails the check on a locked device, the phone refuses to boot. This chain of trust is the foundation of Android's on-device security, and it is documented in detail in Android's Verified Boot documentation.
Locked vs unlocked bootloader
The difference between a locked vs unlocked bootloader is simply what the bouncer will let in. A locked bootloader accepts only the maker's signed firmware. An unlocked bootloader will boot unsigned or third-party images too — a custom ROM, a modified kernel, or a patched boot image for root. Unlocking does not "hack" anything; it is an intentional, manufacturer-provided switch that says: "I accept responsibility for what runs on this device."
Image: the orange "your device has been unlocked and can't be trusted" warning screen shown at every boot after unlocking.
Why unlock the bootloader?
The honest answer to "why unlock bootloader" is control. With a locked device you run what the maker ships and updates on their schedule. Unlocking opens four practical doors:
- Custom ROMs — install a privacy-focused OS like GrapheneOS (Pixel only) or de-Googled builds of LineageOS to escape vendor bloat and tracking.
- Root access — use Magisk, KernelSU or APatch to remove system apps, automate tasks, firewall at the network level, or back up app data fully.
- Longevity — keep a phone secure with community updates years after the manufacturer drops it.
- Repair and recovery — flash factory images to revive a soft-bricked device.
If your goal is a private, de-Googled phone specifically, our step-by-step GrapheneOS install guide picks up exactly where unlocking ends.
What actually happens when you unlock
Unlocking is powerful, but it is not free of consequences. Here is what actually happens, in practice:
- A full factory-data wipe. Unlocking erases all user data by design — this prevents a thief from unlocking a stolen, locked phone to bypass your lock screen. The wipe is non-negotiable and irreversible.
- Verified boot drops to the "orange" state. The device sets ro.boot.flash.locked=0 and shows a warning screen at every boot. Your data partition is no longer protected by the same hardware-backed guarantees.
- Play Integrity changes. An unlocked bootloader is fundamentally visible to attestation.
- Warranty and OTA. Depending on your region and maker, unlocking may affect warranty cover, and official over-the-air updates can behave differently once you modify the boot image.
An unlocked bootloader sets ro.boot.flash.locked=0 and can never return the hardware-backed MEETS_STRONG_INTEGRITY verdict in Google's Play Integrity API.
That last point matters for banking, Google Wallet and some streaming apps. We cannot promise any method defeats a specific bank's checks — see Google's Play Integrity API documentation and our own guide to Play Integrity and banking apps for the current reality.
Which phones can still be unlocked in 2026
The landscape has tightened sharply. Years ago almost every phone could be unlocked; in 2026 it depends heavily on the brand. This is the single most important thing to check before you buy a phone to modify.
| Manufacturer | Unlockable in 2026? | What to expect |
|---|---|---|
| Google Pixel | Yes — reliably | OEM toggle + fastboot flashing unlock. Officially supported; best for GrapheneOS. |
| Samsung (Global) | No on One UI 8+ | OEM-unlock toggle removed entirely. |
| Samsung (US/Canada Snapdragon) | No | Were never unlockable by design. |
| Xiaomi / Redmi / POCO | Yes, restricted | Mi Unlock tool, account binding and long mandatory waiting periods. |
| Motorola / OnePlus / Nothing | Varies by model | Often fastboot-based; carrier variants frequently blocked. Verify on the maker's site. |
| Fairphone | Yes | Supported, including /e/OS. |
Samsung removed the OEM-unlocking toggle entirely starting with One UI 8, and US and Canada Snapdragon Galaxy models were never unlockable in the first place.
If a brand isn't a Pixel, treat unlockability as "unconfirmed until you've read the official documentation for your exact model and region." Policies change between firmware versions.
Image: a Pixel in fastboot mode beside a laptop terminal showing the fastboot flashing unlock command.

Should you unlock? A 60-second decision framework
Run through these questions honestly before you start:
- Have you backed up everything? No backup = don't proceed. The wipe is total.
- Do you rely on apps that demand strong integrity? If a critical banking or work app must pass hardware attestation, unlocking may break it with no guaranteed workaround.
- Is your exact model unlockable? Confirm before buying or starting.
- Are you comfortable using a terminal and recovering from mistakes? If a failed flash would leave you stranded, build your confidence first.
If you want the privacy benefits without the risk, that's a legitimate choice. PrivacyPortal sells pre-configured de-Googled phones with a private OS already installed — a calm middle path for people who'd rather not flash anything themselves.
How to unlock your bootloader: step-by-step
This is the general fastboot process used by Pixels and most fastboot devices. Commands and key combinations vary slightly by manufacturer, so cross-check your model's official instructions.
Prerequisites:
- A full backup of photos, files and especially your two-factor authenticator seeds — unlocking wipes the device.
- A computer (Windows, macOS or Linux) and a known-good USB-C data cable.
- The official Android SDK Platform Tools (this provides adb and fastboot). Use the latest version — old fastboot binaries fail on new devices.
- Phone charged above 50%.
- Back up everything now. Treat the phone as if it will be wiped, because it will be.
- Install Platform Tools. Download and extract the SDK Platform Tools to a folder you can find easily.
- Enable Developer options. Go to Settings > About phone and tap Build number seven times.
- Turn on OEM unlocking. In Settings > System > Developer options, enable OEM unlocking and USB debugging. If "OEM unlocking" is greyed out, your model or carrier disallows it — stop here.
- Authorise the connection. Connect the phone, open a terminal in the platform-tools folder, run adb devices, and accept the RSA prompt on the phone.
- Reboot to the bootloader. Run adb reboot bootloader. The phone shows the fastboot/bootloader screen.
- Confirm fastboot sees it. Run fastboot devices — you should see your serial number.
- Send the unlock command. Run fastboot flashing unlock (some older devices use fastboot oem unlock).
- Confirm on the phone. Use the volume keys to highlight "Unlock the bootloader" and press power. The device wipes and reboots.
Verification: After it reboots you'll see the orange unlocked-warning screen at every startup. To confirm in software, run adb shell getprop ro.boot.flash.locked — it should return 0. In fastboot, fastboot getvar unlocked returns yes. Your bootloader is now unlocked.
Image: a phone showing the unlocked-state confirmation alongside a getprop ro.boot.flash.locked output of 0.
Common bootloader-unlocking pitfalls
- Skipping the backup. The number-one regret. Authenticator seeds and DRM-bound files are easy to forget.
- Relocking with custom software still installed. Running fastboot flashing lock while a non-stock or unsigned boot image is present can hard-brick the device. Return to stock first.
- Assuming OTAs "just work." A modified boot image usually breaks automatic updates until you restore stock and re-patch.
- Expecting banking and Wallet to be unaffected. Unlocking is visible to attestation; plan for some apps to complain.
- Buying the wrong phone. Many 2026 Samsung and carrier-locked models simply cannot be unlocked.
- Outdated tools or a charge-only cable. Old platform-tools and dodgy cables cause mysterious failures — update and use a data cable.
After unlocking: your rooting options
Unlocking only opens the door — it does not root your phone or install a ROM by itself. Once unlocked, the main 2026 root paths are Magisk (the long-standing systemless approach that patches the boot image), KernelSU and KernelSU-Next (kernel-level root), and APatch (a newer kernel-patching option). Each has trade-offs around device support and hiding modifications.
Magisk, KernelSU, KernelSU-Next and APatch all share one hard prerequisite in 2026: the bootloader must be unlocked first.
For the most common route, follow our Magisk rooting walkthrough, and grab the exact files from the Modules, apps & files to try section below so you know precisely what to download. The Magisk project is maintained openly on topjohnwu's GitHub if you want to verify releases yourself.
Frequently asked questions
Does unlocking the bootloader delete everything?
Yes. Unlocking forces a full factory-data wipe every time, with no exception, as a deliberate anti-theft measure. Back up your photos, files and two-factor authenticator seeds before you start.
Is bootloader unlocking the same as rooting?
No. Unlocking removes the restriction on what firmware can boot. Rooting (with Magisk, KernelSU or APatch) is a separate step you perform after unlocking to gain administrator access inside Android.
Will my banking apps stop working after I unlock?
They might. An unlocked bootloader cannot pass the hardware-backed MEETS_STRONG_INTEGRITY verdict, and some banking, payment and streaming apps check for it. We can't promise any method defeats a specific bank's detection — test your essential apps before committing.
Can I relock the bootloader later?
Usually yes, but carefully. Return the device to its original signed firmware first; relocking with custom or unsigned images installed can permanently brick the phone. Relocking does not "un-wipe" anything.
Does unlocking void my warranty?
It depends on your manufacturer and country. Some honour hardware warranties regardless; others treat unlocking as grounds to refuse software-related claims. Check your maker's policy for your region before proceeding.
Which phone is easiest to unlock in 2026?
Google Pixels remain the most reliably unlockable phones, with an officially supported toggle and fastboot command — which is also why they're the recommended choice for GrapheneOS.
PrivacyPortal sells ready-to-use, de-Googled GrapheneOS Pixels — hardened, kept updated, and shipped with our encrypted Graphite messenger. Browse privacy phones →
Want it done for you?
Compare rooted Android phones with model-specific Magisk configurations. Each listing states the exact hardware, storage, condition and included setup.
