yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
That's kind of weird, I suppose it will be patched in a next update. The problem with me has nothing to do with the OS itself. Whenever I boot the device, I am greeted with a message telling me:

After some seconds it gets into the boot animation, and, after some other boring seconts, it boots up normally.

Is that error important? I suppose not.

PS: When the tab boots up, I am greeted with a notification saying that SELinux is disabled and the build is signed with public keys. How can I fix it?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
Can anyone send guide?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
Install nikgapps, it works
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
I installed Android 12 for these reasons:

1) Bluetooth does not work at all in android 13

2) After a reset I did on android 13 firewall was completely blocking play store, both on MindTheGapps and NikGapps

3) I can rename the home screen folders on android 12

And trust me, now it runs more than nice 👍
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Sunla:
Quick question - I'm using an app that wants to write a folder in this location

/mntmedia_rw/D2D0-652D

But there's no permission to access it. It's not write protected, but I did notice this in platform.xml... Any chance permissions can be modified to allow write to that folder without breaking this custom LineageOS build? Thank you kindly in advance, and thank you for all your hard work, @USPSendtoFailed.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Mikateci44:
Hi! Is it safe to install the LOS 19 on the T595? Or T595 only works with LOS 20
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Rinnosuke:
betting the answer is likely yes but before I take the risk, would this work with the T597 from verizon? picked up an abandoned one from work today
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Mikateci44:
I installed LOS 20 and it works great (except bluetooth audio and and sometimes wifi not working but works after restart)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Sunla:
I would wager "no" - I do not think it is compatible, and isn't worth the risk. SM-T590 and SM-T595 only, and even then, this is an unofficial build with its own issues and caviats.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] hellerhd:
Where to find the Android 12 version? Thanks!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
Github page. It is listed on older versions
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chanh2018:
Does anyone have issue with Magnetic Smart Cover Lock not working?

I flipped the cover but tablet screen is still on not shutdown.

Any tips?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
Press the power button.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
Only LineageOS 20 will work on it. Do not attempt LOS19.1
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chanh2018:
Well, I prefer flip the cover to close it as my usual "bad' habit :)

At this moment, I installed Lawnchair launcher and enable "double tap to close" function.

Of course power button is the last option, thanks for the tip.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
You don't need to install Lawnchair. It is very simple. If you double tap the clock on the top left it wil close the screen.

NOTE: For it to work you must enable/have enabled double tap to wake in settings
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
For the speakers, you can try running

audioloader

in adb shell
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chanh2018:
Please show me full instruction, I'm not a software guy :(

TIA
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
Download adb. Then open cmd in windows. Locate the folder where adb is saved(In my cace it is C:\adb so I run cd c:\adb). Connect your tablet to your PC via usb. Type adb shell and press enter. Tap allow on the popup on your tablet. If needed, run the command again on your PC. Type audioloader and press enter. Now, the quad speakers should work on your tablet. If you don't like the sound, just rebot. It is a temp change.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chanh2018:
Thank you. So this process has to be repeated after every reboot the tablet in order to have 4 speakers working.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
Yes, but, regarding the sound quality after that, I think you would prefer to have only 2 speakers working.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Arnav/n:
how did u get it to work, even i have T595, i want it
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
install from TWRP
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] -flixz:
hello, im using sm - t595, im on stock rom rn with android 10, i tried to flash twrp which worked, but adb pull/push function didnt work, but using a usb otg works but when trying to flash LOS 19.1 (instead of LOS 20), it pops up with an error (error code 1) which, according to google, occurs when the zip is incomplete, but in my case, i have moved it correctly on my pc and the hashes are same (the file downloaded and the file transferred) so, i really have no idea about whats going on, thanks!

EDIT:- LOS 20 seems to work, LOS 19.1 gives error

E1001: Failed to update system image

and i cant get the blockdev outputs because adb doesnt seem to work on my part on twrp. [sorry for bad english]
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
this is bcz LOS 19 is made to work only with T-590, not T-595
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] YTDaniel2021:
Hello everyone,

I can't install it on my SM_T590, when I flash it it says This device is gta2xl and not gta2xlwifi :(. But I have the Wifi edition. Can anyone help me?I Cant install it on my SM_T590 when i flash it its say This Device is gta2xl cant install. But i have the wifi edition. Can anyone help me ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
did u format everything
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] foxspirits:
what if we had los 21
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Zotho:
I guess that's the only recent ROM we have for the SM-T590, and as bluetooth audio does not work still, it is unfortunately not what I hoped for.

So, if there is no software upgrade to be expected anytime soon, I will probably have to go for a hardware upgrade eventually.

Thanks for the ROM anyway, tried it last year and it was pretty good with the other features.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Steve-Austin:
Great rom, only one thing, some app's said me that the tab is rooted and I can't use them ...

For the rest, it's perfect!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
Hi guys!

Just a quick update, apologies for disappearing. The ROM isn't discontinued yet, I simply just lost the motivation to keep updating it a while ago because of all the unsuccessful attempts to fix the remaining issues, the constantly changing source codes which sometimes break things, changes in my personal life, and I also needed a new PC to keep building as every new Android version is increasingly demanding in terms of hardware requirements (currently Android 14 needs at least 48-64GB of RAM and over 300GB of SSD space to build).

While I can't promise to fix anything, I got LineageOS 21 (based on Android 14) running, I will upload it in the following weeks hopefully in at least equal or better state in terms of functionality as it was with LineageOS 20.

View attachment 6108745
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
The kernel used is basically a better and more up-to-date version of the official kernel, it wouldn't change much in terms of the current issues with the ROM.

I had the same problem long time ago when I used GSI ROMs on the tablet, it turned out to be some corruption or whatever on the misc partition, making the bootloader think it should boot into recovery regardless of button combinations, etc. I fixed it by simply zeroing the misc partition using adb.

It's important in terms of the ROM not being so secure compared to the ones that have SELinux enabled, other than that, it causes no further issues. Some info on what is SELinux is available here.

Honestly I have no idea as I never had an app trying to write to that path, I'm not even entirely sure if that path exists on my device. There are some storage-related permissions that were changed in the latest Android releases, there might be some adb command for it.

Make sure to use the latest TWRP version from this thread, the old 3.3.1 one won't work with this ROM.

This is because some apps are designed to detect modifications made to the device, for example unlocked bootloader, system properties related to custom ROMs, etc. There might be ways to get around that with Magisk modules, but some apps won't work regardless.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
TYYYY I needed this
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Zotho:
@UDPSendToFailed Thanks a lot for your work on this device. I got my S10e to LineageOS 21 since a month and it's perfect. If this ROM for the Tab A 10.5 would also be like this, I would finally get both my main devices over to Custom ROM and latest updates! Great work!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
Where are the files for LOS 21??
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Zotho:
Please read the post of UDPSendToFailed closely. In the next weeks. Don't be impatient ;-)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Glitch:
It has been 30 days, are we getting android 14 or not @UDPSendToFailed
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] alecxs:
Please don't bother for ETA. I suggest you to read our forum etiquette and be patient.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
Since it's a version upgrade, I've decided to release it with the latest Android 14 QPR3 changes merged and not bother with QPR2. This causes some delay as I have to wait for the compatibility-related patches to be updated and merged by the LineageOS-UL team, who are keeping legacy devices like our tablet updated by adapting new Android versions to also work on old and unsupported devices.

Such changes include bypassing the eBPF requirement which is described here under the Let’s talk about legacy devices… section. Since Samsung decided to release this tablet in 2018 with an ancient kernel version of 3.18 (which was released in 2014 and discontinued in 2017), the lack of eBPF support from the kernel made the device unsupported for anything over Android 11 unless eBPF-related "hacks" are used. This just by itself makes it impossible to boot anything newer than Android 11 unless the source code is modified.

Also, Samsung made the choice of releasing the tablet's camera HAL without Camera API2 HAL3 support, and using only LEGACY support which is about identical to using Camera API1 that was deprecated in Android 5.0, despite the tablet being released with Android 8.1. This also requires modifications to the source code, as the support Camera API2 LEGACY mode was entirely removed in Android 12 by both AOSP and LineageOS. Although this doesn't prevent the device from booting, it makes the cameras unusable.

Furthermore, there are all the little funny things that Samsung did with this tablet's software, such as releasing it with a 32-bit stock system and kernel, despite the SoC supporting 64-bit. This decreases the CPU's performance on the stock system to about 50-70% from what it's capable of, which already isn't much since it only has A53 cores. This is solved by using a custom kernel and vendor binaries from other devices like Galaxy A20s, yet it's probably still the cause of issues with the GPS.

Also, there is the overcomplicated effect library thing that Samsung used to handle the quad-speakers, which is nearly impossible to reverse engineer (at least for me), the fact that they modified the stock camera HAL to only work with the stock 32-bit gralloc HAL, which probably decreases the performance, etc.

So basically, in terms of open-source custom ROM support, this tablet is dead on arrival with all the nonsense that Samsung committed while developing its software. Things could be improved if someone ported a newer (at least 4.9) kernel for it, an open-source camera HAL, etc, but sadly I don't have the knowledge to do any of that, so all I can do is wait for the legacy device support patches to be updated.

No worries, hopefully this explains the state of the ROM for future readers too who stumble upon this thread.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Zotho:
Thank you, @UDPSendToFailed for this explanation and your work.

Sounds real tricky and I get why you do not want to bother with it anylonger. Annoying step by Samsung.

I do not care about the camera much, also GPS is nice to have. I just want to have a tablet for fast browsing and one wish would be Bluetooth Audio as I stream music to my bluetooth speaker with the tablet.

Well, seems I have to either live with it or buy another piece of hardware. Not sure if I stay with Samsung tablets though. I really like their Smartphones, but tablet-wise I guess others are quite as good as they are.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
Indeed it is, especially as I started the whole Android ROM porting stuff with this tablet as a hobby project, I used custom ROMs before but that's about it. As long as someone makes patches to support these old devices (or just made to be old by using ancient solutions in the stock ROM), this tablet will probably have updates too.

The Bluetooth audio issue will hopefully be fixed in the next release as I got a pull request on GitHub that works on LineageOS 20, hopefully 21 won't break it again. You could try doing the same by booting into TWRP, mounting the vendor partition, and editing vendor/etc/audio_policy_configuration.xml according to that commit.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Zotho:
If you really are gonna release an LOS 21 version, I can wait for that and try your bluetooth audio fix again. Thanks again.

How about the WiFi issue you mention in the first post? Is this still there with the latest version?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
The WiFi issue was caused by a change I made in an attempt to fix the random kernel panics, I reverted that so it will probably work fine. Currently I can't check it on QPR3 because the system doesn't even boot yet due to the lack of the eBPF patches, but it worked on QPR2 that I posted the screenshot of.

Also, there will be some minor fixes like screen locking/unlocking with magnetic cases (it just needed a small change in the hall sensor's kernel driver), stereo microphones are now working with open-source audio HAL (at least in the stock camera app in QPR2, no idea about QPR3 yet), and maybe some slight performance improvements which I haven't tested much yet.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chanh2018:
Thank you for continuing to keep this device alive. I'm using your ROM and really appreciate your work.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Zotho:
This WORKED! Great find!

After I tried to to a TWRP backup of the original Samsung ROM, the tablet did not boot anymore. So I decided to try your ROM and this fix, works perfect.

But I had, as you noted in the first post, a problem with the first startup and the SD card. Removed it and it worked after a few tries. Now it seems it's ok to boot with inserted µSD card.

However, after every boot, the WiFi is disabled. Is there anything I can change?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
TWRP can't do much on the stock ROM as it's encrypted by default, so this is expected on most of the devices.

This is something that I haven't been able to fix so far, I can also reproduce it, according to the logs the whole system just freezes for some reason.

You can try going back to 20230417 which didn't have the WiFi-related change, or install the very early version of LineageOS 21 that I will upload tomorrow. I had to make some stupid changes to the source code to skip some eBPF checks, but I got it booting and it seems to be running without crashes. If it's stupid but it works, it ain't stupid, I guess.

Also, could you save a logcat output of the working state of Bluetooth audio? I'm not sure if it will work in the new release and it would be nice to see a reference to compare differences.

- Connect the tablet to a PC

- In a command prompt, run adb logcat > logcat.txt

- Turn Bluetooth off and on again, connect to the Bluetooth speaker

- Start some audio playback, try switching between the tablet's speakers and the Bluetooth speaker to see if it works correctly

- Try switching to different Bluetooth Audio Codec settings under Developer Options to see which one works

- If you have other devices that also support Bluetooth audio, you can try connecting to them and repeating the same steps, but most likely one device is enough to see what works and what is broken

- When done, press CTRL + C in the command prompt
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] xlen:
Dang, I remember when I worked on android 5/6/7 ROMs and thought it was super demanding, this is quite something.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Kjettern69:
Wow! Thanks for making an update to this rom! My daughter really loves this tablet and your rom really saved it! It's so much faster than the original rom and makes the tablet actually useful now 😊👏
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chanh2018:
Can someone show me where to download the update? Or it's not out yet !?!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
LineageOS 21 (based on Android 14 QPR3) is up, along with TWRP 3.7.1 update. Updating from LineageOS 20 is probably fine, but it can't be predicted if it will work for everyone, I take no responsibility for anyone's data, always make backups first. Also, this is a very early release of QPR3, so crashes and other issues are expected.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chanh2018:
Thank you so much. I just flashed it, so far so good.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] STEELBAS:
I use this tablet for listening to music quite a bit, so only 2 of the speakers working is a reason not to install this yet, but I'm definitely following these updates with great interest! I use this tablet dally and wouldn't mind at all to have Lineage running on it.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Kjettern69:
Did someone try dirtyflashing the new Lineage OS 21 over Lineage 19?

