yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Jordanhicks666:
Well this latest twrp file that ashyx haas uploaded is booting correctly on the newest (brf1) firmware. So i would say why not just update to the newest firmware and use this latest twrp he has created?

But i must say that i am having problems getting it to read my internal storage and it will not read the sd card.. It reads internal storage if i format data, but then, everytime i reboot its showim (0mb) internal storage again. Maybe i just havent fiddled with it enough but its getting frustrating that i cant get zips on my tablet to flash because i have to format to make twrp read. I havent tried using adb with it yet, but i am going to try that now, thinking if i can format the data and then push the no-verity no-encrypt file to my internal storage with adb without rebooting, than maybe that will solve it and maybe thats what i am supposed to do.

Or maybe i am missing something painfully simple and obviius here.. Good luck anyways
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Give me a short while I'll upload a boot image that fixes it. I'm just putting my little boy to bed.

EDIT: FORMAT DATA then install.

T580XXU3BRF1_patched_boot
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] haibane:
weird... I'm on the latest. I'll try again

Edit: Its working now. Weird
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Jordanhicks666:
Im still having alot of trouble with this. Ive tried formatting data and then flashing this in the BL slot, the Ap slot. Even flashed it as part of the stock firmware in the BL slot, and it doesnt seem to have an effect. It does say its reading my internal storage now ( about 9500 MB) but i cant access the data folder, it just wont open,

Then if i root and copy the zips all the way onto the root of the tablet then they still dont show up in twrp, its like i didnt even copy them there its weird.

And it still wont read the sd card at all. I just cant figure out why the zip files arent showing up anywhere in internal storage, and why the data folder wont open.its frustrating sorry ha.

In the log it says

Error opening: '/data' (Permission denied)

Same with the cache,

Do you have any ideas? Am i just doing something dumb here? Sorry, thanks though :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
It seems the issue is as I mentioned previously. Selinux is preventing access.

I won't be able to fix this until Samsung release the kernel source.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Jordanhicks666:
Ah well that is unfortunate, at least we all know where it stands now. Thanks for all your help so far.

Perhaps maybe samsung will email you and let you know when they release the kernel source? Would be nice of them.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Usually takes around ten days. As soon as they release I'll post it up.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] tdvolland:
Thanky you
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] 234herobrine432:
AWESOME! Thanks it's working just fine :) at least the gui :D

I saw, we now have to wait for the kernel sources
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Jordanhicks666:
Are you able to access your internal storage or your sd card? I messed with it for hours and couldnt figure it out. Ashyx says selinux is preventing access to our data partition, and that we have to wait for samsung to release the kernel source for a fix. Let me know if you find a way to make it work tho please :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] tdvolland:
One example.....
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] tdvolland:
Some time later:

C:\Users\TDV\Desktop\CF-Auto-Root-gtaxlwifi-gtaxlwifixx-smt580

Leads here:

<OSM> Leave CS..

<ID:0/014> Odin engine v(ID:3.1005)..

<ID:0/014> File analysis..

<ID:0/014> SetupConnection..

<ID:0/014> Initialzation..

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

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

<ID:0/014> SingleDownload.

<ID:0/014> recovery.img

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

<ID:0/014> cache.img

<ID:0/014> RQT_CLOSE !!

<ID:0/014> RES OK !!

<ID:0/014> Removed!!

<ID:0/014> Remain Port .... 0

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

<ID:0/013> Added!!

<ID:0/013> Removed!!

<ID:0/013> Added!!

<ID:0/013> Removed!!

And Root Checker tells me “Not rooted”

The second option:

C:\Users\TDV\Desktop\cfar_samsung_sm-t580_gtaxlwifixx_nrd90m.t580xxu3brf1_t0 leads to:

“Verification failed

Unable to restart your devive. The integrity verification has failed, you need to reset your device to factory default settings”

Reset them gets me back to factory default. After the reset, I tried CF-Auto-Root again….. and it worked

Root Checker tells me “Rooted”

So, thank you very much again, for your patience…
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hantoniorl:
Hello there.

I have the same issue as many above here, I have a lot of T580 with firm T580XXU3BRF1 waiting to be rooted, but I can't even install TWRP. Same blue bars, red lines, etc. I've tried all packages here, and the one recompiled using the stock kernel works, but as it's stated on #353, it doesn't have any adb options. So I can't do anything really about that.

I also tried to downgrade to older firms, but it doesn't let me do that.

The question is, is there any way to know when will Samsung release the new source? Or maybe, is there another way to just get root access in the device without TWRP?

