• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

LineageOS 18.1 for SM-T580 (gtaxlwifi) and SM-P580 (gtanotexlwifi)

Search This thread

Thebacklash

Member
Sep 17, 2021
7
0
I used Magisk (v23.0) instead of SuperSU: download the .apk file, manually rename the extension to .zip, the boot into recovery and install this zip. Secondly, I don't use gapps, but this should not be a concern.
Magisk worked.
I thought I could only root Lineage during install and not afterwards, that helps.

- I had to install the ROM, boot it up and set it up, then go back into TWRP and install GAPPS. If I installed them both at the same time, it would just sit there on the boot animation for hours and never boot. Not sure it's problem with TWRP or the ROM, but just something I noticed.

Very first time i tried installing Lineage this happened. Using the same files after reseting the Tab it worked the 2nd time. Figured it was something I did.


Everything is up and running and working fine.
One thing I noticed with TWRP, my 64GB SD card i'm using shows up as 199mb inside of TWRP.. I had to use a cheap 8GB SD Card to get it running, then switch back to the 64GB card. In Lineage it shows 64GB just fine, TWRP for whatever reason doesn't like it.
First time i tried to install (and got the boot animation screen forever) TWRP saw the card correctly, after that 199mb. Same card in 3 different computers.. 64gb and can see every file.
 

TALUAtXDA

Senior Member
Nov 8, 2018
384
692
New releases for 20210922

Downloads:
For SM-T580/gtaxlwifi: https://drive.google.com/file/d/1LPxvLU-O8jpCBB-vaoI_lp7ZJROqh28b/
For SM-P580/gtanotexlwifi:
https://drive.google.com/file/d/1mCE78wpxFHoI-4IIyd3ZEQzXZrkOJ5P9/

Changelog:
  • Latest updates from Lineage, including the 20210905 Android security updates.
  • The ZRAM size has been increased to 768MiB.
  • Even further miscellaneous cleanups have been done.
  • The 32-bit wcnss_filter binary, used for Bluetooth, that was used previously has been replaced with the 64-bit wcnss_filter binary from Samsung's A520FZTU4BRB1 firmware.
  • There are some updates from the 3.18 and 4.4 Android common kernels and Linux 4.4, a few changes backported from mainline Linux, and also a few other insignificant changes to the kernel.
  • An issue where there was additional extremely quiet high-pitched noise from the right speaker has been fixed. (Thanks to @Kostareka for reporting it. It likely would've gone unnoticed for at least a very long time into the future otherwise.)
Enjoy.
 
Last edited:

TALUAtXDA

Senior Member
Nov 8, 2018
384
692
With that first proper release for the P580, I've made a new unofficial TWRP build for it from an updated device tree and with a kernel compiled from the same sources used for these LineageOS builds, which is, of course, untested, but should now be used if it works, as I fully expect it to. An image of it can be downloaded from here, and a tar archive containing it for installation via Odin in the AP slot can be downloaded from here. (Note: these download links have been changed for a second build, with a ramdisk compressed using LZMA compression, that should actually work. Edit: it does.)

With this build, things that didn't work with the TWRP build that previously would've needed to be used from here would work. For example, the data partition would be formatted correctly with it so that encryption works, and data partitions formatted with the F2FS filesystem would be mountable.

For anyone who tests it, please report if it works or not. If it does, as I expect it to, I can look at taking over maintainership over official TWRP builds for the P580 and P585, and pushing my changes for official TWRP builds.

For those who want to use encryption, and already formatted the data partition with the old TWRP build, with this new TWRP build, going to Wipe -> Advanced Wipe, selecting Data, selecting "Repair or Change File System", selecting "Resize File System", and finally swiping to confirm should work to resize the filesystem that the data partition is formatted with so that encryption works. Otherwise, backing up all data from internal storage, making a TWRP backup to a SD card or a USB drive connected via USB-OTG, formatting the data filesystem, and then restoring the backups would also be a method of getting encryption to work.
 
Last edited:

Archaide

Member
Jun 18, 2021
8
3
Hi Taluatxda.
Thank you for releasing another update for our old tab. Just flashed the rom without any problems over the previous rom. So far nothing to complain. (y)
Only one very minor thing i noticed a few roms ago: the samsung splashscreen identifies the tab as "A6"
Thank you so much for keeping this old but absolutly capable hardware alive and up–to-date.
 

rapidm

Senior Member
Dec 24, 2010
57
9
New releases for 20210922

Downloads:
For SM-T580/gtaxlwifi: https://drive.google.com/file/d/1LPxvLU-O8jpCBB-vaoI_lp7ZJROqh28b/
For SM-P580/gtanotexlwifi:
https://drive.google.com/file/d/1mCE78wpxFHoI-4IIyd3ZEQzXZrkOJ5P9/

Changelog:
  • Latest updates from Lineage, including the 20210922 Android security updates.
  • The ZRAM size has been increased to 768MiB.
  • Even further miscellaneous cleanups have been done.
  • The 32-bit wcnss_filter binary, used for Bluetooth, that was used previously has been replaced with the 64-bit wcnss_filter binary from Samsung's A520FZTU4BRB1 firmware.
  • There are some updates from the 3.18 and 4.4 Android common kernels and Linux 4.4, a few changes backported from mainline Linux, and also a few other insignificant changes to the kernel.
  • An issue where there was additional extremely quiet high-pitched noise from the right speaker has been fixed. (Thanks to @Kostareka for reporting it!)
Enjoy.
Not asking for a release date but can we still expect SM-T585 build in the future? Meanwhile this is working fine :) Thanks!
 

Uluru25

Senior Member
Nov 27, 2016
175
65
Samsung Galaxy S7
Samsung Galaxy A6
Hi Taluatxda.
Thank you for releasing another update for our old tab. Just flashed the rom without any problems over the previous rom. So far nothing to complain. (y)
Only one very minor thing i noticed a few roms ago: the samsung splashscreen identifies the tab as "A6"
Thank you so much for keeping this old but absolutly capable hardware alive and up–to-date.
So you dirty flashed? What did you wipe (cache and dalvik only)? You flashed it via TWRP or Odin? In case of TWRP: which version? Thx in advance for sharing your experience.
 

Archaide

Member
Jun 18, 2021
8
3
So you dirty flashed? What did you wipe (cache and dalvik only)? You flashed it via TWRP or Odin? In case of TWRP: which version? Thx in advance for sharing your experience.
Hi Uluru25. (Aussie?)

Iirc i used Odin a long time ago for TWRP 3.5.2_9-0. That is still the version i'm currently using. I rooted with Magisk. I don't remember if i did something special prior to flashing Taluatxda's first rom.
But since then i never did anything else but downloading the rom, booting into twrp and flashing the rom. No wiping no nothing no issues.
Ahh and by the way no gapps or any other google related extensions. If it's not on fdroid or downloadable from the authors site or other foss archives, well, i don't need it. I understand that does not applies to everybodys usecase.
 
Last edited:
  • Like
Reactions: Uluru25

Uluru25

Senior Member
Nov 27, 2016
175
65
Samsung Galaxy S7
Samsung Galaxy A6
Hi Uluru25. (Aussie?)

Iirc i used Odin a long time ago for TWRP 3.5.2_9-0. That is still the version i'm currently using. I rooted with Magisk. I don't remember if i did something special prior to flashing Taluatxda's first rom.
But since then i never did anything else but downloading the rom, booting into twrp and flashing the rom. No wiping no nothing no issues.
Ahh and by the way no gapps or any other google related extensions. If it's not on fdroid or downloadable from the authors site or other foss archives, well, i don't need it. I understand that does not applies to everybodys usecase.
Thx! Exactly my philosophy.
 

skiwarz

Member
Jan 31, 2018
14
1
With that first proper release for the P580, I've made a new unofficial TWRP build for it from an updated device tree and with a kernel compiled from the same sources used for these LineageOS builds, which is, of course, untested, but should now be used if it works, as I fully expect it to. An image of it can be downloaded from here, and a tar archive containing it for installation via Odin in the AP slot can be downloaded from here.

With this build, things that didn't work with the TWRP build that previously would've needed to be used from here would work. For example, the data partition would be formatted correctly with it so that encryption works, and data partitions formatted with the F2FS filesystem would be mountable.

For anyone who tests it, please report if it works or not. If it does, as I expect it to, I can look at taking over maintainership over official TWRP builds for the P580 and P585, and pushing my changes for official TWRP builds.

For those who want to use encryption, and already formatted the data partition with the old TWRP build, with this new TWRP build, going to Wipe -> Advanced Wipe, selecting Data, selecting "Repair or Change File System", selecting "Resize File System", and finally swiping to confirm should work to resize the filesystem that the data partition is formatted with so that encryption works. Otherwise, backing up all data from internal storage, making a TWRP backup to a SD card or a USB drive connected via USB-OTG, formatting the data filesystem, and then restoring the backups would also be a method of getting encryption to work.
I just flashed your TWRP and it... does not work. In fact, I can no longer boot to either recovery or the main OS. Each time I try it gets to the samsung logo screen and has red text at the top that says "Could not do normal boot. Invalid RAMDISK LENGTH!"
I flashed it using the "third-party" TWRP you referred to earlier, as well as tried flashing in download mode using heimdall (I'm on linux so no odin).
Hope that helps...
 

Rawwrius01

Senior Member
Oct 10, 2015
253
119
With that first proper release for the P580, I've made a new unofficial TWRP build for it from an updated device tree and with a kernel compiled from the same sources used for these LineageOS builds, which is, of course, untested, but should now be used if it works, as I fully expect it to. An image of it can be downloaded from here, and a tar archive containing it for installation via Odin in the AP slot can be downloaded from here.

With this build, things that didn't work with the TWRP build that previously would've needed to be used from here would work. For example, the data partition would be formatted correctly with it so that encryption works, and data partitions formatted with the F2FS filesystem would be mountable.

For anyone who tests it, please report if it works or not. If it does, as I expect it to, I can look at taking over maintainership over official TWRP builds for the P580 and P585, and pushing my changes for official TWRP builds.

For those who want to use encryption, and already formatted the data partition with the old TWRP build, with this new TWRP build, going to Wipe -> Advanced Wipe, selecting Data, selecting "Repair or Change File System", selecting "Resize File System", and finally swiping to confirm should work to resize the filesystem that the data partition is formatted with so that encryption works. Otherwise, backing up all data from internal storage, making a TWRP backup to a SD card or a USB drive connected via USB-OTG, formatting the data filesystem, and then restoring the backups would also be a method of getting encryption to work.
Awesome man! I would love to start to build the kernel which I made for the stock Oreo firmware, like overclocked CPU/GPU ect. Maybe on a lineage base it will work better. Sadly I'm limited on my drive space right now :D. I remember it was a huge benefit from the stock Kernel.
 

Uluru25

Senior Member
Nov 27, 2016
175
65
Samsung Galaxy S7
Samsung Galaxy A6
  • Like
Reactions: Archaide

Pat33170

Member
Mar 19, 2021
11
0
Thanks again TALUAtXDA for your job. I have just installed new release with NickGapps Core and everything is working fine (flash with TWRP 3.5.2_9.0 GTAXLWIFI). My favorite tablet can continue to be alive with all applications i need.
Kind regards
 

log30

Senior Member
May 30, 2012
159
29
Thanks for your work @TALUAtXDA , the Rom is working very well but it have so low speaker vol. There is anything to improve audio vol?
 
Sep 25, 2021
12
0
hey, @TALUAtXDA thanks for the amazing rom
only hvaing 2 issues - with encryption - no direct boot? And on-screen navbar sometimes doesn't work.
Not really an issue but - the heap size for some apps is low, around 200mb. Some apps like heap size of 512 mb.
 
I have the latest TWRP for T580... can I format DATA, wipe cache, dalvik and flash the latest zip with latest Gapps, right?
I don't mind losing all data.

Actually I don't know if I should install CrDroid instead... which one is more polished?

EDIT: yeah, I can do it and I did it, I'm on CrDroid now, not really sure why I should go back to Lineage as they seem pretty similar, LOS may be a little less customizable.
 
Last edited:

TALUAtXDA

Senior Member
Nov 8, 2018
384
692
Thank you for releasing another update for our old tab. Just flashed the rom without any problems over the previous rom. So far nothing to complain. (y)
Only one very minor thing i noticed a few roms ago: the samsung splashscreen identifies the tab as "A6"
Thank you so much for keeping this old but absolutly capable hardware alive and up–to-date.
You're welcome, and excellent.
The "A6" boot splashscreen you describe would actually be the completely stock and static splashscreen.

Not asking for a release date but can we still expect SM-T585 build in the future? Meanwhile this is working fine :) Thanks!
I don't think there should ever be any complete expectations for a build for the T585. As I've always said before in my previous posts, I'm only going to attempt to setup sources for the T585 to build for it, whenever I have the time to, which unfortunately I've still ended up not having much of. I can never be certain if I'm going to succeed.

