Skip to content

Bootloader Unlocking Guide

Complete guide to understanding and unlocking Android bootloaders - the essential first step for rooting, custom ROMs, and advanced Android customization.

Table of Contents

Quick Start

New to bootloader unlocking? Here's your roadmap:

  1. 🔍 Understand what bootloaders are - Learn the basics
  2. ⚠️ Read important warnings - Know the risks
  3. 📋 Complete prerequisites - Prepare your device and tools
  4. 🛠️ Follow universal preparation - Enable developer options and ADB
  5. 📱 Use manufacturer-specific guide - Unlock your device
  6. Complete post-unlock steps - Verify and secure your device

What is a Bootloader?

A bootloader is a small program that runs when your Android device powers on. Think of it as the gatekeeper that:

  • Starts the operating system - Loads Android when you turn on your device
  • Verifies system integrity - Checks that the software hasn't been tampered with
  • Controls what can run - Determines which operating systems and recovery modes are allowed
  • Manages security - Enforces manufacturer restrictions and security policies

Locked vs Unlocked Bootloaders

Locked BootloaderUnlocked Bootloader
✅ Maximum security✅ Full customization freedom
✅ Official updates work seamlessly✅ Can install custom ROMs
✅ Banking apps work without issues✅ Can install custom recovery
❌ No custom modifications allowed✅ Advanced root access possible
❌ Cannot install custom recovery❌ Voids manufacturer warranty
❌ Limited customization options❌ Potential security risks

Why Unlock Your Bootloader?

Unlocking your bootloader is the essential first step for advanced Android customization:

Primary Benefits

  • 🔓 Enable Root Access - Required for Magisk, KernelSU, and APatch installation
  • 🎨 Custom ROMs - Install LineageOS, Pixel Experience, and other custom Android versions
  • 🛠️ Custom Recovery - Install TWRP, OrangeFox, or SKYHAWK for advanced system management
  • 🔧 Kernel Modifications - Install custom kernels for better performance
  • 📱 Complete Device Control - Full access to system files and configurations

The Complete Modification Chain

Bootloader unlocking enables this progression:

  1. Unlocked Bootloader ✅ (This guide)
  2. Custom Recovery - TWRP, OrangeFox, or SKYHAWK
  3. Root Access - Magisk, KernelSU, or APatch
  4. Advanced Modifications - Custom ROMs, kernels, and system tweaks

Advanced Use Cases

  • Development and Testing - Essential for Android developers and power users
  • Privacy Enhancement - Install privacy-focused custom ROMs
  • Performance Optimization - Advanced tweaking and optimization options
  • Rescue Operations - Ability to recover from soft bricks and system failures

Before You Begin

Important Warnings

⚠️ CRITICAL WARNINGS

Read these warnings carefully before proceeding:

  • 🗑️ DATA LOSS: Unlocking bootloader WILL ERASE ALL DATA on your device
  • 🔒 WARRANTY VOID: Most manufacturers void warranty when bootloader is unlocked
  • 🏦 BANKING APPS: Some banking and financial apps may stop working
  • 🔐 SECURITY RISK: Unlocked bootloaders reduce device security
  • 📱 BRICK RISK: Improper procedures can render your device unusable
  • 🚫 NO GOING BACK: Some devices cannot relock bootloader after unlocking

Prerequisites

Before starting, ensure you meet these requirements:

Device Requirements

  • Supported Device - Your device must support bootloader unlocking.

Check wall of shame section.

  • Sufficient Battery - At least 50% battery charge
  • Stable Connection - Reliable USB cable and computer connection
  • Backup Complete - All important data backed up externally

Knowledge Requirements

  • 📚 Basic Understanding - Familiarity with Android system concepts
  • 💻 Computer Skills - Comfortable using command line/terminal
  • 🔧 Troubleshooting - Ability to follow technical instructions carefully
  • Time Availability - 1-3 hours depending on manufacturer
  • 📜 Warranty Acceptance - Understanding that warranty will be voided
  • 🔓 Account Access - Access to manufacturer developer accounts (if required)
  • 📱 Device Ownership - Must own the device legally

