Today I'm going to show you a nice tutorial on how to compile your own android kernel from source, this tutorial will be a little bit focused on Sony devices as i had an experience with 'em, but that is not going to prevent that this way...
3.Installing Libraries and Preparing the Environment
As you know guys there are several libraries needed for any software to terminate properly so, if you want to succeed in compiling you have to get these libraries that we're gonna write through...
5.Adding Features to the Kernel
A)Automatic Way (Using the toolchain menu)
ARCH=arm CROSS_COMPILE=~/arm-eabi-4.4.3/bin/arm-eabi- make Device Name
make ARCH=arm CROSS_COMPILE=~/arm-eabi-4.4.3/bin/arm-eabi- menuconfig
7.Trying out your kernel
Once you have got an output which will be kernel.elf
You have now to try it
Flash it using fastboot :D
Whether CMD or Androxyde Flashtool
You will have to install your fastboot drivers in both ways
fastboot -i 0x0f...
Here's the Doomsday ROM for XPERIA J
ROM is Stock JB Based and Contains Mostly Z2 Features
ROM Features & Screenshots
Honami 5X4 Z2 Home