Bootloop in Xperia L when the bootloader is unlocked using sony's flashtool I was trying to install AOSP rom for Xperia L provided by Sony. So i tried to unlock my device using Flash tool. I tried unlocking the device, it replied "failed" first and second time I tried, it ran some commands, said ok and requested for a Restart. And when i restart it displays SONY, XPERIA and gets caught in a loop displaying a image.

Is there something I missed before I unlock my device or there is a problem with the device?

thanks.
It always happens, you will have to reflash your stock firmware using pc companion.