yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
Wiping is not the same thing as formating. It won't get rid of the encryption. When you select the Wipe button in TWRP, there is an additional option to "Format data partition".
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Danizer:
I am on an Indian unit and updated to the latest version. but the build no is T510XXS2ASH3.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DigitalRaver:
If you have Sk5 kernel I can confirm twrp for sk1 still works.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Billy Botllerr:
Thanks for your advice.

I did a factory reset, and reinstalled and the aberrant folders were still present. I then performed and advanced wipe and reinstalled again and it's now OK.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DM_AM:
Hello! I tried to install twrp-3.3.1-5-T515XXS3ASK1-20191207.tar.md5 (for Samsung Tab A 515). Every time I get the message -

"Fail!"

<ID: 0/004> recovery.img

<ID: 0/004> Complete (Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

<ID: 0/004> Removed !!

I updated the tablet to version T515XXS3ASJ5, tried different versions of Odin, different computers, but still get "FAIL!". I read the forum, but did not find a solution to the problem. Help me please!

Thanks! (sorry for my English)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ernesto.martinez.mezquita:
Hi,

Do you load all files (AP, CP, BL, CSC) ?. I had the same fail than you, but I reparied loading in odin all files, and change AP for TWRP md5

Actually i had problema with rom because i cant install in SM-T515 by Odin, and there isnt TWRP version. I hope somaone make one (my knowlogde about program is 0)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Fin9ers:
Hello,

My sm-t515 is on ASEH with TWRP.

What is the correct way of updating my firmware and twrp versions? Can I use OTA and then flash the twrp zip? Or do I have to use Odin to update and install twrp?

EDIT: One other thing, how does one go about updating magisk? Do I have to create a flashable twrp image or can I just flash the magisk update zip? The guide linked talks about creating the magisk twrp image, but doesn't explain updating it
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Well, the problem right now is that both TWRP and custom ROMs will replace the boot partition in order to update the kernel. We've got to do that to disable the Knox boot security features, but it can't be done on-the-fly. We've got to rebuild the kernel with those options disabled in the defconfig. That means that TWRP and the custom ROM could potentially be replacing each other's kernel.

Since TWRP contains its own kernel in the recovery partition, it should never replace a custom kernel installed by a custom ROM, which should be closely paired to the vendor partition. For that reason, future .zip updates for TWRP will *not* include the boot partition. (If you're installing a .zip update in TWRP, you've already got the Knox boot security features disabled.) Odin tarballs will continue to contain it, so that clean installs of TWRP will disable those Knox boot security features that would otherwise prevent you from booting the system.

For now, you can do the same thing by extracting the recovery.img from the TWRP .zip update and installing that image to the recovery partition in TWRP->Install.

I really can't speak to Magisk, since I don't use it myself and do no testing with it. Any changes that I make to the system are done through TWRP File Manager.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mulperi:
You need to install the Magisk Manager. Then it takes care of updating itself and also Magisk when an update appears. Just use the recommended method when prompted.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Fin9ers:
I'm actually not using a custom ROM. I tried the Nexus rom floating around but didn't like it much. So I reverted back to official firmware.

The reason I ask about updating is because I'm not in the mood to spend an evening messing with a boot loop or similar hurdle.

I want to keep all my data and update to the latest samsung official software. But am concerned it might mess up TWRP. I also can't be bothered to mess with Odin, so a simple update procedure without a PC is what I'm trying to figure out.

Will an OTA break TWRP?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Yes, if it updates the recovery partition. That's usually the case for Samsung OTA updates.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Fin9ers:
Looks like Odin is the way to go then.

Thanks for your help buddy
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] redhonker:
Is there a thread posting the stock ROM zip file to flash with TWRP?

Thanks
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chilo141:
wth i updated twrp through odin and now it ruined my root what seems l like forever. it gave me only official binaries crap i cant flash anything to this tablet now. only thing i can do is flash stock firmware. even from stock i still cant install twrp now? is there something wrong with this version that locks up the tablets? wow now no matter what i flash it says only official binaries can be flashed. even stock!!! wtf is this!? do i have to flash the kernal too?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
It sounds like you're another victim of Samsung's VaultKeeper. In order to avoid that, you *must* reboot directly to TWRP recovery after flashing and immediately install the Multidisabler. If you let it reboot to system even once, VaultKeeper will put you in this weird state where it appears that your bootloader is unlocked...but it really isn't.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chilo141:
thank you so much for your quick reply im trying to fix it right now. how can i reboot directly to twrp if i cant even flash it?

---------- Post added at 07:00 PM ---------- Previous post was at 06:55 PM ----------

after flashing stock i put into download mode as soon as i try to flash twrp (any version i downloaded all 5 and tried all 5) i get the binary error
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] vlrgamaley:
How install twrp on T510XXU2ASK5 step by step? I ask that question beacuse software in the first post of the thread haven't the same numbers than my OS version.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ibanezbass:
I ran into this as well and fixed it. You have to flash stock, go through the initial setup, then go enable adb (may not be required). Send an “adb reboot bootloader” or boot manually into download mode and profit.

Mine absolutely would not flash TWRP until I finished the initial setup.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] 1337haXXor:
I still can't figure out why my Odin is hanging. This is a fresh TWRP install. Step by step:

Bootloader is unlocked (option displays as checked is dev options) (Bonus: Had the table more than 7 days as well)

Power off tablet, hold vol UP+DOWN, plug in, get into Download Mode.

Using Odin 3.12.7, I select the T510XXS2ASK1-20191207.tar.md5 in AP mode and prepare to flash (tripled checked I'm currently on that exact firmware).

Click start and get:

<ID:0/005> File analysis..

<ID:0/005> SetupConnection..

<ID:0/005> Initialzation..

<ID:0/005> Get PIT for mapping..

<ID:0/005> Firmware update start..

<ID:0/005> NAND Write Start!!

<ID:0/005> SingleDownload.

<ID:0/005> boot.img.lz4

Then it just hangs. That's it. Can't go any further. What am I missing?

Download mode displays at the top left corner:

Odin Mode

Download Speeed: Fast

Correct product name, official binary, FRP and OEM Locks both off.

Secure Download: Enabled

Then other ID's I don't think are relevant.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] neilzoo:
FAP LOCK: OFF

OEM LOCK: OFF(U)

Secure Download: Enable

Flah TWRP-3.3.1.5 from Odin 1.13

Operation failed.

Only official relesed binaries are allowed to be flashed(BOOT)

Why is it not flashing?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
This is Samsung's VaultKeeper "feature" at work. If you unlock the bootloader and allow it to reboot into system, VaultKeeper will put the device into this limbo state that looks like the bootloader is unlocked...but it isn't. Only signed OEM binaries can be flashed.

The workaround is to flash an OEM official release (tarball) in Odin, go through the steps to unlock the bootloader again, and then flash TWRP and install Mutlidisabler immediately before allowing the device to reboot to system. If you're not fast enough with the keys and inadvertently allow it to reboot to the OEM system, ensure you're connected to the Internet and then enable Debugger Options and confirm that you can see the OEM Unlocking open is set (and disabled). If you do that right after the first reboot to system, VaultKeeper will allow the bootloader unlock to stick. Otherwise, it will put your device back in that limbo state.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jaladhjin:
Any idea what I could humbly request this seller get me info wise to verify whether I could do this process to this specific device ? https://swappa.com/listing/view/LUBF11658
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Big_Brother_Is_Watching:
T510XXU2ASK5 December 2019 Update

I bought a refurbished 2019 Tab A with the Decemeber 2019 Update T510XXU2ASK5 already installed.

Is there any way to downgrade safely so I can install the twrp-3.3.1-5-T510XXS2ASK1-20191207.tar.md5 file?

Thanks
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] themontyhouse:
Thanks for the heads up! I'm trying to convert back to stock firmware and the only one I have is the sk5 and I didn't want to wait.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Just a quick update: Samsung posted the T515XXS3ASK5 source last night, so I expect T510XXS2ASK5 to follow soon. When that happens, I'll update TWRP for both the SM-T510 and SM-T515.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Okay, kernel source for T510XXS2ASK5 was posted yesterday, and I've now released of TWRP 3.3.1-6 for both SM-T510 and SM-T515. Not much has changed, other than the kernels.

Note that I'm now posting incremental updates as .img files, since the recovery image contains its own kernel and I'm concerned that the old OTA update might stomp on another custom kernel in the boot partition. If you've already got TWRP installed, there's really no need to replace the boot partition (or vbmeta).
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DAOWAce:
I don't understand these things, but thanks for the update.

Having a slight idiocy when updating to the new version right now.

Instructions say "Tap Install, Install Image, select your image (.img) file, and then swipe to install"

When using the .img file, TWRP says "selection partition to flash image", then lists Boot, Recovery, System, Vendor, Product. Just "swiping to install" as the instructions say doesn't work, it says "no partitions are selected for flashing".

I'm assuming we pick recovery, but just to be sure (and not brick my tablet or wipe my data), which one do we choose?

It's been months since I originally rooted my tablet and I don't remember doing this, and trying to search the thread it doesn't seem like it's been mentioned.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Yes. I've tried to clarify the instructions on how to install a custom recovery image in TWRP.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Fruggler:
Magendanz,

I love how active you are on al your posts and guides for the Tab A. I've read through and tried multiple times to get around the VaultKeeper, where it no longer allows you to install a non official img, but came up empty handed every time. Earlier someone reported being able to use USB debug and ADB to fastboot into the boot loader but I also received the same error without a solution. Do you happen to have any other tricks that may work? Would it be possible to add it to the first post or a link ask others seam to have similar issues?

Thank you again for all the work and time you have put in!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
I've found that recovering form VaultKeeper is really quite simple: You just flash the OEM firmware.

When that's done, connect to the Internet during setup and then enable Debugger Options so that it isn't triggered again. This isn't really a problem specific to my custom ROMs or TWRP, so it should probably be its own topic.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] zzjea:
HELP. I have unlocked my bootloader and rooted with Magisk and waited until the latest kernel was available to do TWRP. I just put TWRP on the T-510 but all the internal storage folder names became gerbish and unrecognizable. I could not do the Multidisabler because you can't read any file names. I did a Wipe/Factory reset and now I have lost my Unlocked Bootloader and it is a loop with a message "Only official released binaries are allowed to be flashed". I can't get past this loop with any button combination so far. Please help. Thanks.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
The gibberish filenames is from file-based encryption (FBE), which isn't supported in this build of TWRP. You've got to format the user data partition after installing multidisabler to disable FBE.

By rebooting to the system partition without connecting to the Internet and immediately enabling Developer Options, you triggered Samsung's VaultKeeper and your bootloader is no longer truly unlocked. The easiest way to fix this is to restore to OEM firmware and start over.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] zzjea:
How do I get out of the out of the loop? It will not go beyond the initial screen "Samsung Galaxy Tab A". It does not show up on my PC's devices so I can't access it from there.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Launch Odin and connect a USB cable, then reboot holding Vol Up & Vol Down to enter Download mode. Hit Continue on the blue screen and then flash the OEM firmware in Odin.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] zzjea:
Thanks.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Big_Brother_Is_Watching:
You're good man. I had the same problem. As long as you've downloaded Odin you're fine. The bootloader should be forever unlocked. You will have to download the latest Samsung rom for the 510 and flash it With Odin. To do that you will have to put the phone into download mode. I forgot the key combination to put it in download mode, but the instructions can be found on this forum somewhere.

