yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] hugopugo:
Hi, I'm trying to install twrp on the t515 LTE version. Any updates on this? I can't seem to get twrp to work, it always freezes at the twrp logo.

any help or if you could point me in the right direction, I would greatly appreciate.

Edi: it's the t515xxu1aseb
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Well, the SM-T515 uses a different kernel, which makes my TWRP for SM-T510 unlikely to work. I have built TWRP and NoKnox for the SM-T515, but my initial tester was unable to get it working. Since I don't have the hardware to troubleshoot myself, I haven't done an official release.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] massivekind:
Jup after flashing Noknox my tablet went into boot loop :eek:

I was able to flash twrp and twrp was working fine.:good:

Thats all I've could test ( back in the days :laugh: )
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] hugopugo:
Ahh nice thanks for answering so quick, and thank you so much for your hard work. the community greatly appreciates it.

im guessing i cant use this since im ASEB and this is for ASEH (last 4 numbers). does it matter at all?

lol sorry about the noob question, just getting into trying to root this tablet but having trouble.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
You probably can, since NoKnox will include a matched kernel and vendor partition. If you want to play it safe, though, the latest OEM firmware releases for the SM-T515 are available here.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] fredrik0612:
[removed]
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] sanhapie:
Hi,

I would like to share my experience with SM-T515.

I used Magendanz (Thank you for your works on these tablets) files to try to install twrp into my tablet. Following the instructions, I could successfully install a working twrp (I can wipe, flash). However, when I rebooted to system, It seemed to stuck in a loop and, after leaving it for while, it eventually went back to twrp by itself. I presumed this was a failure and reflashed my stock firmware (ASH).

Then I followed the suggestion of "cambunch" on the first page of this thread. That is, I used magisk manager to patch the stock AP. Then extracting the recovery.img from Magendanz's twrp file for SM-T515 and supplying to magisk manager for patching. Everything went well, I could compress the patched AP with patched recovery image to a tar file. Then I flashed the result as AP in odin. Unfortunately, when rebooted to recovery, I did not found twrp as the instruction suggested but found the stock recovery instead. So I guess it was a failure too.

I am new to this. So maybe I do something wrong? It is too bad that SM-T515 is not available in North America. Or else I am sure Magendanz can sort this out.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ChangeToTower:
I tried your files on my SM-T515, ASEH. TWRP worked, but NoKnox caused a bootloop, i. e. after "optimising app xxx of xxx" toast, the screen went black and it rebooted, finally ending in TWRP. Would be happy to test and help.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
As soon as kernel source is posted for T515XXS4ATE3, I'll post that too.

Downloads:

SM-T510:

twrp-3.4.0-0-T510XXS3ATE3-20200626.tar.md5

twrp-3.4.0-0-T510XXS3ATE3-20200626.img

Change Log:

v3.4.0-0:

Updated to TWRP v3.4.0 source

Updated to latest custom kernel
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] smacktooo:
stuck at recovery.img

Hello i unlocked bootloader on the T515 and reinstalled stock with the ODIN and the latest samfirm rom. Somehow it gets stuck at recovery.img when i upload the TWRP to the AP. I installed samsung drivers, adb drivers etc but it newer works. Well i am able to run AP with the stockrom so i think that it is not the reason for it. Do you also have older TWRPs available? Also is it maybe possible to change something in the code to make T510 roms working on T515? I think noone uses the LTE mode so i dont know if this is a big thing.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] massivekind:
The rom shouldn't be the problem, its the vender partition and other partitions which are different. We are able to flash los 17 on the SM-T515
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] smacktooo:
yes i tried the GSI lineage but somehow i dont get to the recovery.img part. it basically doesnt work to flash the twrp...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ASHLEY117:
I'll test on the T515 again for you
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
Android 10 ROM for T515 is updated:

https://www.xda-developers.com/sams...-10-one-ui-2-1/amp/?__twitter_impression=true

