If the above command doesn’t work, run this command (older devices need this): fastboot oem unlock
Many manufacturers put up a setup on their devices to let users unlock bootloader only when they request a bootloader unlock token.
Miphone + minimal adb fastboot android#
But not all Android devices support straightforward bootloader unlocking. Unlocking the bootloader via Fastboot is the easiest thing to do.