Newbie-friendly: TWRP and Root for Tab A tablets (2016, 10.1")

354 posts
Thanks Meter: 161
By klaberte, Senior Member on 7th February 2017, 06:55 PM
Post Reply Email Thread
Tested SM-P580, SM-T580, SM-P585

This post is designed to gather information found across this forum to give a step-by-step guide for obtaining a custom recovery TWRP and Root to 2016 Samsung Tab A tablets.

Credit to the software authors, original post creators (especially jcadduono and ashxy) and all those who contributed to the discussions to clarify all the issues.

Here is my set of instructions to gain TWRP and Root on the Tab A (WIFI) SM-P580, SM-T580, and SM-P585.

WARNING Flashing a custom recovery to your device will trip the Knox warranty bit on your phone. Check with your mobile provider to see if they will still cover warranty on Knox bit triggered devices. If you understand this risk, continue on. You generally don't have to worry, as it's incredibly hard to brick a Samsung device, and physical damage warranties should be exempt from Knox triggering. [credit: jcadduono]

If you prefer Magisk to chainfire supersu, please see the modification described in

b. Samsung USB Drivers
c. Original firmware
For SM-P580 Search for SM-P580 at
For SM-T580, (Thanks post #2)
For SM-P585, Search for SM-P585 at
For SM-P580, click twrp-3.0.2-0-gtanotexlwifi.img.tar, then follow directions to download
For SM-P585
For SM-T580
e. SuperSU (get latest version)
f. ashxy's Dm-verity and force encryption disabler


a. While running your tablet in Android, go to Settings -> About device. Tap 7 times on Build number to enable Developer options. [credit: jcadduono]
b. Now go to Settings -> Developer options. (above About device). You need to enable OEM unlock, otherwise you might end up with boot problems or be unable to flash later on. Do not ever turn off Developer Options or OEM unlock. Doing so will cause your device to refuse to boot and require a full factory restore. [credit: jcadduono]
c. Turn off your tablet.
d. Get a micro SD card
e. Copy SuperSU and dm-verity script onto microSD card
f. Install microSD card into Tablet
g. Install Samsung USB Drivers on Windows machine
h. Unzip ODIN (1a) and Original firmware (1c) on your Windows computer
i. While tablet is off, plug in usb cable between tablet and Windows computer
a. Enter Download mode, press and hold Home, Down Vol, and Power until you see the Warning screen of the downloader mode. Press Vol up to continue
b. Open up ODIN, confirm that ODIN can see your tablet, click AP button on Odin. In popup, select AP_[blah blah].tar.md5 (whatever AP file you downloaded in step 1c). After selecting the file, Odin will check the signature of the file you downloaded and appear to freeze up. Let it finish, and it will report: <OSM> Checking MD5 finished Sucessfully.. <OSM> Leave CS..
c. Then click Start. The screen of the tablet should show a progress bar as your tablet is being restored to its original firmware.
d. At this point, you need to let the tablet reboot into Android. If ODIN doesn't do this itself, reboot into to download mode (home, vol down, power), then select Vol down to reboot. After a while, you will be greeted with the Welcome screen where you can select your language.
e. Power off the tablet using the power button
a. Enter Download mode (press and hold Home, Down Vol, and Power) until you see the Warning screen of the downloader mode. Press Vol up to continue
b. (Re) Open up ODIN, confirm that ODIN can see your tablet,
c. Important We do not want the tablet to automatically reboot after installing TWRP. If the tablet does reboot into Android before completing the steps in Section 4 and 5, there is a good chance the stock recovery will overwrite TWRP. So click the Options tab on the left and deselect Auto Reboot. After doing that, click the Log tab so you can monitor progress
d. Click AP button on Odin. In popup, select twrp-[blah blah].img.tar (downloaded in step 1d), click Start. You will see the progress bar on your tablet. Watch the log window of Odin and wait for the message "<OSM> All threads completed. (succeed 1 / failed 0)"
a. At this point, from the last section, you should still be in Download mode on the tablet. It is important that, after flashing TWRP, to go straight to TWRP without letting the Android System reboot. To do this, Hold [Volume Down] + [Home] + [Power] to get out of Download mode and immediately swap to [Volume Up] (while still holding [Home] + [Power]) when the screen blanks. [credit: jcadduono]
b. In a few secs, you will see the TWRP first screen, you can let go of all the buttons.
c. If you don't see then TWRP boot splash try again from the start of 4. FLASH TWRP.
d. Swipe to Allow Modifications. (For some reason, TWRP has some issues with the touchscreen for some tablets. If you experience this, expect to make several swipes or taps until it properly registers. You have succeeded when you see the classic 8-button main screen of TWRP. Indeed, throughout your use of TWRP, expect that touches will often not properly register, and just keep trying until it does.)
e. Click Wipe then Format Data (do not just Wipe data), type yes and let it complete. (It is also a good practice, though not always necessary, to Wipe the Cache and Dalvik Cache whenever you make changes to the system. They are always rebuilt as needed. Now is as good a time as any.) Then click back until you get to the 8-button main screen of TWRP.
f. Click the Mount button. Select Storage button, and confirm that the Internal Storage shows non-zero MB. If it is, you know that the /data partition is now mounted properly. However, since we put the needed scripts on the microSD, go ahead and select Micro SD Card as our storage. Click Back until you are back at the 8-button main screen.
g. Click the Install button, install the SuperSU zip file you downloaded in step 1e and copied to your microSD. It will finish and say Updating partition details… …done. Click Back to get back to the install screen (do not reboot yet).
h. Install the no-verity zip file from step 1f. When it completes, you can press the Reboot System button and let your tablet reboot into Android. You can also disconnect the usb cable connecting the tablet from the computer. The tablet may reboot itself once or twice, let it do its thing, and eventually you will see the Samsung Welcome! Screen, where you can select your language.
a. Before going into configuring your tablet, go ahead and turn off the tablet and re-enter TWRP (Home, Vol up, Power).
b. *Important* Since you will not be changing your system partition, this time, when you get to the "Keep System Read only?" screen, click the Keep Read Only button.
c. In the 8-button screen of TWRP, click Mount, click Select Storage. Confirm that the Internal Storage is greater than zero MB. If it is, congratulations, you have TWRP installed with /data mounted. At this point, you might want do a backup. If you want your TWRP backup to be on your microSD card, select it now while still in the Select Storage dialog.
d. Do a backup.
e. Reboot to System
a. Unless you are planning to make changes to the System, continue to choose the Read Only System when you return to TWRP. If you need to make changes to System, e.g. flash a new ROM, go back to Step 5 and install the ROM just before Step 5g
8. Click the Thanks button if my guide helped you.
The Following 92 Users Say Thank You to klaberte For This Useful Post: [ View ] Gift klaberte Ad-Free
12th February 2017, 08:49 AM |#3  
REtails's Avatar
Flag Boston
Thanks Meter: 27
I am on the T580, I can verify that your instructions and links provided are correct.

Great guide! Very organized and straight-forward, thank you for your contribution to the community - I'm sure a lot of people will find this very helpful!
The Following User Says Thank You to REtails For This Useful Post: [ View ] Gift REtails Ad-Free
14th February 2017, 05:24 AM |#4  
Junior Member
Thanks Meter: 0
I happened to meet boot-loop.
16th February 2017, 04:07 AM |#5  
Senior Member
Thanks Meter: 41
Originally Posted by openapi

I happened to meet boot-loop.

did u fix ur bootloop and eventually get this working?
19th February 2017, 05:56 AM |#6  
Thanks Meter: 2
Thank you! Thank you! Thank you!I have been trying for 2 hours to get into TWRP.. Step 5a made all the difference in the world!!
23rd February 2017, 04:09 PM |#7  
Senior Member
Thanks Meter: 32
Great write up

Thank You!!!
27th February 2017, 04:31 PM |#8  
Junior Member
Thanks Meter: 0
having trouble with the SM-T580/XAR link
any alternative links ? and what is the difference between the to files under that link ?
28th February 2017, 03:10 AM |#9  
DingoBat's Avatar
Senior Member
Flag Brisbane
Thanks Meter: 54
I've read on other threads that Google FRP (factory reset protection) may cause boot loops when rooting if you've not disabled it, but I can't find a definitive answers on exactly how you disable on the Tab A.

Anyone have the answer?

---------- Post added at 01:10 PM ---------- Previous post was at 01:07 PM ----------

Originally Posted by HarryKlanderman

having trouble with the SM-T580/XAR link
any alternative links ? and what is the difference between the to files under that link ?

Make sure you disable any ad blockers in your browser and you sold get to the free (slow) download. Different files are for various regions providing language and keyboard locale settings.
28th February 2017, 02:12 PM |#10  
Thanks Meter: 21
Fantastic write up. Worked flawlessly on a brand new SM-P580.

Only thing to add: After finishing all the steps and the tablet is booted, at first launch of SuperSU, it will ask you to disable Knox. If you say OK, the process will likely will hang. So press OK and let SuperSU try. If it hangs for more than 30 seconds, reboot the tab, go back into SuperSU, select OK when asked again, and it should successfully disable Knox.

Also, I did not re-flash the original firmware (since this was a new tablet).
The Following 3 Users Say Thank You to ctaranto For This Useful Post: [ View ] Gift ctaranto Ad-Free
2nd March 2017, 08:25 AM |#11  
Mediocrates's Avatar
Senior Member
Flag Plano, TX
Thanks Meter: 272
Any work on SM-T587P being done? Us Sprint users are chomping at the bit, lol.....
The Following User Says Thank You to Mediocrates For This Useful Post: [ View ] Gift Mediocrates Ad-Free
Post Reply Subscribe to Thread

p580, p585, root, t580, twrp

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes