|
||
#1
|
||||
|
||||
Kernel compilation
Hi All,
For those who are interested in building the Huawei G6-L11 kernel : 1/ download kernel source from : http://emui.huawei.com/plugin.php?id...=detail&mid=59 2/ unzip the kernel 3/ on your phone, extract the boot.img (in su mode dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img 4/ adb pull /sdcard/boot.img on you linux pc in your kernel folder 5/ in your extracted kernel folder ./scripts/extract-ikconfig boot.img > .config 6/ now you have your .config file for building the kernel 7/ modify the kernel Makefile to match your cross-compiling environment ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- (for me) 8/ make clean 9/ make 10/ if success you have the zimage in /arc/arm/boot/ folder |
|