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

Search This thread

klaberte

Senior Member
Jul 19, 2007
411
223
Google Pixel 5
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 https://xdaforums.com/showpost.php?p=73719123&postcount=82

1. DOWNLOAD
a. ODIN https://build.nethunter.com/samsung-tools/Odin_3.12.3.zip
b. Samsung USB Drivers http://developer.samsung.com/technical-doc/view.do?v=T000000117
c. Original firmware
For SM-P580 Search for SM-P580 at http://updato.com/firmware-archive-select-model
For SM-T580, https://www.sammobile.com/firmwares/database/SM-T580/XAR/. (Thanks post #2)
For SM-P585, Search for SM-P585 at http://updato.com/firmware-archive-select-model
d. TWRP
For SM-P580 https://dl.twrp.me/gtanotexlwifi, click twrp-3.0.2-0-gtanotexlwifi.img.tar, then follow directions to download
For SM-P585 https://dl.twrp.me/gtanotexllte/
For SM-T580 https://dl.twrp.me/gtaxlwifi/
e. SuperSU (get latest version) https://download.chainfire.eu/supersu
f. ashxy's Dm-verity and force encryption disabler https://www.androidfilehost.com/?fid=24591000424951049

2. PREPERATION

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​

3. REFLASH ORIGINAL FIRMWARE (Optional)
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​

4. FLASH TWRP
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)"​

5. ENTER TWRP AND CONFIGURE
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.​

6. CONFIRM DATA ACCESS IN TWRP
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​

7. FUTURE USE OF TWRP
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. :)
 
Last edited:

REtails

Member
Aug 9, 2016
47
28
Boston
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!
 
  • Like
Reactions: Flutterfly

bisquick24

Senior Member
Nov 17, 2011
90
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!!
 
Jan 12, 2016
7
0
having trouble with the SM-T580/XAR link
any alternative links ? and what is the difference between the to files under that link ?
 

DingoBat

Senior Member
Apr 4, 2014
150
55
Brisbane
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 ----------

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.
 

ctaranto

Senior Member
Aug 11, 2010
52
20
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).
 
Last edited:

th3 game

Senior Member
Sep 9, 2011
51
12
Negative On Sprint

Any work on SM-T587P being done? Us Sprint users are chomping at the bit, lol.....

I am unable to get this working on the T587P, Sprint Varient. I can flash the LTE version of it (For the T580) but it will not successfully boot to recovery, instead getting stuck on "Recovery Booting" and then showing an odd modified download menu (oddly, I can still flash things through this broken recovery).
 
  • Like
Reactions: Mediocrates

the gladiator

Senior Member
Dec 16, 2010
319
51
Any workaround to root the device without modifying the Knox counter ? It's very hard to choose between voiding the warranty or standing with the ads!
 
  • Like
Reactions: Mediocrates

klaberte

Senior Member
Jul 19, 2007
411
223
Google Pixel 5
In short, no. Any custom recovery will trip the Knox counter, and as this is required to obtain root, you can't get root without tripping the counter.

I agree with Dingo. As mentioned in the Warning on the first post, because of Odin, it is pretty hard to brick these devices; you can always flash a stock image (assuming you have one for your exact make and model) to bring your device back from the grave. If you think it is likely that you will seek support from your phone company, ask them if they can provide support to phones with knox tripped. If instead, you seek your support from XDA, then a tripped Knox is kinda the ritual of initiation. Welcome to the club!
 

bartveld

Senior Member
Oct 16, 2007
236
32
I can get to point 5f.
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.
However, I can't mount the SD card. Clicking on it doesn't do anything. Any suggestions? I checked if the card could be read before installing TWRP and the SU-file was there.
 

bartveld

Senior Member
Oct 16, 2007
236
32
Yippee! All I had to do was format the sd card and now everything works fine! Thanks for the help and a great guide.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 108
    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 https://xdaforums.com/showpost.php?p=73719123&postcount=82

    1. DOWNLOAD
    a. ODIN https://build.nethunter.com/samsung-tools/Odin_3.12.3.zip
    b. Samsung USB Drivers http://developer.samsung.com/technical-doc/view.do?v=T000000117
    c. Original firmware
    For SM-P580 Search for SM-P580 at http://updato.com/firmware-archive-select-model
    For SM-T580, https://www.sammobile.com/firmwares/database/SM-T580/XAR/. (Thanks post #2)
    For SM-P585, Search for SM-P585 at http://updato.com/firmware-archive-select-model
    d. TWRP
    For SM-P580 https://dl.twrp.me/gtanotexlwifi, click twrp-3.0.2-0-gtanotexlwifi.img.tar, then follow directions to download
    For SM-P585 https://dl.twrp.me/gtanotexllte/
    For SM-T580 https://dl.twrp.me/gtaxlwifi/
    e. SuperSU (get latest version) https://download.chainfire.eu/supersu
    f. ashxy's Dm-verity and force encryption disabler https://www.androidfilehost.com/?fid=24591000424951049

    2. PREPERATION

    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​

    3. REFLASH ORIGINAL FIRMWARE (Optional)
    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​

    4. FLASH TWRP
    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)"​

    5. ENTER TWRP AND CONFIGURE
    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.​

    6. CONFIRM DATA ACCESS IN TWRP
    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​

    7. FUTURE USE OF TWRP
    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. :)
    4
    This is a excellent guide, I'm just wanting a slight clarification surrounding the bootloader.

    I've only unlocked 3 android devices, and I've always used adb/fastboot to unlock the bootloader and install TWRP.
    This guide mentions only enabling "OEM unlock" in the settings: is this how you unlock the bootloader in these devices? I don't know why, LOL, but I am expecting more steps.
    Do I need to also do the typical "fastboot oem unlock" via a terminal command?
    I have an SM T-580.

    Thanks Quoddity.

    No need to use fastboot oem unlock, and just making the change to OEM unlock in the developer settings is all that is needed to unlock the device.

    I prefer to use ODIN, as it is the go-to tool for working with Samsung devices, especially for installing base firmware and specific partitions (e.g. recovery). It is because of ODIN that Samsung devices have the reputation as "hard to brick". No matter how much you messed up your Samsung, all you need to do is get the device into download mode (using the key combination) and re-writing the whole device firmware with ODIN. While this will not reset the Knox, it will put the device essentially into factory reset condition. There may be other tools that accomplish this, but ODIN has yet to fail me.

    Getting original firmware from updato is easy, but will take a long time (for me, up to 12 hours), so it is a good thing to get "before you need it".

    Let us know how this whole thing works for you. Just make sure you have the right model number for both your firmware and TWRP. I'll be interested in hearing your outcome.
    3
    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).
    3
    That makes sense then :) We are now officially T585 LTE blood brothers 'til the end of time and beyond. :D

    Your logic is flawed since I'm female ... but yes, let's be blood siblings :p :laugh: