yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] bardmaster:
Thanks so much! I was trying that but clearly didn't have the timing down. Got it on the first try (after your tip) and flashed your Lineage zip. Sadly I didn't get too far as I got stuck on the white install screen after setting up wifi. After no activity for 5 min I gave up and went back to CAOS. It works and works well, so I'll stick with it. But thanks again!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] elwhiteboy01:
had some hiccupps getting it running, but now is good...thanks for your awesome work
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] elwhiteboy01:
And to get the navbar right, go to settings/system/buttons/taskbar/disable just do that and that mini navbar with the overlay goes away
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] bardmaster:
@Magendanz are you planning on doing any work with LineageOS 20 for the SM-T510? Yes, I've got the bug. CAOS works great but is Spartan and boring.

For some reason this version doesn't work for me, from setup problems to shutting down & restarting taking 20-30 seconds. So if I'm going once more into the breach I would want the latest version based on Android 13.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
I've not had any luck running Andy's "Light" GSI builds of LineageOS 20 on my older Samsung tablets, but I'll be trying the new "TD" (TrebleDroid) ones soon. Also, it can be a bit of a challenge to get 32-bit GApps these days, but there are still a few options left.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] guyderam:
@Magendanz thank you very much for this bro. I have tried your tutorial as mention on the first page, flash latest firmware on odin and intercept the reboot and then flash this from.

Unfortunately, even without me intercepting the reboot in went back into download mode. And when I tried to flash your rom, it went into bootloop.

I have managed to flash back the latest firmware and my bootloader is unlocked still.

How do I flash your firmware now? Can I use odin to flash your rom over this stock firmware?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mucusmachine:
@Magendanz thank you for providing all the instructions and the rom. This is my 1st time doing any software modification to a device, and i encountered an error that i couldn't solve with googling.

I got the error "ui_print(): Failed to parse the argument(s)" and the Error: 7 message at the .zip installation stage. Prior to this, i have formatted data and advance wiped on all the available options before copying the zip file onto the device.

Did i missed a step after flashing the firmware on Odin? Any help is greatly appreciated.

View attachment 5846899
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] elwhiteboy01:
try formatting the data, by typing (yes) before installing thru twrp. since i had downloaded the nexus rom as well, i would switch to that rom until this rom worked, and each time formatting data (yes) the settings reminds me of kitkat settings for the sm-t230nu/// Update /// Back to the 18.1 (No Google)! I feel the hardcoded google on the 19.1 rom has made it laggy/buggy. With F-Droid, Aptoide and the Aurora store...who needs google anyway lol
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mucusmachine:
I got the same error with the Nexus rom.

Did the typing "yes" to formatting data, advance wiped, and rebooting of system before copying the zip file to the internal storage via USB.

Could it be a problem with the tablet itself? I am trying to recycle this tablet that was previously a freebie received from a news subscription service, and it had a Knox enrollment service that limited the tablet's functionality.

View attachment 5847509
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
These Edify scripts are notoriously difficult to debug, but that's the point in the install script where it's trying to pull the properties from the system and vendor partitions to ensure you're installing on the correct hardware and OS version. I'm guessing that you wiped one or both of those partitions.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] AfiqAffandi:
For me,i would plug USB to laptop press volume up & down then power button to boot into download mode. After that flash again twrp using Odin.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Kenaz Rune:
If you use that one, you'll boot-loop. T510 use the "a64" builds. I use the non-gapps builds and install microg. The

lineage-20.0-20230218-UNOFFICIAL-a64_bvN build works well on my tablet.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mooybot:
Hey, I just installed this ROM and for some reason I have no sound in the entire tablet nor thru headphones nothing works. Need to know how do I fix this asap I was able to flash it fine using twrp. I am pretty new to this :D
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jaladhjin:
At this point are there only 3 options for this tablet?

Your Lineage, Your Nexus & Stock?

I've tried both your ROMs & do like them so #1 thanks for keeping them alive all these years granted I've seen you mention you have your reasons the family still using these tablets I get that ha.

#2 if I decided to go Stock rooted could I get to Android 12 on this device a SM-T510 or is it all pretty hard locked @ Android 11 unless Samsung decides to port a 12+ release back to this tablet which I'd imagine is extremely unlikely?

Are there any other roms out there for this tablet? Any that are actually Android 12?

Regardless thanks very much again for keeping me loving this tablet! 😁👍👍
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
New release just posted...

Downloads:

lineage-19.1-20230403-UNOFFICIAL-T510XXU5CWA1.tar.md5 (Odin tarball)

lineage-19.1-20230403-UNOFFICIAL-T510XXU5CWA1.zip (TWRP update)

Change Log:

20230403:

Updated to LineageOS 19.1 GSI (20230323) with March 2023 security patch and GApps.

Based on the latest Android 11 OEM kernel and vendor partition (T510XXU5CWA1).

Includes TWRP v3.7.0 custom recovery built on AOSP 11.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Skyfire1:
Hi, is anyone having issues with the tablet not connecting to pc with this or other lineage roms ?

Newest stock rom no problem but with LOS 19.1 and 20 no connection is possible.

Tried reinstalling adb and Samsung drivers but it didn´t fix it.

Tried other USB ports and cables, just in case...

When in settings I can toggle the transfer option but it jumps back to no data transfer . Sometimes it even makes the tablet restart.

I noticed that the little arrow in the adressbar of windows explorer is starting to flicker on and of as if it´s trying to connect.

When in TWRP I can only see the external sd card.

Any suggestions would be greatly appreciated :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] AfiqAffandi:
Have you try factory reset and format data? if yes try repair you system partition and reinstall LOS 19.1

1. Wipe > fastory reset > format data

2 . Wipe > Advanced Wipe > Select system partition > Repair or Change System > Repair File System

3. Reinstall LOS 19.1
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
You need a modified kernel to use classic MTP (which GSIs assume), since Samsung uses their own proprietary version.

Yes, this is due to file-based encryption. You need to reformat the userdata partition.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Skyfire1:
Thanks for helping me!

I assumed, because no one but me asked that question, that others have a way to connect the tablet without flashing a different kernel?

And where would I find a kernel to flash in my existing LOS 20?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
You could just grab the latest boot partition from this LOS 19.1 build.

Alternatively, you can build your own from the kernel source. Just modify the makefile in /drivers/usb/gadget/function to ensure you build the right version.

ifeq ($(CONFIG_USB_ANDROID_SAMSUNG_MTP),y)
usb_f_mtp_samsung-y := f_mtp_samsung.o
obj-$(CONFIG_USB_F_MTP) += usb_f_mtp_samsung.o
else
usb_f_mtp-y := f_mtp.o
obj-$(CONFIG_USB_F_MTP) += usb_f_mtp.o
endif
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Skyfire1:
Sorry to bother you but how would I do that? In TWRP or with Odin?

If I unpack this file : lineage-19.1-20230403-UNOFFICIAL-T510XXU5CWA1.tar.md5 , I can see the boot.img.l4z . Is that would you mean by boot partition. I already tried to use it for Magisk and ran into the problem of finding a program to unpack .lz4 .

And I srem yo remember that I used your LOS rom too and had the usb problem as well. So how would lashing the boot partition help?

And I formatted the data partition and after that it got stuck in boot screen.

reflashing lineage-20.0-20230325-UNOFFICIAL-a64_bgN.img still stuck on boot screen.

So I´ll need to start with stock rom again, no problem there but I get the impression that my tablet behaves differently than other T510s . Maybe by all the flashing I did over the years I somehow damaged it?

About building a kernel myself ... I wouldn´t even know how to ask the right questions! :) let alone do it:)

I usually just follow tutorials and find my way by trial and error. Mostly successful with flashing and rooting an so on but that´s about it.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Skyfire1:
Hi and thanks for the input.

