yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Originally this part wasn't required, but Samsung is updating most of their recent devices to include this new security.

However anyone who hasn't updated would get confused by the unnecessary step.

Also I don't want to have spell out every single step. Anyone who undertakes modifications is at least expected to have read/searched the thread and researched and have some understanding of what they are doing. After all the required info is out there if only people would bother to look.

I think all that is required is a note and a link to what's required really.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] KC Lee:
Please do not try if you have sm-t385LKLU1ARB3. Mine became a brick.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Extemely helpful and highly unlikely. :rolleyes:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] K2_Shadow:
Awesome guide! And thank you for posting this, helped me out a lot. Now that I have my device rooted (sm-t380) I was looking for custom roms for the model and have found nothing. Had anybody else found anything? Thanks!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] K2_Shadow:
Well, I happen to have done the same exact thing. I tried booting to recovery to disable ads. Now I am stuck in the same bootloop you are referring to. I have been looking around for my devices stock firmware and have no luck, my model number is SM-T380NZKEXAR. Anyone have any suggestions? Thanks.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Austcool:
There ought to be a project for bypassing the 7day wait for OEM unlock it driving me mad
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ptballer:
Been locked out for more than 7 days, device may have powered off during this time :/
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] SyberHexen:
System uptime should tell you in settings which should be close to 170 hrs at 7 days

(I jailed myself after rooting forgetting to wait again for oem toggle)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] SyberHexen:
[MENTION=4899305]ashyx[/MENTION] are you already working on a buildable device tree / proprietary blobs?

I've recently got this device and would like to help contribute if possible.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ptballer:
I cannot get OEM unlock to appear again. Can anyone help? I tried flashing twrp but got button combo wrong and had to flash stock operating firmware and havent had OEM unlock option for 10 days or more... have been leaving tablet on.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Eclipserazer:
Recently obtained this device.. android 7.1.1 with security patch Jan 1st 2018

Wondering if this would be a straight forward root using the OP instructions or would i have to do the other instructions on page 3?

And am i right in guessing that if i flash the newest firmware from updato (8.1 T380DXU2BRI6) root wouldnt work??
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Eclipserazer:
Ive had the same issue on mine.. flashes TWRP with no issues.. then i hold POWER + VOL DOWN + HOME until screen goes black switching to POWER + VOL UP + HOME

and everytime it boots into stock recovery.. so i gave up and just upgraded to a 8.1 ROM via ODIN..

But now i have another question.. id still kinda like to have twrp/root access is there anyway this is possible now? or does the device need to be on 7.1.1 for this to work?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Acogu:
I have upgraded to Oreo but now I can't install TWRP. When I flash it with ODIN and rebooted it stays in the Galaxy Tab Logo, with some text like the one appearing in Download Mode.

Do we need an updated TWRP file for the Tab A?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Matty1993:
I got that exact same thing on mine with the oreo update, did you manage to find a fix ?

Also if anyone can help I Flashed the twrp, did the button combo but booted straight to the galaxy tab screen with the Odin writing, you can actually flash stuff in this mode also, but I cant reboot the tablet or anything it only goes to this black Odin screen with galaxy writing, or download mode ??? Wont go to recovery or boot the OS or anything, and yes I made sure OEM unlock was on any help would be greatly appreciated.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Matty1993:
Hey mate the T380 is the model but the N-Z-K-E-X-A-R are all of the compatible model codes for the firmware binaries that are compatible for your device, in other words any firmware made for T380 and any region can be flashed to your device, be careful though also and make sure your numbers are right when searching as I downloaded a stock recovery and DM verity disable zip for Odin and flashed them and they did flash and pass but didnt realise until after that they were for the T830 and not the T380, always double check, lol

anyhow head over to sammobile.com for firmware for your device,

Make a free account (it is actually free) then select menu then firmware then type your model number into the search and wait for drop down results then select Tab A T380 then pick your region then select your version of the firmware you wish to download, click slow download (it's not as slow as it says) wait the 30 seconds then click download, I'd also suggest to use chrome browser as it can handle download sizes of up to 5GB I've had some errors I'm the past with IE explorer

take note though sammobile free downloads are down until Monday I'm stuck till then :( while I'm here anyone got a google drive link or mega link to the T380 (XSA) binary 2 firmware at all please :D
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
It's the changes in Oreo.

Will have to patch up the kernel and a couple of other things to fix this.

Will get to it when I can.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Matty1993:
Thanks for the quick reply mate, yeah I thought it may have been something like that, I've flashed twrp many many times to Samsung devices ( first time flashing twrp to a Samsung tablet tho ) never had problem on the mobile phones, I was getting worried it was something I did,

Anyhow will a stock firmware flush fix this issue and make the device boot again, while we wait for yhe oreo twrp fix as the tab it's currently only going to the proper download mode and then the galaxy logo with download mode writing, I much prefer exynos to Qualcomm myself.

Thanks :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
ExFAT isn't working?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Talich52:
Yes, the exFat format in the current version of TWRP is not supported :(

we have already discussed
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jerrylee8:
Very very thank you. I install decryption file and it's ok.

My micro sd cards it's a exFat format and TWRP not visible. If micro sd cards formated ntfs it TWRP visible but android claims that the card is damaged and has it formatted.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jerrylee8:
How to force twrp to handle exFAT
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Rooble88:
OP link to TWRP_3.2.3-1_sm-t380_4119 build is getting flagged for Trojan:Win32/Spursint.Q!cl by windows security.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jerrylee8:
Sorry but i don't understand

---------- Post added at 04:06 PM ---------- Previous post was at 04:02 PM ----------

I'm sorry I've understood.

I thought it was the answer to my question

"How to force twrp to handle exFAT" :D
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Great.

I now have everyone's bank details. :rolleyes: :silly:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Michel_Ney:
Hello ,

first: Thanks - good job.

One Issue: installing new release lineage-16.0-20190210-UNOFFICIAL-gt510wifi_ENFORCING.zip

=> under new version: no access to SD card (card denoted as damaged)-> I dont want to format it, because it contains BACKUPS from system.

I restored using TRWP (it works good) => the older version of this customer rom (android 9) is again working with the card.

With this version (dated 11/1/2019) I had no issues related to the card... Therefore I assume the access to the card is not working

properly everytime in the last release.

I tried to update two times with same result.

But: no issues with release from January.

therefore: chapeau.

Have a nice day

Martin
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Bit confused. Which version of twrp is not working?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] alexandr987:
Hello.

SM-T385, android 8.1, firmware T385DXU2BRK4, TWRP_3.2.3-1_sm-t385_5119

TWRP works, sees all partitions, mounts, makes WIPE.

But after rebooting into the system, a cyclic reboot occurs (

The system does not boot.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Magisk needs to be installed.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] alexandr987:
I used the magisk manager application, patched the kernel and flashed it using Odin.

Everything is fine, but there are problems with mounting the DATA partition.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
That doesn't make sense. You didn't need to patch the boot.img.

You're clearly not following the instructions in the OP as both issues are covered there.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Would anyone be able to test out the build below to see if it fixes the SDcard ExFAT issue. It should also auto boot to recovery after flashing with odin, so ensure AUTO-REBOOT is ticked.

https://androidfilehost.com/?fid=1395089523397900258
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Talich52:
The file twrp_3.2.3-1_sm-t380_23219.tar tried to flash on the model T385, got FAIL, I suppose the file is only for the model T380.

on the device, the inscription Secure check fail: cache

File recovery.img is stitched, but does not start, goes into Downloading mode

Let's wait for what the owners of the T380 say
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
The device is blocking unsigned cache images even though its unlocked, wth?

OK can you just extract the recovery.img and flash with twrp instead?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Talich52:
I have a T385 model, it is unlocked and Root rights are obtained, but the cache.img file is not flashed, it does not skip the bootloader :(

The recovery.img file was flashed through ODIN, first deleting the cache.img file from the tar archive.

recovery is stitched, but does not start

Offer to flash recovery.img through the installed TWRP? I think the result will be the same ...

Added by:

flashed recovery.img through TWRP, flashed successfully, but when rebooting into recovery, the device goes into Downloading mode

To restore, I flashed my TWRP through ODIN ...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Odd how unsigned boot and recovery images can be flashed with odin, but not cache images???

Anyway here we go for the T385:

https://androidfilehost.com/?fid=1395089523397900574
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Talich52:
Thanks you! I downloaded the twrp_3.2.3-1_sm-t385_24219.tar file and installed it via ODIN, I entered recovery...

In recovery, no partition is mounted - System, Data, Cache,Micro SD card, although the device is ruted and data encryption is disabled.

USB OTG is mounted if flash memory is connected in Fat32 format, exFat format is not supported
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
No partitions can be mounted?!

Using adb or twrp terminal. Can you post the output of:

cat /etc/recovery.fstab > usb-otg/fstab.txt

ls -laR /dev/block > usb-otg/block list.txt
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Talich52:
Yes, no partition is mounted : (

here is a similar screen from recovery twrp_3.2.3-1_sm-t385_oo_5119

...made through the terminal TWRP, attached.

I can not reinstall Recovery - file recovery.img nowhere to write
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
I'm really at a loss as to why TWRP is ignoring the boot device parameter which I'm guessing is why the partitions are not mounting.

The only change is building with 8.1 sources rather than 6.0. In no way should this be affecting mount points!

I will modify the fstab to work around the issue.

Is the Micro sd card still mountable if formatted FAT?

ExFAT still not working? :mad:

Here we go, hopefully partition mounting should be fixed now:

https://androidfilehost.com/?fid=1395089523397900848
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Talich52:
Unfortunately, nothing has changed, none of the partitions are still mounted.

Until I checked the mounting with the Micro sd card in Fat32 format, I'll do it later, the Micro sd card 64GB exFat is not mounted...

Added: Micro sd card in Fat mounted and working(4GB)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] obnoxioushandle:
I have tried everything that I can think of to get my tablet rooted. It's fairly important to me, as I would like to use it as a replacement for my desktop on the go when I am simply not able to use that. I've flashed the twrp file to the BL file with a recovery disk file to AP, and I have had the best results with that, and I have come close to nearly getting root access by doing that.

If it helps, I am using a Samsung Galaxy Tab A 2017 and I am desperate to get root status period, I would have never gotten this thing if I knew it was going to be this much of a hassle. If there is any information I can provide, I would be happy to do so. I am having enormous problems getting this to work. I've followed the instructions on how to do this over and over and I have had little luck.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
You haven't actually stated what the issue is?

More info needed including which device, firmware, the actual error.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] obnoxioushandle:
It is a Samsung Galaxy Tab 8 2017 T380 with Oreo 8.1. I've tried over and over again to root this, and I can only get TWRP recovery to boot if I throw it into the BL slot. In the AP slot, it does not work. Beats me why.

I am willing to downgrade this back to Nougat if I can figure out a way to do so; I need this thing rooted, somehow, and it is driving me crazy right now.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
No way should you be using BL to flash twrp. It may flash but don't use it. Use AP as it should be.

You still have not explained or offered any more info as to the actual error.

Also if you have already installed twrp and its booting then you need to provide more info as to what the actual issue is.

I won't be able to assist if you're not prepared to do the legwork and only offer generic replies.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Talich52:
For the T380 model, there is no way to downgrade the firmware version from 8.1.0 to 7.1.1.

On firmware 8.1.0, you should use the twrp_3.2.3-1_sm-t380_oo_4119.tar recovery file,

flash this file through ODIN as part of the AP.

If you installed TWRP, then to obtain Root rights, install the encryption disable patch via TWRP, make format data (not wipe data), install Magisk.zip of the current version 18.1
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] obnoxioushandle:
I have re-started the process repeatedly by reinstalling the stock firmware through ODIN, and then following your intrusctions as you have listed them. The issue is as follows: TWRP continues to tell me that I do not have root access.

