Share your experience!
just like everyone else, my xperia S had the same problem with the phone shutting down but this time is different to everyone else, I have tried the repair function on the pc companion, but after installation, the phone resets itself, then the sony logo appears for about 3 seconds and then fades to a red sony logo and then the phone shuts off. This happens over and over again and i cant shut the phone down with the power and vol up function so i had to let the phone run out of battery. I tried recharging the phone hoping it would reset but same happens again. I would like to point out that ive been using the phone for 2 days properly( as in set up with phone network) and now i and stuck without a phone. Also like to point out that this happened yesterday. Please help 
I suggest that you contact your local support team to have your phone examined at an repair center.
http://www.sonymobile.com/global-en/support/contact-us/contact-info/
Because you've tried all the things that you can do by yourself.