These are the instructions to unlock the bootloader of any Sony Xperia Device using the fastboot tools on windows computers.
Caution: Unlocking the bootloader of any Sony Xperia device will wipe/reset the data from the device. Therefore, we recommend you take a backup of your data before following the guidelines below.
(Developers option is hidden for android 4.2.2 and above, to show this option Go to Setting > About Phone > Built Number (tab on it for 5-8 times.)
(the above command will verify that your device is successfully connected or not)
For example, our code is 135C25EB74989A22, so we have given the following command: fastboot -i 0x0fce oem unlock 0x135C25EB74989A22
Congratulations, you have successfully unlocked the bootloader on your Sony Xperia Device.
[*] Caution: Unlocking the Bootloader will delete your personal data, pictures, apps etc from your device. So, backup your personal data before following the above tutorial.
[*] Once you have successfully unlocked the bootloader of your sony xperia device, you can easily flash the CWM recovery. And using the CWM recovery you can either root your device or flash any custom rom on your device.
[*] Sony Xperia Stock Firmware: If you are looking for the original firmware for your device, then head over to Download Sony Xperia Stock Firmware page.
[*] Sony Xperia USB Driver: If you are looking for the original USB Driver for your device, then head over to Download Sony Xperia USB Driver page.