yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] strikoo:
Hi everyone. I need help.

I tried to flash this rom on OEM.

After unlocking the bootloader, I tried to flash with odin. it was a no go.

Then I tried to flash the TRWP recovery from this link

Odin Failed with error RQT_ClOSE!!

Now the tablet shows green screen with white triangle with message : "An error ha occured while updating the device software.... "

I tried using Smart Switch on PC but after download i got this message "This model does not support firmware upgrades and initialization"

I tried using Odin to flash latest OE firmware but after everything passes flash fails

<ID:0/004> cache.img
<ID:0/004> Transmission Complete..
<ID:0/004> Now Writing.. Please wait about 2 minutes
<ID:0/004> Receive Response from boot-loader
<ID:0/004> product.img
<ID:0/004> Transmission Complete..
<ID:0/004> Now Writing.. Please wait about 2 minutes
<ID:0/004> Receive Response from boot-loader
<ID:0/004> Transmission Complete..
<ID:0/004> Now Writing.. Please wait about 2 minutes
<ID:0/004> FAIL!
<ID:0/004>
<ID:0/004> Receive Response from boot-loader
<OSM> All threads completed. (succeed 0 / failed 1)

Is there anything I can do?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rw_on_xda:
I flashed Stock 5CWA1 and TWRP with Odin v3.14.4 on an USB Port 2 (Mar 2023)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] strikoo:
I only included AP from OE firmware and it passed.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] San_Load19:
Was able to install lineage-20.0-20230507-UNOFFICIAL-a64_bgN.img as desribed above steps.

But there is no storage space left to install any apps .

How to fix this ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rw_on_xda:
start over, beginning with stock
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rw_on_xda:
I'm trying to nail the unsuccessful GSI 13 install via twrp after format data.

phhusson offered a script to let a stock recovery run fastboot (in download mode)

does anyone have a stock recovery ( T510XXU5CWA1) ???
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
You can download it with frija.exe and extract it from the AP md5 file.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rw_on_xda:
ahaaa, really easy.

Thanks
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] thargy:
OK, I've tried this multiple times now without success. :(

I just bought a refurb from Amazon UK and it turns out it's a T515XXS8BUC2 (I was expecting a T510), from CHO (Chile)! So I have successfully (though stressfully) managed to restore from various levels of bricked using Samfw.com_SM-T515_CHO_T515XXS8BUC2_fac.

I have successfully unlocked the bootloader (can confirm it is greyed out when in stock ROM, as already unlocked, and also shows as unlocked when entering download mode).

I have tried flashing both 'twrp-3.7.0_11-0-T510XXU5CWA1-20230330.tar.md5' and 'twrp-3.6.0_11-2-T510XXU5CUL1-20220218.tar.md5' to the AP, using Odin 3.14.1, with 'Auto Reboot' off. On success, I press Power + Volume down to 'cancel' and immediately press Power + Volume Up to enter the TWRP. However, after the boot logo, it immediately goes to the warning screen stating 'this tablet's bootloader is unlocked and its software integrity cannot be verified", from which it enters a boot loop and I can't get any further.

Thanks to the suggestion of waiting until the screen is off in the loop cycle, before pressing both volume buttons and jamming the USB in, I've been able to recover from here to reinstall the stock ROM.

I would love to upgrade to Android 11/12, and to be able to install a newer WebView for my kiosk use case.

Any tips on how to get TWRP actually installed on this device would be greatly appreciated as I'm stuck.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Unfortunately, you can't use TWRP for SM-T510 on the SM-T515. You could try this, but it's very old and I never had an SM-T515 to test it (which is why I eventually dropped support for that model).
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] thargy:
Thanks for the clarification, if I were to successfully boot into that version could I update the TWRP version from there? Sorry if that’s a dumb question.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
If you restore the latest OEM firmware from here using Odin, you should be able to then flash the above TWRP build for SM-T515 in Odin following the instructions in the OP.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] thargy:
Sorry for the noob questions, but I've noticed that I have to be super precise to have any hope!

