How to Unlock Bootloader on Sony Xperia Devices (Official Method)

In order to discourage owners from messing with their devices, companies lock devices’ bootloaders most of the times.  But for more enterprising users like our readers, this is seen more as a hindrance than a failsafe to rooting and flashing custom ROMs/kernels.  Times have changed now and manufactuers are now waking up to the developer community’s contribution that has grown exponentially over the years, and are offering to unlock bootloaders safely.  One such company is Sony (previously Sony-Ericsson) and this guide below will show you how to unlock your bootloader if you own a relatively recent Xperia device.

I.  Before You Begin

1.  Unlocking your bootloader will void your warranty.  Sony is particular about this and so are we.  Make sure you realize what you are losing before you take the next step!

2.  You will be opting out of over-the-air updates when you unlock your bootloader.

3.  Back up anything you feel is important before you proceed.

II.  Can my Xperia device be Unlocked?

Sony has been adding devices to the unlockable bootloader list over time and if your handset is listed on this page under the Supported Phones section, your device’s bootloader can be unlocked!  Another way to check is:

1. Enter *#*#7378423#*#* on your phone dialer to access the service menu.

2.  Go to Service info > Configuration > Rooting Status.  Check if Bootloader unlock allowed says Yes in this section.

If you found Yes, then you are in luck and your bootloader can be unlocked!

III.  Unlocking the Bootloader

1.  Install the Android SDK.  Use our setup guide (until Step 4) to do this easily.

2.  Download the fastboot driver file from Sony.

3.  Extract the you downloaded to a folder on your desktop.  This folder will now contain a single file called android_winusb.inf; copy this file.

4.  Go to c:\android-sdk\extras\google\usb_driver and paste the copied file here.  If you are asked to overwrite an existing file of the same name, do so.

5.  Find your IMEI number and write it down somewhere accessible.  To find out your IMEI number, type in *#06# on your phone dialer.

6.  Go to Sony Mobile’s Unlocking Site.

7.  Click on the Yes, I’m sure button to begin the process.

8.  Tick both the checkboxes agreeing to Sony’s legal terms and click on the I accept button.

9.  You should now be at the Unlock request page.  Enter your name, email and your device’s IMEI number and click on Submit.

10.  Your unlock code should now be revealed.  Write/copy this down somewhere accessible.

11.  Power down your device.

12. Hold the Menu button (Xperia arc, Xperia arc S, Xperia neo, Xperia neo V, Xperia pro) or the Search button (Xperia Play) or the Volume up button (Xperia mini, Xperia mini pro, Xperia ray, Xperia active, Live with Walkman, Xperia S) and connect the device to your PC using the microUSB cable already provided.

13.  If you are asked to install drivers, point the driver installer to c:\android-sdk\extras\google\usb_driver.

14.  Open up a command prompt window and type in the following commands.  To open up a command prompt windows, hit the Windows key + R to open up the Run dialog box, type in cmd in the Open field and hit Enter.

cd C:\android-sdk\platform-tools
fastboot.exe -i 0x0fce getvar version

[You should get a response back, something like 0.3, which means your phone is connected and detected properly]

fastboot.exe -i 0x0fce oem unlock 0xKEY

[Replace the KEY in 0xKEY with the unlock code you obtained from the Sony website]

Your bootloader should now be successfully unlocked!

If you need help with this procedure, please ask in the comments below or in the forum.

This is part of our Android How To’s. We have how to’s on rooting, loading ROMs, and tons of other tips and tricks for your specific device or for Android devices in general! For all of our Android How To’s, head here.


  • Ariyadi Kartosetomo

    not working with windows 8.1

  • meso

    sir after last step astboot.exe -i 0x0fce oem unlock 0xKEY wen i entered my key i saw UNLOCKBOOTLOADER OEM FAILED ….please help me..

  • meso

    sir my bootloader is unlocked = yes but i m runnig root checker it show me your phone is not properly rooted……..please help me …

  • renz

    my xperia neo v is on light blue.. but it says waiting for device

    sorry foy my bad english..

  • smacker

    Hi i am also having problem in step 14 pls help to solve waiting device issue

  • Mada Afifi

    i have boot loop pls help

  • rj

    I m having xperia l so was just what i hav to do in step 12

  • Ravi Raushan Pal

    wtf: it showing waiting for device from an hour

    • Ravi, are you sure you have the right drivers installed?

  • Konark Agarwal

    what should i do nw plzzz help…

  • bambang

    Hey why my xperia arc status is unknown? I cant unlock the BL using ur steps pls help

  • Jan Seidel

    I have figured out why we all remain stuck at step #14
    You will see you adb device when you open the device manager but it has an exclamation mark!
    Windows installs and tells device is ready for use but it isn’t true.

    I did install USB drivers from Sony and from Google, installed the adt SDK and the modded driver from Sony.
    Nothing worked. And I for sure followed the Sony guide precisely.

    So, I figured out that the Sony Flashtool flashtool- e.g. at comes with a driver package you can run separately. C:FlashtooldriversFlashtool-drivers.exe

    You can eventually select your device there. XPeria J wasn’t included. But there are several common driver packages to select. Simply read the description of the common packs.

    You can see my selection for XPeria J.
    and WHAM! now it works. The commands are done in fractions of a second.

    Have fun

  • Sanish

    Step 14 having problem on it… need help,, Plz

  • Bina

    I have followed the ” *#*#7378423#*#* , Service info > Configuration > but have no “Rooting Status” to check my status!! these are what I have under configuration: IMEI & software version & available speech codecs & working band/s

    I successfully connect my Experia arc (LT15i), have obtained the unlock key but when I run the fastboot..bla..bla command I get “oem unlock failed”
    any comments? please help!

  • www

    Ok how to back t lock ur bootloader?

  • irfan

    end of the step 14 its showing “waiting for the device” but nothings happening!! what to do??

  • Nandita Jaya

    I am trying to unlock my Xperia J st26i. My computer doesn’t ask me to point it to the device driver for the debugger mode. How do I ensure that the fastboot is indeed handling the device?

  • Emmanuel

    Hi,I tried to unlock my xperia arc s bootloader but the image below is what happened.
    I accessed the service menu but it says “rooting status: ” “bootloader unlockedallowed”: yes

    Please help me if there is any other way to unlock it.

  • toby

    Sorry, there is no such a folder extras\google\usb_driver in my android-sdk folder? I have installed Android SDK Tools r24.4.1.