I have installed the bypass file through TWRP. Then I format and reboot to recovery. I have installed the Magic .zip file through TWRP. Then I reboot, with the option of having TWRP pre-installed. I still do not get root access. I have tried this several times now (in case I have made a mistake somewhere along the way) but this is how it turns out each time.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
TWRP itself doesn't give you root. It only flashes zips, so I'm not sure where you are seeing it say you don't have root?

Installing the TWRP app is also pointless as you don't need it.

What does it say in Magisk manager?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Talich52:
after installing Magisk.zip from TWRP, boot to system, Root will not be visible, MagiskManager will also say that magisk is not installed, so you should reboot the device again, after which the changes will take effect and will be visible Root.

many times I have rooted my device and always at the first boot into the system, Root rights are not visible, so reboot the device again...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Which version of magisk are you using?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Talich52:
now this Magisk-v18.2-2019022801-ianmacd (2019022801).zip.

but when you update Magisk.zip this is not observed, an additional reboot is required if you do format data and install Magisk
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] PinEpi:
issues with twrp

All,

I upgraded to oreo and was the worst decision in my life! I'm trying to go back to Nougat by rooting the Samsung Galaxy Tab A 2017 SM-T380. Both FAP and OEM Lock are off. I use Odin latest version and load the twrp_3.2.3-1_sm-t380_oo_4119.tar in AP. I uncheck the auto reboot under options and hit start. I receive this fail... Any suggestions???

<ID:0/006> Added!!

<ID:0/006> Odin engine v(ID:3.1301)..

<ID:0/006> File analysis..

<ID:0/006> Total Binary size: 16 M

<ID:0/006> SetupConnection..

<ID:0/006> Initialzation..

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

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

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

<ID:0/006> SingleDownload.

<ID:0/006> recovery.img

<ID:0/006> RQT_CLOSE !!

<ID:0/006>

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

<OSM> All threads completed. (succeed 0 / failed 1)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Talich52:
downgrading firmware from 8.1.0 to 7.1.1 for model T380 is not possible,since it is not possible to downgrade the bootloader version

You can show a photo of the display in Downloading mode or rewrite all the lines in this mode?