1. Does the firmware have to match the existing region (CHO - T515XXS8CVL1) in my case, or can I/should I pick a more appropriate one for the UK (BTU)?

2. By 'above TWRP' do you mean the 'twrp-3.7.0_11-0-T510XXU5CWA1-20230330.tar.md5' from the first (updated) post?

3. By 'instructions in the OP', do you mean that same first post? i.e. once I've updated the firmware to the latest one, I should be able to install the above TWRP as normal?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
If you're in the UK, then you should pick the latest OEM firmware release for that region (BTU).

Nope, I mean the one I linked above that's built for the SM-T515.

Yes, OP stands for "original post."
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Shiftone:
I'm probably doing something stupid but it's been many many years since I tinkered with Android and TWRP....

I'm trying to install TWRP on my T510 - I'm using the files from the OP - twrp-3.7.0_11-0-T510XXU5CWA1-20230330.tar.md5

I flash AP with Odin from Download mode

Reset (Vol - and power)

Enter recovery (Vol + and power)

I get TWRP.

First few times I tried rebooting to the main System, it kept rebooting to TWRP... I did a factory reset and now it boots the System fine.

Now when I try and get into TWRP (Vol+ and power) - it boots to the stock recovery...

I can put it in Download mode and flash AP again with the file above and boot to TWRP once. As soon as I let the system boot to the OS, I lose TWRP.

What am I doing wrong?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] alecxs:
standard behavior of each and every stock ROM - let TWRP patch this, it will ask you on first boot.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rw_on_xda:
I guess factory reset resets the recovery too ...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Shiftone:
I needed to flash the multidisabler after install. All working now.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lewmur:
No, Factory reset does NOT reset recovery. You are doing something wrong. Flashing stock via Odin WILL re-install stock recovery.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jim16127:
Could someone point me in the correct direction? I can't seem to identify which stock rom to download from https://samfrew.com/model/SM-T510/

The regions listed are confusing to me. I have a USA WiFi version but I see no indicative versioning or numbering on my tablet aside from T510XXU5CWA1. Which does not specify a region. ANY help is greatly appreciated.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rw_on_xda:
according to this website:

Samsung Galaxy Tab A (2019) Firmware Download SM-T510 Free Download

Samsung Galaxy Tab A (2019) Firmware Download SM-T510 Free Download ⭐ Official and fast update ⭐ Max speed and free download ⭐ Best Samsung Galaxy website

samfw.com

XAR seems to be the correct one
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DigiAngel69:
Hey all! I have this device...SM-T510 running T510XXU5CWA1/T5100XM5CVG2. I've downloaded twrp-3.7.0_11-0-T510XXU5CWA1-20230330.tar.md5 and attempt to flash in download mode with odin, but the flash always fails. I have unlocked the device so I don't think that's it. Security patch level is Dec 1 2022 if that helps. Any pointers would be wonderful thank you.

Meh..needed the img file as well as disable auto-reboot and away we go.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Napalm Candy:
I unblock the OEM and flashed the TWRP from the first post, and I bricked the tablet. It starts only on Download mode with the message:

recovery: Error validating footer. (6)
CUSTOM RECOVERY
VBMETA T510XXU5CWA1, 61134385A

I tried to download latest Samsung official firmware, but I can't flash it. Odin3 detects the COM Port and show the log:

<ID:0/012> Added!!
<ID:0/012> Odin engine v(ID:3.1100)..
<ID:0/012> File analysis..
<ID:0/012> SetupConnection..
<ID:0/012> Initialzation..
<ID:0/012> Get PIT for mapping..
<ID:0/012> Firmware update start..
<ID:0/012> SingleDownload.
<ID:0/012> sboot.bin.lz4
<ID:0/012> NAND Write Start!!

But nothing happens, I leave it for an hour, and nothing happened

