How to unlock bootloader on Sony Xperia XZ Premium

Warning; Unlocking bootloader voids your warranty

Here are the steps:

  • Enable developer options
  • Enable USB Debugging
  • Download adb and fastboot. Example below on debian/Ubuntu
sudo apt install adb fastboot

Source(s):

  1. https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/how-to-unlock-bootloader/https>https://tweakdroid.com/bootloader/sony-xperia-xz-premium-g8141/https