yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chrikoscho:
Hey, I think I found an issue.

It is already known that there are problems with Bluetooth audio.

But when I upgraded from version 19.1 to 20.0, now Bluetooth can't connect at all. Not even with "non-audio" devices like my physical keyboard.

I can turn on Bluetooth and pair a device, but it actually doesn't connect.

Is there anything I can try or is the problem with the ROM?

I would be grateful for an answer or help
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
Hi!

Google has changed some Bluetooth-related stuff in Android 13 that could explain this. Since the pairing is working fine I guess it's not that hard to fix.

I will need a logcat dump of the issue since I don't use Bluetooth peripherals so it would be complicated to reproduce the bug.

Edit:

Actually I guess I found out what's missing. Try adding the following lines to /system/build.prop and restart the tablet.

bluetooth.device.class_of_device=90,2,12
bluetooth.profile.asha.central.enabled=true
bluetooth.profile.a2dp.source.enabled=true
bluetooth.profile.avrcp.target.enabled=true
bluetooth.profile.bas.client.enabled=true
bluetooth.profile.gatt.enabled=true
bluetooth.profile.hfp.ag.enabled=true
bluetooth.profile.hid.device.enabled=true
bluetooth.profile.hid.host.enabled=true
bluetooth.profile.map.server.enabled=true
bluetooth.profile.opp.enabled=true
bluetooth.profile.pan.nap.enabled=true
bluetooth.profile.pan.panu.enabled=true
bluetooth.profile.pbap.server.enabled=true
bluetooth.profile.sap.server.enabled=true
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chrikoscho:
I did a clean flash to the latest version 20221005, now the physical keyboard works as intended.

Thank you very much for the fix! :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] manderspaul:
I got the 595 laying arround and would like to install this if possible. Mind telling me how to modify the rom to run on the 595? No LTE is not a problem for me
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
Hey!

I think adding the device tree files to the kernel would be enough to get it to boot, but since I don't own the LTE variant, it's hard to tell... If you are willing to test, I'll try to build a kernel that might work on SM-T595 too but I can't guarantee anything.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] manderspaul:
I wouldn't mind testing it out! Hit me up when you are ready
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] manderspaul:
Rom works great for me ! Thanks for your help!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Edward Park2:
I own a T595 and I've tried to modify the ROM to work on the T595 but it just doesn't work. Can you give me some help?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
I've updated the first post with some notes about SM-T595.

You can install the ROM with following the instructions, the only difference is that you should use the 20221013 version instead of 20221005. Also, use the latest TWRP release to have FBE decryption support.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Edward Park2:
Thanks you! You are my hero.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] No3ight:
Thanks for you work. But I´ve got an issue coming from stock rom. I´ve installed as you said in you description. Like someone said before I got a black screen after booting up. The only thing I can do is to activate the power menu by pressing the power button. Was there a workaround for that issue?

Thx in advance.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] No3ight:
Fixed it. Rebooted to recovery and performed data wipe and factory reset.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ElbertB:
Just a post to say thanks for your effort. This ROM works perfect for what I'm doing with it. Way much faster and smoother than the Samsung one UI. Only one thing, it doesn't lock or unlock with the magnetic case.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
Hey guys!

Apologies for not updating the ROM. I have other stuff going on in my life and honestly I kinda lost the motivation to keep dealing with the constantly changing camera-related source code which needs patches to work on our device since Samsung didn't bother to implement HAL3 in the camera blobs.

This doesn't mean that the ROM is discontinued, but I will upload new releases less often and probably there will be no fixes for the current bugs either. I've spent countless weeks trying to fix them, without any success. :(

Thanks for the understanding and happy holidays to everyone!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] PJSuPER:
As You Mention Bluetooth Audio Is A Known Issue So Do You Refer In Such a Way That I Can't Use My Earbuds?

SM-T595
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
Exactly. The stock audio binaries are closed-source and I couldn't really find a way to fix Bluetooth audio. The 3.5 mm jack output should work fine.

I've also tried to use open-source alternatives but those are even worse in terms of functionality, for example the microphones and the 3.5 mm jack didn't work at all.

In case anyone wants to experiment with fixing things, all the required sources are available on my GitHub (of course the camera-related patches still need updating):

GitHub - UDPSendToFailed/android_device_samsung_gta2xlwifi

Contribute to UDPSendToFailed/android_device_samsung_gta2xlwifi development by creating an account on GitHub.

github.com

GitHub - UDPSendToFailed/android_kernel_samsung_gta2xlwifi

Contribute to UDPSendToFailed/android_kernel_samsung_gta2xlwifi development by creating an account on GitHub.

github.com

GitHub - UDPSendToFailed/proprietary_vendor_samsung

Contribute to UDPSendToFailed/proprietary_vendor_samsung development by creating an account on GitHub.

github.com

GitHub - UDPSendToFailed/lineage_patches_samsung_gta2xlwifi

Contribute to UDPSendToFailed/lineage_patches_samsung_gta2xlwifi development by creating an account on GitHub.

github.com
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] PJSuPER:
Yeah I Tried It Failed. Found Quite A Few Bugs.

Cool Then Let's Talk Probably Sort These Problems Together. Discord : PheoniX#4491
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Wolvan727:
Alright, I did end up manage to flash it to my system, but trying to actually have it go through first time setup fails and gets me stuck at the lineage boot screen.

I get a logcat with crash dumps but that is all I ever end up getting. It is the same messages just repeating over and over again at that point.

Any idea why I can't get past the bootanimation?

EDIT: Looks like the 19.1 lineage build works fine and gets me into and past first time setup. Trying to flash the 20220930 build of lineage 20 over it fails and kicks me back to recovery on boot. A fresh install of 20220930 also gets stuck in bootlooping. Trying to install the initial release of lineage 20.0, but don't have much hope to be honest.

If that fails, I'll stick to 19.1 for now.

EDIT2: As expected, as soon as I try to use a 20.0 build I get stuck on the bootanimation.

EDIT3: Removing the MicroSD was all it took. So I know that now.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
I found some updated patches and uploaded them to the GitHub repo, so the build should work fine now. Also added you on Discord.

I've added that to the list of known issues because others had the same thing happening, no idea how to fix it though. :/
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Wolvan727:
Yeah was just a bit different on lineage 20. Instead of the black screen (with the power menu) this just gets stuck on the boot logo which is why I didn't put 2 and 2 together at first.

Looks like once the SD is properly formatted it works though.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] manderspaul:
installed the latest version on my sm 595 and it works thanks my friend!

edit: everything works except my speakers. None of the speakers work.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
Interesting, it works just fine for me on the same level as before (2 speakers on the bottom) on my SM-T590. Try formatting the Vendor partition in TWRP and flashing the ROM again.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] manderspaul:
i think i had the same problem on the previous build. Dont really use it for videos or music.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
Could you upload a logcat output after a fresh boot and starting some sort of audio playback?

I haven't changed anything device-related in the sources since october, so it could be a change at LineageOS, no idea... Since it works just fine for me, I can't even reproduce it. Both SM-T590 and SM-T595 have the same audio hardware.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] manderspaul:
i will do it later today my friend!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] manderspaul:
logcat.txt

drive.google.com

I reinstalled the stock rom and reinstalled twrp and the rom again.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] manderspaul:
yes on stock the sound is working. I checked before installing twrp again

anything i could try ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] hdecker:
Who can read has advantages in life, sorry my mistake
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] alecxs:
hi. I have tablet with broken display (black screen) and installed that ROM. good thing (in my case) adb is enabled on that ROM. but I can't get scrcpy to work. does it work for you, if yes what version?

edit: I think I found the problem. adb device name contains whitespaces.