What can I do?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rw_on_xda:
try odin v3.14.4 on an usb2 port
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Napalm Candy:
Please can you explain with more detail what you did? I am in the same situation.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Napalm Candy:
Thanks! it works on the first try!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chooban:
Still need an explanation of my part? Sounds like you've got it running just a few minutes ago
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] strubedo:
ok im having problems also it says my bootloader is unlocked i get the message its unlocked but it wont let me flash twrp it tells me only official binaries can be flashed whats going on here.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] waterpolo:
Mostly is that when the firmware version do not met. Check the first post.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] spnk_251209:
Can anyone help me? I am running lineage os 20 and I want to update my twrp. The one I installed doesn't work properly
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] waterpolo:
See first post for the install instructions.

Did you install latest Multidisabler?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] appsheld:
I can not flash the AP:

View attachment 6109625View attachment 6109626View attachment 6109627

View attachment 6109629
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] SeaOfFire:
@Magendanz i've been following you since 2019 & your work on Sm-t510.

we would like your help developing twrp for sm-x210?

can you help use with some pointers "Because we have a problem with encryption, display drivers and firmware of Magisk archives.

here the original post from op. of beta twrp for sm-x210

[RECOVERY][UNOFFICIAL] TWRP 3.7.1 for tab a9 plus [Android 14]

(Disclaimer: I am not responsible for any devices you may have broken while installing this TWRP Hello dear xda users, today me and Jamie and new developer Crlo will introduce the second beta build of TWRP for SM-X216B and SM-X210. This TWRP...

xdaforums.com

telegram link with sm-x210 twrp developers

https://t.me/+uMGTOaMHl8IyNWU6

you may not have the device but

we are lost an could use your help?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] waterpolo:
This is off topic. Why not sent him a pm?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
I've actually got two of these Galaxy Tab A9+ tablets, and so I'll take a look at it over the summer.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] SeaOfFire:
that'd be awesome. maybe i learn something from you!

The mods of the sm-x210 twrp telegram channel

would like me to invite you. when you have time.

here is the link. more devs the better.

https://t.me/+uMGTOaMHl8IyNWU6

to continue this convo please respond to my PM i sent you

thank you so so much

sm-x210 is for sure a tablet worth developing for!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] thepowel:
Hi,

I'm trying to install twrp, must be doing something wrong though...

I followed all the steps...

I always end up with : Custom Binary(RECOVERY) blocked by OEM Lock.

I reset the sm-t510 with SAMFW.COM_SM-T510_PHN_T510XXU5CWA1_fac, followed the usb debugging and oem unlock stuff.

The tablet is giving that 'warning unlocked' message when it boots.

I do see in the 'download' mode that it says OEM LOCK: ON(U)... -> culprit ?

What am i missing ?

See attach for more pics.

View attachment 6127410View attachment 6127412

Many Thanks!

Kr,

Pauwel
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
I've been meaning to adapt [MENTION=7187684]ianmacd[/MENTION]'s Multidisabler script to run in Linux vs. in TWRP on the device, so I'll take a stab at that next. That will allow me to automate the vendor partition changes, reducing the possibility of human error. Without the target device, however, my troubleshooting options are limited.

One thing that might be worth trying right now would be to build the Nexus custom ROM for SM-T515, just to take the OEM system partition out of the mix.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ChangeToTower:
Looking forward to test, once built!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ChangeToTower:
.. after flashing the new files, I can confirm that the updated file is causing a bootloop as well, finally ending in TWRP.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ChangeToTower:
Eager to test, would be great to have a custom ROM for the SM-T515.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Did you try wiping the data partition and rebooting to system again? Sometimes that's needed.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Just FYI, I made an official release of TWRP 3.3.1-2 today for both the SM-T510 and SM-T515. I haven't posted NoKnox for the SM-T515 because we still appear to be getting a bootloop when rebooting to system from TWRP. After verifying the vendor partition changes on that release, I don't see any errors, but we could try other methods like the modified Multidisabler script. (Unfortunately, I'm seeing another error in that causing a bunch of items in the system/init.rc to be unintentionally commented out, but I'm working with [MENTION=7187684]ianmacd[/MENTION] on troubleshooting that.)

Finally, I've built a custom Nexus Stock ROM for the SM-T515 today, but will post that on this thread.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] TipTricky:
Having an issue install twrp on mt sm-t510. I installed the oem release T510XXU1ASEF with ODIN then i tried to do NoKnox but it fails at recovery.img every time. Not sure if im missing something???
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ChangeToTower:
Doesn't work either..
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Well, NoKnox hasn't changed since we got the T510XXU1ASEF kernel source almost 2 months ago. In fact, I'm thinking of retiring it as soon as I can get the new Multidisabler script for SM-T510/T515 fully working.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] TipTricky:
So what should I do/try to get this to work? I did a factory reset after installing the kernel and then retried noknox and still stops at the same point at recovery img...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Well, I just checked the MD5 on the file share and it matches, but you might have gotten a corrupted download. I'd suggest checking your cable too, but if the OEM stock flash worked that's probably fine.

Alternatively, you could just jump to the Nexus Stock custom ROM, which includes TWRP as well as the custom kernel and multidisabler fixes from NoKnox. That's what I run.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Legend#4070:
hi, i am new to this stuff, i have the T510 model and I can't seem to flash Noknox it just freezes at recovery.img please help
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] SMOKEmcoc:
I'm trying to install the multiDisabler through twrp on my t519 but I get an error about it being the wrong devices
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
That's because this is built only for the SM-T510 and SM-T515.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] SMOKEmcoc:
Sorry typo it is a t510..ok i got it to work...i think i was trying to install the wrong one..ok so i installed then i formatted data...can someone explain how am i supposed to do the initial setup if it just keeps rebooting to recovery if i reboot to recovery and do nothing with the keys ...." L) In TWRP, format data (not only wipe, choose specifically "Format data" and write "yes" and go ahead and after DO NOT REBOOT

M) In TWRP, go back to the start screen - choose "Reboot" and choose "Recovery" AND NOTHING ELSE - DONT touch any keys on the device

N) Go back to John's instructions and begin from step 12"

step M if i tap reboot and choose recovery what am i supposed to do? itll just continuously go to recovery if keep doing that should i just reboot to system?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
That's odd, since I just checked it now on my SM-T510 and it worked fine. Could you post the TWRP recovery log on the SM-T510/T515 Multidisabler topic?

By any chance were you using an older version of TWRP than 3.3.1-2? Previous releases might have messed up the $ANDROID_ROOT.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] SMOKEmcoc:
I downloaded the wrong file the first time lol...ok so I installed multidisabler, wiped, installed magisk.zip, wiped, went to the first screen and rebooted to recovery, then rebooted to system, did setup, installed magisk, did its thing....now I have root no need for key combos :) thanks guys

Btw I reset and shut off my tablet several times without doing any combos to see if root would stick...it did :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kylerxx:
hi, so i tried to install noknox properly following all the steps and flashing was succesfull but now my tab is bootlooping please help me !

Edit : my tab stop looping and turned off so i could boot it directly in download mode, and reinstalled base firmware, but now i am really scared, can anyone help me here's my discord : Legend#4070
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
First of all, don't be scared. Since we're not touching the bootloader, there's very little risk of not being able to fall back to a known-good ROM if you get into trouble. When it doubt, just hold Power-Vol Down for 7 seconds and then Vol-Up & Vol-Down, which will do a hard reset to Download mode.

It sounds just like you forgot to do a factory wipe in stock recovery immediately after the NoKnox flash.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
A new build (v3.3.1-3) is posted that restores MTP support. Just for the record, the trick was in setting CONFIG_SEC_FACTORY in the kernel defconfig. (This does the same thing as commenting out CONFIG_USB_ANDROID_SAMSUNG_MTP in older Samsung kernels.)

