yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
This may work for you.

Install the zip with TWRP, FORMAT DATA(Not wipe!)

Check DATA can be mounted.

Reboot to TWRP, check DATA is still mountable.

BOOT IMAGE PATCHER

Boot image patcher to remove DM-verity and Forced encryption.

Flash the zip below with TWRP.

This was built by jcadduono not me, so props to him, I just modified it to work for this device and to remove the SEANDROID ENFORCING message.

NOTE: IF YOU INTEND TO ROOT THEN FLASH THIS AFTER SUPERSU.

no-verity-no-encrypt_ashyx

.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] iam_delan0:
WOW! This worked !! DATA Encryption is off even after a reboot. Thanks!!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
Im sorry im dumb i know. I cant mount data, help?!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
Im sorry im blind;)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
What did you use the zip or format data?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] solodV8:
to ashyx: where do I "Check DATA can be mounted". I installed your script and now it looks OK, but I'm missing big chunk of my internal memory, it shows 10GB available, the rest is not shown.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] iam_delan0:
You have to flash the zip and then format DATA, You will lose all app settings and more. This makes DATA mounted in TWRP even after rebooting to the ROM and back to recovery.

You can check DATA is mounted in TWRP after flashing the zip and formatting DATA. Then the DATA partition is mounted on TWRP and does not show "0MB"
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
So i just flashed supersu 2.78 and it doesnt work anymore. Data is unable to mount, "Invalid Argument". Any help?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Please read post #69. It CLEARLY states to flash the patch AFTER supersu.

The normal steps are:

1. FORMAT DATA

2. FLASH SUPERSU

3. FLASH THE BOOT IMAGE PATCHER

4. REBOOT TO OS

5. CHECK DATA IS STILL MOUNTABLE
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
Thx but not i get this
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
¯\_(ツ)_/¯
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
Im sorry. What?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Make sure your system partition isn't set read only.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
I did
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Did you try rebooting to recovery?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
Yes. But tomorrow I'll reinstall the firmware with Smart Switch. And then I'll try again.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Why do you need to reinstall the firmware, does it not boot? [emoji54]
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
Everything boots but i f*cked up my system (i removed to much unnecessary apps). And sinse there is no custom rom..... i just want to have a fresh start.:laugh:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
I'm confused as to why you didn't make a backup with TWRP prior to messing with the system partition?

Surely that's the whole point of having a custom recovery. [emoji54]
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] iam_delan0:
What device do you use? If it's the T585, you could try my ROM..
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
I have a T580.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
I know, but im stupid. And im over excited for this recovery:D
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] iam_delan0:
I can build my ROM for the T580 if you like, but I won't be able to test it... Are you willing to test?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
YESSS!!!!!!!!!!!!!!!!!:laugh:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
So i just flash the recovery. Formatted data and i want to install supersu and again this happens
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Why don't you reboot twrp as already advised after formatting then install Supersu?

If it still gives you an error then save the recovery log under ADVANCED after you get the error and post it as a file here or post it on pastebin.com.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] sudisk:
[MENTION=5680457]IAM_TheFlash[/MENTION] are you using the TWRP for T580 or another build?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Tromatic:
I'd like that ROM as well, but I need to unbox and root first! Note to self: check for rooted and available ROM's BEFORE buying tablet.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
I have just noticed that our tab has 8 cpu cores. 4 of them are offline, is there a way to activate them?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] iam_delan0:
I have the T585. And yes the T580 build of TWRP works for me.

I have built the ROM its on my thread. I do that too for the phones I purchase. But this Tab I bought because I needed a Tab and it was on sale, later realized there were no ROM's, So I created my own. :P

Those cores activate on their own depending on the tasks on the device. You can't keep them active always as it will consume lot of battery. This is normal behavior.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] AviatorBimmer:
Just purchased today a Galaxy Tab A 10.1 (SM-T580NZKAXAR)

As I was getting all ready to start the rooting process as laid out in the OP, my tablet notified me that there is a new system update available to be installed!

The update is the following:

Version: T580UEU1APG1/T580XAR1APG1/

Size: 88.27 MB

Am I safe to go ahead and install this latest firmware update and then root as per OP? Or should I NOT upgrade to this firmware and do so after I root?

Thanks in advance!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] brausebirne:
I updated first and rooted after the update process without problems.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] AviatorBimmer:
Thanks, buddy! I will do just that then... I hope I don't screw this up. I haven't rooted a device in years!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] AviatorBimmer:
SUCCESS!!! I was able to root my T580 using the info in the OP. Awesome!

Now, to search for a nice, lean and de-bloated ROM for the T580 but I can't see any... Anyone have an recommendations?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
Here you go.

