[Sony Xperia P, U, Sola, Go] krachlatte:
NOTE: Use at Own Risk, I am not Responsible for any damages...... Hit Thanks if it works for you

NOTE: Do not turn on Battery Save mode when you have flashed KK v6.x Kernel, then phone will go into a bootloop immidiatly

Prerequesites:

Sony Firmware: 6.0.B.184 for GB and 6.1.1.B.1.10 for ICS

Installed Andoid SDK with platform-tools included, http://developer.android.com/sdk/index.html

Correctly installed modifed USB Drivers from Sony, follow this Thread if you got problems http://xdaforums.com/showthread.php?t=1527159

Unlocked Bootloader, which implies the correct installation of the USB Drivers follow this Process http://unlockbootloader.sonymobile.com/unlocking-boot-loader

Get SU and Superuser from here http://androidsu.com/superuser/

Know how to put the phone into Fastboot mode

How too:

Now lets get started, these are the steps to get to the latest kernel with the recovery installed.

1. Flash the unlocked stock kernel "Kernel 6.0.B.184 ro.secure=0.elf" from the Android SDK Folder:

fastboot.exe -i 0x0fce flash boot Kernel 6.0.B.184 ro.secure=0.elf

fastboot.exe reboot

2. Install SU and Superuser to gain permanent Root

NOTE: This step is only needed once, you can flash a new kernel without the need to root the device again.

extract SU and Superuser from the downloaded zip files and push those via ADB to the unlocked /system folders from the SDK dir with the commadn below.

adb root

adb shell id (to see if you are root)

adb remount

adb push su /system/xbin/su

adb shell chown 0.0 /system/xbin/su

adb shell chmod 06755 /system/xbin/su

adb remount

adb install Superuser.apk

reboot the phone and check with a Rootchecker app if you successfully gained root.

3. Install Busybox From the Market.

Touch the Play Store icon and wait for ...... ...... ok just kidding

NOTE: Please check the Correct file size of the su file with ls -l /system/xbin/ it should be around 380 K in size or compare with the file from the zip archive

4. Flash the latest Custom Kernel "kernel.elf".

fastboot.exe -i 0x0fce flash boot Kernel with CWM gows io sio.elf

fastboot.exe reboot

5. Enter Recovery

Hit Vol+ after it vibrates on the Sony Logo , the Home Touchkey is the Enter Button......

Finally go for a full backup, yeah !!!!

NOTE: I never had to wipe or factory reset my phone while swapping kernels back and forth, trust me i flashed the phone a lot of times with a lot of self compiled kernels...

Appendix:

I build a Custom Kernel from this source http://developer.sonymobile.com/wpor...ads/opensource Open source archive for build 6.0.B.3.184 for KK v5.x and 6.1.1.B.1.10 for KK v6.x

here is my git https://github.com/krachlatte/

Thanks to the makers of the Android Kernel Kitchen 0.2.3, Flashtool, Superuser, aso....just to mention a few:

KeiranFTW for CWM

DOOMLORD for govenours

Championschwimmer For the Kernel Kitchen

jozinek

driversax

.... a s o i hope i did not forget anyone...

Thanks

Release Notes

Krachlattes Kernel (KK) v5.1

SSHTunnel Support

Iptables Support

Droidwall Support

I/O Schedulers added:

sio

Governours added:

interactive

minmax

smartass

smartass2

Krachlattes Kernel (KK) v6.3

gcc upgrade from 4.3.3 to 4.6

http://gcc.gnu.org/gcc-4.6/changes.html

SSA loop prefetching is enabled by default for the Cortex-A9 at -O3

Kernel Source code update to 6.1.1.B.1.10 found at sony dev page

Bootlogo fixed

I/O Scheduler added:

Simple I/O Scheduler (SIO)

Governour added:

smartassv2

Hotplug

The Hotplug governor performs very similarly to the OnDemand governor, with the added benefit of being more precise about how it steps down through the kernel's frequency table as the governor measures the user's CPU load. However, the Hotplug governor's defining feature is its ability to turn unused CPU cores off during periods of low CPU utilization. This is known as "hotplugging."

Obviously, this governor is only available on multi-core devices.

Screenshot showing up time, Juice defender installed, normal usage.....for 1 hour 10 minutes music via bluetooth and gps track recording at the same time yesterday, with kernel v6.2.

NOTE: Do not turn on Battery Save mode when you have flashed KK v6.x Kernel, then phone will go into a bootloop immidiatly

Flash it with:

fastboot.exe flash boot boot.img