Cloning
git clone https://github.com/argraur/device/lge/bullhead -b XOS-7.1 device/lge/bullhead
Cloning kernel repo
git clone https://android.googlesource.com/kernel/msm -b android-msm-bullhead-3.10-nougat-mr2 kernel/lge/bullhead
Cloning vendor repo
git clone https://github.com/TheMuppets/proprietary_vendor_lge -b cm-14.1 vendor/lge
Building for Nexus 5X
To build Nexus 5X, needs some magic:
build full XOS_bullhead-userdebug