https://github.com/Genymobile/scrcpy/issues/3545

$ adb devices
List of devices attached
CDC ACM Data	device

@UDPSendToFailed I don't know how to change the device name. can you fix this in ROM?

I also tried to use adb over wifi but get always timeout

$ adb shell
gta2xlwifi:/ # cmd settings put global setup_skipped 1
gta2xlwifi:/ # cmd settings put global device_provisioned 1
gta2xlwifi:/ # cmd settings put global adb_wifi_enabled 1
gta2xlwifi:/ # cmd -w wifi connect-network "Home" wpa2 qwertyuiop
gta2xlwifi:/ # ifconfig wlan0 | grep inet.addr
inet addr:192.168.179.175 Bcast:192.168.179.255 Mask:255.255.255.0
gta2xlwifi:/ # exit
$ adb tcpip 5555
restarting in TCP mode port: 5555
$ adb connect 192.168.179.175:5555
unable to connect to 192.168.179.175:5555: Connection timed out

I noticed that adb_wifi_enabled=0 cannot changed. For the protocol some properties I have tried without success.

[net.hostname]: [5727aa6d]
[persist.adb.wifi.guid]: [adb-5727aa6d-jjKyJA]
[persist.usb.serialno]: [5727aa6d]
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
Hi!

I've fixed the issue and also checked scrcpy with the latest version, works fine for me.

View attachment 5842145

The problem was caused by switching to generic USB gadget kernel driver instead of Samsung's implementation which had issues with MTP. The generic driver had that device name here: https://github.com/UDPSendToFailed/...20.0/drivers/usb/gadget/function/f_acm.c#L386

You can flash the new kernel in TWRP as boot image. The next ROM release will have the fix included.

As for the adb over WiFi issue, I haven't really tried using it from shell, but used it from the Settings app and it worked without problems.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] alecxs:
yes! works fine now. many thanks for that quick fix, didn't expect solution that fast :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Theking58900:
Hi, I installed lineages 20 on this tablet and everything works fine; the rom is more smoother than oneui but there is a problem, usually it reboots randomly. Is there a fix?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
Hey!

I'm having the same issue, so it's definitely something with the ROM. I was searching for solutions but haven't really found any.

All I know that it's a kernel panic and it's probably caused by some kind of a memory allocation issue, but honestly I have no idea how to fix it since I'm not experienced in kernel development.

<0>[54539.518300] [5:allocator@2.0-s: 638] Call trace:
<6>[54539.518342] [5:allocator@2.0-s: 638] move_freepages (/home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../include/linux/list.h:104 /home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../include/linux/list.h:119 /home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../include/linux/list.h:169 /home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../mm/page_alloc.c:1109)
<6>[54539.518392] [5:allocator@2.0-s: 638] __rmqueue (/home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../mm/page_alloc.c:1216 /home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../mm/page_alloc.c:1273 /home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../mm/page_alloc.c:1321)
<6>[54539.518441] [5:allocator@2.0-s: 638] rmqueue_bulk.constprop.80 (/home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../mm/page_alloc.c:1378)
<6>[54539.518497] [5:allocator@2.0-s: 638] get_page_from_freelist (/home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../mm/page_alloc.c:1416 /home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../mm/page_alloc.c:1763 /home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../mm/page_alloc.c:2288)
<6>[54539.518550] [5:allocator@2.0-s: 638] __alloc_pages_nodemask (/home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../mm/page_alloc.c:3075)
<6>[54539.518608] [5:allocator@2.0-s: 638] ion_page_pool_alloc_pages (/home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../drivers/staging/android/ion/ion_page_pool.c:36)
<6>[54539.518659] [5:allocator@2.0-s: 638] ion_page_pool_alloc (/home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../drivers/staging/android/ion/ion_page_pool.c:130)
<6>[54539.518708] [5:allocator@2.0-s: 638] ion_system_heap_allocate (/home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../drivers/staging/android/ion/ion_system_heap.c:98 /home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../drivers/staging/android/ion/ion_system_heap.c:161 /home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../drivers/staging/android/ion/ion_system_heap.c:237)
<6>[54539.518760] [5:allocator@2.0-s: 638] __ion_alloc (/home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../drivers/staging/android/ion/ion.c:209 /home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../drivers/staging/android/ion/ion.c:600)
<6>[54539.518806] [5:allocator@2.0-s: 638] ion_ioctl (/home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../drivers/staging/android/ion/ion.c:1639)
<6>[54539.518853] [5:allocator@2.0-s: 638] compat_ion_ioctl (/home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../drivers/staging/android/ion/compat_ion.c:94 /home/user/android/lineage/kernel/samsung/gta2xlwifi/out/../drivers/staging/android/ion/compat_ion.c:148)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] SevastianXDA:
Do we ever expect to get any (or well, idk, maybe at least the speakers thing and random kernel panic reboots?) of the known issues fixed in the future?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
I can't promise anything as I don't really have time anymore, and I don't have the knowledge to fix those remaining bugs either.