Thanks.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] haibane:
He already stated that it usually takes about 10 days. Others have stated root access can be acheived by the CF-Root approach.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hantoniorl:
Thanks for the response. CF-Root doesn't work for me in this case but it works with older T580 I have around. Looks like I'll have to wait.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] milaremi:
Hanging tight, waiting for Samsung to release and for ashyx to work his magic! I'm with you Jordanhicks666 - a solid TWRP solution will be the answer. Ashyx, a donation will come for your successful fix and thank you for your efforts!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UntouchedWagons:
Something changed because the temporary download link gave me an actual webpage and not a directory listing. I still see no tar file, just an image file and a weirdly large md5 file.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] brausebirne:
Take the md5 file.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UntouchedWagons:
I'm on step 9 now. I've been holding down Power, Volume Up and the Home button for about 30 seconds and the tablet is still in Download mode. How long do I have to wait for it to go into recovery mode?

[Edit]

Okay so here's what you have to do to put the tablet into Recovery Mode. This assumes you've just installed TWRP using Odin and the tablet is still at the download screen.

1: Hold down Power, Home and Volume Down, this will take the tablet out of Download Mode and the tablet will boot as it naturally would.

2: Open the command prompt and run 'adb reboot recovery'

3: Carry on with step 10 in the original instructions.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hutch MD:
I'm about to buy this tablet, and I'm looking at stock firmwares just in case I brick it. So if I am in USA, and I need a firmware, it doesn't matter which one I choose from those sites? I don't see a package for USA, so would I just choose one such as United Kingdom to make it in English or something? I just want to make sure.

Edit: I don't even see a package for any English-speaking countries.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UntouchedWagons:
Yeah I had the same issue, I started download the Unknown package but the site they use to provide the firmware is throttled so hard it would take literally all day to download.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jaykoerner:
you can get into recovery by holding home, vol up, and power and releasing when the screen turns on.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UntouchedWagons:
I've tried that several times and every single time it put the tablet into download mode.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jaykoerner:
it shouldn't make any difference what you use, even if its the wrong lang you can change it after its installed, but i recommend using the uk build since its English

---------- Post added at 04:51 PM ---------- Previous post was at 04:48 PM ----------

[/COLOR]

worked for me, what can i say, just let go of the power button when the screen turns on keep holding the home and vol up

---------- Post added at 04:57 PM ---------- Previous post was at 04:51 PM ----------

you get into download by pressing the vol down button, are you sure you were pressing vol up? its the one closest to the power button.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hutch MD:
After doing some research, the region code 'XAR' means Cellular South, or USA. Unfortunately, it takes 2 hours to download due to throttled speeds from that file-hosting site...

Also, if you want to check it, go to your 'About Device and find your build number. Mine is 'T580UEU1APF5', which falls under XAR (Cellular South/USA).

Just thought I'd let you know.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] UntouchedWagons:
My tablet's build number is the same as yours. Cool
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Jaconah:
i get to step 9, and ordin tells me that it passed near the top in the first box.. yet on my tablet the download bar has a tiny silver left but dosent seem to move for nonthing... am i missing something?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] blackdub370:
im waiting to t585 version, thanks for the work!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] KilljoyTDA:
Encryption support WIP or dead?

Any chance for a TWRP version with encryption support added back? According to the link in the OP, it's been untouched for 4 months :/

Because of that we can't even wipe the cache partitions, which can be useful sometimes after messing up stuff with luckypatcher ^^'
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Arguntom:
I know this is slightly off topic, but does anyone know how to bypass the FRP on this tablet? I've tried many methods and none of them have been successful.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hutch MD:
The long workaround that I thought of, but have not tested yet might possibly work.

1. Make backups with "Online Nandroid Backup"

2.Transfer a copy to PC

3. Format internal storage data in TWRP

4. Wipe.

5. Transfer the copy of the backup back to tablet

6. Restore from backup.

I haven't tried it yet, but in theory, it might work! If anyone can attempt it and report back, that would be awesome. *I take no responsibility in any damage caused to your device* - (Worst case scenario, you can restore stock firmware and recovery through Odin.)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] KilljoyTDA:
Ok thanks :) I already tried formatting the "data" mount, which obviously works only until you boot up for the first time. On one of my attempts to find a workaround (I don't remember what it did though), I even had that annoying "Can't encrypt. Please do factory reset" kind of message.

So you mean formatting the "internal" mount might work differently?

I may have a try at it but it won't be before a few weeks as I won't have the time and resources to do that during that time (I'm getting used to reinstalling TWRP, but the whole system is a bit more time consuming...)

Anyways if anyone is interested in trying before I can, please post your results!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hutch MD:
What I meant was 'format data.' Thanks for the correction.

If you click on 'Wipe', then click on 'Format Data,' you can use the internal storage again. At this point you can transfer the TWRP backup that you created via USB and attempt to restore it. (In theory)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] KilljoyTDA:
Oh... so that means I have to do that whole Backup+Wipe+Restore cycle every time I want to clear the cache if I'm not mistaken, right? That encryption enforcement is a real PITA, I like to have the choice...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] brausebirne:
I use an App (Root Cleaner) to clean the cache. I think it works. After the reboot Android starts to optimize the Apps...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] abhishek.jain634:
Can someone please list steps to unroot the device and reset it to factory settings? Any help is appreciated
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] tdvolland:
Custom ROM for Noobs...

Where can I find a correct custom ROM for my SMT580, and where can I learn to install it?

Thanks
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] haibane:
If you're on the latest firmware then nothing(twrp is needed). Otherwise, look around. They're all in this forum
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] tdvolland:
I know that they are ALL OVER the forum, that is exactly why I am asking...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] haibane:
? That's literally why you shouldn't be I'm confused as to what you are asking. Sorry I must have misunderstood you.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] tdvolland:
Sorry, but its simple. There are 400 posts, about one quarter of them have links. I am looking for someone who knows the thread well and can point me towards the right trail...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kabadisha:
Hey Guys,

Looks like TWRP borks if you have the latest firmware (as I do).

I'm running a stock SM-T585 and when I flash latest TWRP recovery and boot into it, the display is scrambled (but it does seem to boot since I can ADB into it).

Can anyone confirm that it's not just me?

Cheers
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] haibane:
I recommend starting here... https://xdaforums.com/showpost.php?p=77503738&postcount=301 and reading till current.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kabadisha:
Thanks for the effort on this one buddy. Much appreciated :)

Looking forward to Samsung releasing! Happy to be a tester on my ST-585 also.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] W3Fan:
Any news on this matter? I have the same problem with my T580.

Usin ashyx's "T580XXU3BRF1_patched_boot". GUI OK but can't access MicroSD nor DATA partition. :(

Thanks!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Samsung responded to my request but have not yet released the kernel source.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] W3Fan:
Ok. Thank you very much!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Guys still waiting for Samsung to release the source code for this. Seem to be dragging their feet.

Also had an unbelievable donation from [MENTION=656281]blindpet[/MENTION]

Just want to say many thanks for your support! It's much appreciated as I am unable to thank you personally by email. :good::good::good:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Credomo:
Any news ?

With kernel BRF1 we have the "Red Stipes" problem when updating the firmware to TWRP.

Is that summary ok ?

With the latest official TWRP (3.2.3-0) : https://eu.dl.twrp.me/gtaxlwifi/

Red stripes in recovery. TWRP in unusable

adb ok

With the modified version (thanks @ashyx ) : https://xdaforums.com/showpost.php?p=77564113&postcount=353

TWRP interface ok

No adb

Impossible to format

Impossible to mount external SD

Impossible to mount USB

Did someone succeeded in format /data and mount USB in TWRP ?

I tried to downgrade to official BRB2 and flash TWRP (3.2.3-0). Red Stipes problem still occurs.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] OPOt585:
i don't think I understood the situation here...

I Have t585 with latest official OTA installed.

are you telling me there isn't a functioning twrp??

so I can't root? Can't use magisk? It seems impossible to me!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] haibane:
Yes. We are waiting on Samsung to send the source code.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] OPOt585:
And you think they'll do? Why should they?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] haibane:
Because if they don't they will be violating the GPLv2 license of the Linux.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
I've emailed them twice more. I don't know what the issue is.

You guys need to go to Samsung Opensource Release Center opensource.samsung.com website and request release of the kernel source code for the latest firmware build.

The more that request the more likely Samsung will respond.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] haibane:
It's apparently Thanksgiving in Korea until October 1 and that is the delay
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hantoniorl:
In case I'm not doing this well enough. Is it on "email" top right part of the webpage, and then Request for Source Codes, Kernel, Mobile/Photography and in the last one, T580. Right?

Wow. Somehow "Spain" is not an European country anymore. It's not on the list. I'll go with Gibraltar then.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Ok thanks for the info.

---------- Post added at 07:22 PM ---------- Previous post was at 07:18 PM ----------

Put sm-t580 in the search box and tap go then tap enquiry on the right and fill out the form.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Jordanhicks666:
Source codes up now :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Credomo:
The source code is published !

http://opensource.samsung.com

Search : sm-t580

[IMG="BRF1 Source Code"]https://elearning.vialogos.fr/tempo/BRF1.jpg[/IMG]
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Yep, got a confirmation email from Samsung this morning. [MENTION=6923913]haibane[/MENTION] was correct they apologised for the delay due to the Korean holidays.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] haibane:
I assume you got it? If not I have a copy... Nevermind I just noticed that it was posted.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Credomo:
If you want someone to test, I'm ready for that, don't hesitate
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Here you go, all mount issues should be fixed now.

SM-T580

https://androidfilehost.com/?fid=1322778262904016579

SM-T585

https://androidfilehost.com/?fid=1322778262904016592

Thanks.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] blindpet:
You are the man! Thanks so much :)

When I am doing a backup I get unable o mount /data (Invalid argument) and storage, also Could not mount /data and unable to find crypto footer

It backed up 3 partitions total ( I didn't change default settings for the backup)

I am on the T580

Going to try flashing Lineage now unless this backup is actually invalid :). The backup is 2.3 GB and it did say Backup failed so I am hesitant.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] repey6:
Thanks for job. But i couldn't install this recovery. I tried install both recovery.img via TWRP. Recovery not changed.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Recovery not changed? What does that mean? :confused:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] repey6:
I had before installation TWRP 3.2.3-0 and it stayed.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Credomo:
Yeah ! Seems to be ok !

Tested :

Flash with ODIN : Ok

Boot in Recovery : Ok

Recovery interface : Ok (no moer red stripes)

Format : Ok

Mount USB Drive : Ok

Backup / Restore : Ok

Good Job !

What else can I test ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Adb/mtp OK?

---------- Post added at 02:44 PM ---------- Previous post was at 02:43 PM ----------

If it boots OK and mounts then it's working.

The version number will still say 3.2.3-0.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] repey6:
Thanks i understood. Boot and mounts OK. If you can rebuild TWRP with new name please.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Alkarl:
I seem to be getting the same problem as [MENTION=656281]blindpet[/MENTION] - TWRP installs and runs but I keep getting "failed to mount '/data' (Invalid Argument)" but MTP, ADB and the interface all work (yay, no more red lines!)

EDIT: I have TWRP's logs if it helps: https://drive.google.com/open?id=1ot3e_6qQ8_kiuWVvtfPkF3EsN1Y12ACc
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
You need to format the data partition to mount internal storage.

This is not a twrp issue.

---------- Post added at 03:04 PM ---------- Previous post was at 03:00 PM ----------

TWRP doesn't support Samsungs encrypted partitions.

You need to format the data partition and apply the encryption patch.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] blindpet:
Got a link to this encryption patch? So I have to lose the data to be able to back it up right?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Alkarl:
This worked perfectly! Thanks very much! :D
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Unfortunately yes.

https://www.androidinfotech.com/2017/08/no-verity-opt-encrypt-versions.html
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] blindpet:
Do you have a link for how to format the data partition? When I try in TWRP I get an error
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
You need to use the FORMAT DATA button under the wipe options.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Credomo:
In Windows :

adb : Ok. Device is listed and command reboot works

MTP : Ok Files successfully transfered to the tablet
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] blindpet:
Weird that worked and trying the same thing under the Advanced section under Wipe failed!

I got LineageOS 15.1 flashed and pico Gapps installed, it booted fine and I did the initial setup, all good there too.

I enabled Developer options and turned on kill app back button and advanced reboot, pressed the ´power button to put it to sleep and now I can' t wake it up. WHen I press the power button I get a brief flash with some lines, I can't even force power it off!

I wonder if this is related to the advanced reboot I turned on or something like that?

I only installed MXPlayer on it, nothing else besides the encryption patch you so kindly linked to.

If this isn't linked to the TWRP recovery I am happy to start a new thread not to clog this one up!

---------- Post added at 05:25 PM ---------- Previous post was at 04:36 PM ----------

It seemed to be the ROM, flashed 16.0 and no more black or weird lines when I sleep the device, thanks again!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Credomo:
I confirm. Fresh install of LineageOS 14.1 :

ODIN last TWRP

Format

Install last LineageOS 14.1 (lineage-14.1-20180924-UNOFFICIAL-gtaxlwifi.zip)

Perfect reboot and launch of LineageOS

Press Power button to switch off and press it again to switch on: Black screen. The tablet is working normally but you can't see anything : Touch is fully working (reboot possible if you know where to click). When you reboot, everything works normally.

The same problem with LineageOS 15.1 (lineage-15.1-20180501-UNOFFICIAL-gtaxlwifi.zip)

Works fine with LineageOS 16.0 (lineage-16.0-20180920-UNOFFICIAL-gtaxlwifi.zip)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] W3Fan:
You are the best!

Thank you so much! :good::good::good:

Edit: Tested and working!!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Credomo:
What ROM are you using ?

No problem when switch off/on the tablet ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] W3Fan:
I just checked if mounting problem was fixed. I will try to flash the LineageOS 14.1 ROM later.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] W3Fan:
Same problem here with LineageOS 14.1. The problem also appears if the device goes to sleep mode by itself.