yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ChangeToTower:
Yes, flash with TWRP. And latest Magisk canary is recommended as well. Works flawlessly.

Only thing I noticed after several days of testing is that face unlock is not working.. Which would have been very nice, as our Tab A 2019 has no fingerprint sensor. Magisk module for face unlocking isn't working either unfortunately..

Anyone got a solution?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Yes, you need to install in TWRP, wipe data, and then if all goes well you should be able to reboot to system.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] testguest:
That's my problem. After flashing your T-515 image I get the nexus splash screen, followed by the TWRP splash screen. That's where it gets stuck.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Oh, that's because you forgot to wipe data in stock recovery before flashing the custom ROM. Unfortunately, TWRP hangs when it encounters file-based encryption and I haven't yet discovered how to fix that. (See "not working" list.)

So, just flash the stock firmware again in Odin and then start from the beginning of the instructions in the OP.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
New build (20180828) just posted, and Google Play Protect now plays nice. You no longer have to register your GSF ID. (Thanks, [MENTION=1915408]phhusson[/MENTION]!)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ChangeToTower:
Do you have any idea how to get face unlock working on this ROM?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] StarGeneral:
I tried installing this ROM and i am stuck with Odin not beeing able to flash the AP. It fails after writing product and a red line in the bootloader-Screen appears: "only official released binaries are allowed to be flashed (boot)".

What should i do?

I unlocked the bootloader and wiped / factory reset before trying various times...

E: RMM state "prenormal" was the problem - was able to work around using this guide: https://xdaforums.com/galaxy-s8/how-to/how-to-bypass-rmm-prenormal-to-install-t3891193

Probably this should be added to post #1?

I installed NoKnox-T510XXU1ASEF.tar.md5 first and then the ROM from this thread, but the separate step of installing NoKnox was probably not needed.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
NoKnox and TWRP are both included in this custom ROM, so there's no need to install either separately. The error you got was because you'd triggered VaultKeeper.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] StarGeneral:
Thank you for your feedback. I was not aware that there even is something like vaultkeeper :D
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jthibault27:
Droiders,

I've got magisk,twrp,edxposed, the whole deal. This is my first time away from a Samsung core (I have an S6, s7, s8 (snapdragon) and s8+ snapdragon (Canada and USA can't root) I bought an a8 just to be able to root. this is my first nexus build. so please humor my questions. All seems to be working, expect in OP (first page) MTP not working. does that mean file transfer through USB debugging is not an option? or I don't have the proper windows drivers since it doesn't auto-discover on my file explorer?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
You can still transfer files with adb push and adb pull, once you've got USB Debugging enabled (or if you're in TWRP). For regular file transfers from Windows, it might be easier to use a file manager that supports SMB. My favorite is the ASUS File Manager.

Eventually we'll get MTP figured out, but it's tricky on Samsung devices. My tablet shows up in the Windows 10 Device Manager as a Standard MTP Device under Portable Devices, with no errors in the event log, yet the device still doesn't show in This PC. I really don't understand it, but I've heard it's related to support for file encryption.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jthibault27:
MTP

Best answer a guy could get. Great debloat and Rom. Often one (me) wonders (did I accidentally toggle a setting such as USB default in developer mode?) my android ADB windows tool does connect, there lies the confusion. Thanks Again!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] testguest:
Works great on my T515. Very smooth rom, many thanks to [MENTION=903232]Magendanz[/MENTION].
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Zgregy:
Hello,

Thankz for the ROM and work.

I do every step (3 times) and the boot block on the G logo with the process bar.

I don't understand.

If you can help me...

(Sorry for my english, I'm french :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
How long are you waiting? That first boot will require several minutes on the Pixel boot animation before it shows the setup wizard. You need to be patient.

And when in doubt, do a factory wipe in TWRP.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Zgregy:
After a wipe, I wait 45min... and the animation still running :laugh:

Do you think it's possible have a boot log on TWRP to understand ?

In TWRP, when I do a wipe, I have this message :

Unable to find partition for path '/system_root'

Perhaps the source of my problem...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Are you wiping the system partition? You definitely don't need to do that. When I talk about doing a factory reset or factory wipe, I mean Wipe->Format Data...not Advanced Wipe.

If there's a problem with TWRP wiping the system partition, I'll look into that, but that shouldn't be necessary for this.

UPDATE: I wasn't able to reproduce that /system_root error, even when trying to wipe the system partition. At this point I'd recommend starting from scratch with a full restore to the T510XXU1ASEF OEM firmware package.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] picasso2489:
Nothing but matters

I am on the same wrong way.

Ive tried with Odin v12 v13 and the patched v13 Version and the OEM in Dev-settings is "on", too.

edit:

i´ve also installed DBT-T510XXU1ASEF-20190607130310.zip before... and this stock-version works.

But odin will always stop by writing recovery.img... - also the *Nexus_Stock_T510XXU1ASEF-20190828* wont work...

What ist my mistake to get this error?

EDIT2:

I´ve did not realy unlocked the bootloader: OEM-Unlock ist not enough!

So you´ve got to:

- power off

- pressing the vol+ & vol- and then connect to PC

In comming-up screen you need to long press vol+ to unlock the bootloader! (see and read screen)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] P3aK:
I'm also stuck on the G logo, SM-T515.

Waited 5h+ first time.

Finally went back into Download Mode and reflashed, tried in TWRP without any Wiping this time, same thing.

Reflash again, and in TWRP tried Advanced Wipe and choose only Data, same thing.

I also get the " Unable to find partition for path '/system_root' " weather I do Advanced Wipe or just Swipe to Factory Reset.

Tried now with the Format Data button in TWRP as well. Same story on all accounts, Unable to find partition /system_root and stuck on G logo.

YES Bootloader is unlocked (wouldn't have made it this far without)

YES I did Wipe data/Factory Reset in Recovery (I can get into TWRP just fine)

Used Nexus_Stock_T515XXU1ASEH-20190828.tar.md5

Now downloading stock firmware to try from the beginning. Sigh... 4h 21min left.

EDIT: While waiting for the download to finish I tried starting the ADB Sideload feature in TWRP and I get "Unable to find partition for path '/system_root' " here as well.

And Starting ADB Sideload...

but nothing else. It won't start and I can't push or pull anything.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] picasso2489:
If Bootloader isn´t realy unlocked, you can´t see a warning-sign every restart, isn´t?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] picasso2489:
Did you´ve tried to mount "system"-partition before?

I´ve till now unlocked bootloader, installed magisk.zip after noknox and twrb in odin - wiped factory and so the ASEF-Version run now.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Note that I just posted an update that fixes MTP support, so you can finally transfer files via USB without adb. The SM-T515 build hasn't been smoke tested yet, but only the boot and recovery images have changed and so I'm feeling confident.

UPDATE: The kernel configuration setting I enabled to restore MTP is called CONFIG_SEC_FACTORY, and is described in the Kconfig as "SAMSUNG Factory build option" to "Include some codes for Factory binary." Looking at the source, this setting has broader effects than just MTP, affecting other Samsung proprietary features such as the Music Manager (MUIC), antenna jack switch (Arizona), NAD Balancer, and some sensor and security settings. While I haven't noticed any problems yet on my SM-T510, I'd exercise caution on an SM-T515 until it's been properly vetted by beta testers.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] massivekind:
I've tested it quickly but my 515 got stuck at the "G" logo. I've formatted the data, but still the same
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
I totally jinxed it. :(

Have reverted to the previous release for SM-T515. Others interested in testing can get the 20190906 build here. I may also build a more tightly scoped (but less elegant) solution for the SM-T515 later this weekend, if I have time.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] massivekind:
Just take your time :svetius:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] testguest:
It works fine. You just need to flash multidisabler-t51x-1.41.zip again. No need to format or wipe anything.

MTP is also working now in TWRP and rom. Many thanks! :good:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Excellent! The Multidisabler should be baked into this Nexus ROM, so I'm not sure why that would make a difference and need to investigate further. (It shouldn't hurt, though, since it's idempotent.) For now I've restored the 20190906 build link for the SM-T515 in the OP.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] d4dave:
Been using this ROM for a couple of weeks on my T510 and it's been rock solid with only a couple of minor UI bugs. Will give the latest upgrade a go via a dirty flash (fingers crossed).

The minor UI bugs I've found:

1) with auto screen rotate turned off, the little manual rotate symbol that appears in the bottom nav bar is out of place but if you touch where it should be to the right of the previous apps button then it works fine.

2) in landscape mode when you pull down the status bar the 6 quick setting tiles (wifi, bluetooth etc) are wider than the notification message width. In portrait mode it works fine.

Sorry I don't have screen shots, hopefully the above descriptions make sense. let me know if now and I'll try to screen shot them.

Otherwise awesome ROM, keep up the great work.

Edit: dirty flash seems to work fine for me. Only wiped cache and dalvik after flashing on Odin.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Triscuit:
Picture to confirm "#2"
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] testguest:
I tried booting without flashing it. The result was my device also got stuck at the G. After flashing the multidisabler it went trough.