While I do think I have a decent enough chance at success (although I'm less confident than I was before after taking a better look at the previous sources that were used for the T585), the undeniable reality is that there can only possibly be full expectations for me to setup proper sources and get working builds if I have physical access to a T585, to freely test and "experiment" on. Builds for the T585 boot on the T580, just as builds for the T580 boot on the T585, so I can take advantage of that, however, it's a far from perfect compromise, because that can only be used for testing of fairly basic things.

With that being said, what I have now is a vendor tree that I've converted for the T585 several days ago and am not very sure about for now here: https://github.com/TALUAtGitHub/android_vendor_samsung_gtaxllte I've mostly used the blobs that were previously used for the T585 for a safe starting point, although I would prefer to have more up-to-date blobs, which is something to potentially consider later. Now, the next big thing would be to setup a device tree. There wouldn't be very much to add to, or replace in, my device tree for the T580, to convert it for the T585, after all, it's just mobile networking/telephony, GPS, and vibration, however, it's not all about simply adding and replacing stuff, but also most importantly, of course, having everything setup such that it actually works, and this is where things get somewhat difficult and I have to make hard decisions that I'm not entirely certain about. Also, there's the sepolicy, containing all of the SELinux rules, to which new rules would need to be added for the additional functionality, which would be a relatively involved process. I'm hoping for eventual success with all of this stuff.

I just flashed your TWRP and it... does not work. In fact, I can no longer boot to either recovery or the main OS. Each time I try it gets to the samsung logo screen and has red text at the top that says "Could not do normal boot. Invalid RAMDISK LENGTH!"
I flashed it using the "third-party" TWRP you referred to earlier, as well as tried flashing in download mode using heimdall (I'm on linux so no odin).
Hope that helps...
Thanks for your report. Looking into this, I've found that the ramdisks for builds from my device trees for TWRP for the P580 and P585 are around 2MB larger than those for the T580 and T585, due to the inclusion of a few extra languages for the P580 and P585 that require some fonts that are quite large, and they end up being around 16MB. It seems that the bootloaders refuse to boot from recovery images with a ramdisk that is larger than 16MB.
I've made another TWRP build for the P580, with the ramdisk compressed using LZMA compression, rather than the standard gzip compression with which the ramdisk in the first build was compressed, bringing the size of the ramdisk from that size of around 16MB down to around 11MB, and therefore, that error from the bootloader about an invalid ramdisk length should no longer occur with it, and it should work. The image of it can be downloaded from here. Could you please test that build out?
 
Last edited:

skiwarz

Member
Jan 31, 2018
14
1
You're welcome, and excellent.
The "A6" boot splashscreen you describe would actually be the completely stock and static splashscreen.


I don't think there should ever be any complete expectations for a build for the T585. As I've always said before in my previous posts, I'm only going to attempt to setup sources for the T585 to build for it, whenever I have the time to, which unfortunately I've still ended up not having much of. I can never be certain if I'm going to succeed.

While I do think I have a decent enough chance at success (although I'm less confident than I was before after taking a better look at the previous sources that were used for the T585), the undeniable reality is that there can only possibly be full expectations for me to setup proper sources and get working builds if I have physical access to a T585, to freely test and "experiment" on. Builds for the T585 boot on the T580, just as builds for the T580 boot on the T585, so I can take advantage of that, however, it's a far from perfect compromise, because that can only be used for testing of fairly basic things.

With that being said, what I have now is a vendor tree that I've converted for the T585 several days ago and am not very sure about for now here: https://github.com/TALUAtGitHub/android_vendor_samsung_gtaxllte I've mostly used the blobs that were previously used for the T585 for a safe starting point, although I would prefer to have more up-to-date blobs, which is something to potentially consider later. Now, the next big thing would be to setup a device tree. There wouldn't be very much to add to, or replace in, my device tree for the T580, to convert it for the T585, after all, it's just mobile networking/telephony, GPS, and vibration, however, it's not all about simply adding and replacing stuff, but also most importantly, of course, having everything setup such that it actually works, and this is where things get somewhat difficult and I have to make hard decisions that I'm not entirely certain about. Also, there's the sepolicy, containing all of the SELinux rules, to which new rules would need to be added for the additional functionality, which would be a relatively involved process. I'm hoping for eventual success with all of this stuff.


Thanks for your report. Looking into this, I've found that the ramdisks for builds from my device trees for TWRP for the P580 and P585 are around 2MB larger than those for the T580 and T585, due to the inclusion of a few extra languages for the P580 and P585 that require some fonts that are quite large, and they end up being around 16MB. It seems that the bootloaders refuse to boot from recovery images with a ramdisk that is larger than 16MB.
I've made another TWRP build for the P580, with the ramdisk compressed using LZMA compression, rather than the standard gzip compression with which the ramdisk in the first build was compressed, bringing the size of the ramdisk from that size of around 16MB down to around 11MB, and therefore, that error from the bootloader about an invalid ramdisk length should no longer occur with it, and it should work. The image of it can be downloaded from here. Could you please test that build out?
Yep, it works now. I was able to resize my data partition from your previous instructions. Encryption now works on the P580. Thanks!
 
  • Like
Reactions: TALUAtXDA
Sep 25, 2021
12
0
You're welcome, and excellent.
The "A6" boot splashscreen you describe would actually be the completely stock and static splashscreen.


I don't think there should ever be any complete expectations for a build for the T585. As I've always said before in my previous posts, I'm only going to attempt to setup sources for the T585 to build for it, whenever I have the time to, which unfortunately I've still ended up not having much of. I can never be certain if I'm going to succeed.

While I do think I have a decent enough chance at success (although I'm less confident than I was before after taking a better look at the previous sources that were used for the T585), the undeniable reality is that there can only possibly be full expectations for me to setup proper sources and get working builds if I have physical access to a T585, to freely test and "experiment" on. Builds for the T585 boot on the T580, just as builds for the T580 boot on the T585, so I can take advantage of that, however, it's a far from perfect compromise, because that can only be used for testing of fairly basic things.

With that being said, what I have now is a vendor tree that I've converted for the T585 several days ago and am not very sure about for now here: https://github.com/TALUAtGitHub/android_vendor_samsung_gtaxllte I've mostly used the blobs that were previously used for the T585 for a safe starting point, although I would prefer to have more up-to-date blobs, which is something to potentially consider later. Now, the next big thing would be to setup a device tree. There wouldn't be very much to add to, or replace in, my device tree for the T580, to convert it for the T585, after all, it's just mobile networking/telephony, GPS, and vibration, however, it's not all about simply adding and replacing stuff, but also most importantly, of course, having everything setup such that it actually works, and this is where things get somewhat difficult and I have to make hard decisions that I'm not entirely certain about. Also, there's the sepolicy, containing all of the SELinux rules, to which new rules would need to be added for the additional functionality, which would be a relatively involved process. I'm hoping for eventual success with all of this stuff.


Thanks for your report. Looking into this, I've found that the ramdisks for builds from my device trees for TWRP for the P580 and P585 are around 2MB larger than those for the T580 and T585, due to the inclusion of a few extra languages for the P580 and P585 that require some fonts that are quite large, and they end up being around 16MB. It seems that the bootloaders refuse to boot from recovery images with a ramdisk that is larger than 16MB.
I've made another TWRP build for the P580, with the ramdisk compressed using LZMA compression, rather than the standard gzip compression with which the ramdisk in the first build was compressed, bringing the size of the ramdisk from that size of around 16MB down to around 11MB, and therefore, that error from the bootloader about an invalid ramdisk length should no longer occur with it, and it should work. The image of it can be downloaded from here. Could you please test that build out?
hey could you make a build that enables direct boot ( if possible ). i will try and tell if it works. thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    New releases for 20211114

    Downloads:
    For SM-T580/gtaxlwifi: https://drive.google.com/file/d/15KxgVkH_5X8e45Cq-KDsqvR6lZ-rsZwE/
    For SM-P580/gtanotexlwifi: https://drive.google.com/file/d/1-bp8Z2iDyMV9AeSLVlqMipN17kzGEWfE/

    Changelog:

    • Latest updates from Lineage, including the 20211105 Android security updates.
    • The WiFi driver has been switched from being a kernel module to being built into the kernel. This may improve reliability for enabling and disabling WiFi and the WiFi hotspot very slightly.
    • The libexynoscamera3.so library has been updated from Samsung's P580ZSS1CTI1 stock firmware - This improves the situation with the issues with stretched/squashed camera previews for images and stretching/squashing in videos at some resolutions.
    • The MFC (Multi-Format Codec) firmware has been updated from Samsung's A305FDDU6CUI3 firmware.
    • As the oldest proprietary blobs are now as in Samsung's P580ZSS1CTI1 stock firmware (with a few exceptions), the vendor security patch level has been increased to 2020-09-01, which is the security patch level that firmware has.
    • Configuration files for media codecs and profiles have been updated from Samsung's T580XXS5CTK1 stock firmware.
    • Most SELinux rules that are technically not allowed (by neverallow rules) have been replaced with much better rules or removed.
    • There are some (final) updates from the (unfortunately now deprecated so no longer updated) 3.18 Android common kernel, some updates from Linux 4.4, and a few updates from Samsung's J600FPUUACUH2 and A720SKSU5CUJ2 kernel sources to the kernel.
    Enjoy.
  • 34
    This is LineageOS 18.1, which is based on Android 11, for the WiFi-only variants of the Samsung Galaxy Tab A 10.1" (2016), with model SM-T580 and codename gtaxlwifi, and the Galaxy Tab A 10.1" (2016) with S-Pen, with model SM-P580 and codename gtanotexlwifi. LineageOS doesn't need much of an introduction - It's a well-known custom firmware/Android distribution.

    As was always planned, my LineageOS 18.1 builds are a continuation from @followmsi's LineageOS 18.1 builds that were intended for use by users. To update from his builds, my builds can simply be installed on top of his builds without doing anything further.

    Downloads:
    Note: While these builds are mainly intended to be used on the WiFi-only variants of these devices, they can be installed and used on LTE variants if you can go without mobile networking (of course), GPS and vibration. I'm planning to try to setup sources to make builds for the LTE variants sometime in the future whenever I have the time to.

    For SM-T580/gtaxlwifi:

    Latest build from 20211114 (with security patch level 20211105): https://drive.google.com/file/d/15KxgVkH_5X8e45Cq-KDsqvR6lZ-rsZwE/
    Folder for builds (which includes text files with MD5 and SHA256 checksums for builds, and another folder within it containing some previous builds): https://drive.google.com/drive/folders/1wuirD9cyoguv7CQdEO5ymZ911k2ASKKD

    For the T580, the latest official TWRP build from here should be used. If installing a build for the T580 to the LTE variant, with model SM-T585 and codename gtaxllte, keeping in mind some functionality will of course be missing as described in my note, the latest official TWRP build for gtaxllte from here can also be used.

    For SM-P580/gtanotexlwifi:
    Latest build from 20211114 (with security patch level 20211105): https://drive.google.com/file/d/1-bp8Z2iDyMV9AeSLVlqMipN17kzGEWfE/
    Folder for builds (which includes text files with MD5 and SHA256 checksums for builds, and another folder within it containing some previous builds): https://drive.google.com/drive/folders/1fVGx1xGUxAtTvE0rG-OidwbXLM_93om2

    For the P580, I've made an unofficial TWRP build from an updated device tree and with a kernel compiled from the same sources used for these LineageOS builds that must be used.
    Download link for an image of it: https://drive.google.com/file/d/1eNOn9IRCj98dpx7fCSnPBQu0FIOsKZrr/
    Download link for a tar archive containing it for installation via Odin in the AP slot: https://drive.google.com/file/d/1oTurdJuNSQpl2PrEJDZpNjKdCTMapokE/
    Note that this is a second build, that has a ramdisk compressed using LZMA compression, rather than using standard gzip compression as it was in my first build since it's too large with it.

    Changelogs:
    Releases for 20211114:
    • Latest updates from Lineage, including the 20211105 Android security updates.
    • The WiFi driver has been switched from being a kernel module to being built into the kernel. This may improve reliability for enabling and disabling WiFi and the WiFi hotspot very slightly.
    • The libexynoscamera3.so library has been updated from Samsung's P580ZSS1CTI1 stock firmware - This improves the situation with the issues with stretched/squashed camera previews for images and stretching/squashing in videos at some resolutions.
    • The MFC (Multi-Format Codec) firmware has been updated from Samsung's A305FDDU6CUI3 firmware.
    • As the oldest proprietary blobs are now as in Samsung's P580ZSS1CTI1 stock firmware (with a few exceptions), the vendor security patch level has been increased to 2020-09-01, which is the security patch level that firmware has.
    • Configuration files for media codecs and profiles have been updated from Samsung's T580XXS5CTK1 stock firmware.
    • Most SELinux rules that are technically not allowed (by neverallow rules) have been replaced with much better rules or removed.
    • There are some (final) updates from the (unfortunately now deprecated so no longer updated) 3.18 Android common kernel, some updates from Linux 4.4, and a few updates from Samsung's J600FPUUACUH2 and A720SKSU5CUJ2 kernel sources to the kernel.
    Previous releases:
    Releases for 20211023:
    • Latest updates from Lineage, including the 20211001 Android security updates, and a fix for the issue where the media controls in the notification panel squash the quick settings tiles and make it impossible to swipe through them when in landscape.
    • Workarounds for an issue with rebooting to recovery and download mode from system using the advanced restart menu or the reboot command in a shell have been replaced with a proper fix.
    • Yet further slight miscellaneous cleanups have been done.
    • [SM-P580/gtanotexlwifi only] A problem where S-Pen input wasn't registering in the right directions in orientations other than portrait, as the axes for it didn't change on orientation changes accordingly, has been fixed by enabling orientation awareness for it (Thanks to @retiredtab for sharing that fix).
    • [SM-P580/gtanotexlwifi only] The cursor that appeared when using the S-Pen has effectively been disabled by setting the device type for the S-Pen input to a touchscreen (Thanks to @Acatzin for the hint for this).
    • [SM-T580/gtaxlwifi only] The system image size has been increased from 3072000000 bytes to 3145728000 bytes, which is the size of the system partition on Korean and Chinese variant T580s and T585s, and the smallest system partition size out of all T580s and T585s.
    • [SM-P580/gtanotexlwifi only] The system image size has been decreased from 3072000000 bytes to 3045064704 bytes, to accomodate for the SM-P583s system partition which has that size. With this change, it should now be possible to install this latest build for the P580 on the P583 and for it to boot fine, since the P583 basically seems to be a P580 but for China, although I can't be certain on that.
    • There are some updates from the 3.18 Android common kernel and Linux 4.4 to the kernel.
    Releases for 20210922:
    • Latest updates from Lineage, including the 20210905 Android security updates.
    • The ZRAM size has been increased to 768MiB.
    • Even further miscellaneous cleanups have been done.
    • The 32-bit wcnss_filter binary, used for Bluetooth, that was used previously has been replaced with the 64-bit wcnss_filter binary from Samsung's A520FZTU4BRB1 firmware.
    • There are some updates from the 3.18 and 4.4 Android common kernels and Linux 4.4, a few changes backported from mainline Linux, and also a few other insignificant changes to the kernel.
    • An issue where there was additional extremely quiet high-pitched noise from the right speaker has been fixed. (Thanks to @Kostareka for reporting it. It likely would've gone unnoticed for at least a very long time into the future otherwise.)
    • First proper release for the P580.

    Release for 20210810:
    • Latest updates from Lineage, including the 20210805 Android security updates.
    • This is my first build that is signed using my own release keys. This change was removed in the second build released for 20210810 (with "-R2-Test-keys" in the filename).
    • The BSP sources have been redone to closely match what has been done with the new exynos7880-specific part of Lineage's BSP sources, and with that, there are now more exynos7870-specific changes to the open source gralloc that is in use.
    • Some further small miscellaneous cleanups have been done.
    • There are some updates from the 3.18 Android common kernel and Linux 4.4 to the kernel, and a few other insignificant changes.
    Release for 20210709:
    • Latest updates from LineageOS.
    • Merges of the latest changes from AOSP for repositories forked by Lineage have been picked to skip the wait for them to be merged (repopick -t android-11.0.0_r39), and the rest of the repositories not forked by Lineage were additionally switched to the android-11.0.0_r39 tag, for the 20210705 Android security updates.
    • A patch to the PermissionController app has been applied that adds the FAKE_PACKAGE_SIGNATURE permission group to it - The signature spoofing permission can now be managed through the permission management interface at Settings -> Privacy -> Permission manager.
    • The audio outputted from the audio jack while playing media will now be noticeably louder, as the headset "DAC1 playback volume" for media has been increased to the maximum of 175 from 162.
    • There are some updates from the 3.18 Android common kernel and Linux 4.4 to the kernel.
    • A few patches have been applied to the qcacld-2.0 WiFi driver in the kernel, which are mainly vulnerability fixes.
    Release for 20210617:
    • Latest updates from LineageOS, including the 20210605 Android security updates.
    • The WiFi and Bluetooth firmwares have been updated from Samsung's A720SKSU5CTL2 firmware.
    • The qcom_cfg.ini configuration file for WiFi has been imported from Samsung's A720SKSU5CTL2 firmware - A change within it appears to have made WiFi more reliable.
    • The sensors.universal7870.so library has been updated from Samsung's stock P580ZSS1CTI1 firmware.
    • The health HAL has been upgraded to version 2.1.
    • There are a few other small miscellaneous changes (mostly small cleanups).
    • There are many updates from the 3.18 Android common kernel and Linux 4.4 to the kernel.
    • Some unnecessary drivers have been disabled in the kernel.
    • The sdfat driver in the kernel, which is used for exFAT filesystem support, has been updated to version 2.4.5.
    • A few changes have been imported to the MMC block device driver in the kernel from Samsung's M105GDXS6CUD4 kernel that fix extremely rare kernel panics that occurred when there was an error with a MMC device (mainly with SD cards).
    • The fix for an issue where the duration of videos that are taken is lengthened by the time spent in deep sleep/suspended that was previously used has been replaced with a better fix in the Exynos fimc-is2 driver in the kernel.
    Release for 20210508:
    • Latest updates from LineageOS, including the 20210505 Android security updates.
    • New SELinux denials with Android 11 have been addressed, and with that, SELinux is now set to enforcing by default, and the sepolicy, which contains the SELinux rules, has been rewritten almost entirely, and is now of much better quality.
    • Some changes have been imported to libbt-vendor from https://github.com/LineageOS/android_hardware_qcom_bt on branch lineage-18.1-caf.
    • BPF offloading for tethering has been disabled.
    • The audio HAL has been upgraded to version 6.0.
    • The rampatch_tlv_tf_1.1.tlv firmware for Bluetooth has been updated from Samsung's stock T585XXS6CTJ7 firmware.
    • There are some updates from the 3.18 Android common kernel and Linux 4.4 to the kernel.
    • Some tcp_info-related patches have been applied to the kernel, and with that, a workaround, a patch titled "TcpSocketTracker: Opt-out for TCP info parsing on legacy kernels", is no longer used since it's no longer necessary.
    • A workaround that was used to get USB tethering and Bluetooth tethering to work is no longer used, and has been replaced with a proper fix (enabling CONFIG_NETFILTER_XT_TARGET_CT in the kernel).
    Release for 20210407 (My initial 18.1 build. This changelog continues on from @followmsi's last 18.1 build that was intended for use by users):
    • Latest changes from LineageOS. The crashes that occurred when setting a new wallpaper that were discussed earlier in this thread appear to have been fixed.
    • Merges of the latest changes from AOSP, including the 20210405 security updates, have been picked to skip the wait for them to be merged. (repopick -t android-11.0.0_r34)
    • The same workaround that was used on 17.1 to get USB tethering and Bluetooth internet access sharing to work has been forward-ported and applied.
    • vintf manifest override enforcement is now enabled.
    • The vendor/lib[64]/egl/libGLES_mali.so blobs are now symlinked to vendor/lib[64]/vulkan.exynos5.so, rather than copied to vendor/lib[64]/hw/vulkan.exynos5.so - This is a proper fix for Vulkan support.
    • RSA key verification for ADB is enabled again, and ADB isn't enabled by default and on boot anymore.
    • There are some updates from the 3.18 Android common kernel and Linux 4.4 to the kernel.



    Known issues and workarounds (if any):
    Issue 1: Occasionally, when trying to select quick settings tiles in the notification panel, it will crash to the lockscreen.
    I have no idea about this issue at the moment. It seems like some type of generic systemui crashes.

    Issue 2: Camera previews for images to be taken at resolutions with aspect ratios other than 16:9 using the rear camera are squashed from 16:9 (while final saved images at any resolution are unaffected by any squashing), and videos taken at some resolutions are affected by similar issues with squashing in previews, and, in a smaller set of resolutions, also in final saved video files. (Note that these issues don't affect the front-facing camera)
    Somewhat of a workaround to issue 2: Use resolutions at which there are no issues with squashing from 16:9.

    Issue 3: the on-screen navigation bar feature that can be enabled with the option at Settings -> System -> Buttons -> "Enable on-screen nav bar" doesn't work properly.

    To report further issues, get a log from logcat and dmesg. If you are unsure on how to get either, there is good documentation out there for how to do so.


    Sources:
    A manifest containing all of the necessary repositories to make a build for either the T580 or P580 is in this repository on branch lineage-18.1: https://github.com/TALUAtGitHub/gtaxlwifi-manifests

    Thanks to:
    @Valera1978 - for all of the previous work for these devices, and for providing his old BSP sources without which the previously used open BSP sources wouldn't have been possible.
    @followmsi - for fixes to various issues and other improvements, for useful information, and for working with me on much of this stuff.
    The Lineage team - for the Android distribution itself.
    ...and everyone else who has worked on anything that is in use.
    24
    New releases for 20211023

    Downloads:
    For SM-T580/gtaxlwifi: https://drive.google.com/file/d/1Frtwih9h3suHOQ9jFcID53osD6M7iJvl/
    For SM-P580/gtanotexlwifi: https://drive.google.com/file/d/1niGeY4cNDy5OAhoJd04P5MPQci3ztC9W/

    Changelog:

    • Latest updates from Lineage, including the 20211001 Android security updates, and a fix for the issue where the media controls in the notification panel squash the quick settings tiles and make it impossible to swipe through them when in landscape.
    • Workarounds for an issue with rebooting to recovery and download mode from system using the advanced restart menu or the reboot command in a shell have been replaced with a proper fix.
    • Yet further slight miscellaneous cleanups have been done.
    • [SM-P580/gtanotexlwifi only] A problem where S-Pen input wasn't registering in the right directions in orientations other than portrait, as the axes for it didn't change on orientation changes accordingly, has been fixed by enabling orientation awareness for it (Thanks to @retiredtab for sharing that fix).
    • [SM-P580/gtanotexlwifi only] The cursor that appeared when using the S-Pen has effectively been disabled by setting the device type for the S-Pen input to a touchscreen (Thanks to @Acatzin for the hint for this).
    • [SM-T580/gtaxlwifi only] The system image size has been increased from 3072000000 bytes to 3145728000 bytes, which is the size of the system partition on Korean and Chinese variant T580s and T585s, and the smallest system partition size out of all T580s and T585s.
    • [SM-P580/gtanotexlwifi only] The system image size has been decreased from 3072000000 bytes to 3045064704 bytes, to accomodate for the SM-P583s system partition which has that size. With this change, it should now be possible to install this latest build for the P580 on the P583 and for it to boot fine, since the P583 basically seems to be a P580 but for China, although I can't be certain on that.
    • There are some updates from the 3.18 Android common kernel and Linux 4.4 to the kernel.
    As usual, enjoy.
    14
    New releases for 20210922

    Downloads:
    For SM-T580/gtaxlwifi: https://drive.google.com/file/d/1LPxvLU-O8jpCBB-vaoI_lp7ZJROqh28b/
    For SM-P580/gtanotexlwifi:
    https://drive.google.com/file/d/1mCE78wpxFHoI-4IIyd3ZEQzXZrkOJ5P9/

    Changelog:
    • Latest updates from Lineage, including the 20210905 Android security updates.
    • The ZRAM size has been increased to 768MiB.
    • Even further miscellaneous cleanups have been done.
    • The 32-bit wcnss_filter binary, used for Bluetooth, that was used previously has been replaced with the 64-bit wcnss_filter binary from Samsung's A520FZTU4BRB1 firmware.
    • There are some updates from the 3.18 and 4.4 Android common kernels and Linux 4.4, a few changes backported from mainline Linux, and also a few other insignificant changes to the kernel.
    • An issue where there was additional extremely quiet high-pitched noise from the right speaker has been fixed. (Thanks to @Kostareka for reporting it. It likely would've gone unnoticed for at least a very long time into the future otherwise.)
    Enjoy.
    12
    New release for 20210617

    Download:

    Changelog:
    • Latest updates from LineageOS, including the 20210605 Android security updates.
    • The WiFi and Bluetooth firmwares have been updated from Samsung's A720SKSU5CTL2 firmware.
    • The qcom_cfg.ini configuration file for WiFi has been imported from Samsung's A720SKSU5CTL2 firmware - A change within it appears to have made WiFi more reliable.
    • The sensors.universal7870.so library has been updated from Samsung's stock P580ZSS1CTI1 firmware.
    • The health HAL has been upgraded to version 2.1.
    • There are a few other small miscellaneous changes (mostly small cleanups).
    • There are many updates from the 3.18 Android common kernel and Linux 4.4 to the kernel.
    • Some unnecessary drivers have been disabled in the kernel.
    • The sdfat driver in the kernel, which is used for exFAT filesystem support, has been updated to version 2.4.5.
    • A few changes have been imported to the MMC block device driver in the kernel from Samsung's M105GDXS6CUD4 kernel that fix extremely rare kernel panics that occurred when there was an error with a MMC device (mainly with SD cards).
    • The fix for an issue where the duration of videos that are taken is lengthened by the time spent in deep sleep/suspended that was previously used has been replaced with a better fix in the Exynos fimc-is2 driver in the kernel.
    As usual, enjoy.
    11
    New releases for 20211114

    Downloads:
    For SM-T580/gtaxlwifi: https://drive.google.com/file/d/15KxgVkH_5X8e45Cq-KDsqvR6lZ-rsZwE/
    For SM-P580/gtanotexlwifi: https://drive.google.com/file/d/1-bp8Z2iDyMV9AeSLVlqMipN17kzGEWfE/

    Changelog:

    • Latest updates from Lineage, including the 20211105 Android security updates.
    • The WiFi driver has been switched from being a kernel module to being built into the kernel. This may improve reliability for enabling and disabling WiFi and the WiFi hotspot very slightly.
    • The libexynoscamera3.so library has been updated from Samsung's P580ZSS1CTI1 stock firmware - This improves the situation with the issues with stretched/squashed camera previews for images and stretching/squashing in videos at some resolutions.
    • The MFC (Multi-Format Codec) firmware has been updated from Samsung's A305FDDU6CUI3 firmware.
    • As the oldest proprietary blobs are now as in Samsung's P580ZSS1CTI1 stock firmware (with a few exceptions), the vendor security patch level has been increased to 2020-09-01, which is the security patch level that firmware has.
    • Configuration files for media codecs and profiles have been updated from Samsung's T580XXS5CTK1 stock firmware.
    • Most SELinux rules that are technically not allowed (by neverallow rules) have been replaced with much better rules or removed.
    • There are some (final) updates from the (unfortunately now deprecated so no longer updated) 3.18 Android common kernel, some updates from Linux 4.4, and a few updates from Samsung's J600FPUUACUH2 and A720SKSU5CUJ2 kernel sources to the kernel.
    Enjoy.