Someone with C / C++, Android, and reverse engineering experience could fix them, but they would need to have the exact same tablet to begin with. Since nobody else than me ported any ROM for our tablet since it's release in 2018, I doubt that person exists.

Basically this is why I shared my half-finished hobby project ROM here, so people who like to experiment have an alternative to the 32-bit GSI ROMs that usually aren't even usable on this tablet with versions over Android 11.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Onyx0099:
So far so good

Here are a few things I have issues with

Flashing sometimes work or not at all

Audio only 2 speakers which we already know

And Bluetooth unfortunately this is a bit disappointing but I'm using wireless earbuds and it connects well but no audio, it only uses the tablet speakers. Bummer.

But the rest are flawless, I'm at day one but if it helps I'll keep you up to date with how my experience is going so far.

Installation was as described so I faced no problems whatsoever.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Onyx0099:
Also the only success I had flashing optionally was magisk, but microg was unsuccessful and got myself stuck in bootloop thus had to reinstall everything
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] violettt0:
Ca u repair bluetooth audio or give me link to the lineage os 19 for sm-t590
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Zotho:
Thank you very much for this ROM.

I have seen this bluetooth bug also on a Lineage ROM for the Galaxy S6, so this might be a common problem.

Hope you or someone else with knowledge will complete this ROM, until then I have to stay with Stock Android 10.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] AS93:
I also have high hopes of installing and using this ROM on my T590, seems like it's the only custom ROM that's actively being developed for this particular device.

The Bluetooth issue is a deal breaker for me though.

If there is anything I can do in terms of testing / debug / diagnostics to help troubleshoot the Bluetooth big which might lead to it getting fixed let me know!

I'm not really a developer but can follow instructions if you need any info out of the device etc 😊
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Nico-D:
Would the bugs be resolved by using the official kernel from samsung ?

google opensource samsung, and on that page specify the model "T590" in this case and find the relevant version for your region. in my case: T590XXU3CUF1

the DLed file contained the kernel inkl. all drivers etc, but unsure of how to recompile linneage with that kernel parhaps someone else has any experience/steps ? i'ld gladly test it to get my tablet updated, feels slow but still working like a dream as a daily bedside device, slimmed OS and updated android version would breath new life into it but as its used regularly for video playback quad speakers would be a must for me.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] baschi7:
Hi, i have installed this rom. So far everything works fine ,but the Wifi is a little bit buggy. On systemstart the Wifi needs a few minutes to find my Wifi spot .....is there a reason why ?

Thx
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] baschi7:
Sorry, i have found the answer so far .....in the description ....;-)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] baschi7:
Other bug i have found...in playstore i can t install any app. It stays always on pending. Any solutions ? Still force closing and cleaering cache are not working att all.

