Originally Posted by ZombiJambi
Awesome man, thanks. There's no easy way to extract the kernel from the rom?
Just take the boot.img from the ROM zip, place it in your adb folder. Boot into fastboot. Type: fastboot flash boot boot.img
Once you reboot, take the modules from the ROM zip located in system/lib/modules and place them into that same directory on your phone. Replace all modules with the same name. Make sure they have the same permission as before. Reboot.
That is it.
Or if you are feeling spry, take the boot.img and the modules and place them into a flashable zip. To do so, you will need the updater binary and updater script located in the ROM zip. These are located in the META-INF/com/google/android folder.
Change the updater-script to say this:
ui_print("Mount /System Folder...");
run_program("/sbin/busybox", "mount", "/system");
ui_print("Extracting System Files...");
set_perm_recursive(0, 0, 0755, 0644, "/system/lib/modules");
ui_print("Extracting Kernel files...");
ui_print("* Kernel Installation Completed! *");
Place the modules into a system/lib/modules folder.
Zip those two folders up and flash in recovery.