How to Unlock Bootloader on Xperia Devices

Unlock bootloader on xperia devices

Do you want to customize your Xperia smartphone or tablet with custom ROMs, or tweak its performance using a kernel? Then, you have just landed at the right place. To do so, you will first require to unlock bootloader on Xperia device. And we are going to help you do just the same.

// Sony Developer Website supports unlocking the bootloader officially.

What is a locked bootloader?

A locked bootloader in a restriction imposed by the device manufacturer, that prevents a user to make system-level modifications to their phone or tablet. However, if you are willing to do so, and want to install custom ROMs, recovery, and other mods, you will need to unlock the bootloader. Unlocking is officially supported by Sony, on their developers website.

Before you read ahead, you should be well-aware of the risks that comes with unlocking the bootloader on your Xperia. Once you unlock, DRM protection won’t be applicable any more. The procedure tends to trigger a complete wipe of the device, including the internal storage and third-party apps. However, the external storage (Mirco SD card) shall be unaffected.



Unlocking could be a risky procedure and may render a soft-brick. DroidOrigin shall not be held responsible for any damage to your smartphone/tablet. But, we would definitely help you out, if you find yourself in any such situation.


Before You Begin

  • Download and install Sony USB drivers.
  • If you’re using My Xperia services currently, you must disable them before unlocking the bootloader.
  • Enable OEM unlocking and USB debugging under Settings > Developer options. If you don’t know how to enable, you can click the following link – How to Enable USB debugging on Android devices.
  • Install Android SDK for ADB and fastboot access. Alternatively, you can also use 15 seconds ADB Installer.
  • Backup your Xperia completely. This includes the storage, apps, messages, contacts, and everything else that is necessary.


Unlock Bootloader on Xperia Devices

STEP 1: Check if your device supports unlocking the bootloader and acquire the IMEI number for your Xperia.

To do so, open the dialer and type “*#*#7378423#*#*”. This will open the service menu, go to Service info > Configuration > Rooting Status. The Bootloader unlock allowed status should display “Yes“. If it doesn’t then do not proceed any further, your bootloader can’t be unlocked using this procedure.


Now, for IMEI – Open the dialer again, and type “*#06#”. Note down the IMEI number for your device.

STEP 2: The unlock key is different for every handset and you will need to derive it. Go to Sony’s Unlock Bootloader website. Scroll towards the end and select the model of your Xperia device form the Select your device drop-down menu. Click on Continue, now.


You will be taken to the email verification page. Enter your valid email address, accept the Terms & Conditions, and finally click on Submit.

STEP 3: Now, open the email that you have received from Sony, and click on the directed link, that is offered in the email.

You will now be taken to the IMEI verification page. Here enter the unique IMEI number in the provided space, that you have noted down during step #1. Accept the terms & conditions and click on Submit. You will now be provided with the unlock key for your Xperia, note it down somewhere.

Please note, that you cannot and should not use this key for any other device model or variant, except your own.

STEP 4: Time to boot your Xperia to bootloader/fastboot mode. To do so, connect your phone/tablet to the PC using the appropriate USB cable. Now open a command-line (CMD) window on your PC and enter the following command.

adb reboot bootloader

If you know the right hardware-key combination to reboot into the fastboot mode, you can use that too.

STEP 5: Keep the device connected when it is in bootloader/fastboot mode, and enter the command in the CMD window to start the unlocking process.

fastboot -i 0x0fce oem unlock 0xKEY

Here, replace the ” KEY ” with the unique unlock code that you received during step #3.


fastboot -i 0x0fce oem unlock 0xFDFB4B73E64C784C

It will take a few seconds to unlock, and voila! Its done. You can disconnect the device now and let it reboot. Know that your official support and warranty will now be void.

You have just unlocked bootloader on your Xperia device. That wasn’t so difficult, was it? If you have queries, or find any issues during the process, you can comment below and let us know about it.


Using an Xperia device? These articles might be interesting too: