[Galaxy Tab S2 General] emuandco:
Hello and welcome to my first try to write an HOW-TO, don't kill me for my epic skillz in that ^^

After a nice chat with [MENTION=5075128]LuK1337[/MENTION] that weekend I was able to build my own LineageOS ROM for our beloved Tablet. It works very nice and thus I think it should be fine to pass my information over to you, but first:

If your tablet eats your cat after that, you are on YOUR OWN! It is NOT my fault and even less the fault of [MENTION=5075128]LuK1337[/MENTION]!!

What works:

- Everything the T813 LineageOS can do + working Vibration + LTE

What does not work:

- Phone audio

So, let's start:

First you have this nice howto for the T813: https://wiki.lineageos.org/devices/gts210vewifi/build which you follow down to and including the "Download the source code" step with two lil modifications:

Install the build packages

-> I had to "apt-get install python-minimal", too to make it work on Ubuntu 17.10.

Initialize the LineageOS source repository

-> Well, we don't want LOS 14.1, so the command we use here is:

repo init -u https://github.com/LineageOS/android.git -b staging/lineage-15.1

After you finished the repo sync, which takes AGES on slower internet connections, you really should follow two optional steps below:

https://wiki.lineageos.org/devices/gts210vewifi/build#turn-on-caching-to-speed-up-build

https://wiki.lineageos.org/devices/gts210vewifi/build#configure-jack (Especially needed if you have not that much RAM. I did not wanna listen to [MENTION=5075128]LuK1337[/MENTION] telling me that the build EATS RAM for breakfast, but it's true! You NEED more than 12 GB of RAM even with that setting!!)

Next one is the following lines:

mkdir -p ./.repo/local_manifests
wget https://www.dropbox.com/s/72cb5jix08y9jkv/envsetup.sh?dl=1 -O ./picks
wget https://www.dropbox.com/s/0fknl8w7zl6buz2/roomservice.xml?dl=1 -O ./.repo/local_manifests/roomservice.xml
chmod +x ./picks

repo sync

This loads the device specific stuff you will need now and prepares a step we need later.

Some useful and badly needed pickings from [MENTION=5075128]LuK1337[/MENTION] are added when you next run this command:

./picks

Now once you are done:

. build/envsetup.sh
ALLOW_MISSING_DEPENDENCIES=true brunch gts210velte

In theory we now can go to bed and check for a result in $OUT after it finished build after about 6-10 hours. There waits a nice install ZIP for TWRP in there.

Flash on a T819 with FORMATTED and thus useable /data partition. This can and HAS TO be done in TWRP, too. If the file laments about a wrong bootloader, you should update your tablet to most recent official 7.0 firmware first!

Maybe this is a first start for ppl trying to tinker with T819 and add even more things to it, like Phone audio. At least is was a nice odyssey and the result I got was perfect. Have fun with your track down to the crazy self builders ^^

P.S. If you want GAPPS, load em here: https://sourceforge.net/projects/unofficial-opengapps-8-1/

Wanna update? SURE ^^ But be sure your picks are the most recent above.

repo forall -c 'git am --abort ; git cherry-pick --abort ; git merge --abort ; git clean -fdx ; git reset --hard' ; repo sync -j30 --force-sync -f
./picks

. build/envsetup.sh
rm -rf out ; ALLOW_MISSING_DEPENDENCIES=true brunch gts210velte

Hello, new version ^^