Please remember to add a category to the bottom of each page that you create.
See categories help for further details, but most will probably be [[Category:HTC ModelName]].
Nike Kernel Build
From XDA-Developers
Compiling your own kernel for the Nike
First of all, you can find a log of the git tree here Here you have some instructions (thanks to kvstrein)
- Create working dir:
- mkdir /android-kernel
- Go to the dir:
- cd /android-kernel
- Clone the Linuxtogo GIT:
- Go into newly created dir:
- cd /android-kernel/kernel
- Create a new branch, call it htc-vogue and link it to the official htc-vogue development branch:
- git checkout -b htc-vogue origin/htc-vogue
- Descend into the "main" android dir:
- cd /android-kernel
- Get toolchain:
- Unpack the toolchain:
- tar -xjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
- Ascend again into the 'kernel' directory:
- cd /android-kernel/kernel
- Make the kernel (by now we use either the polaris or vogue defconfig):
- make ARCH=arm vogue_defconfig
- Export path so the newly downloaded toolchain will be used instead of your default compiler (which would compile for your computer instead of your phone):
- export PATH=~/android-kernel/arm-2008q3/bin:$PATH
- If you want this to be permanent, type:
- cd ; export PATH=~/android-kernel/arm-2008q3/bin:$PATH >> .bashrc
- Now make whatever changes you want to the code. Everything for the htc nike is located at
- kernel/arch/arm/mach-msm/board-htcnike-*
- Make the zImage-file:
- make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
- People with a multi-core processor can use the -j argument, in this example: dual-core. (syntax: make -j <number of cores / processors>):
- make -j 2 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-