After you've flashed the original rom back on, understand it does not work well with Magisk. I recommend flashing the Nexus rom for the 510. It is basically Lineage OS GSI. It comes with TWRP already installed. Just follow the instructions for the Nexus rom and you should be good.

Do not flash the Bromite mod with Magisk. It doesn't work with the Nexus Rom. I have had no problems flashing any other mod.with Magisk.

Good luck.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] zzjea:
At this point I am back to original OEM ROM. I just noticed that for TWRP I have to do a wipe/format and it looks like I will need an external SD card to use files from in recovery. I don't have one and do I need one to download zip and img files to? Thanks for the feedback.

---------- Post added at 03:20 PM ---------- Previous post was at 02:22 PM ----------

Also, I have the ....ASK5 kernel and the latest Nexus ROM is built on an earlier one, so I can't (shouldn't) load the Nexus.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] zzjea:
I am back to original OEM (....ASK5) and all is back to normal except I am no longer rooted with Magisk.

1. Do I need an external SD Card to do zip and img loads with TWRP after the wipe/format?

2. Is there a new kernel with the Nexus ROM install? I am on ....ASK5 now.

Thanks.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
Yes, you need an SD card because when you format the data partition, it will erase any zip files on the internal SD. So you need to put them on an external SD. I don't really see the problem with that 'cause they are cheap. You only need one with a couple gb capacity. As far as the kernal goes, you can first flash the stock ROM linked in the OP. That one will match the TWRP tar.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
You should be able to copy Multidisabler and image files over to the user data partition via MTP or ADB in TWRP after it's reformatted, but I also keep them on a microSD card for convenience.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] zzjea:
I have TWRP installed but I want to root as well and I think I missed a step. Magisk doesn't seem to install from the app even though it says it did. Can I fix this or do I need to start over?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] zzjea:
I have TWRP installed but I want to root as well and I think I missed a step. Magisk doesn't seem to install from the app even though it says it did.

Can I fix this or do I need to start over?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
I don't use Magisk, but [MENTION=7187684]ianmacd[/MENTION] has put together an excellent guide here. Just about everything he says there also applies to my TWRP builds for the Galaxy Tab A 10.1.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paolocorpo:
Dear all

I have the tablet as picture below

May I use the twrp as suggested in OP ?View attachment 4954403

Inviato dal mio SM-T515 utilizzando Tapatalk
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] zzjea:
Everything is working on my SM-T510. TWRP is installed and I am rooted with Magisk. Thanks to all who assisted me and especially to the developers who made this device even more useful and interesting. I am not a developer but I am a frequent user and hope to see an updated ROM that I can try with my ......ASK5 kernel. I also installed a quick boot app to easily get to Recovery or Bootloader when neded (I don't like pushing all the buttons) from the System.

Thanks again....
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paolocorpo:
[RECOVERY][UNOFFICIAL] TWRP 3.3.1 for 2019 Galaxy Tab A 10.1 [SM-T510/T515]

Dear

Could you clarify me which are the most important benefits that you are facing installing this custom unofficial recovery ?

And which are those related to using Magisk ?

I have a T515 model and I am facing a tablet a little bit slow

So my first target would be to speed it

Thanks

Paolo

Inviato dal mio iPhone utilizzando Tapatalk
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Rotom128:
I changed all the settings, unlocked the bootloader, etc. and when I go to download mode and have my device connected to odin and try to install twrp through AP it just gets stuck and then finally fails after a few minutes and a message in the top left of my tablet is added saying something about only official binaries being supported so I don't know if that maybe helps with figuring out this issue.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
You've just triggered Samsung's VaultKeeper "feature". If you search for that term in this thread, you'll discover how to work around it.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Rotom128:
Thanks. I got TWRP to work but I lost my OS so I installed Lineage OS.. looks to be good now.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Skyfire1:
Link to LOS please :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] elwhiteboy01:
Hey I just purchased the T510 like 2 days ago. I unlocked the bootloader. I have Odin 14.1 and my build is the u2ask5. Nothing flashes in Odin.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] biroyo:
Buenas amigos después de 5 hora de intentar instalar el recovery en mi t510 encontré el fallo a que no se instala

