Sony has released its own Flash tool for download. It lets you flash back to a Sony-made ROM in case you have stranded into hostile custom software territory.
Currently only the Xperia S, arc and arc S are supported and an unlocked bootloader is a must.
Sony says that more phones will be supported with time and warns that unlocking your smartphone’s bootloader can (and will almost certainly) void your warranty.
Here’s a video demonstrating the tool in action.
You can download the Sony Flash tool for Xperia devices here.
Source | Via