9- How to compile Liquid kernel with Acer/Choco sources
Thanks to ritchen who made a similar guide some days ago, I'll post here a little (but very useful) tutorial that will explain how to compile a kernel for the Acer Liquid. Follow these steps:
1. Prepare a Linux machine,also a VM should be ok,I suggest Ubuntu (32 bit advised!!)
2. Download acer's kernel source from acer's website ---> DOWNLOAD
3. Download toolchain from codesourcery ---> DOWNLOAD
4. Extract kernel source to a folder and rename it KERNEL
5. Extract toolchain to a folder and rename it TOOLCHAIN ( note that these names are at your choice,these two are only default names)
5. Copy /arch/arm/configs/acer-q8k-al-dvt_defconfig to KERNEL and rename it .config
6. Copy acer_kernel_patch.txt to KERNEL and rename it acer_kernel_patch (without any extension)
7. Patch the kernel ,typing in terminal: patch -p0 < acer_kernel_patch
8. Build source; Just type in terminal: make ARCH=arm CROSS_COMPILE=~/TOOLCHAIN/bin/arm-none-linux-gnueabi-
9. Add everything you like to the kernel,it's vanilla!
If you want to compile the chocolate kernel,the procedure is very similar,but you must skip the steps: 5,6,7
No comments:
Post a Comment