Los paso a seguir son

Primero tiene que hacer un wipe Factory entrar y no activar las cuenta Google y tampoco la de Samsung ,una vez dentro.

Activar la opción de desarrollardor y activar el bootlader.

Sino sale adelantar un mes la fecha y conectar a internet y debía de aparecer.

Segundo paso a seguir apagar y ponerla en modo download.

Abrir Odín y poner el recovery, probé con el s2ask1 y con u2ask5 y funcionarán mi kernel es el u2ask5, espero que os ayude.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] fosseperme:
i have builded a pitchblack recovery for T510...but if try flash it with all versions of this TWRP recovery...i take stuck in check for digest...please fix asap for permit to give to users another recovery alternative to TWRP.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] 0KimT1:
hi

when i do a safetynet check on magisk, i get ctsprofile: false.

does anyone else have this issue?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Looks like Google just made a server-side change to SafetyNet that is now preventing Magisk from spoofing a locked bootloader.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
I'm actually in favor of this. I think that using a mobile device for banking is a bad idea anyway. And I don't use my tablet for game playing. I can see how it could frustrate some users but knowing that malware users are among those being frustrated, makes it worthwhile.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] 0KimT1:
hi

so when i check software information in settings, it says I'm on ASI4 and security patch level 1 August 2019.

i flashed the ASK5 IMG file, selecting recovery partition, but nothing has changed in the settings??

please help

UPDATE: ignore the above pls, the img file was for updating TWRP only not the system
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] riverstyxxx:
On T510 I keep getting the 'secure download enabled' and 'only writes verified images' and it hangs. This is in download mode. I did notice a firmware update, havent applied it yet.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Congratulations, you've discovered Samsung's VaultKeeper "feature"! You may think your bootloader is unlocked, but it's now in a VaultKeeper hybrid state that only appears so. You'll need to revert to a signed OEM build and then follow the instructions carefully so that you don't trigger VaultKeeper again.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] akira128:
can't flash twrp recovery image

So, my SM-T510 tablet just arrived today.

I upgraded it to the T510XXU2ASK5 firmware + unlocked the bootloader.

However, when I try to flash twrp via heimdall w/

heimdall flash --RECOVERY twrp-3.3.1-6-T510XXU2ASK5-20200215.img

I receive the following error

##########

Uploading RECOVERY

100%

RECOVERY upload successful

Ending session...

ERROR: Failed to receive session end confirmation!

Releasing device interface...

###########

When I try flashing the twrp-3.3.1-6-T510XXU2ASK5-20200215.tar.md5 image with odin, it just hangs for several minutes, then displays the following error msg: Complete(Write) operation failed.

What's happening? I've flashed samsung phones + tablets dozens of times, I've never run into this type of issue.

update 1:

Ahhh...I think this question has already been answered. Going to try flashing a stock T510XXU2ASK5 rom and see if that works.

update 2:

I just flashed an official OEM release. However, when I enable developer settings, I don't see the OEM unlock option anymore. I still can't flash twrp.

update 3:

after reading another forum and adjusting the date/time...etc, I got the OEM unlock feature to return. However, when I try and flash twrp, I still get the 'Custom Binary(BOOT) Blocked by OEM Lock. How is that possible? I flashed an official OEM release rom. I think we need much better instructions. Nothing seems to be working.

update 4:

finally got the bootloader unlocked. I powered the tablet off, unplugged the usb cable, then held (both) vol up + down keys down (at the same time) and inserted a usb cable. Didn't need to hit the power button or anything. Took me right to the bootloader unlock confirmation screen.