It's still in 20190906 (T515).
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] d4dave:
Yes I'm reporting these against the 20190906 release
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Thanks! I've reported those both as issues on [MENTION=1915408]phhusson[/MENTION]'s GitHub repository (#665 & #666).
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
This one has me really confused, since I'm running a version of the same Multidisabler script in Linux when I'm preparing the vendor partition. (The system partition is a GSI, and so it shouldn't be finding any of the Samsung security "features" on that.) I just ran the script again from a clean vendor image and diffed the results, and everything is working as expected.

I just can't determine what running the script again might change that would allow the full boot sequence to succeed. Any chance you can back up the vendor and system images after the "fix" so that I can diff them against the ones I'm distributing?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] testguest:
A TWRP backup of my vendor and system image partition?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Ideally, both vendor and system images, since the Multidisabler script works on both. You can also do it with the dd command in TWRP terminal or via ADB in TWRP with the following:

adb pull /dev/block/by-name/vendor
adb pull /dev/block/by-name/system
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] testguest:
Here is what I did:

- New clean install of "Nexus_Stock_T515XXU1ASEH-20190906.tar.md5"

- Got stuck again on the "G"

- Rebooted TWRP

- Flashed "multidisabler-t51x-1.41"

- Confirmed that it now booted to initial setup

- Rebooted TWRP

adb pull /dev/block/by-name/vendor
adb pull /dev/block/by-name/system

Will upload those two files tomorrow morning, if that was right.

Good night. ;)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Perfect! They should compress rather well, I'd think, since they started as sparse images.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] itsjch:
I got bricked when i shut off device and started charging when off.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Well, not really bricked, but you will need to hold Power & Vol Down for 7 seconds to reset. I'm working on a fix.

UPDATE: Problem is not related to the MTP fix, since it also happens in the 20190828 build. May take a bit longer to diagnose.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] itsjch:
When try to restore official samsung or anything I need to have power plugged in.

I am unable to boot back in to normal firmware and require to keep the power cord in to power device the unit got bricked hard by 20190828 build...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
I don't think you really understand what "bricked" truly means. The device will hang if you attempt to charge after a full shutdown, but that doesn't prevent a hard reset (Power + Vol Down) and you can most definitely roll back to the stock OEM firmware by flashing in Download mode (Vol Up + Vol Down with USB cable connected) after the hard reset.

Note that you can still successfully charge after a normal boot. Many of us weren't even aware of this bug for weeks because we simply charge with the device in standby.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Aurey24:
Edited post:

So I do see I need to downgrade from the latest firmware on my SM-T510, anyone have any good sites that legit? Getting a lot of downloads that seem sus because its not correct and is instead downloading tools that require admin permission. the one linked in the OG post seems to take 2 days and i'm baffled by that.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
I've just been using the latest OEM firmware releases available online here, in my case for the XAR region. T510XXU1ASEF seems to be current, but then we also need to wait for Samsung to post updated kernel source, which is needed to disable the Knox security "features".

Can't really comment on the download speeds from AndroidFileHost.com, but many others on XDA use it.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] SMOKEmcoc:
finally downloaded this rom and flashed it. pretty good bro thanks. its pretty snappy. what is Phh Treble Settings?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jthibault27:
I read the OP, Am I correct in assuming there is a battery charging issue? I noticed a cap on my charge (76-79%). Am I the only one experiencing the issue? When powered off anc charging, I only get the lightning bolt and circle. last flash is the mtp fix.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Today's build (20190909) eliminates the charging cap at 79% by using a more tightly scoped MTP fix in the kernel. There is still the hang in the Samsung state-of-charge animation after a full shutdown, but you can easily hold Power & Vol Down to force restart. Charging after system boot also works just fine, and the standby battery drain is so low on this device that I haven't felt any need to shutdown between sessions.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
That's a collection of hardware-specific settings for Treble added by [MENTION=1915408]phhusson[/MENTION]. You can read more about it here and here.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jthibault27:
thank you immensely for the rom and your brilliant work. I also thank you for pointing out that I wasn't alone out there (battery). I've been on XDA for a long time and often I'm too timid to ask a question since I often think it's something I did. I hope this answer helps others. I ran across your name in tV boxes (freaktab). I was like man this guy is everywhere! thanks again [MENTION=903232]Magendanz[/MENTION]

---------- Post added at 06:32 ---------- Previous post was at 06:31 ----------

thank you immensely for the rom and your brilliant work. I also thank you for pointing out that I wasn't alone out there (battery). I've been on XDA for a long time and often I'm too timid to ask a question since I often think it's something I did. I hope this answer helps others. I ran across your name in tV boxes (freaktab). I was like man this guy is everywhere! thanks again [MENTION=903232]Magendanz[/MENTION]
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jthibault27:
This is to confirm that the Nexus_Stock_T510XXU1ASEF-20190909.tar fixed the battery glitch running at 100% battery. you are an artist [MENTION=903232]Magendanz[/MENTION]. All other systems nominal. FYI two users if you want to get rid of google Apps such as books magazines duo etc. I have found it deleting them prior to signing in Google doesn't attach them to Market. No updates!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Aurey24:
OMG props to the dev and his kind hearted work!! Got this rom flashed successfully without flashing a downgraded stock rom and it works flawlessly, I even installed magisk and got it to pass safety net! :) I'm extremely happy and this rom is waaaay more snappier then the stock trash, will donate sooon
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
If you're talking about which Google apps are included, I'm just using the OpenGApps Stock package...with one exception: I manually delete AndroidAutoPrebuilt because Google is phasing it out for Google Assistant driving mode.

