We have already provided you a detailed Tutorial about Unlocking Sony Xperia P Bootloader and rooting Sony Xperia Sola. Sony Xperia P is also a similar set when compared to Xperia Sola although there may be some hardware and Android version differences but they run on similar kernel and engine. XDA dev member who created the Advanced rooted stock kernel for Xperia Sola has created a version for Xperia P that can root the device and provide superuser access.
Update: Recently, Xperia P was updated to Android 4.0 ICS. Most of the people who accepted the update lost the root access. We have added a new kernel below that can root Xperia P on ICS, the procedure is same.
Disclaimer: This instructional guide is only meant for educational purpose. So, proceed ahead with your own risk. Neither Tips4Droid nor the developer is responsible for your damage under any circumstances. Follow all the instructions carefully before proceeding.
[Xperia P] Advanced Stock Kernel (File Name: P-DooMLoRD-AdvStkKernel-v01.elf File Size: 6.7MB)
Xperia P ICS root Kernel [ Now you can root Xperia P on Android 4.0 ICS easily]
How to root Sony Xperia P:
Step 1. First of all you need to download the Kernel.elf file from the above provided link to your Windows based computer. Then, you need to copy / paste this downloaded file to the folder, which contains fastboot binaries, in other words you can say fastboot.exe file.
Step 2. Then, turn off your Sony Xperia P and restart it in a fastboot mode by pressing and holding Power button and Volume button simultaneously.
Step 3. When it get into a fastboot mode. Then, run the command prompt on your Computer.
Step 4. Following command must be use to flash the kernel.elf –
fastboot flash boot kernel.elf
Step 5. When the command gets processed completely. Then, you should reboot your Sony Xperia P and start it normally to enjoy the kernel.
Step 6: Download an install SuperSU from Android market.
XDA developer forum members are trying to create some good ICS and Jelly Bean based custom ROM for Xperia P. We are tracking them and will keep your updated.
Let us know if you face any issues, we are committed to help you. To get all latest updates about Sony Xperia Phones signup to Newsletter below: