Kernel Image

17 views
Skip to first unread message

perumal316

unread,
Feb 13, 2010, 5:10:04 AM2/13/10
to Android-DevPhone-Updating
Hi,

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

Peter Smith

unread,
Feb 18, 2010, 10:24:45 AM2/18/10
to android-devp...@googlegroups.com
Cian Masterson has a nice 'how I made images for my G1' page at
http://www.cianer.com/androidg1/28-building-android-kernel-images

There's caveats that the site is just a scratchpad for personal memory,
not directed towards a remote audience, but I found the steps precise
and concise.

Be sure to tell us how it goes. :)

-- Peter Smith


Message has been deleted

perumal316

unread,
Feb 22, 2010, 1:16:42 AM2/22/10
to Android-DevPhone-Updating
Hi,

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

Jun Sun

unread,
Feb 18, 2010, 11:51:14 PM2/18/10
to android-devp...@googlegroups.com, perumal316

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

Reply all
Reply to author
Forward
0 new messages