Android - How to check if your bootloader is unlocked

Assuming your device adheres to some Android standards, you'd want to run fastboot oem device-info.

Often you can also run fastboot reboot-bootloader to get into the bootloader which often says right there on screen whether it's locked or not.

Different devices can display the lock state differently.

fastboot is located in %ANDROID_SDK_DIR%\platform-tools, where the part inside the %...%is where you installed the Android SDK.

Typically though it's not the bootloaders lock state that will result in failed roots. That is usually (depending on your method) due to the /system partition still being locked to read-only mode which has nothing to do with the bootloader IIRC.


An alternative method that may have mixed results:

  • Open your device’s dialer
  • Dial *#*#7378423#*#* and it will automatically open a new window if it works
  • Now in that window go to Service Info > Configuration

You ought to see one of these:

Bootloader unlock allowed - Yes (Bootloader is Locked)

Bootloader Unlocked - Yes (Bootloader is unlocked)


i'm no expert, but if you go to the bootloader, by (on my nexus 4) holding volume down then power up, then it says

enter image description here


After scouring the net, I've learned this can be determined by entering your device's fastboot mode (from your device's boot menu selection, select AP Fastboot) and about four or five lines down from the top, you should see either Device is LOCKED or Device is UNLOCKED.

Unfortunately I only discovered this after attempting to flash the custom recovery while my bootloader was locked, which would subsequently put it into fastboot mode upon every boot attempt with the message "Fastboot reason: Flash failure". But I got around this by entering boot selection mode (holding vol down, up, and power simultaneously) and selecting "Normal Powerup" at the top. I unlocked my bootloader, flashed again, and am now happily running CyanogenMod 11. Hope this helps someone.