I am trying to unlock my bootloader, but I am unable to enable USB debugging because my device (Sony Xperia T) cannot turn on.
How do I unlock my bootloader so that I can flash it?
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.Sign up to join this community
For Mainstream phones like the Pixel, if bootloader unlock was initially allowed from the development settings when it was on, you just simply need to get to fastboot mode if the phone has it, after downloading a custom recovery and using
fastboot boot [filename] command to boot the recovery and install custom OS before looking for an official ROM.
Ensure not to flash the custom recovery since stock recovery will be needed by the phone after unlocking bootloader from fastboot mode to reset it since unlocking must erase the entire phone. Code to unlock
fastboot oem unlock