http://xdaforums.com/galaxy-tab-a/development/rom-ultra-lean-rom-galaxy-tab-10-1-2016-t3467942/page4
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Red14:
As I'm a bit carefull with my new T580, can someone tell me how it's working with this recovery/root AND the disabled samsung encryption?

I mean in daily use, no errors? and can U still use a pin for access protection?

I'm only want to root for backup and adblock purposes but there is soo little info on rooting this one :(

edit: DONE!

TWRP, ROOT, No more encryption, internal is now set to "public", it's really gone :)

No mounting problems, but you have to study this thread hard to do it the right way.

Thanks! :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Wap4wap:
Hello . Tell me please, can I get root access without having to install TWRP? that Knox was 0 × 0?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chemie99:
I have read all 13 pages and still concerned with encryption and/or when to load in supersu and especially the changes to the boot image patcher thing

Care to let us know what you need to add to OP steps to get it to work?

Also, I would like to make a backup image (as very first step) but it seems I need to get TWRP in there first or is there another way? (Sorry, this is only my second root and first one was mostly a batch file for the Amazon Fire)

Does this kill OTA updates or not?

Edit: OK are these the steps?

7. Reboot your device into Download mode. To do this, select reboot from the power menu and hold the [Volume Down] + [Home] buttons while your device reboots.

Once you reach the Download mode warning screen, press [Volume Up] to continue.

8. Open Odin and place that TWRP tar file in the [AP] slot, under Options tab disable Auto Reboot, then press [Start].

9. Once the flash is complete (Odin should tell you in the log, and progress bar on phone should stop), you can hold [Volume Up] + [Home] + [Power] buttons until you reach recovery mode.

If you end up in stock recovery, start again from download mode step.

10. At this point, you will reach the screen asking you if you want to allow system modifications.

You will want to swipe to allow!

10 a. Make a system image backup via TWRP (save to external SD)

10 b. Use the [Format Data] button on wipe page

11. Without exiting TWRP, install SuperSU using [Install] in TWRP. (have SuperSU sitting on your external SD card...my approach)

11. b. FLASH THE BOOT IMAGE PATCHER from post #69

12. Go to [Reboot] -> [System].

13. CHECK DATA IS STILL MOUNTABLE
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Hidsor:
Cheers.

Long story short, I've friggin' lost my stock ROM for this bad boy and I'd like to get a fresh start.

Any input?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Red14:
Corrections:

9 you first have to reboot with Volume Down + powerbutton to shut down download mode. (Vol Up did nothing for me)

when the screen goes black quickly push Volume Up + home + Power to reboot into TWRP.

if you aren't fast enough just hold power to enforce hard shutdown if you missed the moment. (i did)

10a i guess it's okay to do that.

10C ! after format data reboot once more into TWRP. (Vol Up + Home + power) This makes TWRP be able to mount the new formatted data partition.

11 remark, i put supersu and the no verity files in root of internal before starting this process, but i guess ext-sd will be ok too.

12 flash No verity right after SuperSu

Reboot To TWRP to check Data mount is ok. (all txt is white)

reboot to your Android OS.

Cheers! :good:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] chemie99:
Thanks [MENTION=875076]dutchxxl[/MENTION]

Does OTA work?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Red14:
sorry, no OTA doesn't work on rooted stuff, but i guess by the time of an official update there will be more and better custom roms for the T580.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Roland_SGN:
Maybe a stupid q but somehow I fail to go into download-mode in a way that I could repeat it. For the very first time, i.e. step 7 of the instruction I figured out that I have to press [Vol]+[Home]+[Power] and flashed TWRP. But the next step remain a mere cryptic issue cause I only ONCE succeeded to enter the TWRP. I don't know which combination now finally works cuz [Vol Down]+[Home] and [Volume Up] + [Home] + [Power] as well not. But might be that I'm pressing it at the wrong time - or release it at the wrong time. Shall I press the combination already when the Samsung-off Logo appears? Or just when then Galaxy Tab A screen appears? Am I too late when the Samsung animation appears? Sorry, don't know the details...

Plus the other q: How to move a file to the system? Cuz in TWRP-mode I cannot mount the device on my laptop. So, where and how should I place it?

Step 10 from above: I was NOT asked for any kind of sys modifications ==> What did I miss?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
Lets hope so.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Red14:
From power off press Vol down + Home + Power and hold that untill you are seeing download mode popup

From power off press Vol Up + Home + power untill you see TWRP appear

Put all flashable files into root of internal memory before starting this process so you have them there at your disposal?

Dunno why it didn't asked for sys-modification, just start from scratch again?

