[Q] Help compiling kernel 2.6.38.8-tiamat-ics+ for HTC Desire

Search This thread

dtbaker

New member
Apr 25, 2013
2
2
Hello,

I am trying to apply some patches to the currently running kernel:

Code:
[email protected]:/ # uname -a
Linux localhost 2.6.38.8-tiamat-ics+ #1 PREEMPT Fri May 25 21:49:58 CDT 2012 armv7l GNU/Linux

Is this the correct process?

1) Download the kernel source (I'm downloading this branch now, do you think this is correct : http : // git.tiamat-dev.com/htc-kernel-msm8x50/log/?h=android-msm-2.6.38-ics-tiamat ? )
Code:
cd ~/kernel/
git clone git://git.tiamat-dev.com/htc-kernel-msm8x50 -b android-msm-2.6.38-ics-tiamat

2) Grab the current config from the android device /proc/config.gz over to my laptop
Code:
adb pull /proc/config.gz /tmp/config.gz && gzip -d /tmp/config.gz && cp /tmp/config ~/kernel/htc-kernel-msm8x50/.config

3) Follow android kernel compiling instructions (from showthread.php?t=1774035 )
Code:
cd ~/kernel/
git clone https://android.googlesource.com/platform/prebuilt -b ics-plus-aosp
export PATH=~/kernel/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$PATH
export ARCH=arm
export SUBARCH=arm
### export CROSS_COMPILE=arm-eabi- (WRONG! this gave me a "sorry, unimplemented: -mfloat-abi=hard and VFP" error, use the below line instead)
export CROSS_COMPILE=arm-linux-androideabi-
make ARCH=arm oldconfig
make

edit: currently compiling here.. see how it goes

4) Copy the compiled kernel into a zip archive (in similar format to current installable kernel zip file) and install custom kernel via recovery

Am I missing anything here?

Thanks!
Dave (android kernel compiling newb)
 
Last edited: