[LineageOS Questions & Answers] tzenrick:
The current Android version is (as near as I can tell) stock AOSP 5.1.1 (LMY47V), running kernel 3.10.49.

I'm wanting to get it to as bleeding edge as possible without going into alpha/beta land. (Updated boot/kernel/recovery/OS)

I already have the manufacturer sources. (Directory tree, 1.67mb) (Full file tree, 21.2mb)

This source won't build without an SDK though.

INFO: Build Android tree for l5261

cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/Bluetooth_cal.acdb’: No such file or directory

cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/General_cal.acdb’: No such file or directory

cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/Global_cal.acdb’: No such file or directory

cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/Handset_cal.acdb’: No such file or directory

cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/Hdmi_cal.acdb’: No such file or directory

cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/Headset_cal.acdb’: No such file or directory

cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/Speaker_cal.acdb’: No such file or directory

cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/workspaceFile.qwsp’: No such file or directory

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=5.1.1

TARGET_PRODUCT=l5261

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=cortex-a53

TARGET_2ND_ARCH=

TARGET_2ND_ARCH_VARIANT=

TARGET_2ND_CPU_VARIANT=

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

BUILD_ID=LMY47V

OUT_DIR=out

============================================

including ./abi/cpp/Android.mk ...

including ./bionic/Android.mk ...

including ./bootable/recovery/Android.mk ...

<<<TRIMMED, Redundant errors>>>

including ./build/libs/host/Android.mk ...

including ./build/target/board/Android.mk ...

including ./build/target/product/security/Android.mk ...

including ./build/tools/Android.mk ...

including ./development/apps/BluetoothDebug/Android.mk ...

including ./development/apps/BuildWidget/Android.mk ...

build/core/java.mk:23: *** development/apps/BuildWidget: Invalid LOCAL_SDK_VERSION 'current' Choices are: . Stop.

This manufacturer source is meant to be built with openjdk-7, and the newest version of lineage is supposed to be built with openjdk-8.

I have built VM's for Xubuntu 14.04 and 17.04, and just found out I can install openjdk-8 from the 15.04 repos into 14.04 if needed.

I have en ext4 system image of the stock ROM to pull binary blobs from if needed. (Or straight from the phone. The image is faster though.)

My questions are,

What OS should I be building on?

What openjdk version should I be using?

How do I extract the needed proprietary blobs without the script, and where do they go?

How do I integrate the manufacturer sources with Lineage to make it build?

What else am I missing? (files or conceptually?)

I've found a lot of guides to build from repositories, but nothing about integrating manufacturer source code...

Does anyone have any ideas, or any idea of a better place to look for information?