How to use the HTC Hero kernel
26 Oct 2009As you have seen in my previous post I have compiled the HTC Hero kernel, now is the time to use the kernel and that’s what I am going to show you in this post.
Let me start off with telling you that you can find a lot of information regarding android and boot on the android-dls.com site.
There information is useful and there tools are working fine BUT they don’t work for the Hero, actually they do but they miss one thing :)
Let’s cut the chitchat and let me explain you how to boot your Hero with your own fresh kernel. Assume you have compiled your kernel using my way or your own way you get an zImage. Next thing you have to do is download the following things and put them all in one folder including your zImage: boot.img mkbootimg repack-bootimg.pl(altered) unpack-bootimg.pl
CAUTION: Please make an backup with nandroid before proceeding!!!!!!!
Step 1:
Step 2:
Step 3:
The repack script was fine but it missed the –base 0x19200000 statement at the mkbootimg line, that’s what I added.
Our newBoot.img is ready for work right now. What you need to do now is upload it to your Hero, this can be done in two ways:
Method 1:
Method 2:
If everything went oke your phone should boot with your new kernel. Have Fun!