Note that I've also taken this opportunity to include a boot image with the custom kernel, which effectively eliminates the need for NoKnox. Running Multidisabler from TWRP will fix up both the vendor and system partitions on OEM stock firmware.

SM-T515 beta testers: Could you please verify that this build runs on your hardware? twrp-3.3.1-3-T515XXU1ASEH-20190907.tar.md5
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] sanhapie:
I tried this file. The twrp is not working. It shows only the logo of teamwin and freezes at that. Should I try the file at the front page? I presume it is different from the time code in the file name.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
You MUST wipe the encrypted data partition before flashing TWRP or it will hang on the splash screen. Please follow the installation instructions in the OP carefully.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Note that I just released the 20190909 build, which includes a custom kernel with a more tightly scoped fix for MTP. The most visible change is that charging in TWRP now won't cap at 79%.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] sanhapie:
I did follow the instructions in the OP for the SM-T515, which has been updated by you recently. Let see whether other testers will have different result.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Ah, well the SM-T515 isn't hardware that I have here for verification testing, and so YMMV. As a rule, I don't build for hardware I don't have, but I'd hoped it would be substantially similar to the SM-T510. Frankly, I'm looking for someone who has the LTE version to take over development for that device.

I think the odds of Samsung sending me a SM-T515 are pretty low, considering that they don't even sell them in the US.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ernesto.martinez.mezquita:
Hy, im a spanish user. Sorry for my English :rolleyes: I have read that all guide is about May firmware

I have SM-T515 without updates, my firmware is form march (T515XXU1ASCK) I thought try install first May update, and after August update but Tablet directly install last update

Is it this guide valide to my version? or I have to update to last version?

thanks
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Well, it seems the Spanish region received the August 2019 Update (T515XXU2ASH6) before the UK (or at least the BTU release isn't available on https://samfrew.com yet).

Yes, I suspect that you can install over the August 2019 Update just fine, but the safer bet would be to downgrade to the May 2019 Update first so that the kernels are matched.

Note that I have requested kernel source be posted for both the SM-T515 August 2019 Update (T515XXU2ASH6) and the SM-T510 September 2019 Update (T510XXU2ASI4). Until that's available, I can't update TWRP for those kernels.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] GalaxyNexus1st:
I just got the T510 and whenever I go to flash with odin it hangs up and fails. I get a message on the top of my Tablet that says "custom binary boot blocked by oem lock" but whenever I check it in Dev settings it says its Unlocked? I followed all your steps.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
You need to unlock the bootloader and not let VaultKeeper relock it. There are other topics in this forum that discuss bootloader unlock in more detail.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] GalaxyNexus1st:
Thank you I just unlocked it and flashed both the No knox AND TWRP Everything works great thanks ! I dont think it was very clear how to put into this tab into download mode tho. you have to hold it like a guitar holding both vol then plug usb lol. I kept doing vol up and power to boot into the wrong mode

---------- Post added at 07:23 AM ---------- Previous post was at 07:21 AM ----------

Any recommended roms for this tab by you?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Well, at this point I believe the only one is my Nexus Stock custom ROM, but you might be able to get some GSIs to work.

I'm really hoping that someone will build LineageOS 16.0 soon. I just haven't had the time.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] GalaxyNexus1st:
Im about to run your Nexus one full time then, ill keep reporting, I understand you on the time situation,theirs not enough hours in the day and in some cases night.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jimbo77:
Hello! First of all thank you for bringing TWRP to this devices. I just received a T510 and after successfully installing TWRP and then patching recovery.img from the twrp.tar file with magisk i'm rooted. However, i lost MTP while in system. I'm also not able to use adb at all (most be related to the same issue with MTP).

Is this related to the fact that the TWRP Kernel is the one being loaded when booted to recovery (as it happens with my S10+) and the kernel fixes on TWRP for MTP Break MTP when booted to rooted system? I know that was a known issue to the S10 before the fix in the latest update fixed MTP in both TWRP and ROOTED System. Can you take a look at it?

Is anyone else having the issue i described?