I have just purchased a Sony Ericsson Xperia st151 and thinking of rooting it. My question is if I root the phone will I be able to upgrade to Android 4.0 (ice cream sandwich) And would you recommend rooting it. Basically what does rooting do to the phone.

You are thinking of "rooting" a phone without any idea of what it does?
In that case my advice is don't do it!There's a lengthy explanation here on Wikipedia (though not necessarily correct in all the facts):
http://en.wikipedia.org/wiki/Rootin...
Basically rooting is not required to update Android rooting will allow you to mash with system files
For Example : Rooted phone will allow to install "X recovery" and it is used to make a backup of you whole operating system if by chance because of some changes or virus infection your phone refuses to Start.Many application requires root to work properly.Rooting is just like jailbreaking iphone.Rooting will not harm your phone by any way it is just a process of getting supperuser permission which is required to run some apps perfectly.
If you want to root then tell me i will help you,provide me your current Android version.
