OS: Android - Build CyanogenMod untuk LG F240K
Revision as of 08:20, 29 May 2014 by Onnowpurbo (talk | contribs)
Android build
- Download original android source code ( kitkat 4.4.2 ) from http://source.android.com
- Untar opensource packages of LGF240K_Gpro_Kikat_V20e_Android.tar.gz into downloaded android source directory
- And, merge the source into the android source code
- Run following scripts to build android
a) source build/envsetup.sh b) lunch c) make -j4 - When you compile the android source code, you have to add google original prebuilt source(toolchain) into the android directory. - After build, you can find output at out/target/product/generic
2. Kernel Build
- Uncompress using following command at the android directory tar xvzf LGF240K_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 -j4 * "-j4" : The number, 4, is the number of multiple jobs to be invoked simultaneously. * 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
3. how to build chromium_lge (vendor\lge\external\chromium_lge),
please refer to Buildme.txt at the folder mentioned above.