Skip to content

Bootloader Unlocking Guide โ€‹

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

Table of Contents โ€‹

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

Before You Begin โ€‹

โš ๏ธ CRITICAL WARNINGS

  • ๐Ÿ—‘๏ธ 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

What You Need โ€‹

Device Requirements:

  • โœ… Supported device (check Wall of Shame first)
  • โœ… 50%+ battery charge
  • โœ… Complete data backup

Software & Tools:

  • ADB/Fastboot: Platform Tools or Minimal ADB
  • USB Drivers: Manufacturer-specific (Windows)
  • Manufacturer Tools: Mi Unlock Tool (Xiaomi), Odin (Samsung), etc.

Knowledge & Time:

  • Basic Android/command line familiarity
  • 1-3 hours depending on manufacturer

Universal Preparation โ€‹

These steps apply to ALL devices:

1. Enable Developer Options โ€‹

Settings โ†’ About Phone โ†’ Tap Build Number 7 times โ†’ Enter PIN/password

2. Enable Critical Settings โ€‹

Settings โ†’ Developer Options:

  • โœ… USB Debugging - Allows computer communication
  • โœ… OEM Unlocking - Essential for bootloader unlock
  • โœ… USB Debugging (Security Settings) - If available

๐Ÿ’ก OEM Unlocking Missing?

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

3. Install ADB/Fastboot โ€‹

Windows: Download Platform Tools, extract to C:\platform-tools\

macOS/Linux:

bash
# macOS
brew install android-platform-tools

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

# Arch Linux
sudo pacman -S android-tools

4. Test Connection โ€‹

  1. Connect device via USB (select "File Transfer" mode)
  2. Allow USB debugging when prompted
  3. Test: adb devices (should show your device)

5. Boot to Fastboot โ€‹

bash
adb reboot bootloader

Hardware method (if ADB fails): Power + Volume Down (most devices)

Manufacturer Guides โ€‹

โš ๏ธ Device-Specific Process

Each manufacturer has different requirements. Using the wrong method can brick your device.

Google Pixel โ€‹

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

Xiaomi โ€‹

Requirements:

  • Mi Account logged in device for 7+ days
  • Official Mi Unlock Tool
  • 7-30 day waiting period

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

OnePlus โ€‹

Compatibility: Most OnePlus models (T-Mobile variants may be restricted)

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

Samsung โ€‹

Critical: US Snapdragon models generally CANNOT be unlocked

Compatibility Check:

  • Install "Phone INFO โ˜…SAMโ˜…" app
  • Check "OEM Lock" status
  • "ON (U)" = permanently locked โŒ
  • "OFF" = may be unlockable โœ…

Steps (Exynos only):

  1. Complete Universal Preparation
  2. Power off โ†’ Enter download mode (Volume Down + Power)
  3. Long press Volume Up to unlock
  4. Follow warnings โ†’ Device factory resets
  5. Shows "Custom" on boot (Knox permanently triggered)

Motorola โ€‹

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]

Sony โ€‹

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]

Post-Unlock Steps โ€‹

After successful unlocking:

1. Initial Setup โ€‹

  • Device boots to setup wizard (data was wiped)
  • Re-enable Developer Options and USB Debugging
  • Set up strong screen lock for security

2. Verify Unlock โ€‹

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

3. Next Steps โ€‹

Recommended progression:

  1. ๐Ÿ› ๏ธ Install Custom Recovery - TWRP, OrangeFox, or SKYHAWK
  2. ๐Ÿ”ง Root Your Device - Magisk, KernelSU, or APatch
  3. ๐ŸŽจ Install Custom ROMs - LineageOS, Pixel Experience, etc.

๐Ÿ“‹ Important: Boot to Recovery First

After installing custom recovery, boot directly to recovery mode before normal boot to prevent stock recovery restoration.

4. Security Considerations โ€‹

  • Test banking apps and have alternatives ready
  • Be cautious with app installations from unknown sources
  • Only install trusted root solutions and modules

Troubleshooting โ€‹

Common Issues โ€‹

"OEM Unlocking" Missing/Grayed Out

  • Connect to WiFi and wait 24-48 hours
  • Try different network (mobile vs WiFi)
  • Some carriers permanently block this option

Fastboot Not Recognized

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

"Remote: Not Allowed" Error

  • Verify device supports unlocking (check Wall of Shame)
  • Ensure OEM Unlocking is enabled
  • Some carrier variants block unlocking

Device Won't Boot After Unlock

  1. Don't panic - often normal after unlock
  2. Hold power button 10+ seconds to force restart
  3. Try booting to recovery mode
  4. Boot to fastboot and re-flash stock firmware if needed

Emergency Recovery โ€‹

Soft Brick Recovery:

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

Prevention: Always have stock firmware downloaded and know your device's emergency download mode.

Bootloader Unlock: Wall of Shame โ€‹

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

๐Ÿšซ Most Restrictive (Avoid for Unlocking) โ€‹

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

โš ๏ธ Partially Restrictive โ€‹

  • Xiaomi - Requires waiting period (7-30 days) and approval
  • Oppo/OnePlus (newer) - Increasingly restrictive policies
  • Realme - Limited official support
  • Carrier Variants - Often more restrictive than unlocked models
  • Google Pixel - Easy official unlocking, excellent custom ROM support
  • Sony - Official developer support, good documentation
  • Motorola - Official unlock portal, generally supportive
  • OnePlus (older models) - Traditionally developer-friendly
  • Essential Phone - Developer-focused (discontinued)

๐Ÿ”„ Policy Changes โ€‹

Manufacturer policies change frequently. Always check current status before purchasing if bootloader unlocking is important to you.

๐Ÿ’ก Before Buying

Check the Wall of Shame repository and recent community discussions before purchasing. Newer models may have different restrictions than older ones from the same manufacturer.


Need Help? โ€‹

Made with โค๏ธ for the Android Root community