del12:
The EROM can be damaged. Follow this tutorial: REPAIRING EROM GUIDES for most sonyericsson phones
If not the EROM, then maybe the GDFS is corrupted. In this case you need to restore the GDFS backup what you made before trying to flash/patch the phone.