[Galaxy Tab S2 General] Zentriks:
Oh yeah thanks! I forgot to set the path for ubuntu in distrobox.

My only problem now is that there is an error I haven't found that much about. I only found this solution here. So I added

ALLOW_MISSING_DEPENDENCIES :=TRUE

to Boardconfig.mk!

So I tried running make clean-apache-xml and this is the error I got

[1/1] /home/marcus/android/lineageos16/out/soong/.min.../android/lineageos16/out/soong/.bootstrap/build.ninja
[61/62] glob prebuilts/ndk/stl.bp
[80/80] /home/marcus/android/lineageos16/out/soong/.b...home/marcus/android/lineageos16/out/soong/build.ninja
/home/marcus/android/lineageos16/out/build-lineage_kminilte-cleanspec.ninja is missing, regenerating...
/home/marcus/android/lineageos16/out/build-lineage_kminilte.ninja is missing, regenerating...
[113/1034] including device/samsung/kminilte/Android.mk ...
YD>>LOCAL_MODULE=sensors.universal3470, LOCAL_SRC_FILES=sensors.cpp HeartRateSensor.cpp LightSensor.cpp Proxim
itySensor.cpp, LOCAL_SHARED_LIBRARIES=libinvensense_hal libcutils libutils libdl liblog libmllite libhardware_
legacy
[265/1034] including frameworks/av/camera/Android.mk ...
frameworks/av/camera/cameraserver/Android.mk:18: warning: Target has integrated cameraserver into mediaserver.
This is weakening security measures introduced in 7.0
[1034/1034] including vendor/qcom/opensource/dataservices/Android.mk ...
hardware/ril/reference-ril/Android.mk: error: "libreference-ril (SHARED_LIBRARIES android-arm) missing libril
(SHARED_LIBRARIES android-arm)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer rea
l problems until later in the build.
hardware/ril/rild/Android.mk: error: "rild (EXECUTABLES android-arm) missing libril (SHARED_LIBRARIES android-
arm)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer rea
l problems until later in the build.
build/make/core/main.mk:844: error: exiting from previous errors.
11:42:22 ckati failed with: exit status 1
make: *** [build/make/core/main.mk:21: run_soong_ui] Error 1

I think I'm nearly there building the rom when I can/could solve these issues

Applied cd hardware && git clone https://github.com/LineageOS/android_hardware_samsung -b lineage 16.0 /android_hardware_samsung

root@ubuntu:/home/marcus/android/lineageos16# make clean-apache-xml
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20220811-UNOFFICIAL-kminilte
TARGET_PRODUCT=lineage_kminilte
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.18.16-zen1-1-zen-x86_64-Ubuntu-22.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3A.190801.002
OUT_DIR=/home/marcus/android/lineageos16/out
============================================
[1/1] /home/marcus/android/lineageos16/out/soong/.min.../android/lineageos16/out/soong/.bootstrap/build.ninja
[61/62] glob prebuilts/ndk/stl.bp
[80/80] /home/marcus/android/lineageos16/out/soong/.b...home/marcus/android/lineageos16/out/soong/build.ninja
/home/marcus/android/lineageos16/out/build-lineage_kminilte-cleanspec.ninja is missing, regenerating...
/home/marcus/android/lineageos16/out/build-lineage_kminilte.ninja is missing, regenerating...
[113/1035] including device/samsung/kminilte/Android.mk ...
YD>>LOCAL_MODULE=sensors.universal3470, LOCAL_SRC_FILES=sensors.cpp HeartRateSensor.cpp LightSensor.cpp Proxim
itySensor.cpp, LOCAL_SHARED_LIBRARIES=libinvensense_hal libcutils libutils libdl liblog libmllite libhardware_
legacy
[265/1035] including frameworks/av/camera/Android.mk ...
frameworks/av/camera/cameraserver/Android.mk:18: warning: Target has integrated cameraserver into mediaserver.
This is weakening security measures introduced in 7.0
[1035/1035] including vendor/qcom/opensource/dataservices/Android.mk ...
hardware/ril/reference-ril/Android.mk: error: "libreference-ril (SHARED_LIBRARIES android-arm) missing libril
(SHARED_LIBRARIES android-arm)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer rea
l problems until later in the build.
hardware/ril/rild/Android.mk: error: "rild (EXECUTABLES android-arm) missing libril (SHARED_LIBRARIES android-
arm)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer rea
l problems until later in the build.
build/make/core/main.mk:844: error: exiting from previous errors.
14:31:27 ckati failed with: exit status 1

#### failed to build some targets (30 seconds) ####