sodcalculator

10 Tech How-To

Unlock Bootloader on Android One Devices

Guide 10-35501 · Updated · Step by step

Unlocking the bootloader on an Android One device lets you install custom ROMs, flash custom recoveries, and gain deeper system access. This guide covers the general process for all Android One devices, from enabling developer options to verifying the unlock. You’ll need a computer, a USB cable, and a willingness to erase all data on your phone.

What You’ll Need

  • An Android One device (any brand or model)
  • A USB cable that supports data transfer
  • A computer (Windows, macOS, or Linux)
  • Android SDK Platform Tools installed on your computer (includes ADB and Fastboot)
  • USB drivers for your device (Windows only; most devices use Google’s generic ADB driver)
  • Your device’s battery charged to at least 50%
  • Backup of all important data (the unlock wipes everything)

Step-by-Step

  1. Back up your data. Unlocking the bootloader performs a factory reset, erasing all apps, photos, messages, and settings. Copy anything important to a computer, cloud storage, or an external drive.
  2. Enable Developer Options. On your phone, go to Settings > About phone. Tap Build number seven times until you see a message like “You are now a developer!”
  3. Enable OEM unlocking. In Settings > Developer options, toggle on OEM unlocking. If this toggle is grayed out or missing, your device may be carrier-locked or the option is hidden until you insert a SIM and connect to the internet for a few days.
  4. Enable USB debugging. In the same Developer options menu, toggle on USB debugging.
  5. Install Platform Tools on your computer. Download the official Android SDK Platform Tools zip from the Android developer site. Extract it to a folder you can easily access (e.g., C:\platform-tools on Windows, ~/platform-tools on macOS/Linux).
  6. Open a command prompt or terminal in that folder. On Windows, Shift+right-click inside the folder and select “Open PowerShell window here” or “Open command window here”. On macOS/Linux, open Terminal and navigate to the folder using cd.
  7. Connect your phone to the computer. Use a good quality USB cable. On your phone, when prompted, allow USB debugging by tapping Allow and checking “Always allow from this computer”.
  8. Verify the connection. In the command prompt, type adb devices and press Enter. You should see your device’s serial number followed by “device”. If it says “unauthorized”, re-check the phone screen and allow the connection.
  9. Reboot into the bootloader. Type adb reboot bootloader and press Enter. Your phone will restart into the bootloader mode (often called fastboot mode). You’ll see a screen with an Android robot and some text.
  10. Verify fastboot connection. Type fastboot devices and press Enter. Your device’s serial number should appear. If nothing shows, you may need to install or update USB drivers.
  11. Unlock the bootloader. Type fastboot oem unlock and press Enter. On some newer devices, the command is fastboot flashing unlock. Your phone will display a confirmation screen asking if you really want to unlock the bootloader.
  12. Confirm on the phone. Use the volume keys to highlight Unlock the bootloader (or similar) and press the power button to confirm. The process takes a minute or two; your phone may reboot automatically.
  13. Set up your device. After the unlock, your phone will boot to the setup wizard. Go through the initial setup; the data is gone, so it’s like a new phone. You can re-enable Developer options and USB debugging if needed.

Common Mistakes

  • Skipping the backup. The unlock wipes everything. There’s no way to recover data after the fact unless you have a backup.
  • Not enabling OEM unlocking. If you skip step 3, the fastboot unlock command will fail with an error like “FAILED (remote: oem unlock is not allowed)”.
  • Using the wrong fastboot command. Older devices use fastboot oem unlock, newer ones use fastboot flashing unlock. If one fails, try the other.
  • Drivers not installed on Windows. Without proper drivers, fastboot won’t see your device. Install the Google USB driver via the SDK Manager or your device manufacturer’s driver.
  • Interrupting the process. Unplugging the USB cable or closing the command window during the unlock can leave the device in a bad state. Wait until the phone reboots on its own.

Tips

  • Keep the platform-tools folder handy. You’ll need it again for flashing custom recoveries or ROMs.
  • Use a USB port directly on your computer. Front-panel hubs or cheap adapters can cause connection drops.
  • Charge your phone fully. A low battery during the unlock could cause a failure.
  • Write down your device model. Android One devices come from many brands (e.g., Xiaomi, Motorola, Nokia). Some brands use slightly different commands or require an additional step like entering a code. Check the specific instructions for your model if the generic steps fail.
  • After unlocking, you may see a warning screen at boot. This is normal and doesn’t affect functionality.

Troubleshooting

  • Fastboot doesn’t detect your device. Try a different USB cable or port. On Windows, open Device Manager and check for unknown devices. Install the Google USB driver manually. On Linux, you may need to set up udev rules for your device.
  • OEM unlocking toggle is grayed out. This usually means the device is carrier-locked or the option is disabled by the manufacturer. Insert a SIM card and connect to Wi-Fi, then wait a few days. If it’s still grayed out, your device may not support bootloader unlocking.
  • The unlock command fails with “remote: oem unlock is not allowed”. This means OEM unlocking is not enabled in Developer options, or the device is not eligible. Double-check step 3 and try again.
  • The phone boots to a “device is corrupt” screen. This happens on some devices after unlocking. It’s a warning, not an error. Press the power button to continue. You can usually remove this warning by re-locking the bootloader, but that’s not recommended if you want to keep custom software.
  • The unlock process hangs at the confirmation screen. Your phone’s touchscreen may not work in fastboot mode. Use the volume keys to navigate and the power button to select.
  • After unlocking, the phone won’t boot. This is rare but can happen. Try rebooting into fastboot again and then select “Start” from the bootloader menu. If it still won’t boot, you may need to flash a factory image using fastboot.

Frequently Asked Questions

Does unlocking the bootloader void my warranty? Yes, in most cases. Manufacturers often consider bootloader unlocking as tampering, which voids the warranty. Some brands allow re-locking to restore warranty, but not always.

Will I lose all my data? Yes, unlocking the bootloader performs a factory reset. All personal data on the internal storage is erased. Backup before you start.

Can I lock the bootloader again? Yes, you can re-lock it with fastboot oem lock or fastboot flashing lock. However, this may cause issues if you have a custom ROM installed, and it will wipe data again.

Is it safe to unlock the bootloader? Generally yes, but there are risks. If you interrupt the process or flash incorrect software, you could brick your device. Follow instructions carefully.

Will I still get Android updates after unlocking? You may still receive OTA updates, but installing them can fail if you have a custom recovery or modified system. Many users prefer to flash updates manually.

Do all Android One devices support bootloader unlocking? Most do, but some carrier-locked or region-specific variants may not. The OEM unlocking toggle is the first indicator; if it’s missing, your device likely doesn’t support it.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →