[Tutorial] Xperia S/P/U/Sola Bootloader Unlocking & Relocking

Search This thread

Rashkae

Senior Member
Nov 10, 2008
587
90
Singapore
Update: Ok, so when I have my device manager open, for the few seconds where the notification light is blue, I can see a "S1 Fastboot device" with a missing driver label in the device manager. However, after pointing at the usb_drivers folder, it says "Windows cannot find a driver for your device".
 

Rashkae

Senior Member
Nov 10, 2008
587
90
Singapore
@Doomlord: Did you maybe have any other drivers/SDK previously installed that would work for the Xperia S fastboot?
 

Rashkae

Senior Member
Nov 10, 2008
587
90
Singapore
the correct drivers are already provided...


search online on how to manually install drivers in windows...

As already stated, I did. Believe it or not, I've been manually installing drivers since Windows 95, and frequently provide assistance to my friends with manually installing drivers. So yes, I do know how to do it, but as stated in the above posts, encounter the following issues specifically with the Xperia S, and NOT with any other device in the past 17 years where I have had to manually install drivers (so please do not ask me to google again):

1. When starting the Xperia S in FastBoot mode, it only stays that way for approx. 3 seconds then goes to the normal HSUSB mode.
2. In those 3 seconds, if I try to quickly point the S1 Fastboot to the driver links you provided (downloaded packages, extracted to folders, pointing Winodws at those folders), Windows says that it cannot find the drivers for this device - in other words, the drivers I downloaded from the links you provided do not match the deviceID the Xperia S is sending. They do work for the Arc and X10 though.
3. If I manually register the driver packages with windows, the device manager shows them with a warning, saying the device could not be started.
 

bova

Senior Member
Jun 24, 2007
76
9
My xperia s factory unlock.

I have obtained from the web sony unlock code perfectly.

Installed the drivers, it recognizes the device.

In the console write:

getvar 0x0fce fastboot.exe-i version

responds: version: 0.5

apply:

fastboot.exe-i 0x0fce oem unlock 0xCODE PROVIDED BY SONY

He answers:

(bootloader) Unlock phone Requested

FAILED (remote: oem unlock failed)

What to do to unlock it?

Thanks for the help he can.
 
  • Like
Reactions: Karim Kahale

yabdali

Senior Member
Sep 10, 2009
80
7
Yup, same steps I followed, that's how I unlocked my Arc too. Just that the Xperia S won't stay in fastboot.

I am too having the same issue with LT26i tried pressing the volume up and plugging the usb cable, the PC identifies s1boot device but then the phone goes into the normal state (orange light) and it gets installed as usb storage device.

I have tried different drivers, none work including Google driver, Google driver with modified USB configuration, SE2Tool and PdaNet drivers.

I would appreciate any guidance...
 

Rashkae

Senior Member
Nov 10, 2008
587
90
Singapore
I am too having the same issue with LT26i tried pressing the volume up and plugging the usb cable, the PC identifies s1boot device but then the phone goes into the normal state (orange light) and it gets installed as usb storage device.

I have tried different drivers, none work including Google driver, Google driver with modified USB configuration, SE2Tool and PdaNet drivers.

I would appreciate any guidance...

Yup, that's exactly what I'm experiencing too.
 

yabdali

Senior Member
Sep 10, 2009
80
7
Yup, that's exactly what I'm experiencing too.
One step further, I installed the latest Omnius SE Tool. Set my windows 7 64bit device installation settings to NEVER INSTALL DRIVER FROM WINDOWS UPDATE. The device was identified as Android ADB, I updated the driver by selecting it manually from a bundle I downloaded from the internet some time ago "fastboot_with_Android_USB_file" which includes fastboot and "usb_driver".

Running Fastboot.exe devices gives me the id, however, running getvar gives me an error as below. Trying to unlock the bootloader gives me as well an error, provided below.

D:\Android\SE Arc\fastboot_with_Android_USB_file\fastboot>fastboot -i 0x0fce get
var version
getvar:version FAILED (command write failed (Unknown error))
finished. total time: 0.613s



D:\Android\SE Arc\fastboot_with_Android_USB_file\fastboot>fastboot.exe -i 0x0fce
oem unlock 0x.....
...
FAILED (command write failed (Unknown error))
finished. total time: 0.732s



Tried flashing the system image, failed:
D:\Android\SE Arc\fastboot_with_Android_USB_file\fastboot>fastboot flash system
system_xps_prerooted_63fw.img
sending 'system' (420244 KB)...
FAILED (command write failed (Unknown error))
finished. total time: 0.642s
 
Last edited:

yabdali

Senior Member
Sep 10, 2009
80
7
I'm on Win7 x64.

I think I'll fire up an XP VM and try on there.

EDIT: SUCCESS!!! Once I tried it on an XP VM that I have, it worked like a charm. All 3 PCs where the instructions failed were Win7 x64 PCs.

Nice to hear that :) Was it a straight forward process??
Also, have you tried to root it with Zergrush?
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
One step further, I installed the latest Omnius SE Tool. Set my windows 7 64bit device installation settings to NEVER INSTALL DRIVER FROM WINDOWS UPDATE. The device was identified as Android ADB, I updated the driver by selecting it manually from a bundle I downloaded from the internet some time ago "fastboot_with_Android_USB_file" which includes fastboot and "usb_driver".

Running Fastboot.exe devices gives me the id, however, running getvar gives me an error as below. Trying to unlock the bootloader gives me as well an error, provided below.

