yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] retiredtab:
I don't have this tablet, but I did answer lewmur when he asked about it at

https://xdaforums.com/t/how-to-build-roms.4374711/
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] @muja@:
Hi mate,thanks for your har works,anyways,will this rom works on SM-T505??

Thanks in advance and cheers..
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] drsanusi:
For me with the same tab T505n... I first tried skyhawk recovery worked but after restart .stuck on screen .of unofficial file flashed..stuck .flashed stock rom back.

Then here i was happy may be will work .but even step one not succeful . flashing vbmeta .not finished red alarm ( only official files can be flashed.). ..😓😞😞back to stock rom ...u can try yourself but this is my experience.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] @muja@:
Ty very much mate,pitty...Tired of official bloat crap....cheers.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Noskilldode:
you recently posted a rom with los 18 for sm-T500 and my question is can I just take the newest gsi los-19 image and flash the image with twpr to system and its fine ?

thx thanks for your great work
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] agreenbhm:
You can probably flash TWRP and the ROM via Odin and have it work ok but I haven't tested it. What I posted is not flashable via TWRP unless you extract the files and write them manually to the appropriate partitions.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] agreenbhm:
Don't have that device so can't say, but probably not. Might boot but it's missing drivers and such for differences like gsm.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Noskilldode:
So if i allready had bootloader unlocked and twrp ( that´s what I have b.c I allready installed los18.1 with the previus guide ) the only thing to upgrade from los 18 to 19 is just take the img.xy file ( what in the world means xy ?) and put it into ap with odin and flash it ??