What You'll Need

Software Requirements

Hardware Requirements

  • Computer - Windows, macOS, or Linux
  • USB Cable - Original or high-quality data cable
  • Stable Power - Uninterrupted power supply for both devices

Universal Preparation Steps

These steps apply to all Android devices regardless of manufacturer:

Step 1: Enable Developer Options

  1. Go to SettingsAbout Phone
  2. Find Build Number (may be under "Software Information")
  3. Tap Build Number 7 times rapidly
  4. Enter your lock screen PIN/password when prompted
  5. You'll see "You are now a developer!" message

Step 2: Enable Critical Developer Settings

Navigate to SettingsSystemDeveloper Options and enable:

  • USB Debugging - Allows computer to communicate with device
  • OEM Unlocking - Permits bootloader unlocking (crucial!)
  • USB Debugging (Security Settings) - If available

💡 Can't Find OEM Unlocking?

If "OEM Unlocking" is missing or grayed out:

  • Connect to WiFi and wait 24-48 hours
  • Some carriers block this option permanently
  • Device may not support bootloader unlocking

Step 3: Set Up ADB and Fastboot

Windows Installation

  1. Download Platform Tools
  2. Extract to C:\platform-tools\
  3. Add to system PATH or use full path in commands
  4. Install manufacturer USB drivers

macOS/Linux Installation

bash
# macOS (using Homebrew)
brew install android-platform-tools

# Ubuntu/Debian
sudo apt install android-tools-adb android-tools-fastboot

# Arch Linux
sudo pacman -S android-tools

Step 4: Test ADB Connection

  1. Connect device to computer via USB
  2. Select "File Transfer" or "MTP" mode
  3. Allow USB debugging when prompted
  4. Test connection:
bash
adb devices

Expected output: [device_serial] device

Step 5: Boot to Fastboot Mode

bash
adb reboot bootloader

Or use hardware keys (varies by device):

  • Most devices: Power + Volume Down
  • Samsung: Power + Volume Down + Home (older models)

💡 Fastboot Mode Ready

Once in fastboot mode, you're ready to proceed with manufacturer-specific unlocking. The next step varies significantly by brand - choose your manufacturer below!

Manufacturer-Specific Instructions

⚠️ Device-Specific Process

Each manufacturer has different requirements and procedures. Find your device manufacturer below and follow the specific instructions. Using the wrong method can brick your device.

Quick Manufacturer Navigation:

  • 🔹 Google Pixel - Easiest process, official support
  • 🔹 Xiaomi - Requires Mi Account and waiting period
  • 🔹 OnePlus - Generally straightforward process
  • 🔹 Samsung - Most restrictive, Exynos models only
  • 🔹 Motorola - Official unlock codes required
  • 🔹 Sony - Developer portal registration needed
  • 🔹 Other Manufacturers - Various methods

Google Pixel

Google Pixel devices have the most straightforward unlocking process:

Compatibility

  • All Pixel Models - Pixel 1 through Pixel 9 series
  • Carrier Variants - Most variants supported (Verizon models may be locked)

Steps

  1. Complete Universal Preparation
  2. Boot to fastboot mode:
bash
adb reboot bootloader
  1. Unlock bootloader:
bash
fastboot flashing unlock
  1. Use volume keys to select "UNLOCK THE BOOTLOADER"
  2. Press power button to confirm
  3. Device will factory reset and reboot

Verification

bash
fastboot getvar unlocked
# Should return: unlocked: yes

✅ Success! What's Next?

Congratulations! Your Pixel bootloader is now unlocked. The next step is typically to install custom recovery to enable advanced modifications like rooting.

Xiaomi

Xiaomi requires official approval through their Mi Unlock Tool:

Prerequisites

  • Active Mi Account (must be logged in on device for 7+ days)
  • Mi Unlock Tool from official Xiaomi website
  • Waiting period (varies: 7-30 days depending on device/region)

