[Galaxy Tab S2 Android Development] retiredtab:
PLEASE BEFORE YOU decide to try this rom, you MUST read all of post 1, 2, 3 and 4 (about 10 minute read). If you think this is an unreasonable request, then stop reading now and find another rom. Thank you.

This is ONLY for the SM-T713. I do not have and will NOT build T719 and T819. See post #2, FAQ 20. Any questions asking to build these will be ignored.

I am not responsible for lost data, identity theft, lost money, security vulnerabilities, bricked devices or any other hardware or software malfunctions that comes as a result of flashing this rom.

BACKUP YOUR DATA AND OLD rom BEFORE trying my rom.

If you are NOT an expert in using fastboot, adb, odin, heimdall, twrp, DO NOT use this rom. You must know how to use these tools to revert back to your old rom. If you are new to flashing custom roms, do NOT attempt this. If you need your tablet for work and something important, do NOT flash this rom. This rom could result in a bricked device, boot loop, complete loss of data or non booting device or you not being able to revert back to your old rom.

What works

1. bluetooth

2. wifi

3. brightness

4. external audio

5. GPS

6. audio through headphone jack

7. audio over bluetooth

8. selinux enforcing

9. deep sleep

10 DRM level 3 (SD definition)

Known issues/What doesn't work/what's not tested

NOTE: If any following features are important to you, don't use this rom as I will NOT be fixing them because I

i. don't use/need that feature

ii. already tried fixing it and couldn't succeed and won't spend anymore time on it.

If you find this unreasonable, don't use this rom.

1. Stock camera doesn't work at all (reason i and ii). Starting with LineageOS 19.1 and higher, camera API functionality (pictures and videos) isn't even recognized by the OS. The Samsung camera drivers are proprietary so they can't be changed and there's no open source implementation.

For more details, see post #57

https://xdaforums.com/t/unofficial-...t813-nov-13-2023.4600493/page-3#post-89163819

2. fingerprint (reason i). I never use it and I see it doesn't even load correctly in the logs.

For more details, see post #57

https://xdaforums.com/t/unofficial-...t813-nov-13-2023.4600493/page-3#post-89163819

3. ARM64 gapps (reason i). Some of you require gapps for whatever reason. I use Aurora Store for my purposes and thus have NO KNOWLEDGE of the current state of ARM64 gapps.

There are various gapps projects (at least 5 in 2024). Each has pros and cons.

Let me by crystal clear. YOU NEED TO DO YOUR OWN HOMEWORK selecting between the various gapps offered. The only recommendation I will offer to use the SMALLEST version of gapps.

Don't be surprised that whatever gapps you use might have problems like "Just a sec", voice not working, updating google play store please wait, etc. These are NOT problems of the OS as the OS will run fine without gapps. These are gapps problems and you must ask in the gapps forum why it doesn't work.

I suggest you allocate at least a couple of hours doing your own research. My rom works by itself fine without gapps. DO NOT talk about gapps in this thread.

I will ALSO NOT participate in any discussion regarding passing Safetynet/Play Integrity or making any changes to the source code in this area including signing this build. If you need this feature, YOU, NOT ME, can build, compile, test and maintain the source code.

As a courtesy, I started a gapps ONLY thread at

https://xdaforums.com/t/what-gapps-...os-21-on-samsung-sm-t713-and-sm-t813.4682142/

4. Full disk encryption has been deprecated in Android 13 (LineageOS 20). Our kernel is too old to support file based encrytion.

5. If you restart the device with the purpose to reboot it and the usb cable is plugged in, the device will not reboot and stay in charging mode. Simply unplug the usb cable, wait 15 seconds and restart the device.

6. If you want to disable the taskbar and the 3 soft button navigation, you MUST disable the 3 soft button navigation first via settings, system gestures, system navigation, then disable the taskbar via settings, system, buttons. If you do it in reverse order, the device will become very laggy and unresponsive and you have to reboot to get rid of it. Once rebooted, it will work fine.

7. Memory leak with Chromium based browsers. If you run a Chromium based browser like Chrome, Brave, Microsoft Edge, etc and open, close, open, close the browser app, there will be a memory leak of 30MB to 50MB each time. You can see this using adb below.

# open up a terminal/command prompt on your PC
adb root
adb shell
ps -A | grep -i zygote
# example output
$ adb root ; adb shell ps -A | grep -i zygote
adbd is already running as root
root 304 1 1733448 97000 poll_schedule_timeout b1fcd238 S zygote
webview_zygote 745 304 1749936 50592 poll_schedule_timeout b1fcd238 S webview_zygote
u0_a121 2499 304 1758944 49768 __skb_recv_datagram b1fccc10 S com.brave.browser_zygote
u0_a121 3405 304 1758944 49756 __skb_recv_datagram b1fccc10 S com.brave.browser_zygote

Over a period of a few days, this memory leak causes free memory to decrease and can lead to slower performance.

If you have root, you can kill these processes or simply reboot the OS to reclaim the memory. Firefox based browsers do NOT have this problem. In addition, the built in Webview engine does NOT have this problem. I use DuckDuckGo + Webview engine and there is NO memory leak.

8. AOSP has been making MASSIVE changes each Android 14 QPR release. Each QPR release breaks something and there's no guarantee that I can make the next monthly security build.

9. @FordPrefect found a bug in post #17 with setting the display size settings. If you set the display size settings one lower or one higher notch away from default, it works. If you set it two notches away, then the OS will crash and you will have to format data in TWRP to recover.

See

https://xdaforums.com/t/unofficial-...for-sm-t813-jul-19-2024.4681948/post-89620792

Source code

The kernel source code is at

https://github.com/syphyr/android_kernel_samsung_msm8976/tree/lineage-16.0

All the source code including the kernel, device trees, manifest and build instructions are provided in post #2 FAQ1.

Thanks

1. LineageOS team for source code.

2. LineageOS-UL team for merging, maintaining the legacy patches needed for old devices into one common repository so everyone can benefit.

https://github.com/orgs/LineageOS-UL/people

3. @Deltadroid for updating the msm8976 kernel for branches 14.1 and 16.0 with bug and security fixes. I'm using his 16.0 kernel branch for my 21 builds.