FORUMS
Remove All Ads from XDA

[Tutorial] Xperia SP Bootloader Unlocking/Relocking

13,194 posts
Thanks Meter: 39,783
 
Post Reply Email Thread
Quick tutorial for unlocking & relocking the bootloader of the Xperia SP


this is the official way to unlock bootloader


if you want to keep ur DRM keys, first root device and then check this out



Warning!

This procedure will wipe the /data partition of your phone, so you will loose all ur stored data, settings. INTERNAL SDCARD will BE WIPED!!!

Quote:

For Xperia™ devices released 2013 or later (for example Xperia™ Z and Xperia™ ZL), the SD card of your device will be formatted and you will lose all content (for example photos, music, videos) when you unlock the boot loader.

DRM keys WILL be lost forever

Quote:
Originally Posted by schaggo

I'd add what losing DRM keys means, e.g. no more Music ID/Gracenote within the Walkman app plus probably most importantly, as asked all the time and all over the place in the T/mint forums: loss of Bravia Engine.


older Xperia devices sometimes got issues after unlock of bootloader (BRICK after FOTA update) - you have been warned



why to unlock bootloader?
  1. u can flash custom ROMs/Kernels
  2. u dont need to worry if the new firmware can be rooted or not as with unlocked bootloader u can always ROOT ur device
  3. Sony gives sneak-peaks/preview builds of latest OS which requires unlocked bootloaders, as they did with Xperia 2011/2012 line, so who knows may be Sony may give early builds of next android OS



Most of this is taken from lollylost100's his tutorial from ARC thread (all credits for that concise tutorial go to him, i have elaborated on a few things and added device specific changes)




[ before we begin unlocking bootloader ]
  • get the IMEI code for ur device: type *#06# in phone dialer to find it out, note only the digits (no dashes)
  • download the fastboot package
  • IMPORTANT: if you are using Windows 8 you will need to enable few things to allow driver installation
  • download the latest FlashTool Xperia Driver Pack and install fastboot drivers (common) & adb drivers for this device from the list!
  • make sure u have a windows PC with USB cable to connect the phone
  • power down ur phone and keeping the Volume Up button pressed connect the USB cable to PC this will trigger FASTBOOT mode and windows will start driver installation, which should be automatically done
  • once drivers are installed just disconnect cable and power on device


[ how to unlock ] (official way)
  1. Go to: http://unlockbootloader.sonymobile.com/ and read everything!
  2. At the bottom click 'Start Unlocking the Bootloader'
    Quote:

    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.

  3. after u have verified that u can unlock bootloader, scroll to the bottom of the page and click "Continue"
  4. you will get numerous prompts, read all info and if u agree click on "Accept"/"OK"/"Proceed"
  5. finally u will get a "Create Unlock request" page, enter your IMEI (sometimes the last digit needs to be removed for this to work), name and email address
  6. You should now receive your unique unlock key via EMAIL, SAVE THIS KEY SAFELY
  7. Extract fastboot_with_Android_USB_file.rar and open fastboot folder
  8. Hold SHIFT and right click on the background of the folder
  9. Select 'Open command window here'
  10. Connect your phone in fastboot mode (turn phone off, hold Volume UP button and plug in USB Cable) [make sure drivers are installed as explained above)
  11. In the cmd windows type in fastboot.exe -i 0x0fce getvar version
  12. If a value is returned (it will return 0.5), it means the phone is correctly connected
  13. Type in fastboot.exe -i 0x0fce oem unlock 0xKEY and replace KEY with the key which u received earlier.
  14. You're device should now be bootloader unlocked


If this tutorial is too much for you then itskapil wrote a step-by-step guide (and recorded a video also):
-Instructions: http://www.theandroidsoul.com/how-to...-play-neo-pro/
-Video: http://www.youtube.com/watch?v=LRH3pC7MhEA
(the above videos and some steps are for Xperia 2011 devices, but most the steps are same for Xperia SP)




Relock procedure is posted here
The Following 36 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
7th July 2013, 08:22 PM |#2  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,783
 
Donate to Me
More
Relocking Bootloader
With the latest release of Flashtool it is now possible to relock bootloader.

Download the latest flashtool from:
http://forum.xda-developers.com/show....php?t=2162907



Important

DO NOT USE ANY FTF TO RELOCK BOOTLOADER! THOSE OLD FTFs DO NOT WORK FOR THE 2013 DEVICES!!!


before u relock bootloader u have to be on pure stock kernel (flash only the kernel.sin using flashtool), else the device WILL NOT BOOT after relock



Steps:
  1. now start Flashtool and click on BLU button
  2. u will be asked to connect device in flashmode
  3. once u connect the device u will get a prompt to "Relock"
  4. click on it and when prompted disconnect the device