either this sound`s way to easy or my english is much worse than I Thaught :``)

thx thanks for the support
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] agreenbhm:
What you want to do is take the Lineage .tar file I linked to in the OP and flash that via Odin to the AP slot. You can upgrade TWRP first via the same method (recommend doing that first so you'll have the exit_twrp script I included in case you get stuck in a loop repeatedly booting to TWRP).
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] agreenbhm:
No promises this will work but you could try using the TWRP I built on your device. If that works you can then attempt to install LOS using the instructions in the "Updates" section of the OP. What that will do is overwrite your system partition with LOS while leaving your other partitions in tact (the ones that contain the device specific drivers). Then format data via TWRP and reboot (and cross your fingers). I don't see why this wouldn't work in theory, but YMMV. The ability to boot TWRP for the T500 is the main uncertainty.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ThePocketBoy:
Pls help .... iam not able to understand how to flash that brightness fix sh file and also where to type exit_twrp when device auto reboot issue ???
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] agreenbhm:
Push the brightness fix to /data/local/tmp (make that directory if it doesn't exist) and then run 'sh /data/local/tmp/fix_brightness.sh'.

The exit_twrp command can be run from adb shell or the terminal within TWRP.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ThePocketBoy:
can you show me screenshots ? pls sir .. not able to understand ...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] im-izz:
Hi, I have downloaded LineageOS 21 and I got a zip file how can I Install that using odin?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
You can't. You have to extract the img file and flash it with fastbootd.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] im-izz:
yeah, so i just used the twrp adb sideload and installed the os and the brightness fix and the gapps from there and now everything is working. thank you all for making this thread i appreciate it.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
What have you done so far?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Just out of general interest, will this process work with the LTE variant of this device (SM-T505), since these devices share the same hardware except the LTE modem part, or does the LTE part stop working if I flash the given files? (Specifically recovery and brightness fixer)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] agreenbhm:
This was addressed a few posts back. Check my response and guidance on a possible way to proceed.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
post #57
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Thanks, will try it...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ThePocketBoy:
sar i have installed lineage and i am asking how to make the directory myself /data/local/tmp ? how can i ? and also do i need to put my phone in adb sideload through twrp ? and then i have to connect it to my pc and push the sh files through platform tools ? if yes then what are the exact commands to that ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
Sorry. #agreenbhm says it can be run once you're into LOS, but I couldn't do it. The /data/local/tmp file already exist but when I copied the file there and ran it, I got errors. The only way I know is the way I showed in post #37. Which means you have to setup LOS all over again.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ThePocketBoy:
what is the directory name of sdcard ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
/sdcard
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ThePocketBoy:
ok so i did it by pasting it to internal storage /data only and its done ... thnx for the help .. lineage booted and working fine ...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ThePocketBoy:
how to manage root in it ?? its said to be pre rooted ? with which app we will use to manage root ?? in magisk .. its showing not rooted ..
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] agreenbhm:
It seems that Magisk can be installed normally via TWRP. The Magisk app will say that there is an abnormal configuration but that can be ignored.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Should we flash VBmeta and recovery to the AP using Odin?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] agreenbhm:
Yes.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Thanks, the recovery now booted and I'm a bit lost on how to install a system image,as when I select an image, it shows this... I didn't try see what happens if I flash it in super, as I'm sure it results in a bootloop I tried dynapatch too but it also doesn't work...

View attachment 5572931
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ThePocketBoy:
yup sar but modules not working ... causing the device auto restart and also mic issue i am facing .. in yt mic search not working and in gmeet i am able to hear my frnds voice but they are uanble to hear .. pls sar help .... otherwise rom is great
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Just curious, what's the size of system partition of this device? I'm unable to flash my gsi which is about 3.4GB
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] agreenbhm:
The Updates section of the OP states how to update just system. Pleasr look there.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] agreenbhm:
It's about 3.4GB. You want to find one that's smaller than that ideally. The LOS GSIs will work.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Okay will try aosp gsi, also, it turns out that dynapatch works. I'll see if gsi boots after flashing....
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
I'll also try that, I was doubtful because you meantioned to use it after flashing your rom specifically, I may have misunderstood you, sorry
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
What version of Magisk did you flash? Did you update it? It's working fine for me.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
It works! Thank you for support!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] agreenbhm:
Excellent, very glad to hear that. In theory your LTE should work since we didn't modify your stock vendor partition, but you'll have to let us know.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Interesting, after flashing the gsi, the device reboots every few minutes, not sure what's causing it...

Wifi works though
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
I flashed the kernel from here and it fixed the reboots!

https://xdaforums.com/t/guide-sm-t5...flash-lineageos-or-any-other-gsi-rom.4378017/
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
LTE works too, just VoLTE and voice in calls are broken
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
Just? I'd say that is pretty much broken. What good is a phone if you can't receive calls?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ThePocketBoy:
24.3 latest sur
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
I don't know that it would make a difference, but I flashed the Magisk23.0.apk and then ran Magisk and went through the updates.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] wEER1234:
I'll be sure to try this once the calls problem is fixed on T505
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] agreenbhm:
I'm not going to be fixing anything related to that device since I don't own one so you're on your own.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] drsanusi:
Ooh great news .can you mention your steps? Espicially flashing vbmeta and recovery ...this is where i fail.

Thank u in advance
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
If you are failing vbmeta, then recovery can't succeed. So, where is vbmeta failing? Did you succeed in unlocking the bootloader and then connecting wifi and re-enabling DEV mode?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] drsanusi:
Then yes vbmeta flahed on userdata odin ..here once was successful.then another attempt red notice appear only official files can be flashed (vbmeta)....this way.

I remember in my attempt on Skyhawk recovery. Flashed both vbmeta and recovery one sitting in ap for recovery userdata for vbmeta..then press conbination buttons power off volume up volume down all together 😁😁😁. And. Da da .wowo i am in eecovery working fine .

So my reading on flashing are different methods i get lost . What is the proper one .

🤔🤔🤔
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
Firsh of all, what worked on one install, won't work on another. I depends on what the DEV included in their tar. Some include vbmeta and recovery in their ROM. This one doesn't. You have to start from stock, FACTORY RESET, flash vbmeta, FACTORY RESET, and then flash TWRP.

And each time connect wifi and enable DEV mode.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] PiKca):
I'm having problems with the wifi, i can't turn it on, it's normal?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
I'll make a detailed step by step guide for the t505 gsi flashing, also, i patched ap using magisk and I was able to flash recovery directly without flashing vbmeta disabler... I'm not sure how that works maybe !agisk disables verified boot or smth
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
I created an all in one thread/guide for the SM-T505, check out and let me know if anything is incorrect...

https://xdaforums.com/t/sm-t505-samsung-galaxy-tab-a7-lte-gsi-flashing-guide.4423297/
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ThePocketBoy:
i was wondering if this tab a7 can install full one ui by installing gsi ? i mean in this tab we get one ui core .... but maybe we can install full one ui gsi ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
It should be less than 3.4 GB then it might work
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ThePocketBoy:
can tab a7 boot any gsi ?? btw i tried booting lineage 18.1 by this dev only .... i tried all the steps correctly with corect fw and fixes but still rom stuck on bootloop ... only 19.1 working ....
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Yes it can boot GSIs, I only tried Android 12 GSIs, and they all work, I didn't try Android 11 GSI

Edit: You should not flash a gsi with older security patch than the stock rom security patch it had, as, it will result in strangeness and could bootloop, usually gsi roms with newer security patches than base system is the way to go,So it might be the reason that los 18.1 didn't boot..
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ThePocketBoy:
yup i know we sould use old security patch that is why i uaed buf3 fw which was mention bt the dev only ...but still didint work ... i have a very bad luck on booting gsis ... i have failed to boot gsi on my violet too ... but will try it on my tab a7... and if i get successful then will try to port it too ....
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Then I'm not sure what's wrong here... And if I understand right you have the wifi only variant of the tab, right?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ThePocketBoy:
yes wifi variant ... and i want to try full one ui ... as one ui core is laggy and feature less ...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Not sure why but I have a feeling that, if one UI core is laggy then full one ui will be laggier and slower, correct me if I'm wrong, but performance will be worse unless it's patched to improve performance...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] utkuilmaz:
Hey, I followed the steps exactly (multiple times) but I am stuck on the lineage boot animation, any help on what should I do?

Edit : I have also checked if the MD5 hashes match
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Just out of curiosity, did you wipe Dalvik cache, Cache and 'formatted' the data partition?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] utkuilmaz:
It seems that I have accidentally changed the data partition to something else then f2fs, It booted now; but Wi-Fi doesn't work
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
From now on just use the 'Format Data' option to erase data, and I suggest you to reset your network settings once, as I had a similar issue and was able to fix it by doing a network settings reset...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] utkuilmaz:
I have, but it is still acting weird might have to do with my faulty installation before, It also thinks I have a sim slot, which I don't know if it is normal behavior or not
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Definitely not normal behaviour, if you installed the rom linked by the dev, if it is, then try doing it from scratch again, if it's an external gsi then it might be a bug...

Edit: Maybe when you accidentally changed data to non-f2fs it might have broken something, but I might be wrong here though
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] utkuilmaz:
I am using the ROM provided by the dev, also used the format data option this time but still getting the same error unfortunately
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Then I'm not really sure what is happening here, the dev might be able to help you out here...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] utkuilmaz:
Thanks for the quick help! Update if anyone is interested in the fix, I installed the stock rom with Odin and followed the instructions again, It still thinks I have a sim slot but Wi-Fi works!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
It doesn't really think you have a SIM. That is a bug in LOS that's been around for a while. Just click "skip" when it ask if you want to setup SIM.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Noskilldode:
hey guys thruth the process i made some misstakes one of them was to corrupt my modem partition made for wifi and other things and now i wanna fix it but evry time i wanna flash a stock rom neither with locked or unlocked state it "failed" can anyone relate.... details soon.... thx
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Do you have a backup of the modem partition? If you backed it up, then it might be possible to fix it by restoring, if not, then you might not be able to fix it (unless there is a way to modify modem partition backup from other device and edit it to work for your device, I'm not sure if this is possible)...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] agreenbhm:
The modem partition is part of the stock rom that is installed with Odin. It should be possible to restore everything.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
Oh, if thats the case, then I suggest you to download it again from samfw or etc and try flashing it again, if that doesn't work, restart your PC, if that too doesn't work make sure that your device Is fully charged and try again.... @Noskilldode
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ioura:
Is lte working on 505?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hausemaster:
LTE data works but VoLTE doesn't work, and there is no in call audio (i.e. we can't hear others, others can't hear us)

Edit: Read my guide for info on what works and what doesn't on SM-T505...

https://xdaforums.com/t/sm-t505-samsung-galaxy-tab-a7-lte-gsi-flashing-guide.4423297/
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Tirofog:
Tried a few GSI ROMs but went back to stock because of lags and freezing when using Chrome, XDA, Reddit etc. Is there any improvement with this rom?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mystifuzz:
Not really, OP said it is just the LOS 19.1 GSI but easier to install.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rele_kraken:
I see this ROM has GApps built in. What if I don't want GApps and want to use MicroG instead to create a de-googled tablet?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
As the OP has stated, this is just the GSI ROM with gapps and made easier to install. So, your only option is to install the GSI ROM itself. There are threads here on how to do that, but my personal suggestion would be to install this ROM to avoid the hassle and then flash the GSI without gapps.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rele_kraken:
OK, thank you for the reply. I will take a look. I think I needed to update the stock ROM first. My bootloader is already unlocked and Samsung wont update it over wifi now. Are you able to boot back into download mode and reenable the bootloader or can I do it with ADB? This is my first Samsung device so I'm not very familiar with some of this stuff.

Edit: Was able to re-lock the bootloader so I can update the stock ROM to BVB3
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] giorgos147:
Thanks for the awesome rom and your hard work! Five minutes with it and the device feels far more usable.

However, one question. I tried pushing the brightness fix, but I can't access the files under /sdcard, while on TWRP. It seems that the partition gets encrypted.

Some other issues:

- I can't access/use adb while on TWRP

- I can't access the tablet's files through the Windows' file manager (I can, however, hear the sound that the tablet gets mounted and list the device by executing `adb devices`).

I achieved to push the brightness_fix while running the rom and using ADB.

Thanks!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rele_kraken:
I'm getting ready to do mine. One question. Did you use Odin? I've never used Odin before and have always just used ADB. I assume Odin is required as it's a Samsung?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] giorgos147:
Haven't used Odin for, well, quite some time (since Samsung Galaxy S, 1st gen - The Vibrant edition, for anyone that may remembers, haha)! Just follow the instructions step by step (thus, use Odin) and you should be good =)

I suppose that you're already rooted.

Good luck!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rele_kraken:
The instructions state to use Odin, so that's why I was asking. I was curious as to what method you used. I've seen threads claiming that Odin contains malware.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] giorgos147:
Haven't heard of the malware thing before because I haven't used it for a while. I followed the instructions, so, I had to use Odin. Not really sure if I could do it otherwise (No fastboot available, so no ADB, right?).

All in all, I suppose that it has to do with the mirror that you get Odin from.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
You don't need to relock and update via OTA. Just use frija.exe to get the latest stock ROM and flash it with Odin.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
BS. Odin is a Samsug app. So long as you don't use someone's "patched" Odin, it won't have malware. You can download it direct from Samsung's site.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rele_kraken:
Got it. I was able to get it updated and ran the VBMeta Disabler and then when it rebooted it went into Android Recovery. I did a Factory Reset from there and it came back up. Then when I went to flash TWRP with Odin it said "FAIL" and on the tablet I get the message "Only official released binaries are allowed to be flashed (recovery)"

Is there a more detailed set of instructions for a non-Samsung person? I've only ever used ADB before and am not familiar with the Samsung tools.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] giorgos147:
Are you sure that your device is rooted?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rele_kraken:
Ah, that must be it. I had followed a different bootloader unlock process from Youtube that did not involve rooting before I came across this thread. So at this point I suppose I can reflash back to stock and start over with the unlock process linked to in this post?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
It is a PITA but you have to reboot to system, connect wifi, skip setup and re-enable DEV mode after each flash until you get TWRP booted. Once you boot TWRP, FORMAT DATA and then, and only then, you can push the fix and exececute it.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rele_kraken:
That is kind of what I assumed. Also I only unlocked the bootloader and did not root, so I think I am going to have to flash back to the stock image and start over. Where does one find the stock Samsung images?

Edit: Nevermind. I see that Frija will go out and grab the latest.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
Rooting hasn't anthing to do with it. It isn't necessary to root in order to install the ROM. Rooting comes AFTER the LOS ROM is installed.

I'm on my second beer watching the final four, so this will be my last post for the night.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rele_kraken:
OK, that's kind of what I thought as I never root any of my other phones. So then as you suggested, I needed to go back in after each flash and set the OEM unlock again. I'm flashing back to stock right now and will start the process over. Thank you so much for all your help!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Chris_0147:
Screenshots
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rele_kraken:
I got this ROM installed and running, but have not yet run the brightness fix. I'm having the same problem as giorgos147 reported....USB file transfer is not working on Windows or Ubuntu 20. You hear the usual sound when it detects you've plugged in a USB device but nothing else. Anybody having this problem?