If there is a string RMM Status: Prenormal, then no solution is found.

If there is no such line, try to change the cable, USB port or connect to another computer.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] bringitdontsingit:
There's error messages across the board.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Matty1993:
Why are you installing the bypass file then formatting ?? Thats just undoing the flash that you just performed,

What you need to do is flash twrp boot to it then swipe to allow modification so the system is mounted as RW (read write) if you dont it will be mounted as RO (read only).

You then before you even do anything need to tap the WIPE tab then tap the FORMAT DATA tab,

Once completed go back to main menu tap reboot then tap reboot recovery,

once twrp boots again you need to flash the bypass file first then magisk.zip staright after once your finished flashing it is always good practise to wipe your cache/dalvik cache.

After doing so tap the reboot tab then tap reboot system tab.

Now wait for your OS to load,

Ashyx is also correct DO NOT ever flash TWRP through the BL slot, you MUST use the AP slot

If you are unaware of what can happen just flashing things just in any old slot then you should be prepared for a permanent brick sooner or later if you continue to flash that way.

Breaking down ODINs flash slots are as follows for you

BL = BOOTLOADER

AP= RECOVERY, SYSTEM,SBOOT some other files also

CP= MODEM FILE

CSC=

CSC= APPS CACHE & USRDATA,

This file will wipe all cached data & usrdata when flashing

HOME_CSC=APPS CACHE & USRDATA

This option will NOT wipe all cached data & usrdata when flashing to save all of your files etc.

Im a phone technician have been for 10 years take it from me bud youll break it i did to a one of my customers luckily for me tho i managed to restore it as i know what im doing,

Dont forget to read Ashyx disclaimer also.

Happy flashing guys
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] obnoxioushandle:
You are 100% right and I learned this precisely after making this mistake, stopping and thinking about why I was getting nowhere, and then doing research online which concluded in what you have told me.

I was unable to get TWRP to flash to the AP slot. I tried everything, I referenced other threads and then I found one utility which made it possible to flash TWRP to the correct slot....and the rest was cake.

I knew I would lose data, that I was risking the tablet, etc. I eventually got it rooted but that part in the disclaimer where you are told to get the recovery files is not something to be taken lightly.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] obnoxioushandle:
I've gotten it working. The jist of it was this: I could not get anything to flash to the AP slot for the longest time, and after that I could not get the zip file Magisk provided to flash through TWRP recovery.

I had to find a utility out there (which I would prefer showing to you through a private message before I even name it in this thread) before I could get anything to work correctly by following your instructions step by step. Before I used that thing nothing worked.

I am not a great programmer (I have only been studying it for about a month) and as you've noticed I am not so good at explaining things step by step. So, I apologize for sucking at this in general...

"I couldn't flash TWRP to AP" and "I kept getting red error messages pertaining to dm-verity in TWRP recovery no matter what I did" sums it all up, and the utility I mentioned is the only way I got TWRP to finally flash to the AP and the only way I got that nonsense to stop so I could install your RMM patch.

This is not an illegal utility as there is another thread on these forums which showcases it for a different Samsung device, but I know jack**** about programming compared to you ashyx and quite frankly....and you're the one who did all the damn work for this and I think that it would be better if I brought this thing to your attention first.

Do I have root access after following your instructions? Yup, but only after using that other utility (for whatever reason). And here's the screenshot showing I rooted this device...but, again, I don't want to screw someone else's hardware up just because I used an extra utility which happened to work with mine.

I would like to send you a link to that thread in a private message, or point this thing out in private somehow. I am not convinced that it is a completely safe means of getting past the problems that I was facing. You're better able to tell.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] PinEpi:
Thanks for the reply. It says prenormal. So no luck for me. Is there a way to root the device though. At least get that capability. Thanks again
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Talich52:
Unfortunately you are not the first with this problem RMM Status: Prenormal.

Perhaps you were inattentive and this status Prenormal was on 7.1.1 before upgrading to 8.1.0 and it was preserved ...

and on firmware 8.1.0 there is no this option and in the developer’s section there is always the OEM Unblocking line, it looks like Samsung has disabled this option and now, if there is Prenormal, then this cannot be fixed

The problem is also that for the T380 model there is no possibility to downgrade the firmware version to 7.1.1

Sorry to say so :(

It may be helpful to restore the device, that is, to remove the Prenormal mode in the Samsung service center, try

P.S. When installing firmware 7.1.1 from the model T385M to your T385, when you restarted, it received the status Prenormal, the item “Unlocking OEM was lost ...

I flashed firmware 8.1.0 with data reset - OEM unlock is on, enabled, but Prenormal status remains and TWRP is not installed ...

So I can examine the problem on my device ;)