[G3 Q&A, Help & Troubleshooting] chinanoahli:
D859 has 2sims, I can't use other g3 template, right:confused:

I already read a loi of information from cm wiki about hout to build a cm,

but I still have any clue yet,

I got D859 official rom scr code yesterday from opensource.lge.com,

I don't know how can I start for building cm,

I need some help, thank you!:laugh:

Here is the list of the files

LGD859_Lollipop_LGD859_V20a_Android_opensource/android/external: $ ls -al

drwxr-xr-x 17 578 brctl

drwxr-xr-x 21 714 dnsmasq

drwxr-xr-x 44 1496 e2fsprogs

drwxr-xr-x 7 238 ebtables

drwxr-xr-x 12 408 gcc-demangle

drwxr-xr-x 25 850 iproute2

drwxr-xr-x 21 714 iptables

drwxr-xr-x 31 1054 iputils

drwxr-xr-x 15 510 junit

drwxr-xr-x 41 1394 libexif

drwxr-xr-x 20 680 libnetfilter_conntrack

drwxr-xr-x 16 544 libnfnetlink

drwxr-xr-x 18 612 libnl

LGD859_Lollipop_LGD859_V20a_Android_opensource/android/vendor/lge: $ ls -la

drwxr-xr-x 3 102 apps

drwxr-xr-x 3 102 build

drwxr-xr-x 5 170 external

drwxr-xr-x 3 102 factory

drwxr-xr-x 4 136 frameworks

drwxr-xr-x 3 102 prebuilt

drwxr-xr-x 4 136 system

LGD859_Lollipop_LGD859_V20a_Android_opensource/kernel: $ ls -al

-rw-r--r-- 1 5935 AndroidKernel.mk

-rw-r--r-- 1 18693 COPYING

-rw-r--r-- 1 94984 CREDITS

drwxr-xr-x 237 8058 Documentation

-rw-r--r-- 1 2536 Kbuild

-rw-r--r-- 1 252 Kconfig

-rw-r--r-- 1 210475 MAINTAINERS

-rw-r--r-- 1 53855 Makefile

-rw-r--r-- 1 364155 Module.symvers

-rw-r--r-- 1 17459 README

-rw-r--r-- 1 3371 REPORTING-BUGS

drwxr-xr-x 31 1054 arch

drwxr-xr-x 38 1292 block

drwxr-xr-x 89 3026 crypto

drwxr-xr-x 112 3808 drivers

drwxr-xr-x 55 1870 firmware

drwxr-xr-x 149 5066 fs

drwxr-xr-x 26 884 include

drwxr-xr-x 14 476 init

drwxr-xr-x 17 578 ipc

drwxr-xr-x 133 4522 kernel

drwxr-xr-x 150 5100 lib

drwxr-xr-x 79 2686 mm

drwxr-xr-x 62 2108 net

drwxr-xr-x 14 476 samples

drwxr-xr-x 91 3094 scripts

drwxr-xr-x 18 612 security

drwxr-xr-x 28 952 sound

drwxr-xr-x 14 476 tools

-rw-r--r-- 1 37204 tuxera_update.sh

drwxr-xr-x 9 306 usr

drwxr-xr-x 3 102 virt

and its readme file said

1. Android build

- Download original android source code ( L 5.0 ) from source.android.com

- Untar opensource packages of LGD859_L_V20a_Android.tar.gz into downloaded android source directory

a) cat LGD859_L_V20a_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 1

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 LGD859_L_V20a_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

1) D859

b) make ARCH=arm CROSS_COMPILE=../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi- g3-ctc_cn-perf_defconfig zImage -j4

* "-j4" : The number, 4, is the number of multiple jobs to be invoked simultaneously.

- After build, you can find the build image(zImage) at arch/arm/boot

3. how to build chromium34_lge (vendor\lge\external\chromium34_lge\src),

please refer to README.txt at the folder mentioned above.