ALL CREDIT AND THANKS GO TO gr8nole for his github repos, source code and hard work.
@gr8nole, the only change to your manifest to build was
https://github.com/gr8nole/Build-Scripts/blob/Lineage-14.1/local_manifests/lt01.xml#L10
from revision="cm-14.1" to revision="lineage-14.1"
I have added NO VALUE to his github code. I'm simply compiling the source code with the latest 14.1 security patches for those who cannot.
All the bugs that were in the past are still here in this build whatever they may be. I have NOT read the entire thread so I don't know the problems with this device.
You should be able to dirty flash from gr8nole's last build since I'm using his source code. I recommend wiping cache and dalvik/cache. First boot after installing will take about 4 minutes. If it gets stuck at boot animation, backup your data and do a clean install by wiping and
formatting your data.
I only have the SM-T310 for a short period of time and cannot promise to make monthly builds with security patches. The SM-T310 is not mine and the owner may want it back at anytime.
I have included the following UNOFFICIAL monthly security patches from LineageOS into my build:
Code:
https://review.lineageos.org/q/topic:n-asb-2021-09
https://review.lineageos.org/q/topic:n-asb-2021-10
https://review.lineageos.org/q/topic:n-asb-2021-11
https://review.lineageos.org/q/topic:n-asb-2021-12
https://review.lineageos.org/q/topic:n-asb-2022-01
https://review.lineageos.org/q/topic:n-asb-2022-02
https://review.lineageos.org/q/topic:n-asb-2022-03
All the above have yet to merged or may never into the 14.1 device trees.
Since 14.1 or Android 7 was long deprecated by LineageOS and Google respectively, I have manually modified the security patch string to say
Code:
PLATFORM_SECURITY_PATCH := 2022-03-05
at
https://github.com/LineageOS/android_build/blob/cm-14.1/core/version_defaults.mk#L134
to indicate that Mar 5 UNOFFICIAL security patches have been incorporated.
Don't be fooled by these March 5, 2022 security patches. While it's nice to have these security patches, there's a lot of security vulnerabilities with the old kernel, old proprietary blobs/drivers and old code in these devices.
You can get the build called lineage-14.1-20220316-UNOFFICIAL-lt01wifi.zip from
https://sourceforge.net/projects/retiredtab/files/SM-T310/14.1/
Again, all thanks and credit goto gr8nole.
PS. I ONLY have the SM-T310. I WILL NOT make "blind" build for devices which I don't have. Namely, I will NOT build SM-T311 and SM-T315.