How to Unlock Bootloader of Sony Xperia Devices [Guide] – * Updated*

While visiting looking out for a custom ROM for your Xperia Device, you must have heard that you need to unlock your phone’s bootloader first, but ever wondered what is this bootloader, why is it locked by default and why you can’t flash a custom rom image keeping the booltoader locked? Well, we have the answer for you.

Basically the Bootloader starts the operating system of your Android smartphone, also ensures that the operating system running on your device is well and is up to the mark. Bootloader also verifies the working and functionality of your device’s radio, processor and some other hardware components. Google provides a base bootloader for each Android version, but the smartphone manufacturers optimize it for their devices and put the necessary restrictions. The purpose is to ensure the device’s security, and restrict the custom firmwares to be flashed on the phone.

Unlocking the phone’s bootloader gives you the privilege to flash custom roms, load custom recoveries that require the bootloader to be unlocked and do other similar things. Once unlocked, the manufactures take no more responsibility of your device and you have void the warranty of your device.

As Android is an open source operating system, the developments are never going to face a break. To allow the full use of the devices, the manufacturers allow the unlocking of the bootloader officially. Unlocking your it is the very first step towards rooting your phone, you can easily flash any custom recovery using the .img file and then flash SuperSu or Super User and gain root access. We’ll be having a look at a method to unlock the bootloader of Sony’s Xperia Lineup. Although the Sony has provided all the details and method at the official site, I still found it necessary to explain it a little more and explain the method in even more simple and easiest steps. Let’s move forward to the method now.unlock xperia bootloader

Before heading towards the unlocking method, please keep in mind that it is highly custom and may result in bricking your device, as mentioned this will also void the warranty of your device. In case of any mishap, we may not be held responsible. Furthermore, unlocking the bootloadder will also erase your phone completely and you will loose all of your data. So, before you unlock your phone make sure that you backup all of your apps, media content,  contacts, call logs and text messages. Also make sure that you back up your TA partition before you unlock your bootloader.

Note: Along with voiding the warranty of your phone, unlocking bootloader will also break Bravia Engine 2 on some Sony Devices. The only way to get it back is to restore the TA partition. So, If you want to backup TA partition, you need to find a method to root your device without unlocking it’s bootloader first. Method for rooting some Xperia devices are available on XDA developers forum, but you may need to downgrade your device to an older Android version to root it without unlocking the bootloader. If you really don’t care about Bravia Engine 2, you may not worry about it then.

How to Unlock Bootloader of Sony Xperia Lineup:

      1. Install Android ADB  & Fastboot Drivers using the quick setup with Minimal tool. Find the guide here.
      2. Now first of all you need to check if your device’s bootloader unlocking is allowed or not, to do so open the dailer on your device.
      3. Type *#*#7378423#*#*.
      4. As soon as you enter the above code, a menu will open up.
      5. Tap Service info > Configuration > Bootloader Unlock. If it says Yes, that means bootloader unlocking is allowed, else you can also find out if the Bootloader is already unlocked. I’ve already unlocked my Xperia Z1’s bootloader, in the following picture its showing “Bootloader Unlocked: Yes”
        Screenshot_2013-12-19-03-51-55 Screenshot_2013-12-19-03-52-02 Screenshot_2013-12-19-04-12-51


      6. Now in the dialer type “*#06#”, you should get the IMEI number of your phone. Note it down somewhere.
      7. After verifying the bootloader unlock permission, turn off your device completely.
      8. Now open the Minimal ADB and Fastboot command prompt, that you created using the guide above.
      9. Press the back key or Volume Up key on your Xperia Device and connect it to your PC while keeping the key pressed. The back key works for older Xperia devices, while for newer devices Volume Up key will work.
      10. In case you are trying to unlock the bootloader of your Sony Xperia Z1, please make sure that it’s running on latest Android 4.3 Jelly Bean firmware. If you tried to unlock bootloader on Android 4.2.2 firmware, it will cause the camera crash on your device.
      11. In the command prompt type: fastboot.exe -i 0x0fce getvar version and press enter, you should get a response now e.g (0.3). This step is to verify that your device is properly connected or not. Unlock Bootlaoder
      12. Now open this page and accept the legal terms and conditions by Sony to unlock the bootloader.
      13. After accepting the legal terms and conditions, enter your name, your phone’s IMEI number (Remove the last digit of IMEI number) and your email and click Submit button.
      14. You should receive an email by Sony immediately, the email has the Key to unlock your phone’s bootloader.
      15. Now again in the command prompt type this com:  fastboot.exe -i 0x0fce oem unlock 0xKEY. Repalce KEY with the code that you got in the email by Sony and hit Enter.UNLOCK BOOTLOADER 2
      16. As soon as you hit Enter, the bootloader will be unlocked and show you logs in the command prompt.

How To Fix Sony Xperia Bootloop after Bootloader Unlock

That’s All. In case you got any queries/suggestions or you face any difficulties regarding this post, please feel free to stop by the comment box below. We will try our best to help you out. Thanks All.

Follow Me

Usama M