D:\Android\SE Arc\fastboot_with_Android_USB_file\fastboot>fastboot -i 0x0fce get
var version
getvar:version FAILED (command write failed (Unknown error))
finished. total time: 0.613s



D:\Android\SE Arc\fastboot_with_Android_USB_file\fastboot>fastboot.exe -i 0x0fce
oem unlock 0x.....
...
FAILED (command write failed (Unknown error))
finished. total time: 0.732s



Tried flashing the system image, failed:
D:\Android\SE Arc\fastboot_with_Android_USB_file\fastboot>fastboot flash system
system_xps_prerooted_63fw.img
sending 'system' (420244 KB)...
FAILED (command write failed (Unknown error))
finished. total time: 0.642s

it seems ur device is network locked so bootloader unlocking is not allowed on ur device...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 208
    Quick tutorial for unlocking & relocking the bootloader of the Xperia S/P/U/Sola.

    this is the official way to unlock bootloader

    Warning!

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

    DRM keys WILL be lost forever



    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. SE/Sony gives sneak-peaks/preview builds of latest OS which requires unlocked bootloaders, as they did with Xperia 2011 line (they had ICS alpha/beta), so who knows may be SE/Sony may give early builds of ICS (JellyBean???) ;)



    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)


    btw i dont have this device, most of this testing was done on user darkpisces's phone so thanks a lot to him for helping me out!!!


    [ 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
    • 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'
      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 "are u sure prompt" accept it by clicking "yes i am sure" (i assume that u have read an understood it)
    5. then accept the "legal terms"
    6. 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
    7. You should now receive your unique unlock key, its displayed on screen, SAVE THIS KEY SAFELY
    8. Extract fastboot_with_Android_USB_file.rar and open fastboot folder
    9. Hold SHIFT and right click on the background of the folder
    10. Select 'Open command window here'
    11. 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)
    12. In the cmd windows type in fastboot.exe -i 0x0fce getvar version
    13. If a value is returned (it will return 0.5), it means the phone is correctly connected
    14. Type in fastboot.exe -i 0x0fce oem unlock 0xKEY and replace KEY with the key which u received earlier.
    15. 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-unlock-bootloader-xperia-arc-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 S/P/U/Sola)



    Info on Relocking bootloader is in next post
    96
    Relocking Bootloader

    this Relock FTF is based on the package posted by Blagus in his ARC thread (all credits for this go to him, i have only added the correct loader.sin for this device)


    RELOCKING BOOTLOADER WILL ALLOW YOU TO GET NEWEST UPDATES & REPAIR DEVICE USING SEUS/PCC



    before we begin relocking the bootloader make sure that u have flashtool download & installed


    u can get the latest version of FlashTool from:
    http://androxyde.github.com/Flashtool/

    download link is under "Installation" tab


    if u have not use FlashTool before read this thread:
    http://xdaforums.com/showthread.php?t=1526866




    download this FTF:
    Xperia S -> Xperia-S_Relock_bootloader.ftf
    Xperia U -> http://xdaforums.com/showthread.php?p=26783129#post26783129 (thanks to enigma77x)

    flash this FTF via FlashTool


    RELOCK FTFs FOR P/U/Sola are under testing! if u are interested in testing kindly contact me via P.M., before u contact me, make sure that u have UNLOCKED the bootloader!

    when it says enter flashmode, power down device and keeping VOLUME DOWN button pressed connect usb cable to phone, the device will now enter flashmode (green LED)

    after this file is flashed reboot phone


    bootloader will now be relocked!!!


    incase device doenst boot DO NOT PANIC... u can flash stock firmware FTF anytime to get back to stock ROM... i will post link to working FTF once its available...


    P.S.: there is no official way to relock bootloader
    20
    hi DooMLoRD,
    i have created relock bootloader for Xperia U
    http://tiny.cc/ST25i_Relock_Bootloader
    it's working :)
    15
    yea I guess it's pointless locking back the BOOTLOADER but I think with the unofficial way, they know or they have registered the serial key or IMEI which you won't be able to update it to ICS via SEUS or PcCompaninon. Either way like you said, we can use the FTF files to update it to ICS. and I saw when the run ICS on Arc S and Play, I saw that they had to unlock the bootloader to install alpha ICS and it was mentioned there that you might face lotta troubles when you update it to the official ICS, so I'm gonna wait till it gets official ICS cause it'll be out very soon like end of the March.

    NO!
    After relock you can use SEUS / PCC / EMMA again. The imei is used to generate the unique unlock-key. Also it gets stored to check if you claim warranty. Arc has showed us that SE is not denying warranty at all if you unlocked. They just decline it if the cause of the failure is a custom rom etc. pp. for example if you ****ed your cpu with overclocking.

    SEUS/PCC/EMMA checks TA area for the unlock key, if it is present it reject the phone and refuses to update. The relock Doom posted here is the same way we worked out on Arc. It deletes the unlockkey from TA and this way you are again able to use SEUS/PCC/EMMA.

    Hope i enlighted you a bit.

    Regards
    14
    manage to do this on my x64 Windows 7.

    key thing is to get the right drivers


    I download the drivers from here, http://download.theandroidsoul.com/file/unlock xperia arc bootloaders.zip

    and use the fastboot drivers from the drivers folder.

    then in that few seconds where the phone is in fastboot mode, I update the drivers accordingly.

    The problem I think is Windows 7 will automatically redirect the driver installation to default/generic installation if it can't find the driver for the device. So perhaps to avoid it totally it's to use gpedit.msc to stop the redirection of the devices..