Kernel Devs: Introducing the "Any Kernel" update.zip template

koush

Premium Member
Premium Member
Developer
Joined
Mar 22, 2010
Messages
128
Reaction score
0
Here's an update.zip template that lets you flash a kernel to ANY ROM, regardless of ramdisk. How it works:

updater-script runs and extract the boot.img from your current ROM.
It unpacks the boot.img into kernel and ramdisk.
It repacks newboot.img with the new kernel and the same ramdisk.
It flashes the newly created boot image.

If you distribute your zImage and kernel modules (wifi, etc) in this format in this format, it will work with *any* ROM. No need to repack per ROM anymore!

Use the following repository to create an update.zip!

koush's AnyKernel at master - GitHub
 
Last edited:

wuyanks

DF News Team
Premium Member
Joined
Nov 6, 2009
Messages
2,364
Reaction score
1
wow very interesting... kudos to you, koush
 

samir5421

New Member
Joined
Apr 16, 2010
Messages
1
Reaction score
0
awesome! should we just put the zimage in the proper directory and replace the file that is currently there and then flash?
 

1Nitrox

New Member
Joined
Oct 18, 2010
Messages
1
Reaction score
0
Great! Successfully used this utility to flash my custom kernel into HTC Wildfire.
 

stabl4life82

Member
Joined
Aug 30, 2010
Messages
719
Reaction score
0
Location
south carolina
i dont get what exactly it does in dummy terms..lol...can someone explain a lil better..i just read up on ramdisk talking bout it speeds up internet and a few oter things but i dont get what this does exactly or if it will be useful to me
 

droidzone

New Member
Joined
Sep 24, 2010
Messages
11
Reaction score
0
Location
India
My intention is to extract a kernel of a rom and offer it as an update to an existing rom. I can unpack the boot.img to get the zimage. However, how do I know what modules to include. There are many in the system folder.
 
Top