From the OpenGApps Wiki:

Since we've got the room in the System partition, I figured that I'd try to match the stock Nexus loadout as closely as possible.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chestertranso:
Wow, thanks for the great ROM! Took me about 30 hours and a lot of trial and error to get it up and running cause I'm an Android rookie (I'm more familiar with Ubuntu server, desktop and OSX) but I got it done and the final product is a beauty to behold. Great work!

Hey Magendanz, Do you have any advise on how I might get Ubuntu desktop running on the Galaxy Tab A 2019? My ultimate goal in rooting my machine was to move completely away from Google.

I like the android system but I am starting to take my personal privacy a lot more seriously given recent developments. I'm not a big fan of how Google Play Services constantly harasses me for access after I revoke all of its permissions. It threatens that it won't play nice unless I give it access to my camera, microphone, body sensors, etc, etc, etc. Same thing with Microsoft. I can't edit my Excel spreadsheets unless I sign in., so I say forget it. I deleted Excel and installed Open Office.

So now I'm on an Open Source mission. I know that you;re working on the LineageOS which I would be happy to go with, but I'd rather go with something that's more familiar to me. I tried Linux Deploy but they no longer offer their images for free. I've tried Linux Complete Installer but it just doesn't seem to work.

Ideally, I'd like to go beyond just placing a linux layer over android. In a perfect world, I'd love to find a ubuntu Rom that I could load up with TWRP.

Any suggestions?

Thanks again for all your work on this
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Sorry, if there's a way to get a stock Android bootloader to launch Ubuntu, I'm not aware of it.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Kenaz Rune:
like you like you I am both a Linux geek and a person very concerned with my privacy. You can take a look at the (http://www.linux-magazine.com/Online/Features/Librem-5-and-the-Challenge-of-the-Free-Phone) librem phone, and micog. I have Micro G installed on my Moto X pure with lineage OS. And librem 5 is probably going to be my next phone and operating system.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] GalaxyNexus1st:
This Rom is so smooth and Stable I don't think I'll ever switch!!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chestertranso:
[QUOTE I have Micro G installed on my Moto X pure with lineage OS. And librem 5 is probably going to be my next phone and operating system.[/QUOTE]

Thanks for that Kenaz. I'll PM you so as not to hijack this thread.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] sscryperr:
great work mr [MENTION=903232]Magendanz[/MENTION].. mind if i ask, does it work with my t515 version is T515XXU1ASCI with this Nexus_Stock_T515XXU1ASEH-20190909.tar.md5 ..

hope for the reply because i need to root this tablet for my kiosk project.. thx before
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ChangeToTower:
What is the easiest way to update from 20190825 ROM to 20190909? Just dirty flash the ROM only with ODIN?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
Yes. It will enter TWRP after the flash, but just reboot to system and all should be fine. No need to do a factory wipe unless you're coming from OEM firmware.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ChangeToTower:
Many thanks!

Edit:

Device now stuck at boot animation, after flashing the newest ROM with Odin. Do I have to flash NoKnox again? Or make a factory reset in TWRP? I actually have no clue on how to proceed..
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] P3aK:
If/When stuck on G animation: Press Vol Down+Power until the animation stops and quickly change to Vol Up+Power until you see TWRP.

In TWRP, flash Multidisabler-t51x-1.41.zip.

Restart System.

All is fine.

I literally had to do the same now to dirtyflash 0828 to 0909 on t515.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ChangeToTower:
Worked, thank you very much (-:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] P3aK:
Has anyone had any luck installing Netflix on this Rom?

I get: "This app isn't compatible with your device anymore. Contact the developers for more info."

And it won't allow me to install.

I extracted the app from my phone and installed it on the tablet. But it just crashes on lunch.

Ideas?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Pinage:
I use auora store to spoof it as a nexus device to download and use.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] P3aK:
Interesting!

Never used it before, but gave it a shot now.

Tried spoofing all the Nexus devices 10, 6p, 6, 5x, 5 and 4.

On all of them I get: "This device is not supported by the app." when running Netflix.

I uninstalled between each try and I automatically get logged out in between each Spoof so... How did you get it to work?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Pinage:
I basically spoof then install. After which open and it loads and play.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
With a clean install of this custom ROM (no Magisk), I just sideloaded Netflix from APKMirror and it worked fine. Still working now after several dirty updates.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DarthGW:
does magisk work in bypassing the netflix checks?