I´ve done steps 1,2 and 3 and still no usb connection but in twrp internal storage is now available.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
The tarball for Odin has the images compressed with LZ4, so you'll have to unpack that with 7-Zip or something. There's an uncompressed copy of the boot.img in the update (.zip) file, if that's easier. Just flash the boot.img file in TWRP and you should have MTP restored.

That was probably before I started building with the custom kernel. The boot partition has the kernel, and so flashing that new one will include the updated MTP drivers that no longer use the proprietary Samsung MTP implementation.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Skyfire1:
Thanks for your quick response.

I flashed it and it doesn´t solve the usb problem. I think I´ll just look for a way to connect over wifi or use your version of the stock rom. LOS would be my favourite though because it takes up much less storage.

As no one else is complaining I think it´s just my tablet or me doing something that´s the problem.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] impy010:
Am trying to install this via Odin (from stock firmware) and it fails every time. It gets stuck on recovery.img for ages before failing.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Broman400:
Can I install this regularly through TWRP if I’m coming from the Nexus Stock ROM?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] AfiqAffandi:
If clean install yes, factory reset & wipe data first then install latest LOS19.1
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] bardmaster:
I thought I'd share this here for those who have been successful in installing 19.1 but hunger for Lineage 20 with Android 13 - which I have not been able to install directly but instead through 19.1. My experience with 20 so far (just a day now): It's faster with an improved UI, though I do have a peculiar problem where Screen Timeout never takes (the screen blacks out, but then turns back on). I'm still trying to figure that one out if anybody has any advice! :)

This is courtesy of @AfiqAffandi (and not meant to steal his thunder but more as an homage):​

1. Install TWRP 3.7 https://xdaforums.com/t/recovery-unofficial-twrp-3-7-0-for-2019-galaxy-tab-a-10-1-sm-t510.3934805/

2. Boot into TWRP and Factory reset/format data

3. Install Lineage 19.1 https://xdaforums.com/t/rom-sm-t510-unofficial-lineageos-19-1-for-galaxy-tab-a-10-1-2019.4494595/

4. Wipe cache/dalvik and reboot system

5. Finish Lineage 19.1 setup (note: you may be reminded to complete setup even though done - if so go ahead and run through it again)

6. Reboot into TWRP

7. Install Lineage 20 image as system image https://sourceforge.net/projects/an...0-20230325-UNOFFICIAL-a64_bgN.img.xz/download

here is the complete list of Andy Lan's releases: https://sourceforge.net/projects/andyyan-gsi/files/

(be sure to check for the latest version, and at least for me the a64_bgN.img is the way to go)

8. Do NOT factory reset or format data

9. Reboot system
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] AfiqAffandi:
Thank you bro for your complete instructions and link. Thank you @Magendanz and @AndyYan for your awesome works.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] bardmaster:
I found it! Eureka! Disable Display > Lock Screen > Wake Screen for notifications

Even though there weren't notifications, this was causing the screen to turn back on every time once the screen timed out.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Broman400:
How’s the battery life compared to 19.1?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hamburml:
Thanks for your work :) Today I flashed lineage os 19.1 and had only a minor problem (forgot to flash multidisabler). Works perfectly.

In your first it is mentioned that FBE (file-based encryption) isnt working and lineage os also mentions that the device is not encrypted - can this somehow be enabled or is it simply not working because bootloader is unlocked and custom rom is installed?

Thx and have a great day
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] bardmaster:
I never stuck with 19.1 very long, just used it as a stepping-stone to get to 20. Too early to tell and minimal usage so far, but it seems to be holding its battery life well.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Skyfire1:
For anyone experiencing the usb problem :

I found KDE Connect a well working solution. Just install the app on the android device and on your pc, pair them and you´re good to go !
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Mollomm1:
I actually love this custom rom, it works perfectly, but there is a way to disable gapps? Thanks.

Edit:

I finally managed to remove gapps by installing lineageos 20 using bardmaster comment, but instead of using the gapps variant I flashed the vanilla variant (no gapps), and now I am running on the latest lineageos version whitout gapps!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Domniak:
Quick question, can i install the newest update if i dirty flash? or is clean flash necessary? and if i can dirty flash, do i have to flash something other than the rom? if i want to install magisk, can i just flash through twrp? thx in advance!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] highwindbr:
Wow! Thanks! It worked with 20230418 most recent release. But i reflashed LOS 20 again bcs i forgot that the regular version is system r/o, and the vndklite version is r/w.

Some root resources needs r/w permission. I dont know if magisk can install modules in system r/o, didnt tested. As soon i realized my mistake, when i tried to modify a file in system directory, plus busybox failed to install, even with root permision, and TWRP not mounting system, then i dirty flashed vdklite
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] FlipnoteFroggi:
Hi, i tried to flash this GSI on my SM-T515 using both ODIN (Tho i had to remove the vendor image because it was older than my device's and odin wouldn't accept it) and via TWRP (using the files from the extracted odin tarball) but it just wouldn't fully work, it would bootloop for some minutes but it would eventually boot but even then it would restart randomly after some minutes and ik that this tablet does work because this indian guy got the same model as mine and got it to work . If anyone got the SM-T515 to work please dump your boot files so i can try
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DarkSteve:
This ROM is for the T510, not the T515. They are quite different devices internally, so software for the T510 won't work on your T515.

This has been discussed several times in Magendanz's threads. You should have actually read a bit more before risking bricking your device with a ROM for other hardware.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] FlipnoteFroggi:
Is that really? They have nearly the same board and the TWRP recovery made by Magendanz worked flawlessly on my T-515

Also, that indian guy used the same image posted here and got It to work and me too except that It bootloops for quite some time before booting into LineageOS
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DarkSteve:
And I use the same TWRP on my klte and my kltedv, but I still need different ROMs for the devices to work properly.

I don't know what else to tell you. If it's working, I'm both surprised and happy for you. But the ROM simply isn't designed for the hardware you've put it on.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] FlipnoteFroggi:
Well ok tho i'm still surprised that my device just can't run a simple GSI because even when i install any GSI with the stock firm it will have the same bootloop problem
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DarkSteve:
:mad: Uh, yeah, because you're using the ROM for a different device.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] FlipnoteFroggi:
GSIs should be universal to ALL devices compatible with project treble so nearly ALL released with Android 9 or higher.

And what i mean was, even using other GSIs like ponces's PixelExpirience GSI or PHH AOSP GSI with the stock T-515 firmware It would have the same bootloop problem.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jonpjingleheimler:
Just a tiny little bit of advice? Read some stuff Brother. GSI's aren't for every device plain and simple. there are devices with a/b partitions and just "a" devices. they have 64 bit operating systems, maybe they have 32bit, I dunno. But I do know you have embarked on an adventure without all of your information. Therefore, if someone is trying to guide you (no matter how condescending they may seem) it's likely they have seen folks on here asking the same questions, showing the same confusion when all they needed to do was Google. I'm not saying I haven't been in your shoes. But I quickly learned there is little pity for those who blindly trudge forward without having all their ducks in a row. Regardless they are still trying to help you. You are not the first person to get on here frustrated thinking their mother might possibly appear with warm milk, cookies and pity. From what I understand you are rocking a SM-T515, it is an LTE model. You should be able to flash SM-T515 GSI's provided your device has been properly set up. Google is your friend. Questioning someone's advice is part of a normal discussion but just being contradictory only muddies the water and folks will simply fall away and let you swim in circles. You can do this.

https://xdaforums.com/t/gsi-sm-t515...-galaxy-tab-a-10-1-2019-lte-21-11-22.4521405/

Samsung Galaxy Tab A 10.1 2019 SM-T515 SM-T515NZ, SM-T517NZ, Samsung Tab A 10.1 2019 SM-T515 technical specifications :: GSMchoice.com

Smartphone Samsung Galaxy Tab A 10.1 2019 SM-T515 SM-T515NZ, Display IPS TFT 10.10", 🔋Li-Ion 6150mAh; 2/32 GB - 3/128 GB, Samsung Exynos 7904

www.gsmchoice.com

Samsung Galaxy Tab A 10.1 (2019) - Full tablet specifications

www.gsmarena.com
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
Wishfull thinking. The aim of the project is one thing. Accomplishing it is another. ROMs for tablets with and without LTE modems are NOT the same. TWRP doesn't access the modem so it can work on both. But that is not true for the system boot.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jonpjingleheimler:
EDIT: I MESSED UP. I GOT TURNED AROUND WITH ALL THE DOWNLOADS. I NOW HAVE LOS 13 WITH GOOGLE APPS. JUST HAD TO DOWNLOAD THE RIGHT ROMS. YOUR DIRECTIONS WERE FINE FRIEND, THANKS, IMA MORON

The screen black out stopped for me somewhere along the way. I was able to install los 20 yet have issues getting gapps to function. when flashing los 20 over los 19 (after all updates were complete) upon reaching the homescreen i continue to get play services closing and they will not update. I open playstore and only get a splash screen and it closes. I then used recovery to format data factory reset, flash los 20 then flash NikGapps all successfully though when the devices reaches the homescreen there is no playstore or any sign of Google. I followed the steps you outlined multiple times but I must be missing something. also the stock browser will not allow me to download stuff, it just force closes. I was hesitant to post here because this is about a different ROM than listed in the title. I have googled quite a bit but if anyone has a direction they can point me I would gratefully entertain it. Love the 19 or 20 so if i cant get it no big deal. It's kind of like still having that meat lover's pizza waiting in the trunk
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] FlipnoteFroggi:
Yeah i do know the difference between 64bit GSIs, 32bit GSIs and 32bit with 64bit binder (the one i actually need to run it on my device) and between A only and A/B partition scheme as i've already installed an GSI in my Galaxy A71 without nearly any hass.

And yeah i should be able to flash an GSI on my device and i did using an "system-arm32_binder64-ab.img" image which the treble check indicates as the correct image for my device, the only problem here is that it bootloops for minutes until finally getting into the OS.

Also, I'm sorry if I've been or am being rude, it's not my intention to cause offense or upset anyone.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
If you flash the bgN version, there is no need for NikGapps. The "g" in bgN means gapps is included.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jonpjingleheimler:
For sure. I failed to catch that. But the post has the right Rom listed I just managed to download the wrong one. Very glad I kept at it. I saw no one else having an issue here and was like "Ok, what the heck am I missing?" Everything looks and functions great. So nice to get off Samsung stock. Thanks for insight regarding the letters. I won't be needing to make that mistake again now.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jonpjingleheimler:
The T510 model is a only not a/b. might be where you are running into an issue. Keep at it, this doesn't sound like your first rodeo
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DarkSteve:
:ROFLMAO: Heh, yeah, it's a fair cop! I really was :p

I just found it bizarre. You're not using the ROM for your device. Of course it's not working. It was bizarre FlipnoteFroggi kept repeating themselves after being informed that the T510 and T515 hardware are not the same.

In a previous thread (the one for LOS18 for the SM-T510), I needed to ask for help, too. So I re-read the thread, and a couple of related threads, tried my best, got halfway, and got stuck. I explained what I'd done to help myself, and took the advice I was given, and it solved my problem. I can't imagine what people would have said if I ignored their advice, "I don't want to accept anything you say, I just want the problem solved!"

If FlipnoteFroggi had been trying to port the T510 ROM to the T515, and was asking about how the GSI relates to the internals of the ROM or whatever, I wouldn't have been so condescending. If they'd changed tack and said "Oh, I should ask 'that Indian guy' what he did, or if he had the same bootloop issue", I would have given him a thumb's up.

Hey! Condescension is my thing!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DarkSteve:
And I'm sorry I got short and snarky in my responses. It was inappropriate, I apologise.

I really need to have a drink, and chill the f**k out.