LineageOS 18.1 for SM-T580 (gtaxlwifi)

Search This thread

TALUAtXDA

Senior Member
Nov 8, 2018
323
530
This is LineageOS 18.1, which is based on Android 11, for the WiFi-only variant of the Samsung Galaxy Tab A 10.1" (2016), codenamed gtaxlwifi. 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 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: These builds are intended to be used on the WiFi-only variant of this device, however, they can be installed and used on the LTE variant if you can go without mobile networking (of course), GPS and vibration. I'm planning to try to make builds for the LTE variant sometime in the future when I have time to setup sources for it.

Latest build from 20210508 (security patch level 20210505): https://drive.google.com/file/d/1FD96bvcTjVF1vNxrcoKnsbya17hCuTuF/
Some previous releases: https://drive.google.com/drive/folders/1PmxsmmtNo7NwqMpBYKZ9b-sBs5-m9QRG
Folder for these builds (includes files with MD5 and SHA256 checksums): https://drive.google.com/drive/folders/1wuirD9cyoguv7CQdEO5ymZ911k2ASKKD

Changelogs:
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).
Previous releases:
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 occured 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 20210407 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 tiles in the notification panel, it will crash to the lockscreen.
I have no idea about this issue at the moment. It seems like generic systemui crashes. Todo: test LineageOS 18.1 on another device to see if the same issues occur.

Issue 2: Images and videos that are taken in a resolution with an aspect ratio of 16:9 are actually stretched from 4:3.
Somewhat of a workaround to issue 2: Use a resolution that has an aspect ratio of 4:3.

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.

Issue 4: If the WiFi hotspot is enabled without first enabling and disabling WiFi, it will not work.
Workaround to issue 4: Simply enable and disable WiFi before enabling the WiFi hotspot.

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:
manifests - https://github.com/TALUAtGitHub/gtaxlwifi-manifests
device tree - https://github.com/TALUAtGitHub/android_device_samsung_gtaxlwifi
kernel sources - https://github.com/TALUAtGitHub/android_kernel_samsung_exynos7870
vendor tree - https://github.com/TALUAtGitHub/android_vendor_samsung_gtaxlwifi
hardware - https://github.com/LineageOS/android_hardware_samsung
android_frameworks_base fork - https://github.com/TALUAtGitHub/android_frameworks_base
android_frameworks_av fork - https://github.com/TALUAtGitHub/android_frameworks_base
android_system_core fork - https://github.com/TALUAtGitHub/android_system_core
BSP sources - The BSP sources consist of 3 parts in these 3 repositories:
...all on branches lineage-18.1

Thanks to:
@Valera1978 - for all of the previous work for these devices, and for providing his old BSP sources without which the 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.
LineageOS - for the Android distribution itself.
...and everyone else who has worked on anything that is in use.
 
Last edited:

Chris_0147

Senior Member
  • Dec 24, 2020
    60
    5
    I have a problem with connectivity since April I only get 2mb / s per second when I pay for one 20mbps
    This problem is only in android 11 when I go back to some android 10 ROM there is no problem
    there are the results of bliss roms
     

    Attachments

    • Screenshot_20210509-084641_Internet_de_Samsung.png
      Screenshot_20210509-084641_Internet_de_Samsung.png
      195.3 KB · Views: 140
    • Screenshot_20210509-091345408.jpg
      Screenshot_20210509-091345408.jpg
      358.6 KB · Views: 136
    Last edited:

    autorage

    Senior Member
    Nov 19, 2013
    72
    39
    Thank you for your (and @followmsi 's) ongoing support for this device!
    My T-580 never felt old to me because of you!

    A couple of observations:

    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.

    -onscreen navigation bar works for me, just the "disable hardware buttons" part does not.
    For workaround I use Srgrusso's patch from here.

    -Safetynet fails where it hadn't before. (no biggie for me, just a thing I noticed)
     
    • Like
    Reactions: skykid2

    gechu

    Senior Member
    Sep 3, 2009
    103
    16
    Hi @TALUAtXDA and thanks for your your work ,and the other behind the release

    My needs are very basic, I just need something stable, no need for root, sd-card storag etc..

    Would this be the preferred ROM? Or is the 17x release a better for my needs?

    Regarding Gapps, I noticed that users are using Flame Gapps and NikGapps, but I guess the regular Open Gapps could be an option as well.

    What is the recommended Gapps variant?

    Kind regards Erik
     
    Issue 4: Adoptable storage (probably) doesn't work.
    Somewhat of a workaround to issue 4: format and use your micro SD card with the exFAT filesystem (and a MBR parition table).

    Anyone else check this yet? It's working for me on @TALUAtXDA's previous version (202010407). I use this feature quite a bit as internal storage is too small, don't want to lose it if I dirty flash this version.
     

    TALUAtXDA

    Senior Member
    Nov 8, 2018
    323
    530
    -onscreen navigation bar works for me, just the "disable hardware buttons" part does not.
    For workaround I use Srgrusso's patch from here.
    I'm referring specifically to the "Enable on-screen nav bar" option at Settings -> System -> Buttons, that doesn't require any system-level changes as made by that package that you've linked. When enabling it, no touch input is accepted anymore for some reason. It needs to be locked and unlocked a few times for it to accept input and the on-screen navbar added through that feature to work temporarily.
    -Safetynet fails where it hadn't before. (no biggie for me, just a thing I noticed)
    I have no idea about this. I'd have thought that it's now more likely to pass.
    The first custom rom for this device where Ableton Link works!!
    Hmm, wow.... I didn't expect that to be fixed in this release. That's great. :)
    My needs are very basic, I just need something stable, no need for root, sd-card storag etc..

    Would this be the preferred ROM? Or is the 17x release a better for my needs?

    Regarding Gapps, I noticed that users are using Flame Gapps and NikGapps, but I guess the regular Open Gapps could be an option as well.

    What is the recommended Gapps variant?
    For stability, 17.1 would be slightly better. With 18.1, there are certain occasional crashes (see issue 1) that I'm not sure about at the moment, which you may or may not be able to tolerate.

    As for Google apps, it's whichever is the smallest variant. For nikgapps, that would be core, and for opengapps, that would be pico. Something to note is that opengapps seems to often be more problematic for Android 11 than other google app packages, so it could be better to go for something else.
    Anyone else check this yet? It's working for me on @TALUAtXDA's previous version (202010407). I use this feature quite a bit as internal storage is too small, don't want to lose it if I dirty flash this version.
    I actually didn't know if adoptable storage was working in my previous release. I just assumed it didn't considering that it never worked properly with 17.1. Knowing that it did in my previous release of 18.1, it would probably(?) also work with my latest release.
     
    Last edited:
    jrollf said:
    Anyone else check this yet? It's working for me on @TALUAtXDA's previous version (202010407). I use this feature quite a bit as internal storage is too small, don't want to lose it if I dirty flash this version.
    I actually didn't know if adoptable storage was working in my previous release. I just assumed it didn't considering that it never worked properly with 17.1. Knowing that it did in my previous release of 18.1, it will probably(?) also work with my latest release.

    Ok, I just dirty flashed it, SD as Internal Storage seems to still be working. Thanks!
     

    gechu

    Senior Member
    Sep 3, 2009
    103
    16
    One more question, does this rom impact supported widevine level?

    Had similar question about safetynet, which at least one user claimed worked using NikGAPPS core. Anyway else with experience related to safetynet?
     

    TALUAtXDA

    Senior Member
    Nov 8, 2018
    323
    530
    Found an issue: system recovery doesn't get overwritten when installing lineage-18.1-20210508-UNOFFICIAL-gtaxlwifi.zip. Might be related with SELinux.
    Wouldn't that be what you would want so that you don't lose TWRP? We've specifically disabled that feature by setting the "persist.vendor.recovery_update" property to "false" since we don't want to use Lineage's recovery.
     
    • Like
    Reactions: n0j0e

    n0j0e

    Senior Member
  • Great rom! 👍
    I flashed this + Flame Gapps and Magisk 22.1.

    The first custom rom for this device where Ableton Link works!! 🤟✨✨✨
    ..ok i rushed to fast. Ableton Link didn't sync correctly!
    My guess there is something broken or missing in the LOS network stack or WiFi driver for the SM-T580 (gtaxlwifi).
    I have an OnePlus 5T with LOS 18.1 (crDroid 7.6) and all apps with Ableton Link are in sync and stable over WiFi.

    Here my message from planet-h.com forum:

    Hi,

    i have a Samsung Tablet SM-T580 WiFi and tried nearly every A10/A11 custom ROM, mostly LineageOS.
    I can connect with other devices without trouble but if i start play in G-Stomper the sequencer LED's are flashing absolutely crazy and beats are rumbled.
    Same with RemixLive but Snap from Reactable runs rock solid with Ableton Link!

    Tried all audio drivers with various latency settings.
    Tried switch some network options in the Developer options.
    Tried various Devices with WiFi Hotspot or with Wifi AP.

    Nothing helped. G-Stomper products & RemixLive connects but didn't sync correctly. Snap plays absolutely stable.
    No Firewall, no custom DNS, no AdAway.
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 2
      I only wan't to say: BIG thank you for this rom! I really enjoy the LineageOS 18.1 on my older tablet T-580. This tablet is used daily and works great with this rom. After approx a week of usage of LOS 18.1 I have not found a single issue and everything what I need works (wifi, browsers, netflix, games, pdf, youtube..)

      The way I worked for me:
      • With Odin Flash --> TWRP as recorvery and start it (needs quick pressing: home + volume up + power after the first reboot)
      • Start TWRP and then:
      • Format date: yes
      • Flash LOS 18.1 (see first page for link)
      • Flash Nik GAPS core AMD64
      • Flash Magisk
      To get the google play store to work properly (certified):
      • Set Magisk hide on
      • Register you tablet 'GSF' nr at your google account
      • Under app: clear data and cache of google play store and services
      • Stop/start google play store
      Now the tablet fully works for me.

      --
      Updating (dirty - flashing) to a newer version (reboot to TWRP recovery) then:
      - Flash new LOS version
      - Flash Nik Gapps Core AMD64 again
      - Flash Magisk again

      --
      The idea of this post is just to share my experience so it can help someone else.

      Thanks again!
      1
      Is this 64 bit ROM or 32 bit?
      Can it deep sleep?
      1. It's 64-bit.
      2. Yes, it can deep sleep, as it should.
      1
      I'm planning to try to make builds for the LTE variant sometime in the future when I have time to setup sources for it.
      What would it take to make this build? I mean, If there's a proper guide, I have spare time
      1
      Works great.
      Thanks for making my tablet up-to-date again!!
      1
      Hi, installed this ROM on my SM-T580 and it's working great so far. I really appreciate it, thanks!

      One thing I noticed is that swipe typing currently doesn't work on the AOSP keyboard, there's no setting to activate it either.
      It does work on my phone though (Galaxy S5 SM-G900F), which also runs LOS 18.1.

      From what I understood the AOSP keyboard needs a Gapps package to enable swipe functionality. I used MindTheGapps for my phone which seemed to do the trick, but used NikGapps for this ROM.

      My questions:
      1) Is it likely that MindTheGapps will enable swipe typing on this ROM's AOSP keyboard too?
      2) If so, can I just reflash LOS and MindTheGapps without nasty side effects on my installed apps?

      Thanks in advance!

      I have this ROM on my SM-T580 and I just downloaded the Gboard app and the swipe typing works (Microsoft swift works as well).
      1) Not sure if MindTheGapps will enable the swipe typing on AOSP
      2) I would not suggest reflashing without factory reset or full wipe since I have tried it couple of times and the tablet just does not boot anymore or gets into a boot loop. I would suggest doing the full wipe and factory reset before re-flashing the LOS.
    • 16
      This is LineageOS 18.1, which is based on Android 11, for the WiFi-only variant of the Samsung Galaxy Tab A 10.1" (2016), codenamed gtaxlwifi. 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 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: These builds are intended to be used on the WiFi-only variant of this device, however, they can be installed and used on the LTE variant if you can go without mobile networking (of course), GPS and vibration. I'm planning to try to make builds for the LTE variant sometime in the future when I have time to setup sources for it.

      Latest build from 20210508 (security patch level 20210505): https://drive.google.com/file/d/1FD96bvcTjVF1vNxrcoKnsbya17hCuTuF/
      Some previous releases: https://drive.google.com/drive/folders/1PmxsmmtNo7NwqMpBYKZ9b-sBs5-m9QRG
      Folder for these builds (includes files with MD5 and SHA256 checksums): https://drive.google.com/drive/folders/1wuirD9cyoguv7CQdEO5ymZ911k2ASKKD

      Changelogs:
      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).
      Previous releases:
      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 occured 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 20210407 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 tiles in the notification panel, it will crash to the lockscreen.
      I have no idea about this issue at the moment. It seems like generic systemui crashes. Todo: test LineageOS 18.1 on another device to see if the same issues occur.

      Issue 2: Images and videos that are taken in a resolution with an aspect ratio of 16:9 are actually stretched from 4:3.
      Somewhat of a workaround to issue 2: Use a resolution that has an aspect ratio of 4:3.

      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.

      Issue 4: If the WiFi hotspot is enabled without first enabling and disabling WiFi, it will not work.
      Workaround to issue 4: Simply enable and disable WiFi before enabling the WiFi hotspot.

      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:
      manifests - https://github.com/TALUAtGitHub/gtaxlwifi-manifests
      device tree - https://github.com/TALUAtGitHub/android_device_samsung_gtaxlwifi
      kernel sources - https://github.com/TALUAtGitHub/android_kernel_samsung_exynos7870
      vendor tree - https://github.com/TALUAtGitHub/android_vendor_samsung_gtaxlwifi
      hardware - https://github.com/LineageOS/android_hardware_samsung
      android_frameworks_base fork - https://github.com/TALUAtGitHub/android_frameworks_base
      android_frameworks_av fork - https://github.com/TALUAtGitHub/android_frameworks_base
      android_system_core fork - https://github.com/TALUAtGitHub/android_system_core
      BSP sources - The BSP sources consist of 3 parts in these 3 repositories:
      ...all on branches lineage-18.1

      Thanks to:
      @Valera1978 - for all of the previous work for these devices, and for providing his old BSP sources without which the 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.
      LineageOS - for the Android distribution itself.
      ...and everyone else who has worked on anything that is in use.
      3
      -onscreen navigation bar works for me, just the "disable hardware buttons" part does not.
      For workaround I use Srgrusso's patch from here.
      I'm referring specifically to the "Enable on-screen nav bar" option at Settings -> System -> Buttons, that doesn't require any system-level changes as made by that package that you've linked. When enabling it, no touch input is accepted anymore for some reason. It needs to be locked and unlocked a few times for it to accept input and the on-screen navbar added through that feature to work temporarily.
      -Safetynet fails where it hadn't before. (no biggie for me, just a thing I noticed)
      I have no idea about this. I'd have thought that it's now more likely to pass.
      The first custom rom for this device where Ableton Link works!!
      Hmm, wow.... I didn't expect that to be fixed in this release. That's great. :)
      My needs are very basic, I just need something stable, no need for root, sd-card storag etc..

      Would this be the preferred ROM? Or is the 17x release a better for my needs?

      Regarding Gapps, I noticed that users are using Flame Gapps and NikGapps, but I guess the regular Open Gapps could be an option as well.

      What is the recommended Gapps variant?
      For stability, 17.1 would be slightly better. With 18.1, there are certain occasional crashes (see issue 1) that I'm not sure about at the moment, which you may or may not be able to tolerate.

      As for Google apps, it's whichever is the smallest variant. For nikgapps, that would be core, and for opengapps, that would be pico. Something to note is that opengapps seems to often be more problematic for Android 11 than other google app packages, so it could be better to go for something else.
      Anyone else check this yet? It's working for me on @TALUAtXDA's previous version (202010407). I use this feature quite a bit as internal storage is too small, don't want to lose it if I dirty flash this version.
      I actually didn't know if adoptable storage was working in my previous release. I just assumed it didn't considering that it never worked properly with 17.1. Knowing that it did in my previous release of 18.1, it would probably(?) also work with my latest release.
      2
      jrollf said:
      Anyone else check this yet? It's working for me on @TALUAtXDA's previous version (202010407). I use this feature quite a bit as internal storage is too small, don't want to lose it if I dirty flash this version.
      I actually didn't know if adoptable storage was working in my previous release. I just assumed it didn't considering that it never worked properly with 17.1. Knowing that it did in my previous release of 18.1, it will probably(?) also work with my latest release.

      Ok, I just dirty flashed it, SD as Internal Storage seems to still be working. Thanks!
      2
      I only wan't to say: BIG thank you for this rom! I really enjoy the LineageOS 18.1 on my older tablet T-580. This tablet is used daily and works great with this rom. After approx a week of usage of LOS 18.1 I have not found a single issue and everything what I need works (wifi, browsers, netflix, games, pdf, youtube..)

      The way I worked for me:
      • With Odin Flash --> TWRP as recorvery and start it (needs quick pressing: home + volume up + power after the first reboot)
      • Start TWRP and then:
      • Format date: yes
      • Flash LOS 18.1 (see first page for link)
      • Flash Nik GAPS core AMD64
      • Flash Magisk
      To get the google play store to work properly (certified):
      • Set Magisk hide on
      • Register you tablet 'GSF' nr at your google account
      • Under app: clear data and cache of google play store and services
      • Stop/start google play store
      Now the tablet fully works for me.

      --
      Updating (dirty - flashing) to a newer version (reboot to TWRP recovery) then:
      - Flash new LOS version
      - Flash Nik Gapps Core AMD64 again
      - Flash Magisk again

      --
      The idea of this post is just to share my experience so it can help someone else.

      Thanks again!
      1
      I've finally upgraded from LOS 17.1 to LOS 18.1. Everything seems to be working just fine. Thank you for all the work, OP.
      You probably won't get a better rom than this one (18.1).
      Ive tried them all mate and none run as smooth as this:cool:
      Been running this for months now and it's even better selinux is enforcing
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone