[Xperia SP General] jackaros:
Unlocking And Locking your Bootloader can result to a hard bricked device

I will not held responsible for any damage done to your phone by using this guide.

This guide is for XPERIA SP!!!​

Always backup your TA partition so you have your original DRM Keys!!!! Link Below​

Most of this guide is written by me BUT I GOT MANY STEPS AND LINK FROM DOOMLORDS ORIGINAL BOOTLOADER UNLOCKING TUTORIAL

LINK TO DOOMLORDS TUTORIAL http://xdaforums.com/showthread.php?t=2354721

So lets get started!!!

What you will need :

Check if you have :

1)If you're on windows 8 check the drivers using this guide (Link Found Below)

2)Check your IME code by dialling *#06# . Keep the numbers not the dashes.

3)Check if you CAN unlock your Bootloader

First, you should confirm that it is possible to unlock the boot loader of your phone by checking the service menu. In your phone, open the dialler and enter *#*#7378423#*#* to access the service menu.

In your phone, tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked.

Software you will need:

1)Flashtool (Download Section)

2)Fastboot Package By Doomlord (Download Section)

3)FlashTool Xperia Driver Pack to isntall adb and fastboot drivers (Download Section)

Hardwareyou will need:

1)Usb Cable to connect your phone to your PC

2)A Windows PC

To install fastboot drivers :

1)Shut down your phone

2)Press and hold Volume Up button

3)Connect USB cable (While pressing volume up button)

4)Fastboot drivers will iunstall

5)After Fastboot drivers have been installed disconnect your phone and power it up

To Begin Unlocking your Bootloader

1)Go to Sony's official site and read the instructions carefully (Link Found Below)

2)Click Start Unlocking the bootloader at the bottom of the page listed in step 1

3)In the end of the page you are now click Continue

4)Accept all the confirmation prompts till you get to a page where you need to fill out info

5)Fill your IMEI (without the dashes) if the IMEI you wrote down is longer by one digit (16 instead of 15) exclude the last digit

6)Fill your name and E-Mail (Put your real email address !!!!)

7)Within minutes you will recieve and Email containing a VITAL KEY!!!! (Save the key so you always have acces to it when you need it.)

8)Extrack fastboot_with_Android_USB_file.rar and open the fastboot folder

9)Hold SHIFT and right click the background of the folder

10)Click "Open command window here'

11)Power down your phone.

12)While holding the Volume UP button connect it to your PC via USB (Fastboot Mode)

13)In the CMD window you opened in Step 10 write the following command

fastboot.exe -i 0x0fce getvar version

14)If you get back a value from it (it will send back 0.5) the phone is ready

15)Your device now has an unlocked bootloader.

Relocking

You can now relock your Bootloader using FlashTool.

Steps :

1) Open FlashTool and press the BLU Button

2)Power Down your device

3)While pressing Volume DOWN key connect your USB cable (Flashmode)

4)A window will open and you can press Relock

5)After that disconnect and Power the device On

Link Section​

Sony's Site Regarding Bootloader unlocking : http://unlockbootloader.sonymobile.com/ sony

Windows 8 Guide http://xdaforums.com/xperia-z/development/tutorial-xperia-z-zl-bootloader-t2153261/post38878089#post38878089"]http://xdaforums.com/xperia-z/development/tutorial-xperia-z-zl-bootloader-t2153261/post38878089#post38878089[/URL]

TA Partition Backup : http://xdaforums.com/showthread.php?t=2292598&highlight=ta

Donwnload Section​

Fastboot package By Doomlord: http://doomlord.xperia-files.com/download.php?dlid=YWRiX2Zhc3Rib290

Flashtool Xperia Driver Pack By Doomlord : http://xdaforums.com/showthread.php?t=2635830

(ONLY FOR WINDOWS COMPUTERS)

Flashtool :http://www.flashtool.net/index.php

ORIGINAL GUIDE BY DOOMLORD

http://xdaforums.com/showthread.php?t=2354721

Thanks to Doomlord for his original tutorial.