---------- Post added at 05:44 AM ---------- Previous post was at 05:41 AM ----------

I flashed this ROM with ODIN without problems, but TWRP does not work.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
In order for me to build TWRP for this release, I need Samsung to post the kernel source...and they haven't even posted that for T515XXS4ATE3 (Android Pie May 2020 Security Update) yet.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
I am using the current TWRP version on T515XXS4ATE3, and it works right.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
If you just use the .zip or .img file to update TWRP, it won't replace the boot partition and so you shouldn't have a mismatched boot/vendor combo. All bets are off with Magisk, though.

BTW, Samsung just posted the T515XXS4ATE3 kernel source this morning, and I'll try to get the update out before we head out for the 4th of July holiday.

UPDATE: The T515XXS4ATE3 TWRP v3.4.0-0 builds are now posted.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
Thank you very much !!!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
I am going to install it. Thanks
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
It works very well for T-515 :good:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
Android 10 PHE for T515

https://samfrew.com/es/download/Galaxy__Tab__A__-2019-__/c0fp/PHE/T515XXU4BTFK/T515OXM4BTFK/
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] fateleap:
Doomed

I posted this another thread too hopefully I am allowed to post here.

I was able to follow the steps to install TWRP and I installed Multidisabler. Then I did Wipe->Format Data. Now my tablet only goes to the screen saying "Samsung Galaxy Tab A - Secured by Knox" "Powered by Android" There is also red text at the top saying "Only Official released binaries are allowed to be flashed" and then reboots and goes back to that screen and loops doing that. I cannot even enter the recovery mode by pressing Power + Volume Up anymore.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Yep, you've triggered Samsung's VaultKeeper "feature" which relocked your bootloader. Do a search on VaultKeeper for how to recover.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ganjero:
Hi,

Thank you for all you work. Quick question, is it recommended to updated to the latest version every time one comes out? I have the v3.3.1-5 installed, and I am running your latest LineageOS 17.1 ROM with no issues. Would I benefit from updating?

Thanks
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Well, TWRP v3.4.0 introduced some new features, but nothing really critical. These releases are updated with the OEM firmware releases because installations over the OEM firmware need to replace the kernel with a custom version that has the boot security features disabled. If you're just updating with the .img file in TWRP, that's no longer a factor.

What you need to be very careful about is installing the tarball (.tar.md5) in Odin over a newer version of the OEM firmware. That would downgrade the kernel, and leave it mismatched with the vendor partition. Bad things would likely ensue.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
Hello [MENTION=903232]Magendanz[/MENTION]

Samsung has published the source for T515 Android 10: T515XXU4BTFK

https://opensource.samsung.com/uploadSearch?searchValue=SM-T515

https://samfrew.com/es/model/SM-T515/region/PHE/

Can you build TWRP file for this version?

Thank you very much !!!?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Yes, but I'm waiting for the SM-T510 source to post. I'll do them both together.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] xdaM:
My firmware version is fairly recent: T510XXU3BTFN. Anything that I should take into attention?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
If you're just updating with the .img file from TWRP, you should be fine. However, flashing the tarball (.tar.md5) in Odin will downgrade your kernel, and so you'll need to wait for the T510XXU3BTFN release. Samsung hasn't posted kernel source for that yet.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] xdaM:
No difference if I flash a custom ROM (with its own kernel) immediately after installing TWRP, right?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Yes, that should ensure that kernel and vendor partitions are matched again. My custom ROMs also include the recovery partition too, so TWRP comes with it.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] xdaM:
Oh great! I might do that then.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] xdaM:
Ok, so, my situation besides that is that I'm on Linux and therefore have to use Heimdall instead of Odin: since Heimdall flashes by partition instead of having an "AP" option, my guess is that flashing the ROM+Recovery tarball isn't an option for me (right?)... so, should I be safe if I flash TWRP to recovery and then immediately try to boot it after turning off download mode - so I can install the ROM zip right after? As in: will TWRP boot from the turned-off tablet regardless of the vendor firmware, and all without triggering Vaultkeeper or anything?

