Difference between revisions of "ROM Android: Porting F240K modifikasi kernel dari opensource lg.com"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: Download kernel dari https://www.lg.com/global/support/opensource/opensourceList?types=ALL&search=f240k Download file LGF240K_Gpro_Kikat_V20e_kernel) |
Onnowpurbo (talk | contribs) |
||
Line 5: | Line 5: | ||
Download file | Download file | ||
− | LGF240K_Gpro_Kikat_V20e_kernel | + | LGF240K_Gpro_Kikat_V20e_kernel.zip |
+ | |||
+ | Lakukan | ||
+ | |||
+ | cd ~/Downloads | ||
+ | unzip LGF240K_Gpro_Kikat_V20e_kernel.zip | ||
+ | tar zxvf LGF240_Gpro_Kikat_V20e_kernel_140807.tar.gz | ||
+ | cd ~/Downloads/kernel | ||
+ | cp -Rf ~/Downloads/kernel/* ~/android-cyanogenmod/kernel/lge/gproj | ||
+ | |||
+ | |||
+ | 2. Kernel Build | ||
+ | - Uncompress using following command at the android directory | ||
+ | tar xvzf LGF240_Gpro_Kikat_V20e_Kernel.tar.gz | ||
+ | - When you compile the kernel source code, you have to add google original prebuilt source(toolchain) into the android directory. | ||
+ | - Run following scripts to build kernel | ||
+ | a) cd kernel | ||
+ | b) lunch | ||
+ | c) make PATH=$PATH:tools/lz4demo ARCH=arm CROSS_COMPILE=../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- gku_bcm-perf_defconfig zImage | ||
+ | * U+ : gku, SKT : gksk, KT : gkkt | ||
+ | * lz4demo : More information can be found at "https://code.google.com/p/lz4/" | ||
+ | - After build, you can find the build image(zImage) at arch/arm/boot |
Revision as of 05:43, 2 January 2015
Download kernel dari
https://www.lg.com/global/support/opensource/opensourceList?types=ALL&search=f240k
Download file
LGF240K_Gpro_Kikat_V20e_kernel.zip
Lakukan
cd ~/Downloads unzip LGF240K_Gpro_Kikat_V20e_kernel.zip tar zxvf LGF240_Gpro_Kikat_V20e_kernel_140807.tar.gz cd ~/Downloads/kernel cp -Rf ~/Downloads/kernel/* ~/android-cyanogenmod/kernel/lge/gproj
2. Kernel Build
- Uncompress using following command at the android directory tar xvzf LGF240_Gpro_Kikat_V20e_Kernel.tar.gz - When you compile the kernel source code, you have to add google original prebuilt source(toolchain) into the android directory. - Run following scripts to build kernel a) cd kernel b) lunch c) make PATH=$PATH:tools/lz4demo ARCH=arm CROSS_COMPILE=../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- gku_bcm-perf_defconfig zImage
* U+ : gku, SKT : gksk, KT : gkkt
* lz4demo : More information can be found at "https://code.google.com/p/lz4/" - After build, you can find the build image(zImage) at arch/arm/boot