Root Xperia 2011 Android 4.0.4 – 4.1.B.0.587
Rooting is the process of allowing you to run your device with root-level permissions. Additionally, when we talk about Root we generally include Superuser permissions and various tools that assist with power user type activities.Once Rooted it’s possible for you to replace pre-installed apps, modify or replace system files, and do all sorts of low-level stuff
First do the following on your device
Go to settings > Security > Mark “Unknown sources”
Settings > Developer options > Mark USB debugging
Settings > Xperia > connectivity > USB connection mode > select MSC mode
1) You should download Flastool
2) Download the respective Kernel to flash
3) Go to C>flashtool > firmwares > and delete everything present in the folder; Then copy the kernel into this folder
4) Now launch Flashtool
Run this with administrative privileges