(Edit to anyone reading this: I ended up playing safe and flashing the ROM+TWRP tarball via Odin through VirtualBox. Recovery wouldn't have been the only partition to flash for TWRP to work here, anyway.)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
I know nothing about flashing in Heimdall, but you should be able to flash TWRP from Download Mode and then hold Power + Vol Up on startup to enter TWRP. No need to boot to system between. Just be aware that the auto-reboot feature (in Odin, but I don't know if there's an equivalent in Heimdall) may require you to be on those buttons quickly. If you're too slow, Vaultkeeper may be enabled. I usually just disable the auto-reboot feature so that I don't miss the window.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Pfiou:
[SOLVED] Unable to flash TWRP 3.4.0 for T515

Hello,

If I try to flash recovery using Odin, it says Pass but no change at boot time, still samsung recovery

If I try to flash using Heimdall, no pb but same result.

Both using no-reboot options

The device is out of the box, I only configured Dev options. No OEM setting.

Any idea ?

Baseband T515XXS4ATD1

Version T515XXS4ATE3

------------

My bad. I've choosen the wrong option (1st one instead of 2nd) in the unlock bootloader screen at startup (Vol+ and Vol- while pressing power button)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DizKiller:
Thank you for all of your contributions, community. I was wondering if the T510XXS3ATB4 is compatible. Thank you
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
Hello.

Source code of SM-T510 Android 10

T510XXU3BTFN

on https://opensource.samsung.com/uploadSearch
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
...and we just got a new drop of the AOSP 10 GSI. Please stand by...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Pfiou:
Heimdall has a --no-reboot option
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
So, it appears that the new Android 10 kernel (T510XXU3BTFN) already has the Samsung Rooting Restriction Feature (CONFIG_SEC_RESTRICT_ROOTING) disabled. Has anyone tried just replacing the recovery image with TWRP to see if it works? It may be that now you only need to run the Multidisabler, and no custom kernel is required.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
I can't check it on T510, but I tried with T515XXU4BTFK and it doesn't work...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Actually, I'm finding that the OEM system hangs on the SAMSUNG logo whether on the original kernel or custom kernel. My AOSP-based custom ROM works fine, though. I need to analyze the logcat to determine what's causing the problem, but it's late now and troubleshooting that will burn up a day at least. It also might be something in Multidisabler that's causing One UI problems.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DonGiovanni:
Does it matter which Odin i use? Cause all im getting is failed.

Bootloader unlocked/ OEM Lock: Off, USB debugging enabled.

SM-T515.... any ideas
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
Hello. Are you doing fine? ... Any news ? I want to tell you that you are doing a good and hard work. And so: thanks a lot.

Pablo from Madrid, Spain
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Aguamandan:
Hello, I was hoping to get a bit of help. I have a T510, not rooted and recently reset. I downloaded what I believe to be the correct files whose links are near the center of this thread. My goal is flashing the Nexus ROM, primarily. However, when I hold vol. Up&Down to enter d/L mode, I don't get any options. It just starts downloading without indication of what or how. It tells me download speed is fast, and not much else that makes sense.:

Do I just wait? Thanks in advance
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Danizer:
Does that mean we can temporarily boot into twrp ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] 0KimT1:
Hi Magendanz

So I read the instructions for installing twrp on the S10 by ianmacd

and was wondering if I could update a stock oem firmware which I've installed magisk and TWRP on WITHOUT LOSING ANY DATA by doing the following?

1) Flash (in odin):

BL

magisk-patched AP which also has the latest TWRP image (again magisk patched) replacing the recovery.img within said patched AP file

CSC_HOME

2) then install latest multidisabler in twrp and reboot to system

If its not possible to update a TWRP & Magisk installed stock firmware without having to wipe data, then I'll probably use Nexus rom from now on
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ianmacd:
Yes, this is possible. This is exactly how I update my Samsung devices every time a new version of the firmware is released.