Thx
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Sunla:
Well, I was having a great time with this for awhile, but... heed my advice - definitely don't boot to recovery using the lineage-provided power settings.

Now it doesn't boot to kernel, it goes straight to recovery every time, even when I use TWRP to reboot to system.

Restoring old backups isn't even helping. I'm not sure what to do, and I'm kind of stumped. Does anyone have advice? I'm sure it's an easy fix, I just can't think of anything besides the grueling process of re-flashing everything in patched Odin.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] alecxs:
sounds like your Volume button is stuck
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Sunla:
Oh yeah, trust me, that's the first thing I checked. It's easy to verify that it isn't, though - I'm still able to operate in TWRP just fine, and can verify individual button presses through adb, as well. I even restored old backups with no luck, and the TWRP file manager is nice because it looks like everything is there.

I'll do a full reflash when I'm free to do that, and report back.

Edit: Hi, I'm back! And I managed to brute-force my way back in. I'm still not sure what exactly went wrong, but I'm never touching advanced boot options again, and I'll just stick to the buttons...

I did a full wipe, and flashed lineage, and still nothing. So then I flashed the latest stock rom, and it couldn't mount /data until I reformatted it and then it was able to boot. With that, I then did the whole song and dance of setting it up to flash TWRP back on; enable developer options, USB debugging, and the tedious KG status Prenormal back to Checking.

I flashed on TWRP. Before all of this, I took a backup when it wasn't booting, because I didn't find anything wrong with my configuration... This is handy, because I was able to use it!

The tablet crashed trying to restore everything at once in TWRP, so I restored everything piece by piece. I restored the Data and Vendor imgs first before anything else. And before booting, just as a safety measure, I renamed my Magisk 'Modules' folder to just "ModulesB" so that it wouldn't recognize it, and I could easily just switch it back when I'm ready. It worked! I'm trapped no more. Modules are re-enabled and aren't causing issues.

I don't know if it was the advanced startup options, but I really think it was. Especially since I got back in, the apps I had open were still running in the background, and without me prompting it, the shutdown/startup options menu popped up first thing, and I didn't even touch the power button.

Anyway, sorry this is so long, I just felt compelled to update on this!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Nico-D:
All 4 speakers and atmos working or just the two still ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DaniGamer250:
Hello everyone! I have a problem with the bluetooth audio with my SM-T-590 but before I already installed the latest version of LOS 20.0 and I had a blackscreen and I returned to stock rom... Finally, I can install the penultimate version without problems :) But I have some bugs like the audio bluetooth, 2 of 4 speakers are working, Safetynet not passes by default and some games like Mario Kart Tour or Pokémon Masters are not working... Anyone has the solution? Specially the problem for Mario Kart Tour (because I saw that in the Google Play Store didn't appears for the: "Your device is not compatible with this app" and I tried to install with an apk and it works but before to start It takes an error of incompatibilty... Help me please 😁 Ty!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] gene2:
I tried this, when i flash lineageos i have the error:

Updater process ended with signal: 7
Error installing zip file '/external_sd/lineage-20.0-...zip
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
I would really LOVE to flash this, but there is only one question. If the device is bricked, what do I do? If I will need stock firmware, where can I find it and download it from? And, finally, I haven't even unlocked bootloader yet, so one question before: Will I be able to dirty flash next major updates like Android 14 or will I need to wipe everything?

If the developer replies, I am installing
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
Ok, installed yesterday. Works nice. I had to reset once because I installed Gapps for android 11. Now everything works perfect with NikGapps Core. I have not rooted and I am not going to do so. The os works perfectly nice and the ui is better than that BloatUI.

Sent from my galaxy Tab A (2018, 10.5, wifi) powered by LineageOS.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] osberget:
You can download stock rom from samfw.com :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
Thanks, but once this works, I am not returning to OneUi
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] osberget:
Sure, but if something happen its good to have it handy, i'v had soft bricks and had to flash stock rom to fix it :)