If you have a boot.img from an existing device, you can use the following process to extract the ramdisk, supply your own zImage, and repack back into a bootable image.
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images On Wednesday, 6 June 2012 04:08:12 UTC-4, petter wrote: > > Hi, I wanna pack android's ramdisk into zImage without using kernel's > build system. I know that in kernel sources /sripts/gen_initramfs_list.sh > will generate list of files for initramfs and /usr/gen_init_cpio will > create cpio archive (packed initramfs files, i think that it is same like > cpio binary in android_platform/system/core/cpio) and somehow this cpio is > merged with kernel binary by kernel's build system. Could somebody guide me > how to merge ramdisk image with zImage manually (by manually I mean that I > will write C utility for doing this process) -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel