I have downloaded the Android source and followed instructions from
http://source.android.com/ to get the necessary images to flash the
Android Developer phone. But is it possible to just change the kernel
only.
For example, I have downloaded the kernel source and build it and the
output is the zImage. Now how to I flash this image into the developer
phone so that this new kernel can be used?
Or must I follow the instructions from http://source.android.com/ to
obtain the necessary images to flash?
If that's the case how to I modify the kernel from there, I can't find
any kernel source after 'repo sync' as mentioned.
Thanks In Advance,
Perumal
Thanks for the help! It's very useful. But for the final step
(extracting the file system from system image onwards) I did the
following instead:
fastboot flash:raw boot <kernel directory> <ramdisk directory>
And the developer phone can boot up with the new kernel.
Thanks and Regards,
Perumal
On Feb 18, 11:24 pm, Peter Smith <psmith.w...@gmail.com> wrote:
> Cian Masterson has a nice 'how I made images for my G1' page athttp://www.cianer.com/androidg1/28-building-android-kernel-images
I have worked out the details, but I have not got time to update my
android page yet. Nontheless, you might find something useful there,
http://junsun.net/linux/android-dream
Here is the gist of the process of updating kernel.
1. Obtain kernel source by following
http://source.android.com/documentation/building-for-dream
2. At the end of build process you will got boot.img file. If you modify
your kernel, just use fastboot flash boot boot.img again.
You could build the boot.img yourself directly from a kernel zImage, but
you will need to dig in more.
Cheers.
Jun