Edit: I tried and that didn't go well. Guess full wipe is mandatory coming from LOS 19 (A12)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] retiredtab:
@UDPSendToFailed , are you still building LineageOS 21 QPR3 with the LineageOS-UL repos?

If yes, did you need any patches that are NOT on your github?

https://github.com/UDPSendToFailed?tab=repositories

Thanks.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
If I remember right, 19.1 didn't have FBE encryption enabled which could be the cause. Data wipe is usually recommended between version upgrades, mostly it works with dirty flashing, but it can indeed cause issues.

I uploaded the patches I used in addition to the LineageOS-UL ones here. One of those is which I borrowed from your repo, the other one is to fix the crashing caused by cgroups on my device. Also I had to hardcode bpf.progs_loaded to get QPR3 booting.

It seems to be working fine with those changes, apart from the cameras of course, which still need the HALv1 patches to be updated.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] retiredtab:
Thanks. That frameworks/base the commit I was investigating before your reply.

I'll take that into consideration.

Yes, there's a lot of patches for camera + sound yet to be merged.

Thanks a lot. I appreciate your time in answering my questions.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] SirRGB:
Removing the "There is an internal problem with your device. Please contact the manufacturer regarding this." error can be either be removed like this

Disable vendor mismatch warning · TrebleDroid/platform_frameworks_base@3e59ead

Change-Id: Ieb8fe91e2f02462f074312ed0f4885d183e9780b

github.com

Or patched properly like this

Revert "Reland "Remove O/O-MR1 kernel configs."" · droid-legacy/android_kernel_configs@43be249

This reverts commit 89ba434b0b7624d6085f22742f01a0d8502e7025. Signed-off-by: SirRGB <sirrgb@proton.me>

github.com

compatibility_matrices: Add o_mr1/android-3.18 into FCM 5 · droid-legacy/android_hardware_interfaces@27b1b5a

FCM 2, 3 and 4 are gone, so just add it there. based on https://github.com/LineageOS/android_hardware_interfaces/commit/9679b6bdcc4603fea050a8705f6d02c44d77f0ed Signed-off-by: SirRGB <sirrgb@p...

github.com

I think it is unrelated to avb1
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Kjettern69:
Hello! Just wanted to give some feedback after using the rom for some time now. Everything is very stable but battery drain is a little bit more than LOS19. It could be related to some app draining, but I used the same apps for LOS19. Maybe deep sleep is not as fast as in LOS19?

WiFi will not connect to any of my wifi hotspot on other phones. I tried with my Google Pixel 7pro and my wife's iPhone 14. I get no fault message, just connects and then drops the connection right away.. wifi is working well connecting to routers.

I also have a strange bug with volume. The Plex app will not respond to any volume setting. It just gives out max? volume all the time. Other apps are working like it should.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UDPSendToFailed:
Thanks for the suggestions, I might check out the proper solutions as until now I just used the frameworks/base method. Not too long after posting that comment, I figured out that it wasn't the actual way to fix it. 😆

Hi! This could be simply related to the fact that the tablet is old, and its SoC was already not the most powerful one when it was released. Newer Android and app versions might use more battery due to requiring more computing power, more RAM, etc.

Also, I made some changes to maybe improve the UI responsiveness a little bit by enabling adrenoboost which makes the GPU frequency ramp up more aggressively upon load, and I disabled msm-hotplug unless battery saver mode is activated for similar reasons.

You could disable adrenoboost to see if it makes any difference by running echo 0 > /sys/class/kgsl/kgsl-3d0/devfreq/adrenoboost in a root adb shell (needs to be repeated after a reboot), or using an app like SmartPack.

Is there also battery drain when the tablet is not in use? I haven't checked it recently, but mine would last months in idle if not used on LineageOS 20, of course with WiFi turned off.

Try disabling WPA3 on the hotspot, it has some issues with QPR3 on msm8953, I haven't disabled it in the sources yet. It was never supported by the stock ROM either, so I have no idea if it will ever work on this device.

It might be using a different mixer path than other apps, as there are lots of them for various use cases. I switched to open-source audio HAL in the latest release, so things like this are expected as it works differently than the stock one. Could you get a logcat output while reproducing the issue?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Kjettern69:
Thanks for the very detailed and nice reply!

My tablet also lasted for weeks even with wifi turned on with LOS 19. I will try to look for possible solutions. I'm not rooted right now so I can't check the adrenoboost..

WPA3 is off on the hotspot i'm trying to connect to. Only wpa2 with a easy access point name (no space etc)

I will try to pull a logcat with the Plex sound issue.. i don't have a computer here on vacation 😅