LineageOS is a free, community built, aftermarket firmware distribution of android, which is designed to increase performance and reliability over stock android for your device.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.
Currently, the lineage 14.1 bullhead nightlies are based on the 7.1.2 N2G47W (June 2017) monthly update from google. So you should be using the vendor, radio and bootloader img from that update. They can be extracted from the factory image on google's site here. Or you can use the ones linked below that I already extracted:
Note: The radio and bootloader img is the same as what was in the previous monthly google update, so if you already have it you don't need to flash it.
The vendor img is flashable with twrp or fastboot. For the radio and bootloader img, use fastboot.
More information and installation instructions can be found on the LineageOS wiki here.
Google apps: Beans GApps (recommend mini)
SU addon zip: Addon Install zip / Addon Removal zip NOTE: LineageOS does not come with root, so this is now provided for those that want it. The install zip is a one time flash, like gapps. Meaning, it persists when updating to a new LineageOS nightly. REF: https://download.lineageos.org/extras
Device tree: https://www.github.com/LineageOS/and...d/tree/cm-14.1
Kernel tree: https://www.github.com/LineageOS/and...d/tree/cm-14.1
ROM OS Version: 7.1.2 Nougat
ROM Kernel: Linux 3.10.73