Steps

  1. Apply for Unlock Permission

    • Settings → Additional Settings → Developer Options
    • Mi Unlock Status → Add account and device
    • Wait for SMS approval (7-30 days)
  2. Download Mi Unlock Tool

  3. Unlock Process

    • Boot device to fastboot mode
    • Connect to computer
    • Launch Mi Unlock Tool
    • Sign in with same Mi Account
    • Click "Unlock" and follow prompts

Common Issues

  • Waiting Period: Cannot be bypassed, wait for official approval
  • Region Restrictions: Some regions have longer waiting periods
  • Account Binding: Mi Account must be added to device before applying

✅ Xiaomi Unlocked Successfully?

Great job! Xiaomi devices with unlocked bootloaders work excellently with custom recoveries. Next step: Install Custom Recovery - TWRP and OrangeFox have excellent Xiaomi support.

OnePlus

OnePlus devices generally allow easy bootloader unlocking:

Compatibility

  • Most OnePlus Models - OnePlus One through OnePlus 12
  • ⚠️ Carrier Variants - T-Mobile versions may have restrictions

Steps

  1. Complete Universal Preparation
  2. Boot to fastboot mode:
bash
adb reboot bootloader
  1. Unlock bootloader:
bash
fastboot oem unlock
  1. Use volume keys to navigate menu
  2. Select "UNLOCK THE BOOTLOADER"
  3. Confirm with power button

Alternative Method (newer devices)

bash
fastboot flashing unlock

✅ OnePlus Unlocked Successfully?

Excellent! OnePlus devices have great custom development support. Ready for the next step? Install Custom Recovery to unlock advanced modifications.

Samsung

Samsung has the most restrictive bootloader policy:

Important Notes

  • 🚫 US Snapdragon Models: Generally CANNOT be unlocked
  • International Exynos Models: Usually unlockable
  • ⚠️ KNOX Warning: Unlocking triggers KNOX and voids warranty permanently

Compatibility Check

  1. Install Phone INFO ★SAM★ app
  2. Check "OEM Lock" status
  3. If shows "ON (U)", bootloader is permanently locked
  4. If shows "OFF", unlocking may be possible

Steps (Exynos Models Only)

  1. Complete Universal Preparation
  2. Power off device completely
  3. Enter download mode: Volume Down + Power
  4. Long press Volume Up to unlock bootloader
  5. Follow on-screen warnings and confirmations
  6. Device will factory reset and show "Custom" on boot

⚠️ Samsung Knox Triggered

Knox has been permanently triggered. Your device will show "Custom" on boot screen and some Samsung Pay/Knox features may not work. However, you can now proceed with custom recovery installation.

Motorola

Motorola provides official bootloader unlocking:

Prerequisites

  • Motorola account registration
  • Device compatibility check on Motorola website

Steps

  1. Get Unlock Code

  2. Unlock Process

    • Boot to fastboot mode
    • Get bootloader info:
bash
fastboot oem get_unlock_data
  • Submit this data to Motorola website
  • Receive unique unlock key
  • Apply unlock key:
bash
fastboot oem unlock [UNIQUE_KEY]

✅ Motorola Unlocked Successfully?

Perfect! Motorola devices have solid custom development support. Time for the next step: Install Custom Recovery to enable advanced system modifications.

Sony

Sony supports bootloader unlocking for most devices:

Steps

  1. Check Device Compatibility

  2. Get Unlock Code

    • Create Sony Developer account
    • Submit device details
    • Receive unlock code
  3. Unlock Process

    • Boot to fastboot mode
    • Apply unlock code:
bash
fastboot oem unlock 0x[UNLOCK_CODE]

✅ Sony Unlocked Successfully?

Fantastic! Sony devices are developer-friendly with good custom ROM support. Ready to continue? Install Custom Recovery for advanced system management.

Other Manufacturers

HTC

  • Official unlock through HTCDev website
  • Similar process to Motorola

