Updating and rebuilding Android
Posted May 7, 2009 10:16 UTC (Thu) by
bcopeland (subscriber, #51750)
Parent article:
Updating and rebuilding Android
The easiest way to update the kernel, in my experience, is to build it from the msm tree as our editor suggests, then take the HTC-supplied 1.5 initramfs (you can get it from the boot.img in the update zip file and unpack it with split_bootimg.pl). That way you don't have to bother with building any of the android userland.
After that you can simply turn on the phone while holding the back button and plugged into USB, then do 'fastboot boot your_bzImage their_boot.img-ramdisk.cpio' which will do a one-time boot of your kernel, then revert to the installed one on the next power cycle.
The android init setup seems to be somewhat tied to the kernel version so matching versions is good -- the 1.1 init will not work with the 2.6.29 kernel, for example. 1.5 does, sort of.
(
Log in to post comments)