Today I am gonna teach you how to unlock (and relock) your bootloader. Also fixing bootloop.
Disclaimer! Proceed at your own risk! I am not responsible if anything happens to your phone. Although if you follow every step carefully, you won't have any problems. Unlocking bootloader WILL void your warranty, but you can relock it, so it's under warranty again. Also back up your data!
So lets first talk a little bit, what bootloader is and what a bootloop is. Bootloader is required for some mods like CWM, custom ROMs and so on. Bootloop is if you have unlocked your bootloader, and try to boot your phone, but the booting animation will start to replay, so you basically can't boot up your phone.
Make sure USB Debugging and Unknown Sources are enabled.
But lets get to unlocking the bootloader, shall we.
First, on your phone open Dialer. Type *#*#7378423#*#* to acces the Service Menu. Select Service info, then Configuration, and look for Rooting Status. If Bootloader Status says Yes, then you can unlock your bootloader, if not, stop right now!
Now take a piece of paper, and write down your IMEI - you are gonna need it later to get the bootloader unlock key.
Nextly, download and install Flashtool.
Once installed, go to this site. Fill in the information, and you should recieve a bootloader unlock key onto your eMail.
Now open Flashtool. Click the BLU icon. Then unplug your device, turn it off, hold down the volume up key and then connect your phone to your PC via USB cable. (This is Fastboot Mode)
Once you have done that, you should be promoted with a screen asking for your bootloader unlock key. Type it in and click Unlock and your bootloader should be unlocked now.
To relock, repeat the process of unlocking (click on BLU, connect in fastboot mode, and so on) but this time you will get an option to Relock. Click on it and your bootloader will be locked.
Now, continue reading if facing bootloop, like I did. It's common on our devices to face bootloop, but you can probably come out of it.
After unlocking, try to boot up your device. If not able to boot up, take out your battery. Connect your phone to the PC in Fastboot Mode.
Now relock bootloder. Boot back to Fastboot Mode and unlock it again.
Now flash Xperia E's Stock Full Firmware via Flashmode. Wait for it to flash. First boot might take a while, but hopefully you don't face bootloop / come out of it.
If this guide helped you, then please click thanks!
Any questions? Just ask them and I'll answer!