How to Unlock Bootloader For Sony Xperia
Warning :- This can potentially brick your device. So follow the instructions carefully. Neither me or anyone except you is responsible for your device. This will also void your warranty. Your device will be formatted, so make a backup of all data before proceeding.
Sony Device with locked boot loader
1-First you have to confirm that whether your device’s boot loader can be unlocked or not. Open dialler and enter *#*#7378423#*#* to access service menu.
2-If you have a tablet open the contacts app, click the menu button, click settings, long press (for about 5 seconds) somewhere in the empty space just above status bar and then release your finger. A button named Enter service code will then appear in the same area (this may take a few tries), Click enter service code, enter *#*#7378423#*#* in dialer.
3-Tap Service info -> Configuration -> Rooting Status. If your boot loader can be unlocked it will be saying yes in Bootloader unlock allowed. If it is saying no or if there is no status, your device boot loader cannot be unlocked (You cannot proceed further).
4-Go to this page.
5-Read the guidelines and click Yes, I’m sure.
6-Read and accept the legal terms. Click I Accept.
7-Enter your name.
8-Dial *#06# to find IMEI or MEID number.
9-If you have a tablet, IMEI, MEID or IDID number can be found at side of your device and also in about menu in setting in some devices.
10-Enter IMEI, MEID or IDID number and your email address. Click Submit.
11-The unlock key will be emailed to you. Save it.
12-Download ADB & Fastboot Files From Here
13-Download and install the driver From Here
14-Turn off your device.
15-Push and hold Fast boot button at the same time when you connect USB cable to your device. There are different Fast boot button for different devices.
16-You may be asked for drivers. Select android_winusb.inf file and select Android Boot loader interface file.
17-Go to Fastboot folder.
18-Press and hold shift button and right click anywhere in the folder.
19-Now click open command window here.
20-Enter fastboot.exe -i 0x0fce getvar version and verify that you get response back. The response will ensure that your device is properly connected to your computer.
21-Now enter fastboot.exe -i 0x0fce oem unlock 0xKEY , replace KEY with the unlock key which was emailed to you previously.
22-Congratulation, you have successfully unlocked boot loader of your Sony device.