The Following 17 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
22nd July 2013, 06:27 PM |#3  
SERGI.3210's Avatar
Senior Member
Flag Campanar, Valencia
Thanks Meter: 202
 
More
Mmm my device says that its not allowed for unlock (see the attachment) it means that i cant to unlock my bootloader for ever???theres not another method for to do it??????? :cry: what can be the reason for that its not allowed????? Sorry for my bad english and thanks

Sent from my C5303 using xda premium
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1374513929203.jpg
Views:	11575
Size:	20.8 KB
ID:	2135342  
The Following User Says Thank You to SERGI.3210 For This Useful Post: [ View ] Gift SERGI.3210 Ad-Free
25th July 2013, 10:34 AM |#4  
mirhl's Avatar
Senior Member
Thanks Meter: 1,108
 
More
@SERGI.3210
maybe your question could better fit Q&A section..
Anyway, try to unlock the bootloader despite the unlockinh allowed status
Sometimes you can unlock it even with "unlocking allowed:no"

(Btw if you care about the drm keys, make a backup of the TA partition before proceed)

Sent from my LT26i using xda app-developers app
The Following 2 Users Say Thank You to mirhl For This Useful Post: [ View ] Gift mirhl Ad-Free
25th July 2013, 04:50 PM |#5  
SERGI.3210's Avatar
Senior Member
Flag Campanar, Valencia
Thanks Meter: 202
 
More
Txh budy going to try this...


Sent from my C5303 using xda premium
I did the question in the q and a forum but no one answered me ..
3rd August 2013, 10:44 PM |#6  
Senior Member
Flag Jakarta
Thanks Meter: 36
 
Donate to Me
More
please help
firmware: 12.0.A.1.211
C5302
Attached Thumbnails
Click image for larger version

Name:	error.jpg
Views:	6301
Size:	56.3 KB
ID:	2162864  
5th August 2013, 04:57 AM |#7  
kuriboo's Avatar
Senior Member
Thanks Meter: 256
 
More
Quote:
Originally Posted by zlebors

please help
firmware: 12.0.A.1.211
C5302

You must run cmd in directory of fastboot.exe

Sent from my C5302 using xda premium
5th August 2013, 02:15 PM |#8  
Senior Member
Flag Jakarta
Thanks Meter: 36
 
Donate to Me
More
Quote:
Originally Posted by kuriboo

You must run cmd in directory of fastboot.exe

Sent from my C5302 using xda premium

I dont have the fastboot.exe file, would you please re-upload coz the link is broken
6th August 2013, 09:38 AM |#9  
ykdr-scott's Avatar
Senior Member
Flag birmingham
Thanks Meter: 40
 
More
What do I have to back up before I try this? And how to back those up.

My bootloader is 'no' but I have SIM unlocked it and going to give it a shot as was told by somebody that it could work, cheers.

Sent from my C5303 using xda app-developers app
14th August 2013, 08:59 PM |#10  
Senior Member
Thanks Meter: 28
 
More
Ok so I have a strange problem. I got my Xperia SP c5303 today and I'm using Windows 8 x64. I already managed to root the phone on the .257 firmware. When I try to connect the device in fastboot mode (holding volume + and plugging the usb cable to the computer), the LED turns blue and for a brief moment in device manager I can see that there is a device called Sony Fastboot Interface. The problem is, a little notification appears on my computer that the device wasn't recognized even though it appears to be installed correctly in device manager, and after about 5 seconds the phone automatically changes to charge mode.

I tried using Flashtool and when I plugged the phone in fastboot it did recognize it, but just for the 5 seconds that it stays that way. I already disabled driver signature enforcement and installed all Flashboot drivers but the phone just doesn't stay in fastboot mode.

BTW: Bootloader unlock allowed says yes
14th August 2013, 09:13 PM |#11  
alivanov79's Avatar
Senior Member
Flag Dmitrov
Thanks Meter: 1,310
 
More
Quote:
Originally Posted by OsoAlgo

Ok so I have a strange problem. I got my Xperia SP c5303 today and I'm using Windows 8 x64. I already managed to root the phone on the .257 firmware. When I try to connect the device in fastboot mode (holding volume + and plugging the usb cable to the computer), the LED turns blue and for a brief moment in device manager I can see that there is a device called Sony Fastboot Interface. The problem is, a little notification appears on my computer that the device wasn't recognized even though it appears to be installed correctly in device manager, and after about 5 seconds the phone automatically changes to charge mode.

I tried using Flashtool and when I plugged the phone in fastboot it did recognize it, but just for the 5 seconds that it stays that way. I already disabled driver signature enforcement and installed all Flashboot drivers but the phone just doesn't stay in fastboot mode.

BTW: Bootloader unlock allowed says yes

Try to install drivers with this instruction http://forum.xda-developers.com/show....php?t=2170114

Sent from my C5303 using xda app-developers app
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes