[Galaxy A3, A5, A7, A8, A9 Original Android Develop] AndyYan:
Regarding building, I cobbled together a local manifest and got a build to start, but it fails pretty early with

[ 0% 18/79471] //vendor/lineage/build/soong:generated_kernel_includes generate

FAILED: out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/.dummy_dep

rm -rf out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen && out/soong/host/linux-x86/bin/sbox --sandbox-path out/soong/.temp --manifest out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/generator.sbox.textproto

The failing command was run inside an sbox sandbox in temporary directory

out/soong/.temp/sbox/d70d848a3b8a933053bf9ef22fb54ea8346307e4

The failing command line was:

LD_LIBRARY_PATH=/home/user/lineage-19-build/prebuilts/tools-lineage/linux-x86/lib: PERL5LIB=/home/user/lineage-19-build/prebuilts/tools-lineage/common/perl-base PATH=/home/user/lineage-19-build/prebuilts/tools-lineage/linux-x86/bin:/home/user/lineage-19-build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/home/user/lineage-19-build/prebuilts/build-tools/path/linux-x86:/home/user/lineage-19-build/out/.path BISON_PKGDATADIR=/home/user/lineage-19-build/prebuilts/build-tools/common/bison /home/user/lineage-19-build/prebuilts/build-tools/linux-x86/bin/make -j16 CFLAGS_MODULE="-fno-pic" CPATH="/usr/include:/usr/include/x86_64-linux-gnu" HOSTCFLAGS="-fuse-ld=lld" HOSTLDFLAGS="-L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -fuse-ld=lld" HOSTCFLAGS="-fuse-ld=lld -Wno-unused-command-line-argument" HOSTCC=/home/user/lineage-19-build/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang HOSTCXX=/home/user/lineage-19-build/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ LEX=/home/user/lineage-19-build/prebuilts/build-tools/linux-x86/bin/flex YACC=/home/user/lineage-19-build/prebuilts/build-tools/linux-x86/bin/bison M4=/home/user/lineage-19-build/prebuilts/build-tools/linux-x86/bin/m4 -C kernel/samsung/universal7580 O=/home/user/lineage-19-build/out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen ARCH=arm64 CROSS_COMPILE="/usr/bin/ccache /home/user/lineage-19-build/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-" CROSS_COMPILE_ARM32="/home/user/lineage-19-build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-" CROSS_COMPILE_COMPAT="/home/user/lineage-19-build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-" headers_install && touch out/soong/.temp/sbox/d70d848a3b8a933053bf9ef22fb54ea8346307e4/out/.dummy_dep

make: Entering directory '/home/user/lineage-19-build/kernel/samsung/universal7580'

/bin/sh: 1: cd: can't cd to /home/user/lineage-19-build/out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen

Makefile:121: *** output directory "/home/user/lineage-19-build/out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen" does not exist. Stop.

make: Leaving directory '/home/user/lineage-19-build/kernel/samsung/universal7580'

exit status 2

I feel this should be a trivial config somewhere, but then again I can't figure out what is it I'm missing. @html6405 would you please take a look?