After flashing the multi-disabler, I'll often use TWRP to replace itself with stock recovery when I suspect that the TWRP recovery kernel will be incompatible with the new version of the firmware.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] AndroSysQ:
Im trying to flash twrp since like 1 hour and no success. (Custom Bunary (VBMETA) Blocked By OEM Lock). I unlocked the OEM in developer settings and flashed a fresh firmware too but its still not working. Can someone help pls?:(
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
Unlike previous Samsung models, the latest ones have a locked bootloader as well as the OEM. There are a list of instructions for how to unlock it in the "Guide" section. https://xdaforums.com/galaxy-tab-a/how-to/guide-unlock-t510-bootloader-t3929459
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] AndroSysQ:
Thanks that worked like a charm, i got twrp flashed now.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
Hi.... And CP Slot?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] 0KimT1:
um. I have a T510. No CP
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] bluetit:
hi,

did anyone know how to flash twrp whit the newest kernel (T510XXU3BTFN)/Android 10?

Or should i downgrade my tablet to install twrp T510XXS3ATE3??

thanks
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
If you're going to my LineageOS 17.1 or Nexus Stock custom ROMs (AQ or LQ variant), then they come with the latest TWRP and you can install them on T510XXU3BTFN. However, I haven't been able to get the stock OEM system to boot with the custom kernel that we need to disable the OEM boot security features. So, if you want to run a rooted version of OEM stock ROM, your best bet right now is to downgrade to Android Pie (T510XXS3ATE3) and then install the version of TWRP built for that OEM release.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
So, it will be impossible to use Android 10 with TWRP... I am trying to root T515 Android 10 with Magisk without TWRP but I can't... Always I have problems --> impossible rooting
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
The problem is more that I just haven't had the time to generate a logcat and start troubleshooting whatever problem the OEM system has with the changes we're making with the custom kernel. That stuff can suck up a lot of time with very little to show for it, so I've been procrastinating with the hope that someone else will figure it out in the interim.

Also, I don't root or use Magisk, and so it's not really my area of expertise. I can't even reproduce the issue on my custom ROMs.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
Thanks a lot [MENTION=903232]Magendanz[/MENTION]
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
I have the stock BTFN installed on my T510 with the bootloader unlocked and OEM enabled. When I tried to flash the latest Nexus BTFN md5 file via Odin, it fails about the time it hits the "Product" section. Do I have to downgrade to 9 to flash it?

edit: Sorry. I meant to post this in the Nexus stock thread.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] hanspampel:
[MENTION=903232]Magendanz[/MENTION]

Is it possible you can build a twrp with your lineage sources(kernel) like modpunk did for s10 devices? It is the better way, cause you dont have problems with incompatibility with newer fws like non working cameras etc.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
I'm confused by your question. There are no LineageOS sources used in building a custom kernel, only those posted by Samsung. In general, the kernel used by TWRP should only matter when you've rebooted to recovery, but the Magisk workaround uses the recovery kernel, and so you have to be more careful that you don't break something when booting with root through recovery. Unfortunately, leaving the OEM kernel alone hasn't been an option because we've had to disable the Knox boot security features. In addition, there's another tweak to the kernel needed to enable MTP on AOSP-based system images.

So, we're left in world where the boot kernel and recovery kernel need to be custom and need to be synced. If [MENTION=4297219]modpunk[/MENTION] has discovered a different approach, I'd love to learn more about it.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] hanspampel:
Sorry for confusing, ive meant the kernel in recovery. modpunk is not the only guy who builds the recovery with lineage sources. For my old gtab 10.1 2016 followmsi builds his recoveries with the same method. Ive never had some probs with it. Ok the newer devices has more restrictions than older one, but im running modpunks twrp on my s10+ without any probs. It works with any fw samsung provide us every month. So this is why i told you that option, maybe you can get stock fw to boot. Im still waiting on newer twrp, otherwise i cant update my ROM to android 10. Ok i can root stock recovery and flash it, but that is not an option for me.;)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
So, if you want to experiment with the TWRP image I've been using in my custom ROMs, here it is:

