AnyKernel 2.0 -- Flashable Zip Template for Kernel Releases with Ramdisk Modifications
"AnyKernel is a template for an update.zip that can apply any kernel to any ROM, regardless of ramdisk." - Koush
The concept of AnyKernel has been around for awhile, (originally by Koushik Dutta/ClockworkMod,) which allowed a device-specific kernel zImage to be flashed over device-specific ROM and use the ramdisk that came with the ROM to reduce the chance of any issues arising from the custom kernel pairing.
The drawback to this was that some kernels require modifications to the ramdisk to enable/set up kernel features, and in the old AnyKernel format there was no way to do this. Until now.
AnyKernel 2.0 pushes the format even further by allowing kernel developers to modify the underlying ramdisk for kernel feature support easily using a number of included command methods along with properties and variables to customize the installation experience to their kernel.
A working script based on DirtyV Kernel (by bsmitty83) for Galaxy Nexus (tuna) is included for reference.
Source: https://github.com/osm0sis/AnyKernel2/
Download: https://github.com/osm0sis/AnyKernel...ive/master.zip
Instructions
1) Place zImage in the root
2) Place any required ramdisk files in /ramdisk
3) Place any required patch files (generally partial files which go with commands) in /patch
4) Modify the anykernel.sh to add your kernel's name, boot partition location, permissions for included ramdisk files, and use methods for any required ramdisk modifications.
5) zip -r9 your.zip *
Not required, but any tweaks you can't hardcode into the source should be added with a bootscript.sh like is done in the example provided.
Enjoy!
Questions, comments and feedback welcome.
Credits & Thanks: All authors of the included binaries for their amazing work porting these over. koush for the original AnyKernel concept.
Disclaimer: Naturally, you take all the responsibility for what happens to your device when you start messing around with things.
XDA:DevDB Information
AnyKernel 2.0, a Tool/Utility for the Android General
Contributors
osm0sis
Version Information
Status: Stable
Current Stable Version: 2.0
Stable Release Date: 2014-03-01
Created 2014-03-05
Last Updated 2014-03-05
"AnyKernel is a template for an update.zip that can apply any kernel to any ROM, regardless of ramdisk." - Koush
The concept of AnyKernel has been around for awhile, (originally by Koushik Dutta/ClockworkMod,) which allowed a device-specific kernel zImage to be flashed over device-specific ROM and use the ramdisk that came with the ROM to reduce the chance of any issues arising from the custom kernel pairing.
The drawback to this was that some kernels require modifications to the ramdisk to enable/set up kernel features, and in the old AnyKernel format there was no way to do this. Until now.
AnyKernel 2.0 pushes the format even further by allowing kernel developers to modify the underlying ramdisk for kernel feature support easily using a number of included command methods along with properties and variables to customize the installation experience to their kernel.
A working script based on DirtyV Kernel (by bsmitty83) for Galaxy Nexus (tuna) is included for reference.
Source: https://github.com/osm0sis/AnyKernel2/
Download: https://github.com/osm0sis/AnyKernel...ive/master.zip
Instructions
1) Place zImage in the root
2) Place any required ramdisk files in /ramdisk
3) Place any required patch files (generally partial files which go with commands) in /patch
4) Modify the anykernel.sh to add your kernel's name, boot partition location, permissions for included ramdisk files, and use methods for any required ramdisk modifications.
5) zip -r9 your.zip *
Not required, but any tweaks you can't hardcode into the source should be added with a bootscript.sh like is done in the example provided.
Enjoy!
Questions, comments and feedback welcome.
Credits & Thanks: All authors of the included binaries for their amazing work porting these over. koush for the original AnyKernel concept.
Disclaimer: Naturally, you take all the responsibility for what happens to your device when you start messing around with things.
XDA:DevDB Information
AnyKernel 2.0, a Tool/Utility for the Android General
Contributors
osm0sis
Version Information
Status: Stable
Current Stable Version: 2.0
Stable Release Date: 2014-03-01
Created 2014-03-05
Last Updated 2014-03-05