Se: Bootloader Unlocking Relocking 167z Verified New!

To relock safely, you cannot simply use fastboot oem lock . Doing so often results in a "Bootloader Unlock Allowed: No" scenario or a hard brick if the firmware version mismatches.

fastboot devices

Ensure your device is on stock firmware. Relocking on a custom ROM will cause a boot loop. se bootloader unlocking relocking 167z verified

After entering the command, a warning screen will appear on your device. This is your final chance to change your mind. Use the volume keys to navigate to the "Unlock the bootloader" option and press the power button to confirm. The device will then perform a factory data reset and reboot. Your bootloader is now unlocked.

Relocking ( fastboot flashing lock ) used to be trivial. However, on “167z verified” units, relocking triggers a full dm-verity check. If the system partition was ever modified—even if returned to stock—the relock process will mark the device as STATE = LOCKED, VERIFIED = FAIL . The bootloader will display a corrupt screen on every boot. To relock safely, you cannot simply use fastboot oem lock

This is experimental. For the "167z Verified" hardware revision, improper flags can permanently trip the SE fuse.

: It could unlock the bootloader even on devices where the official Sony service menu said "Bootloader unlock allowed: No". : It featured a "Relock BL" option. By flashing a specific Relocking on a custom ROM will cause a boot loop

tool (specifically version 1.6), a legacy third-party utility used for older Sony Ericsson Xperia devices (circa 2011) to manage bootloader states. SE Bootloader Unlocking Feature (Legacy Devices)

Understanding how to manage this state—and how to relock it for security—is essential for maintaining device integrity. What is the Bootloader?

Settings → Developer Options → OEM Unlocking = ON , USB Debugging = ON