It came with 3 ZIP Files and instructions. Let me know if you are familiar with any of this.
1. Android build
- Download original android source code ( kitkat 4.4.2 ) from
Android Developers
- Untar opensource packages of LG-D321_Android_KK_D321V10c_Android.tar.gz into downloaded android source directory
a) cat LG-D321_Android_KK_D321V10c_Android.tar.gza* | tar -zxvpf -
- And, merge the source into the android source code
- Run following scripts to build android
a) source build/envsetup.sh
b) lunch
c) 1 or Enter (default setting is 1)
d) make
- 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 LG-D321_Android_KK_D321V10c_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) make ARCH=arm CROSS_COMPILE=../prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi- w5_aio_us_defconfig zImage
- After build, you can find the build image(zImage) at arch/arm/boot
3. how to build chromium_lge (vendor\lge\external\chromium_lge\src),
please refer to README.txt at the folder mentioned above.