[Galaxy Tab S2 Q&A, Help & Troubleshooting] retiredtab:
@thefanum,

While it's nice to follow the provided instructions, one of the main problems with them is that they get out of date if not updated periodically.

Specifically these commits made March 14, 2023.

https://review.lineageos.org/q/git-lfs

require that git-lfs be installed on the host computer now otherwise the compiler will stop and webview.apk won't get installed properly in the rom.

So if you are running a Debian style distro, then you need

# install git-lfs
sudo apt install git-lfs
# cd into LineageOS code directory
cd ~/18.1
# tell build system we have git-lfs
repo init --git-lfs
# get rid of old webview
rm -rf external/chromium-webview/prebuilt/*
rm -rf .repo/projects/external/chromium-webview/prebuilt/*.git
rm -rf .repo/project-objects/LineageOS/android_external_chromium-webview_prebuilt_*.git
# sync everything
repo sync --force-sync

Compiling the next version of Android always requires some code changes. That is, using 17.1 code and trying to build 18.1 will never work.

I've already done 99.9% of the work for T713 because the T813 and T713 share the same common code trees. Since there were no code changes from 17.1 to 18.1 for the device specific tree

https://github.com/retiredtab/android_device_samsung_gts210vewifi

and assuming none are needed for the gts28vewifi tree, then you can use the 17.1 existing tree with MY manifest from

https://github.com/retiredtab/LineageOS-build-manifests/tree/main/18.1

That is, your version of my 181-gts210vewifi.xml should look like

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<!-- Samsung Device Trees -->
<project name="team-infusion-developers/android_device_samsung_gts28vewifi" path="device/samsung/gts28vewifi" remote="github" revision="lineage-17.1" />
<project name="retiredtab/android_device_samsung_gts210vewifi" path="device/samsung/gts210vewifi" remote="github" revision="lineage-18.1" />
<project name="retiredtab/android_device_samsung_msm8976-common" path="device/samsung/msm8976-common" remote="github" revision="lineage-18.1" />

<!-- Samsung MSM8976 Kernel -->
<project name="syphyr/android_kernel_samsung_msm8976" path="kernel/samsung/msm8976" remote="github" revision="lineage-16.0" />

<!-- Vendor Trees (for all devices) -->
<project name="retiredtab/proprietary_vendor_samsung_msm8976" path="vendor/samsung" remote="github" revision="lineage-18.1" />

<!-- Samsung Hardware Repo -->
<project path="hardware/samsung" name="LineageOS/android_hardware_samsung" remote="github" revision="lineage-18.1"/>

<!-- Dependencies -->
<project path="external/sony/boringssl-compat" name="LineageOS/android_external_sony_boringssl-compat" remote="github" revision="lineage-18.1"/>
<project name="LineageOS/android_hardware_sony_timekeep" path="hardware/sony/timekeep" remote="github" revision="lineage-18.1" />

</manifest>

In theory, this should yield an equivalent 18.1 T713 build with the same functionality as my 18.1 T813 build.

I suggest you follow my 18.1 build specific instructions at

https://github.com/retiredtab/Linea...ob/main/18.1/181-gts210vewifi-build-guide.txt

One person on xda has followed them and created their own 18.1 T813 private builds.

I'll also make 3 suggestions during your build phase.

1. Make an "eng" build so that adb logcat starts right away so you can see log messages on your console. Once everything works, you can then build the "userdebug".

# j4 means 4 threads. If you have 6 core, 12 thread CPU, then change this to 12.
TARGET_BUILD_TYPE=debug TARGET_BUILD_VARIANT=eng make -j4 bacon

2. My publicly released 18.1 T813 is selinux enforcing. There's no guarantee that the rules I wrote will work 100% with the T713 so you should revert/undo this commit

https://github.com/retiredtab/andro...mmit/687691a81e028d002919f9f1d069b5b0c9d72512

so that the build is permissive. Once everything works, then you can enforce the build.

3. You will need at least 16GB DRAM to make this 18.1 64 bit build. The more the better.