twrp-3.4.0-0-T510XXU3BTFN-20200807.img

The issue I'm running into is with the Odin tarball, which has to replace the kernel in the boot image to disable Knox boot security features. For some reason, the OEM system isn't booting with the custom kernel, even if it's working fine for TWRP and my custom ROMs based on both AOSP and LOS.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] hanspampel:
Hi

So ive experimented a bit with it. Actual status is:

your twrp (but i prepatched it for root) works under my android 9 ROM

system boots fine too

flashed my android 10 ROM

hangs on samsung logo

tried it with full fw cause bootloader updating etc. via odin (with prepatched AP and twrp)

boots fine but no root

tried my ROM via twrp

boots fine without root

tried to boot from root section

and it hangs again on samsung logo

tried patched stock kernel from AP file

hangs on samsung logo

tried patched stock recovery

hangs on samsung logo

So actual situation is that root didnt work on t510 on android 10? Maybe we need the pre-rooted kernel (boot.img) like "ian" said before in s10 thread?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Ookksam:
Stock ROM SM-T515NZKDXSA

I lost my stock rom, tablet is bootlooping. Tried other versions of stock ROM with no success, need to flash the original if anyone has it or can copy it for me?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Ookksam:
Thanks but I tried a few of those, need the exact model number it seems. Plus I have the warranty void thing if that makes a difference?

Edit: my model number is SM-T515NZKDXSA
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Bubbleshark:
Have you tried to install Frija and download through it?

---------- Post added at 09:24 AM ---------- Previous post was at 09:20 AM ----------

---------- Post added at 09:29 AM ---------- Previous post was at 09:24 AM ----------

Hello,

Could someone direct me/tell me where I messed up, I tried to install the OFW for android 10 and wasn't successful

My tablet:

Android 9, May security patch, TWRP 3.4.0 with magisk

What I tried to do:

1) Downloaded the OFW with Frija, put the tablet in download mode, use Odin to install the OFW android 10

=> the tablet boots and I power it off, go on download mode and install TWRP via odin, launch TWRP and install multidisabler (I tried with both 2.3 and t51x-1.41), reboot => stuck at boot screen

2) Launched TWRP, put the tablet in download mode, use odin to install the OFW android 9

=> the tablet boots, I update via OTA to android 10, put in download mode, install TXRP via odin, launch TWRP and install multidisabler, reboot => stuck at samsung boot screen

3) Launched TWRP, tried to reinstall my back up of android 9 rooted

=> stuck at samsung boot screen

4) Launched TWRP, put the tablet in download mode, use odin to install the OFW android 9

=> tablet boots, I put it in download mode, install TWRP via odin, launch TWRP and successfully reinstall my backup with root

Conclusion:

Back to square 1, I lost my whole afternoon not knowing where I went wrong, tried to go on numeral post to try to troubleshoot it ... in the end, I assume it's got to do with TWRP and android 10

If anyone had any idea, I would be really grateful if you could point that out
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Ookksam:
Just tried Frija, only options were same firmware files as Samfrew, XSA Australia firmware, but no NZKDXSA.

Currently it's a pretty good $400 frisbee.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] MeMiBux:
Edit: got the one from Frija to work, just needed to deselect Auto-reboot and F.reset.time in Odin. Tablet is working again. (Ookksam is my phone account :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
But, reading all posts, rooting Android 10 on T510 or T515 is impossible, not?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Roarmaster:
100% possible on my t510. Just flash magisk in twrp
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pheraspu:
Android 10? But with TWRP too?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Roarmaster:
Yes. I'm not sure about stock, but if you flash megadanz's Android 10 nexus rom, it comes with twrp