+Usama M: Ex Farmviller | Android Fanatic | Software Engineer,Founder -
Follow Me
  • Working. Thanx @Usama M

  • Skem

    fastboot.exe -i 0x0fce getvar version

    As soon as i typed those, the cmd shows

    My xperia z1 is in fastboot mode as shown by the blue led and connected to my pc. My pc is running windows 8.1

    EDIT: Nvm i’ve solved it, it was a hassle getting the drivers to install on windows 8.1

    • Usama Mujtaba

      @Skem:disqus Glad that your issue has been resolved. Is there anything I can help you with?

      • Skem

        Not that I ran into any recently. Your guide is detailed! Thanks.

    • ruji lance

      How did your resolved it? I’m using Xperia ZR and I also got stuck to waiting for device

  • Marcin Chomicz

    Hi, When I wrote in CMD :

    C:fboot>fastboot.exe -i 0x0fce oem unlock 0x5B3152EC0D3C352F

    FAILED (remote: Command not allowed)

    finished. total time: 0.004s

    I get this error – have you seen that – or you know what is the problem ?


    • Usama Mujtaba

      @marcinchomicz:disqus turn on USB debugging mode in your phone and please check that drivers are installed properly or not. Good Luck 🙂

  • Abhimanyu Singh Chauhan

    Dear Sir,
    I am unable to go more the “xii Step” , as I enter the code it come with saying “”, I tried with USB Debugging Mode and Without it also with MTP and MSC mode but same result. Please see the Screenshot as I think I have all the Drivers Installed can u provide Link for the Required Drivers for Sony Xperia Z1 C6902 14.2.0.A.290 Firmware, I ll be very thankful, Kindly Suggest.

    • Usama Mujtaba

      @abhimanyu_singh_chauhan:disqus This is most probably the connection problem only because it is not returning the numeric value. Try changing the USB port, also make sure that your phone is properly booted into fastboot mode. Follow the steps for fastboot mode carefully. Let me know if you get it resolved or not.

      • Abhimanyu Singh Chauhan

        Apart from this question I have another question I have been doing some reading and I found that people are saying to backup TA Partition before unlocking the bootloader.. And to backup TA PARTITION I have to Root and for Xperia Z1 I can’t root without Unlocking the Bootloader.. So how am I supposed to backup TA Partition and DRM KEYS before unlocking the bootloader?

        • Usama Mujtaba

          @abhimanyu_singh_chauhan:disqus you will need a method to root your phone without unlocking your bootloader first, otherwise it will be none of use.

          • Abhimanyu Singh Chauhan

            Ya ur right.. But couldn’t find this procedure as Rooting Without Unlocking the Bootloader has to be developed for Xperia Z1

      • Abhimanyu Singh Chauhan

        I think it’s a driver problem but couldn’t get driver for Fastboot for Xperia Z1.. I tried searching the Internet but feeling confused

        • Usama Mujtaba

          @abhimanyu_singh_chauhan:disqus install Sony Flashtool and install Fastboot drivers.

          • Abhimanyu Singh Chauhan

            Thanks for the Fast Reply..

          • Abhimanyu Singh Chauhan

            I have unlocked the Bootloader.. Driver problem was there thanks for the help.. Now i have a problem while rooting.. i ll post the question on the
            “Install CWM/TWRP Recovery & Root Sony Xperia Z1 C6903/C6902 Running Latest 14.2.0.A.290 Firmware [How to – Guide]” page

  • Usama Mujtaba

    @disqus_b8aRc1rGuQ:disqus type this code in Dialler : *#*#7378423#*#*. as soon as the menu opens up, select Services info > configuration and see what’s the status of bootloader, and let me know. It looks like it is already unlocked.

  • Usama Mujtaba

    @disqus_b8aRc1rGuQ:disqus I can’t understand your issue can you please explain a bit more? Please send me the screenshot of your configuration in services info.

    • George

      I have the same problem. I was with unlocked bootloader which relocked with flashtool and now i can’t unlock it.I get exactly the same message.What’s going on? please help me

  • nirbhay

    Can i lock the bootloader again to gain the warranty

    • Usama Mujtaba

      @disqus_Lt0SCAAWNg:disqus only if there is a way to lock your device’s bootloader again, otherwise you can’t.

  • Cipri Rengle

    Thanks for the tut, but there’s a problem in my case. After I type the command line with the unlocking key, I get an error and after a retry, unlocking succeeds. Here’s the problem: the phone is stuck at Sony logo and after a reflash, the bootloader appears locked.

    What’s going on?

    • Usama Mujtaba
      • Cipri Rengle

        Does the JB update have to be installed before using this program?

        • Usama Mujtaba

          @ciprirengle:disqus if you own an Xperia Z1, you must update it to Android 4.3 first and then unlock the phone.

          • Cipri Rengle

            Mine is a Z (C6603).

          • Usama Mujtaba

            @ciprirengle:disqus oh, that’s fine, you don’t need to worry about anything then.

          • Cipri Rengle

            So, can I unlock it even if I’m on 4.2.2?

          • Usama Mujtaba

            @ciprirengle:disqus yes. you can.

  • Usama Mujtaba

    @ciprirengle:disqus can you please send me a screenshot of your services info > configuration ?

    • Cipri Rengle

      Here it is.

      • Usama Mujtaba

        @ciprirengle:disqus please flash the newest stock firmware in your phone, and then try unlocking using the unlock guide. This issue is quite strange, perhaps giving a try to this might help you.

  • Usama Mujtaba

    @ciprirengle:disqus Yes to flash files, root or do anything you need to have installed relevant drivers on your PC.

  • Usama Mujtaba

    @ciprirengle:disqus yes you can, you just need root access.

    • Cipri Rengle

      Even if I use Sony’s app?

      • Usama Mujtaba

        @ciprirengle:disqus what do you mean by Sony’s app?

        • Cipri Rengle

          I mean the Back-up and Restore app comes with Xperia phones by default.

          • Usama Mujtaba

            yes if you have backed up, you can restore.

  • George

    I locked again the bootloader with flashtool and now when i try to unlock it again i get failed the device i already rooted! What can i do now?

    • Usama Mujtaba

      @disqus_tvxrV0Oc0u:disqus you can only lock the bootloader if you’ve backed up TA partition. Direct locking it won’t work at all.

      • Usama Mujtaba

        That means your bootloader is already unlocked.

        • George

          Then why do i get an error when i try to flash boot.img ?

          • Usama Mujtaba

            @disqus_tvxrV0Oc0u:disqus that’s driver problem. Can you tell me what windows are you using? And have you installed Sony Fastboot drivers using Flashtool?

          • George

            Windows 7 , Finally did it with the one click program from sony.Thanks a lot for the help!!

          • Usama Mujtaba

            @disqus_tvxrV0Oc0u:disqus Glad that it worked for you. Enjoy!

          • Sonny

            @George I get the same error as yours,can you tell what did you just do to make it work?thanks

  • Usama Mujtaba

    @ciprirengle:disqus the update should have reached Romania now. No, after you’ve rooted you won’t be able to update via OTA, you will have to flash firmware using Flashtool. Sorry for the late reply.

  • Usama Mujtaba

    @ciprirengle:disqus thanks for the feedback!

  • Filipe

    help please i don’t know how to solve this..

    • Usama Mujtaba

      @disqus_jV9UpFuaqt:disqus make sure that your phone is booted in fastboot. Also make sure that you are using proper drivers for your phone. This may be the case that your bootloader is already unlocked and you’re trying this, have you checked using the code we wrote above?

      • Filipe

        I have installed all drivers and i’m correctly doing the fastboot and allways appears that.. and no is not unlocked because appears “NO” :L i don’t know what i can do more

        • Usama Mujtaba

          @disqus_jV9UpFuaqt:disqus try using a different USB port or a different PC. or read below how other people resolved this issue.


    when i command this fastboot.exe -i 0x0fce getvar version it says
    i had updated drivers . i press volume up for fastboost mode..
    what should i do?

    • Usama Mujtaba

      @christossiamorelis:disqus You are having connection issues. If you’re using windows 8, try using Windows 7.. it may not work on 8 or 8.1. Also make sure that you installed Fastboot drivers for your Sony Xperia.

  • Usama Mujtaba

    @disqus_oIKWM0A67a:disqus please check your connection, also make sure that your bootloader is unlocked.

    • ran dumb

      I did the first test and it worked and bootloader is definately unlocked

      • Usama Mujtaba

        @disqus_oIKWM0A67a:disqus then it’s probably connection issue. please read to comments to find how others resolved it.

  • Mohammed Khired

    that’s what i get

  • Usama Mujtaba

    @mohammed_khired:disqus connection issue. Please see the comments to find how others resolved it.

    • morano

      tell us the solution plzz cz i will destroy my xperia !!!!!

  • Usama Mujtaba

    @mohammed_khired:disqus Althought the windows picks up the drivers automatically, but if you’re still facing this issue then please download flashtool, and using Flashtool-drivers install Fastboot drivers for Sony.

  • Omer Saleem

    can i flash a stock rom with a locked bootloader?
    My phone allowed unlocking the bootloader but after i did it, it was stuck in a bootloop and it just wont boot. Any solution?

    • Usama Mujtaba

      @disqus_pJKNGTwRiy:disqus yes you can. You don’t need to unlock bootloader for flashing a stock from.
      and flash stock rom then again try unlocking bootloader..something might have gone weird so it’s not booting up.

  • Omer Saleem

    can i flash a stock rom with locked bootloader?
    My phone allowed unlocking the bootloader and i did but then i was stuck on the bootloop and my phone just wont boot. Any solutions?

    • Michael Hernandez

      Yes. The locked bootloader only avoids install custom kernels and recoverys.

  • Usama Mujtaba

    @disqus_vUm7O0F75P:disqus rooting is different and unlocking bootloader is different. sometimes you can root the phone without unlocking the bootloader and sometimes you cannot.

  • Luis

    May I unlock the bootloader in case the config page say this?
    Bootloader unlock allowed:NO
    Already try following procedure, but fastboot app. response is FAILED (remote: command not allowed)
    Thank you

    • Usama Mujtaba

      @disqus_TnsPiujn5m:disqus no, it means you can’t unlock the bootloader.

      • Nuno Almeida

        i got the same message. Does it mean i cant unlock my bootloader?

  • Osama Shakeel

    It stuck on waiting for device can you tell me how to start in fastboot and how to get drivers ??

    • Usama Mujtaba

      @osamashakeel:disqus connection issues. Please read the guide carefully or see how others resolved it.

  • Shekar

    it says when i type the command for checking weather its connected
    please help me

    • Usama Mujtaba

      @disqus_zEVCGEfsFf:disqus connection issues. Please see how others resolved it.

  • Zoltán Váczi

    In case “Bootloader unlock allowed:NO” is there any way to install custom roms?

  • Guilherme Luiz Dullius

    why it appears ? thanks

    • Usama Mujtaba

      @guilhermeluizdullius:disqus you’ve typed invalid command. Please check the above guide carefully.

  • Steve Tung

    can i flash this kernal without unlocking?

  • James

    Plz help me. I can’t visit to get the key. it still loading and finally time-out 🙁 Can anyone help me to get the key?

    • Usama Mujtaba

      @disqus_qigypebsqp:disqus might be your internet connection problem..

  • sebin mk

    it is showing waiting for the devise difficult steps

    • Usama Mujtaba

      @sebinmk:disqus you’re having connection issues. Please go through the comments below and find out how others resolved it, or just follow this guide properly.

  • sebin mk

    is it works on windows 8 laptop

    • Usama Mujtaba

      @sebinmk:disqus yes it does.


    all steps done succesfully, but phone is still rebooting (not abl to boot up)…Sony Xperia Z C6603 …help me please


    all steps done succesfully, but phone is still rebooting (not abl to boot up) – Sony xperia Z C6603… help me please

    • Usama Mujtaba

      @speedlukas:disqus you probably did something wrong or missed a step. This guide is only for unlocking bootloader. Please let me know the whole process you did. Flashing a stock firmware will fix your device anyways.

      • Vladimir Čolaković

        hi, i have the same problem i did all steps but the device will not boot up… how to flash stock framware or boot up the device ? help me

        • Usama Mujtaba

          What’s your device model? Please mention it here. A stock firmware flashing can fix it easily.

  • maureen kalambu

    stuck on waiting for device i re checked my connection 4 times please explain the problem… i can not see how others resolved this.

  • shawn guek

    Stuck on . “You are having connection issues. If you’re using windows 8, try using Windows 7.. it may not work on 8 or 8.1. Also make sure that you installed Fastboot drivers for your Sony Xperia. is your solution. where to get fastboot drivers ?

    • Usama Mujtaba

      @shawnguek:disqus windows 8.1 didn’t allow adb and fastboot to work and there was no solution by Sony few months back, I’m not sure about now. Fastboot drivers, Sony provides you a .init file to install Fastboot drivers manually for Xperia devices when you open their bootloader unlock page. The other way is to download and install Sony Flashtool, using Flashtool-drivers you can install Fastboot drivers for your device. Hope this clears all of your confusions.

  • Mohamed Mansoor Ali

    i followed everything fine but struck at booting pls help me

    • Usama Mujtaba

      @mohamedmansoorali:disqus Xperia M is having this particular issue. You need to flash stock firmware now using the flash tool and then you will find your bootloader unlocked. Sorry for the delay in reply, I’ve been away for a while.

      • Ahmed Elkadi

        hi, i did every thing as you explain here but phone can’t start
        xperia M Dual (C2005) with 4.3 please help

  • hossmith

    everything you told i have done and all work good… But i send request to Sony for boot loader unlock key they dont provide yet… i m waiting since 2 day….

    • Usama Mujtaba

      @hossmith:disqus Sorry, in this case we can’t do anything, try to request them for the unlock key once again.

  • Ahmed Samy Moursi Hashwa

    I have Dual SIM which IMEI Should I USE ??

    • Usama Mujtaba

      @ahmedsamymoursihashwa:disqus try using any of these and see if they reply you with the key.

  • Chris Duran

    is there a carrier/provider that is willing to / or a way to change this Bootloader Unlocked: NO
    I have it saying no, but i was still able to get the unlock key from sony, so my thought its Fido whom has the bootloader lock , right?

    • Usama Mujtaba

      @disqus_EZOXY5i7mV:disqus yes there are carriers that do not allow.

      • Chris Duran

        read my question carefully , its obvious that there are carriers that do not allow?

        Im with fido its says bootloader unlock : NO

        Can fido reverse this or change it to yes in any way?

        I have my unlock key, sony provided it to me

        • Usama Mujtaba

          @disqus_EZOXY5i7mV:disqus Bootloader Unlock Allowed : No means you cannot unlock
          Bootloader Unlock Allowed: Yes means you can unlock it.
          If you have unlock key, then just use this method and unlock it right away.

  • jose

    after i unlocked the bootloader and put the on my phones storage, I then flash booted the kernel recovery file and now im stuck in a bootloop
    any info on where to start in order to get out
    i have did a factory wipe and cleared all caches then repeated the root process
    dont know what else to do
    please lmk

  • Sujain Jain

    Your E-Mail ID Plz?????

  • Usama Mujtaba

    @ankitsunil:disqus wipe cache and dalvik cache in recovery and check it, let me know if it doesn’t resolve the issue.

  • anderson piri

    nao funciona no xperia m dual android 4.3

  • Ahmed Elkadi

    hi, my mobile can’t start again please help (Xperia M Dual C2005 with 4.3 jelly been) i follow all instruction and every thing as you explain but now i can’t start my phone
    i did also wipe cache and dalvik cache in recovery but nothing change
    please help thanks

    • Usama Mujtaba

      @ahmedsamymoursihashwa:disqus flash stock firmware in your device, it will boot up. I guess Xperia M has this problem, the device crashed after unlocking BL. Once you flash stock firmware, it will be working again and you will find the bootloader unlocked. Good Luck.

  • Bibu no Picklo

    it suck on waiting for device :/

    How to get read of this?

    • Usama Mujtaba

      @disqus_eUUTdb5Z8m:disqus that’s the connection issue.

  • amit

    i did all the steps mentioned above..but my phone sony xperia L C2104 is not booting up..please help

  • bastet

    hi, i did the unlock bootloader with xperia m dual, then had trouble restarting and tried to flash (except data and partition). still not rebooting. any suggestions?

  • bastet

    hi, i unlocked the bootloader. then it froze while rebooting. i did the firmware flash. no change. any other suggestions? tx!

    • Usama Mujtaba

      @disqus_2eb5M9Isbh:disqus flash the firmware, while flashing through flashtool, wipe your phone completely. Things should be working then. Good Luck.

  • Usama Mujtaba

    @disqus_RlTEeLG3wt:disqus that’s connection problem. Please go through comments and see how others resolved it.

  • Usama Mujtaba

    @disqus_2eb5M9Isbh:disqus that happens sometime, but glad that it worked. Stay tuned with us.

  • Jason Teh Jiashen

    I have a Sony Solar MT27i, how to flash my firmware ? Unable to reboot after unlock

    • Usama Mujtaba
      • Jason Teh Jiashen

        thanks! shortly after sending this msg the phone rebooted. I was panicked!

        • Usama Mujtaba

          @jasontehjiashen:disqus that’s great. Stay connected with us.

          • Jason Teh Jiashen


            It is possible that you help me with the step above? I tried to install kitkat into my phone but it seems to hang at a part now (I have posted my comment there, the latest one). Please help if possible..Thanks!

          • Jason Teh Jiashen

            Am I expected to lose all apps I have installed after following your site on how to install kitkat?
            I lost all of them and lost google play store too…and now i seems to be unable to istall app.. pls help

          • Usama Mujtaba

            @jasontehjiashen:disqus Ive replied your comment regarding the Gapps thing.

          • Jason Teh Jiashen

            Hi Usama,

            Sorry for the many comments, i guess it just take times for the comment to appear.

            Anyway, I am very new to this rooting thing.
            What does it means by flashing it?

            Do you you mean I install into my phone and then install it just like how I would with Is that flashing?

            Also, the link that has been given can only be downloaded from google play store and I have lost the ability to download app from google play store. I dont know why..

          • Usama Mujtaba

            @jasontehjiashen:disqus yes exactly. As you flashed file, you will flash file. Download Gapps according to your ROM version from here:

          • Jason Teh Jiashen

            Hi man! I tried to install kitkat 4.4.2 on my xperia sola but i miss the step where you need to install

            Now my phone is unable to install APp. ples help!

          • Usama Mujtaba

            @jasontehjiashen:disqus no problem,, download file and copy it to your phone, boot into recovery and flash it. That’s all.

  • Tang Isaiah

    my xperia z keep rebooting after i unlock the loader,my xperia is 4.4.2 kikat pls help me!!!!!!ASAP

  • Tang Isaiah

    my xperia z 4.4.2 keep rebooting after i unlock the loader,pls help me ASAP!!!!!!!!!THX!!!!!!:D

    • Usama Mujtaba

      @tangisaiah:disqus Please flash stock firmware on your phone. It will be perfectly great now.

  • Bilal Soomro

    Usma my device is not connecting it keep saying waiting for device but me doing hold up cuolume button and pluging my data cable please help

    • Usama Mujtaba

      @bilalsoomro:disqus this is the connection issue only. Please make sure that you’ve installed Android adb and fastboot drivers properly, and also make sure that your anti virus is turned off, and USB ports are not busy. Give it a try then and let me know what works for you.

  • Edward Lorenz

    hey guys,i did all instructions carefully,but at the end when it said OKAY FINISHED,it didnt restart so i held power button and volume up to do it manually,it started rebooting but wont come out!!
    i read your similar comments on flashing a stock firmware,but how to do it when its still stuck in rebooting?
    first you must turn it off,but how?
    or should i do sth else?
    mine is xperia p plz help me ASAP

    • @edwardlorenz:disqus you can always flash a stock firmware whether the device is in bootloop or stuck somewhere else. Just find one and flash it, should work fine.

  • Shehroz

    I am having problems in unlocking my xperia arc s lt18i boot loader. I have tried every sungle method of unlocking bootloader. my phone shows Boot loader allowed: yes and it is not sim locked as well. I am using the correct IMEI code and I have got correct unlock code from sony and still I am getting error remote: oem unlock failed. Help!! Help!! Help!! Please!!!

    • @disqus_u1uXyzmFkO:disqus you need to make sure that your device is properly booted up into fastboot mode while its connected to be unlocked. Also make sure that you’ve turned off firewall and any antivirus software you might have installed.

      • Shehroz

        Tried that too, the device is properly booted up and the antivirus is disabled still facing the same problem and I have also tried 1 click bootloader unlock tool for sony mobiles and it’s also giving a fail at the last stage

        • @disqus_u1uXyzmFkO:disqus I suspect that your bootloader might not be unlockable.. or you’re having some connection issue that you can’t figure out.

          • Shehroz

            My Bootloader is unlockable that’s the confusing thing that it’s still not being unlocked and as per my knowledge I also have complete driver package, that’s the reason why I posted here so that you can find a solution for my problem

          • I’ll definitely do some research work and let you know in a while.

          • Shehroz

            Thanks Mate, but keep in mind that my phone is unlockable neither it’s sim locked, the drivers are perfectly installed, and the device is perfectly booted in fastboot mode, and still I get the error “remote: oem unlock FAILED!”

          • Shehroz

            Look it can be unlocked

          • yes it can be..

          • you’re probably going wrong somewhere..

  • Hye @Usama Mujtaba. I’m using Sony Xperia L [15.3.A.1.17 firmware]. I have installed the ADB installer and fastboot driver.. I also have enabled the USB Debugging. I have install the flashtool from sony, and the connection to my computer is working nicely for transferring data and with PC companion.. When i’m connecting the device when its on, there is a message “USB Debugging connected”..

    I have boot into fastboot mode with the blue LED light for sony. The device manager also stated that the android device driver has installed successfully.. However, it stuck at “waiting for device” when i’m trying to check the connnection via fastboot command prompt..

    Could you please help me..

    My email is

    Thank you in advance..

    • @abdulkhaliq90:disqus That is the connection issue. Make sure that you installed your device’s fastboot driver using Sony Flashtool. Also, remove other USB devices for a while from your PC. Turn off your anti-virus and firewall, and give it a try. Let me know if it works for you or not.

  • Jaap

    Hello, i did all of the above steps good..
    Then the command line says:
    FAILED: Root already exist. (sort of)

    That’s correct, i have already rooted the tel..
    But i’ve also unroot my tel and trieded again.

    I get the same error.

    What can i do?

    • @disqus_aGFN2vDU0q:disqus that means your bootloader is already unlocked 🙂 You don’t need to unlock it now.

  • akansh agarwal

    hii sir..i have xperia ion lt28h..i installed sdk from sony store but when i point the location it says drivers r not compatible with your device..i m sure i downloaded the correct drivers what to do plzz help..

    • @akanshagarwal:disqus try installing drivers for your phone using Sony Flashtool.

  • Tzu Dot

    Failed to unlock!

    Connected device,
    C:> fastboot.exe devices
    PSDN:YT900598UG&ZLP fastboot

    C:> fastboot.exe -i 0x0fce getvar version
    version: 0.5
    finished. total time: 0.010s

    At the command prompt, this is what I entered,
    C:> fastboot.exe -i 0x0fce oem unlock 0x

    (bootloader) Unlock phone requested
    FAILED (remote: oem unlock 0xFFFFFFFFFFFFFFFF)
    finished. total time: 0.010s

    Any idea, what can be done?

  • @cena_orton:disqus that is connection issue. Make sure the following things
    Firewall or anti virus is disabled.
    No other Android device is connected to the PC.
    If any un-necessary usb device is connected, disconnect it
    Make sure that you’ve installed fastboot drivers properly.
    Your device is properly booted in fastboot mode

    Let me know if it works or not.

    • Victor Mathews

      Its not working I have installed fastboot driver and placed it in platform tools folder and when i put in that cmd in cmd prompt it keeps on stuckking on waiting for deice and i cant go further plz help

  • sachin

    i have a xperia sola mT27i and i followed all the instruction but the CMD says waiting for the device what to do, i checked and rechecked all steps but no use pls hlp me

    • @disqus_lgz9ATNnKz:disqus that is connection issue. Please make sure that your device is properly booted in fastboot and is connected properly. Also make sure that no other extra USB devices are connected to your PC.

  • Harshad Sarode

    I am Having The Same Problem.I did The FastBoot and It showed the same as it is shown in the pics above. But after i unplug the Cable and restart the Mobile it is in the booting process it does.’t go further What should I do now Please tell me (done on sony xperia l C2104)

    • @harshadsarode:disqus your phone’s bootloader has already been unlocked, now you need to falsh stock firmware, there’s a guide on our site as well.. just look for creating and flashing ftf on sony Xperia and you will get it.

      • Harshad Sarode

        Can You Please send me the torrent link to download the firmware. I am getting problem with downloading the firmware.If i try it with IDM it gets In Zip file while on the browser it gets Cancelled.So Please send me the torrent link

        • Find the guide for creating ftf on our site and create it yourself 🙂

  • Rati Kvariani

    how i can check my bootloader status on service info > configuration it typed that rooting status is Bootloader unlock :yes its mean that my bootloader is unlocked?

    • @ratikvariani:disqus is it Bootloader unlock Allowed: yes? or bootloader unlock: yes? please see carefully. If it’s allowed, means it isn’t unlocked, but you can unlock it. If it’s already unlocked, it will say Rooting status: already rooted.

  • akshay

    dd all the steps properly,,,bt stuck on waiting for device….plzz help

    • @disqus_96wlSlHFDM:disqus that’s connection issue. Please go through the comments and see how people resolved it.

  • Aniket

    Where can I find drivers for my device xperia neo L? Flashtool is showing me error
    ”Drivers need to be installed for connected device.” Please help me with this.

    • @disqus_aqrZGvOxKe:disqus install drivers using flashtool, find flashtool guide on our site.

  • cyc_simlaite

    I just tried to unlock the bootloader of sony xpmd 4.3, but after cmd’s successful announcement , my phone is not starting up just hanging on the sony waves.. I have to flash it with stock firmware or is their any method ????? HELP

    • @cyc_simlaite:disqus flash stock firmware on your Xperia M. Find the guide on our site.

  • Timeth Subasinghe

    My xperia z ultra c6833 doesn’t boot into the fastboot mode it always boot in to flash mode ( I tried with both volume up and down buttons)

    • @timethsubasinghe:disqus in the fastboot mode, the blue light blinks up. You only need to keep the Volume Up key pressed and while having it pressed, plug in the cable.

  • Diana Boateng

    There are almost no instructions for mac osx except for downloading the sdk package. All of the information out there is about how easy it is to do on windows. How do I get the command window up on mac? I can run the fastboot under terminal, but it is a predetermined program and it doesn’t allow me to insert commands after it runs. None of the necessary folders are easily accessible on mac. HELP!!!!

  • Diana Boateng

    Thanks so much for getting to me so quickly! The guide really helped, but I’m stuck on step 20 now: the nano editor window. That command refuses to work for me even though I have input it several times. I was also confused on whether or not I should open a new terminal window because that takes me from being connected to the android folder (and also doesn’t recognize the command), or If I should close out the connected window and start from a new window, which yields the same result. HELP!!

  • Diana Boateng

    Nevermind!!! I figured out that it was just a shortcut. I was able to unlock the bootloader. Thanks a ton!!!

  • Diana Boateng

    I bricked my phone while trying to install cyanogenmod. After deleting and formatting everything, right before I installed the zip files, the phone went off. Off recovery mode, just completely off. Now the only thing I can do is charge the phone. PLEASE TELL ME YOU CAN HELP!!!!

    • @dianaboateng:disqus just flashing the stock firmware will bring your device back to the life 🙂 There is a guide to create stock FTF and flash it, on our site. You may find it using the search option on the top.

  • @disqus_INTSNVEbbQ:disqus flash stock firmware. There’s a guide to create stock FTF and flash it on our site.

  • Raj Kumar

    On my Xperia J ST26i in fastboot mode command is showing
    waiting for device

    • @disqus_ZRKUrD5wDp:disqus that’s a connection error. Please see how others resolved it and fix it.

  • tapan

    I have Windows 7 on which anti-virus is not installed. But I keep getting similar message in command prompt (waiting for device). I have tried connecting the device through all three usb ports one after the other but nothing happens. The blue light does show up on the phone, though. I’ have been trying to root my device all day long, and nothing seems to work at all! Please advise.

    • @disqus_4AWdGWCBJa:disqus try enabling usb debugging mode. And see the comments to find how other people resolved it. Good Luck.

  • Hi, i have a Z2 and my bootloader can’t be unlocked, do you know if theres any way to intall costum rom without unloking the bootloader, I have used a metod that i have to dowgrade from 4.4.4 to 4.4.2 and then i can root and install other recovery on stock rom but if i flash a costum rom the phone gets dead and i have to flash stock rom again?

  • R.S.Rajasurya Selvakumar

    after successfully unlocked bootloader i am stuck on BOOTLOOP…

    • @rsrajasuryaselvakumar:disqus you need to flash a stock FTF now. There’s a guide on our site that will help you to create an FTF and flash it using flashtool.

  • Adnan Che

    If my bootloader unlocked says NO, what then?

    • @adnan_che:disqus then you need to unlock it.
      Please check “bootloader unlocked allowed” status as well.

      • Steve Bellows

        Then unfortunately there is no hope to allow: yes. It was the mobile carrier that screwed you…and me.

  • Tarek Salama

    that’s what has appearedto me

    • @disqus_8pTW7mT1fV:disqus please read the line, you wrote astboot. It is fastboot, please type correctly.

      • Tarek Salama

        i didn’t write that it appeared to me after i pressed enter



  • Tarek Salama

    i didn’t right that in the command
    it appeared to me after i wrote what u have already told us to write

  • @mukta77:disqus this is connection issue. Please see how others resolved it.

  • sandeep

    how should i unlock bootlooder for sony xperia e3
    when i use blu method by flashtool
    it showing u cannot unlock by offical way

  • @disqus_gRlIIeZDdJ:disqus that means your bootloader is already unlocked.

  • Glany Saldanha

    After following the above steps, at first I got scared that the mobile went into boot loop.
    But when I force stopped and restarted the phone, it worked fine.
    Sad that phone got formatted.

    • @glany222:disqus unlocking bootloader always wipes the phone. It is mentioned in the guide above.

  • @ankur1997:disqus install drivers properly and connect your device properly. Make sure you’re using original data cable. disable Firewall and antivirus if enabled. Let me know if it works or not.

  • @sumanthbunny:disqus please show a screenshot.

  • Tom

    can you still unlock bootloader if bootloader allowed access is: no

    • @disqus_NDlGElngBH:disqus no, you can’t unlock if bootloader unlock isn’t allowed.

  • @ermohsinshekh:disqus that is drivers issue. Please install drivers properly and unplug unnecessary usb devices.

  • Fok Yu

    I have succeeded, however I had to relock my phone again in order to update to version 4.4.4 and I have done so. now my problem:

    When I tried to do the above again I get ” Failed Device is already rooted ”
    Can you help me please? it’s not rooted yet, and its bootlocked still.

    • @disqus_P1vMFGZMBv:disqus how did you lock the bootloader again? I suppose your bootloader is unlocked. That’s why its giving you the rooted error.

  • @hichemsilvator:disqus yes, you’ve to install all drivers properly.

  • @disqus_FfTBs7uj6t:disqus can you show a screenshot of your bootloader status?

  • Jaber Selmouni

    remote: Device is already rooted

    • @jaberselmouni:disqus that means your bootloader is already unlocked.

  • Aditya Karmakar

    i just did it as u said exactly..My phone is Xperia M (JellyBean 4.3)
    after the unlock procedure i rebooted my phone but it is stopped at the xperia boot loop
    waited more than 3hours but can see to workk….what should i do ?

    btw how can i relock my bootloader?

    • @adityakarmakar:disqus you can only relock bootloader if you have previously backed up DRM keys. This is an issue with Xperia M. You will have to flash a new stock firmware to recover your device. You can find the guide to flash stock firmware on Sony Xperia phones on our site.

  • Aaryaman Singh

    I’m unable to unlock bootloader

    • @aaryamansingh:disqus Is the bootloader unlock allowed status “yes or no” on your phone?

  • Raditya Adi Baskara

    Hi, i’ve unlocked my bootloader after following every step here, but when i turned on the phone, it wont boot and stuck in bootanimation (waving silk). Even after i flash it using stock firmware. What did i do wrong? I’m using xperia Z1 on 5.1.1

    • @raditya_adi_baskara:disqus You will have to flash a stock FTF to fix. Find the link on our site. Best of luck.

  • Sharath

    Xperia E C1504 As I did all the steps instructed and in the minimal ADB tool it shows bootloader is unlocked. But turning on my phone, it is not responding means it shows only the xperia foggy animation thats all. The device not even booting and turning on. So whats the problem and please help me out.

    • @disqus_lm4IkUoxMY:disqus This is a common issue with some xperia devices. To boot up your phone , you will have to flash a stock firmware now. You can find the stock firmware flashing guide on our site to get out of this issue now. Best of luck.

  • Kanwaljeet Singh

    after step 12
    it is showing waiting for device
    plz help

  • miguel1981

    I get FAILED (remote command not allowed) ..

  • Vihanga Madampe

    Does this support C6902 running on Lollipop 5.1.1 pre rooted Firmware?

    • Himanshu Bharti

      bro… if i install this rom (LP 5.1.1 FW 14.6.A.1.236).. can the battery drain issue be resolved???

      • @himanshubharti:disqus Perform a clean install and you may not face any battery drain issues after this.

    • @vihangamadampe:disqus yes, you can unlock the bootloader, in case something goes wrong, you can flash a stock firmware first and then unlock it.

  • Kranti M

    its showing as waiting for device

    • @krantim:disqus Something is wrong with the connection here.

  • gg

    For me it Command not allowed

    • @disqus_AEyvF0mwtD:disqus Check if your bootloader is already unlocked, or the unlock allowed status is yes or no.

      • gg

        Its not unlocked and im allowed to unlock

        • @disqus_AEyvF0mwtD:disqus then check if you’ve installed the ADB & Fastboot drivers properly or not. connect your phone in fastboot mode properly and try running the command again. Best of luck.

          • Velizar Peshev

            for me unlock status is NO and fastboot says Command not allowed. Sill CAN’T unlock this damn bootloader…………..

  • @disqus_e7NtsPafCU:disqus If unlock allowed yes: means you can unlock, if no then means you cannot.

    • If bootloader already unlock, it will show: phone rooted or root status: yes.

      • Jesús

        I do not have access to the terminal.
        I can not see it , the phone is locked on the screen of Sony

        • @disqus_e7NtsPafCU:disqus You will check the bootloader lock or unlock status by dialing the secret code for checking it.

  • Now first of all you need to check if your device’s bootloader unlocking is allowed or not, to do so open the dailer on your device.

    Type *#*#7378423#*#*.

    As soon as you enter the above code, a menu will open up.
    Tap Service info > Configuration > Bootloader Unlock.

    If it says Yes, that means bootloader unlocking is allowed, else you can also find out if the Bootloader is already unlocked.

    I’ve already unlocked my Xperia Z1’s bootloader, in the following picture its showing “Bootloader Unlocked: Yes”

  • Mike Albert Malatesta

    I just got a new Xperia XZ and have done lots of tinkering to unlock the bootloader with no success. I tried following steps from Sony and installed Minimal ADB and Fastboot to the same end.

    C:Program Files (x86)Minimal ADB and Fastboot>fastboot devices
    CB512CQ5XP fastboot

    C:Program Files (x86)Minimal ADB and Fastboot>fastboot -i 0x0fce oem unlock 0xC6XXXXXXXXXXXXXXXXX

    FAILED (remote: Command not allowed)
    finished. total time: 0.002s

    I have dialed and gone to service info and found,

    bootloader unlock allowed: YES

    I assumed this meant that my bootloader is unlockable but not currently unlocked.

    I tried rooting my phone with a one click app and it failed over and over again. I would like to install a custom ROM at some point or even just modify things with Xposed so I would really like to get this figured out. I’ve read every comment on this page so please don’t refer me to how others solved it because no one has. If you think they do have a solution tell me the specific user. Your help is greatly appreciated.

    • brocnical

      Make sure the “OEM unlocking” option in the Developer options menu is enabled.

  • @venkatsudam:disqus load it again.

  • brocnical

    On newer versions of Android you also have to have enabled the “OEM unlocking” option in the Developer options menu. If you do not do this you will get the following error which many people below are also getting:

    “FAILED (remote: Command not allowed)”

    • Max Parkinson

      thanks so so much, i know some people exaggerate, but i was trying for 3 hours straight! couldn’t figure out the problem,thanks a bunch it worked

  • OldTrex
© 2017 TechBeasts. All rights reserved.· is not associated with Google, Samsung or any other OS provider and smartphone manufacturer. We are an unofficial fan site.