LG

  • Limited official support
  • HTC method may work on some models

Huawei/Honor

  • Official unlocking discontinued
  • Third-party methods may exist (use caution)

Post-Unlock Steps

After successfully unlocking your bootloader:

Immediate Actions

  1. Complete Initial Setup - Device will boot to setup wizard
  2. Re-enable Developer Options - Follow Step 1 again
  3. Re-enable USB Debugging - Required for future modifications

Verification

Confirm bootloader is unlocked:

bash
adb reboot bootloader
fastboot getvar unlocked
# Should return: unlocked: yes

Security Considerations

  • Screen Lock: Set up strong screen lock (PIN/password/biometric)
  • App Sources: Be cautious with app installations
  • Root Access: Only install trusted root solutions
  • Banking Apps: Test critical apps and have alternatives ready

Next Steps

With unlocked bootloader, you can now:

📋 Recommended Next Step

Install Custom Recovery is typically the next step after bootloader unlocking. Our comprehensive guide covers TWRP, OrangeFox, and SKYHAWK Recovery installation.

⚠️ Important: Boot to Recovery First

After installing custom recovery, boot directly to recovery mode before the first normal boot to prevent the stock recovery from being restored automatically.

Troubleshooting

Common Issues and Solutions

"OEM Unlocking" Missing/Grayed Out

Possible Causes:

  • Device not connected to internet
  • Carrier-locked device
  • Regional restrictions

Solutions:

  • Connect to WiFi and wait 24-48 hours
  • Try different network (mobile data vs WiFi)
  • Contact carrier about unlock policy

Fastboot Not Recognized

Symptoms: fastboot devices returns nothing

Solutions:

  • Install proper USB drivers (Windows)
  • Try different USB ports/cables
  • Disable antivirus temporarily
  • Use different computer if available

"Remote: Not Allowed"

Meaning: Manufacturer has blocked bootloader unlocking

Solutions:

  • Verify device model compatibility
  • Check if carrier variant supports unlocking
  • Some devices require official manufacturer unlock

Device Won't Boot After Unlock

Immediate Actions:

  1. Don't panic - this is often normal
  2. Hold power button for 10+ seconds to force restart
  3. Try booting to recovery mode
  4. If still issues, boot to fastboot and re-flash stock firmware

Emergency Recovery

If device becomes unresponsive:

Soft Brick Recovery

  1. Boot to fastboot mode (hardware keys)
  2. Flash stock boot image:
bash
fastboot flash boot boot.img
  1. Restart device:
bash
fastboot reboot

Hard Brick Prevention

  • Always have stock firmware downloaded
  • Know your device's emergency download mode
  • Keep manufacturer rescue tools ready (Odin, MSM Tool, etc.)

Bootloader Unlock: Wall of Shame

Bootloader Unlock: Wall of Shame

This community-maintained repository tracks companies that make bootloader unlocking difficult or impossible:

🚫 Most Restrictive

  • Samsung US (Snapdragon) - Permanently locked, no official method
  • Huawei/Honor (2018+) - Discontinued official unlocking
  • Verizon Devices - Most models have locked bootloaders

⚠️ Partially Restrictive

  • Xiaomi - Requires waiting period and approval
  • Oppo/OnePlus (newer) - Increasingly restrictive policies
  • Realme - Limited official support

✅ Developer-Friendly

  • Google Pixel - Easy official unlocking
  • Sony - Official developer support
  • Motorola - Official unlock portal

💡 Before Buying

Check the Wall of Shame repository before purchasing a device if bootloader unlocking is important to you. Policies change frequently, and newer models may have different restrictions than older ones.


🚀 What's After Bootloader Unlocking?

  1. Install Custom Recovery - TWRP, OrangeFox, or SKYHAWK
  2. Root Your Device - Magisk, KernelSU, or APatch
  3. Install Custom ROMs - LineageOS, GrapheneOS, and more
  4. Advanced Customization - LSPosed modules and tweaks

Need Help?

Made with ❤️ for the Android Root community