Marshmallow isn't making things easier for us.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Roland_SGN:
Thx for the details. I figured out that Power Off is the best way to boot into the TWRP. Cuz a regular restart might miss the startup.

To put the files into the root of the internal system is a nice approach, but don't know what to do next. Cuz I can mount the /system but the menu only provides flashing options from the SD card :(

For the startup I get the attached pics. Any conclusions what I missed or made wrong?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
That's stock recovery not twrp.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Red14:
Go back one page, read it and start from scratch.... your'e on stock recovery

write it down like me (yep just a hobbyist getting root for adaway)

(viper4android remains a wish right now but that's the second one on my bucket list)

but you are set to start fresh :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] splikie:
Would this work for a Samsung Tablet A6 SM-T585
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Roland_SGN:
Somehow I managed to root the device:D But somehow the buttons are quite misleading. In Download-mode the three btn combination [Vol+]+[Home]+[Pwr] didn't work out for me neither. I think [Vol-]+[Pwr] seems a good idea, but I'm not sure. I managed it after 15th or 20th attempt to boot after flashing directly into the recovery-mode:crying:

Keeping the files ready on the internal storage is a good idea unless you format the data :( So I think the format of the data should be at the very ending after flashing everything properly. Anyway I need now to test little bit further....

Thx for the support + perhaps the very first post needs to be updated especially for the proper key handling.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Roland_SGN:
Update: After installing AdFree for Android I have now finally an ad-free Tab :o Hurray!!!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Red14:
Cheers! After one week still running great here, no ads....no encryption anymore.

Even apps that don't run on rooted devices do run fine with supersu installed as "system"app.

I'm using adaway, no ad nowhere on my tablet. (and on my note10.1 and my S4)

Even no ad-blocker popups, they haven't got a clue!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mingkee:
I successfully rooted mine.

I installed TWRP with Odin, but I put SuperSU into memory card.

In TWRP, I did wipe of internal memory, and flashed SuperSU after that.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Telemachus:
It's actually not root that blocks OTA as much as the custom recovery.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] slothdabski:
edit: nevermind im a tardface
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rattensuppe:
any chance there will be a twrp w/o encryption issue?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Pauli74:
Just about to jump in and do this, one small question though is does it matter which version of Supersu I use, the op directs you to the newest one which is sr4 and I read sr1 is the one to use?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] alabalas:
I ve got this tablet today. Is this root also for t585?

And something irrelevant but I search with no result...any way to find themes for this tablet?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] madalu:
That would be great if it happened. But realistically what is probability given that this has an Exynos processor?

Out of curiosity, are there any recent Exynos Samsung devices that have custom rom or AOSP builds available?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
Yes, the Galaxy S7 Edge, Exynos.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rattensuppe:
come on, get that encryption working. xiaomi twrp team got theirs working.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] tpsped:
My very dumbed down (no offense to anyone, I wish I had it dumbed down for me lol) instructions to complete freedom with this tablet:

http://xdaforums.com/showpost.php?p=69908322&postcount=2

---------- Post added at 06:31 AM ---------- Previous post was at 06:30 AM ----------

I used SR4, it worked flawlessly for me.

---------- Post added at 06:42 AM ---------- Previous post was at 06:31 AM ----------

You need to include this step in your instructions after flashing SuperSU. If you flash the boot image patcher right after you flash SuperSu in TWRP and then reboot system, you'll have permanently unencrypted Data partition. No more losing your Data or having to format it.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Wong Numba:
Worked like a charm! Thank you!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] slagazub:
Good day,

A my girlfriend just bought a Galaxy Tab A 10.1. (SM-T580NZWACH, bought in China). When I tried to enable OEM Unlock option (step 2) I found that the option was missing. I assumed that since there was no option, it would not be necessary to enable it.

The problem came when I tried to flash the TWRP tar file (steps 8 and 9). Odin starts to work but it stops as is shown below :

<ID:0/003> Odin engine v(ID:3.1203)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

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

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

<ID:0/003> SingleDownload.

<ID:0/003> recovery.img

<ID:0/003> RQT_CLOSE !!

And in the screen of the tablet appears a message in Chinese that basically says that to be able to flash the TWRP file it's necessary to unlock the device.

Is there any way to enable OEM Unlock even if the option is missing in Developer options?? :confused:

Thank you all in advance.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kr428:
Hi all, is there any way of installing TWRP on this device using a Linux host? As far as I see, Odin software is limited to some variant of Windows...

Thanks,

Kristian
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ProfUgo55:
Semi-bricked?

Followed all the instruction to the letter. TWRP installed, formatted /data, flashed SuperSU, then the ashyx patch. Reboot to system: nothing but the SAMSUNG logo fading in and out, in and out, hours now...

The tablet does not respond to any button combos. Suggestions?

H

---------- Post added at 09:57 PM ---------- Previous post was at 09:37 PM ----------

Ah, after holding down key combo for boot to downloader (Home+VolDown+Power) for over a minute it finally shut off. Booted back into TWRP recovery and repeated the process. Now have root and unencrypted data.

Many thanks to all, especially jcadduono and ashyx!

H
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] tennessee_titan:
I am getting a "ZIP signature verification fail" attempting to flash no-verify.....
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] edwardenglish:
hey guys

I think some parts worked so far for me:

1. installed odin and drivers etc

2. I installed TWRP on tablet successfully

3. I booted into TWRP and formated DATA

4. then again directly booted into TWRP and DATA was available

5. then I copied SU.zip onto Internal Memory and wanted to flash it but i get this error from install log:

- mounting /system, /data and rootfs

- Extracting files

- detecting system compatibility

- system-less mode, boot image support required

- creating image

-mounting image

- creating paths

- removing old files

- placing files

+++++ boot image patcher +++++

- finding boot image

--- Boot image: /dev/block/mmcblk0p9

- extracting ramdisk

- checking patch status

-creating backup

-- patching sepolicy

-- failure - aborting

I also installed that "no encryption patch" somebody posted a link to and it seems to work (Data ist mounted everytime I go into recovery no matter what!)

So I figure I only have problems installing superuser? I took the file from OP. please help!

ANY HELP???
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] edwardenglish:
EDIT:

Ok I was able to fix my error by using this SU-Version: https://www.androidfilehost.com/?fid=529152257862682061

I found it when using this guide for optaining root! http://xdaforums.com/galaxy-tab-10-1/help/rooting-installing-xposed-framework-t3509910#post70259168

now everything is fine :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Sonof8Bits:
Edit: Never mind, I'm an idiot. I kept power pressed down as well.

Original message:

I tried flashing TWRP a few times now, but I never get the TWRP nor default recovery. The device boots up normally but I can't get any recovery to appear. TWRP or default, nothing happens. It just stays on the boot splash screen. I can then get it to reboot by pressing the download mode combo. Download mode still works fine and normal boot also works fine (it's not bricked and works fine). But any trace of recovery has disappeared completely! Anyone have any ideas what is going on and how I can get TWRP installed or at least the default recovery back??

Added info: It does say the device is custom (the warranty bit stuff). It also says that when I go to settings -> about device -> status.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ajbiz11:
So, [MENTION=5672995]jcadduono[/MENTION]

Couple things. One, nice OkC profile, nerd.

Two, looking at your kernel sources for TWRP on exy7870, do you think it would build against AOSP/CM bases? Obviously, I'll have a hell of a time with vendor stuff, but I couldn't imagine your kernel would be a bad place to start with stock on exy7870
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jaypea500:
How do I know I have the Exynos WiFi SM-T580 model

How do I know I have the Exynos WiFi SM-T580 model? :confused:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
*facepalm* You dont know what tablet you bought?!!??!!!??! *exhale* If you don't have a cellular connection in the statusbar, then you automatically have the T850. There is no snapdragon version on the market.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] rattensuppe:
if you don't know the table you own. you should not bother
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Imba90:
I managed to get into TWRP but I can't mount DATA, it shows 0MB on internal storage..
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] slothdabski:
Because your device is encrypted
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Imba90:
Yeah I managed to change the file system so I flashed the custom rom but couldn't boot it because of the encryption...I should've wiped the internal storage too or what?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] bigbob_ftw:
Flashed recovery with no problem, but I can't get in to recovery. It sticks at the boot screen. Any suggestions?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Roland_SGN:
You have to find the proper key-combination for the reboot - cuz first you have to cut (?) the download-modus and than you have to press the proper keys (see my post)

Sorry to say, but the first post, no 7 - sucks:rolleyes: cuz this didn't work and cuz a lot of time trouble:(
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] WizzTech:
Thank you for this! Registered just to give thanks to you and the lean rom creator for this device!

A heads up if there are any other stuck peeps as I was Notice the ODIN button combo is different from the TWRP button combo don't be a dweeb like me and keep doing Odin button combo wondering why it doesnt go into TWRP. :P

Which custom rom? if it's IAM_TheFlash's Ultra Lean Rom then just follow the steps:

- FORMAT DATA (Necessary because of Samsung Encryption on Internal Storage)

and then

-FULL WIPE of System, cache and DATA.

and then install the rom. :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] tennessee_titan:
Is anyone else experiencing the "...TAR fork..." error when attempting to back up their tablet?

---------- Post added at 07:34 PM ---------- Previous post was at 07:32 PM ----------

How about looking at the label on the back???