[Recovery][T580] Official TWRP for Galaxy Tab A 10.1 WiFi 2016 (gtaxlwifi)

Search This thread

jcadduono

Recognized Developer
Jan 17, 2014
1,489
6,226
32
Thunder Bay
adduono.com
Team Win Recovery Project 3.0.2-0



This is for the Exynos WiFi SM-T580 model only!

WARNING: Flashing a custom recovery to your device will trip the Knox warranty bit on your phone. Check with your retailer to see if they will still cover warranty on Knox bit triggered devices. If you understand this risk, continue on.


WHAT IS TWRP?

Oh come on, you know what it is - don't try to fool me!
In case you're serious, though...

Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.

DOWNLOAD

You can find the device page here:
http://teamw.in/devices/samsunggalaxytaba101wifi2016.html

There is a download link there, as well as instructions on how to flash it.

I highly recommend using Odin to flash when possible.
You can find a zip containing Odin as well as a link to Samsung's Mobile drivers page here:
https://idlekernel.com/flash-tools/

FULL STEPS FOR OBTAINING ROOT

  1. In your ROM, go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
    Transparent.gif
  2. 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.
    Transparent.gif
  3. Make sure your don't have Factory Reset Protection enabled in your Google account or you may never be able to boot again!
    More information: https://support.google.com/nexus/answer/6172890?hl=en
    Transparent.gif
  4. Extract Odin_3.12.3.zip to your computer.
    Transparent.gif
  5. Install Samsung Mobile Phone Drivers for Odin to find your device.
    Transparent.gif
  6. Download a .tar image of TWRP for gtaxlwifi.
    Transparent.gif
  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.
    Transparent.gif
  8. Open Odin and place that TWRP tar file in the [AP] slot, under Options tab disable Auto Reboot, then press [Start].
    Transparent.gif
  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.
    Transparent.gif
  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, otherwise the OS will replace TWRP once you boot!
    Transparent.gif
  11. If you want to be rooted with SuperSU:
    Download the latest SuperSU by Chainfire.
    Without exiting TWRP, transfer the SuperSU zip to your device over MTP* and flash it using [Install] in TWRP.
    Transparent.gif
  12. Go to [Reboot] -> [System].
* MTP, known as Media Transfer Protocol, is the same way you transfer files from your PC to your device when booted into system.


CHANGES
  • v3.0.2-0 - Initial build on twrp.me

FEATURES
  • MTP support
  • USB Mass Storage support
  • Micro SDcard and USB OTG storage support
  • f2fs file system support (read, write, format, backup & restore)
  • exFAT file system support (read, write, format, backup & restore)
  • NTFS file system support (read, write, format)
  • ADB root
  • Full SELinux support
  • Built in android 6.0 tree

KNOWN ISSUES

CONTACT & SUPPORT

You can find us on IRC at #twrp on chat.freenode.net.
You can also post in this thread and I will attempt to answer any questions you may have.

SOURCE CODE

TWRP: https://github.com/omnirom/android_bootable_recovery (android-6.0)
Device tree: https://github.com/jcadduono/android_device_samsung_gtaxlwifi (android-6.0)
Kernel: https://github.com/jcadduono/android_kernel_samsung_exynos7870 (twrp-6.0)

CONTRIBUTIONS

Gerrit for TWRP: http://gerrit.omnirom.org/
Gerrit for officially supported devices: http://gerrit.twrp.me/
 
Last edited:

bws78

Member
Feb 16, 2016
18
12
Thanks for this work!

I managed to flash and boot into TWRP recovery but i have partition problem :
"failed to mount data"
"internal storage is listed as 0MB"
qDCs9iS.jpg
jIjKi4a.jpg

http://imgur.com/a/Ut3S7
http://imgur.com/qDCs9iS



EDIT2: As mentionned by @jcadduono , there is a simpler method than mine :
BTW you can just flash TWRP and use the [Format Data] button on wipe page which will do the same thing, making data available (but completely wiped, including internal storage!!!)

EDIT3: use@ashyx' patch to remove encryption:

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

.
 
Last edited:

jcadduono

Recognized Developer
Jan 17, 2014
1,489
6,226
32
Thunder Bay
adduono.com
Thanks for this work!

I managed to flash and boot into TWRP recovery but i have partition problem :
"failed to mount data"
"internal storage is listed as 0MB"
qDCs9iS.jpg
jIjKi4a.jpg

http://imgur.com/a/Ut3S7
http://imgur.com/qDCs9iS

EDIT: I found out a solution to solve my problem, at least to root my device.
-Flash back stock recovery using odin
-Boot in stock recovery and Wipe data/factory reset
-Boot DIRECTLY in download mode (DO NOT NORMAL BOOT)
-Flash TWRP recovery using odin
-Boot DIRECTLY in TWRP recovery (DO NOT NORMAL BOOT)
(/data partition should be visible)
-For root flash Supersu.zip (or what you want)
-reboot system (device is now rooted)

Each time my device boot on android I lose /data partition in TWRP, maybe due to partition encryption
yes Exynos 7870 devices currently have a bug where Samsung is using their own crypto daemon and telling vold to force encryption regardless of fstab flags, I reported it to Samsung security team but not sure if they are looking into it. So far haven't found a way to prevent encryption from happening. (I removed all references to encryption in ramdisk & system.prop and it still encrypts, wow!)

BTW you can just flash TWRP and use the [Format Data] button on wipe page which will do the same thing, making data available (but completely wiped, including internal storage!!!)
 
Last edited:

jcadduono

Recognized Developer
Jan 17, 2014
1,489
6,226
32
Thunder Bay
adduono.com
Could it possibly work for SM-T585? Would it be possible to use your repos and compile a build for my tab?

I've been hoping someone would show up with the T585 in the #twrp channel on freenode so we could work on it, it would only take minimal changes (basically just take the dtb from stock T585 rom I guess, kernels should be exactly the same)

You could try flashing T580 TWRP and let me know if it works though, then I can just combine them if so.
 
  • Like
Reactions: Sage

西村大一

Senior Member
Dec 7, 2012
857
342
Sagamihara\Tōkyō
I've been hoping someone would show up with the T585 in the #twrp channel on freenode so we could work on it, it would only take minimal changes (basically just take the dtb from stock T585 rom I guess, kernels should be exactly the same)

You could try flashing T580 TWRP and let me know if it works though, then I can just combine them if so.

I am too tired right now and not in the mood. Very sick, having some tooth issues and maybe we can sort this out somehow. But not today, I am really sorry. May be tomorrow. Add 13 hours to your time and you'll know if I am on-line or not. It's about 7 am here, been up all night and need some sleep. Just PM me whenever you can and I'll hop on Freenode.
 

8BitAirwaves

New member
Aug 8, 2016
3
0
I'm having problems booting from Download mode (after flashing recovery via Odin) directly into Restore mode... Is there a trick I'm missing? I can't seem to find a way to get the battery out so right now all I can do is reboot in Download_mode>cancel>volume up and I'm in TWRP but same partition/data issue as above. Thanks for any help:)
 

bws78

Member
Feb 16, 2016
18
12
I'm having problems booting from Download mode (after flashing recovery via Odin) directly into Restore mode... Is there a trick I'm missing? I can't seem to find a way to get the battery out so right now all I can do is reboot in Download_mode>cancel>volume up and I'm in TWRP but same partition/data issue as above. Thanks for any help:)
In download mode press [power + vol down + home], when the screen turn off press [power + vol up+ home].

But you should try format data in twrp (on wipe page) as mentioned by jcadduono. It's a easier way to remove partition encryption (wipe everything on /data)
 

8BitAirwaves

New member
Aug 8, 2016
3
0
But you should try format data in twrp (on wipe page) as mentioned by jcadduono. It's a easier way to remove partition encryption (wipe everything on /data)
First off thank you so much for the fast reply, I should have thought of that- well the button swap I never would have come up with the quoted I'm rather new/in middle of a dedicated but gradual move from iOS Dev to Android! Loving it and this community, thanks again
 

yetibiker

Member
Aug 22, 2012
5
0
root sm-t580

@bws78
Hello,
Sorry for my bad english, first!
To Boot DIRECTLY in download mode from stock recovery correctly once i wipe data/factory reset, do i have to power off and then use buttons power + (volume -) + home?Is that correct?
Same thing when i finish to Flash TWRP recovery using odin to boot DIRECTLY in TWRP recovery, buttons : power + (volume +) + home ?
Thanks fo your response:D
 

bws78

Member
Feb 16, 2016
18
12
@bws78
Hello,
Sorry for my bad english, first!
To Boot DIRECTLY in download mode from stock recovery correctly once i wipe data/factory reset, do i have to power off and then use buttons power + (volume -) + home?Is that correct?
Same thing when i finish to Flash TWRP recovery using odin to boot DIRECTLY in TWRP recovery, buttons : power + (volume +) + home ?
Thanks fo your response:D
To boot in download mode from stock recovery, go to power off or reboot system and when the screen turn off press
[power + vol down + home].
To boot in recovery mode from download mode, long press [power + vol down + home], when the screen turn off press [power + vol up+ home].
But this method it's tedious. Try @jcadduono method to wipe /data encryption from TWRP:
BTW you can just flash TWRP and use the [Format Data] button on wipe page which will do the same thing, making data available (but completely wiped, including internal storage!!!)
 

yetibiker

Member
Aug 22, 2012
5
0
recovery t580

Hello,
I flash the TWRP in download mode whithout doing data/factory reset before in stock recovery but when i try to reboot in TWRP, because odin say success, i'm finally in stock recovery!
How many times i've to wait the bar stop in download mode? Because the bar wasn't totally full when i reboot, miss just a very little bit, but after few(too long) minutes i try to reboot to go on TWRP but not here, just stock recovery. I missed up something? I can't remove battery, is that for?
Thanks for your time
 

UntouchedWagons

Senior Member
Jul 27, 2016
55
7
So this replaces the regular recovery image? If so the first thing I'd want to do is make a backup I guess right?
 
Last edited:

jaykoerner

Senior Member
Dec 4, 2014
71
9
I know this looks to be early days, but anyone looking into cm on this device(just got it today) also any luck with xposed?

---------- Post added at 04:22 PM ---------- Previous post was at 04:19 PM ----------

So this replaces the regular recovery image? If so the first thing I'd want to do is make a backup I guess right?
Samsung is really good about having odin flashable packages available so if there is issues you can always restore via download mode (never heard of a permanent soft brick in years for a Samsung device)
 

UntouchedWagons

Senior Member
Jul 27, 2016
55
7

UntouchedWagons

Senior Member
Jul 27, 2016
55
7
Step 8 says to download the tar file in the AP slot, but the download page for TWRP is an img file, do I just tar the image using 7zip?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 33
    Team Win Recovery Project 3.0.2-0



    This is for the Exynos WiFi SM-T580 model only!

    WARNING: Flashing a custom recovery to your device will trip the Knox warranty bit on your phone. Check with your retailer to see if they will still cover warranty on Knox bit triggered devices. If you understand this risk, continue on.


    WHAT IS TWRP?

    Oh come on, you know what it is - don't try to fool me!
    In case you're serious, though...

    Team Win Recovery Project is a custom recovery for Android devices.
    It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.

    DOWNLOAD

    You can find the device page here:
    http://teamw.in/devices/samsunggalaxytaba101wifi2016.html

    There is a download link there, as well as instructions on how to flash it.

    I highly recommend using Odin to flash when possible.
    You can find a zip containing Odin as well as a link to Samsung's Mobile drivers page here:
    https://idlekernel.com/flash-tools/

    FULL STEPS FOR OBTAINING ROOT

    1. In your ROM, go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
      Transparent.gif
    2. 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.
      Transparent.gif
    3. Make sure your don't have Factory Reset Protection enabled in your Google account or you may never be able to boot again!
      More information: https://support.google.com/nexus/answer/6172890?hl=en
      Transparent.gif
    4. Extract Odin_3.12.3.zip to your computer.
      Transparent.gif
    5. Install Samsung Mobile Phone Drivers for Odin to find your device.
      Transparent.gif
    6. Download a .tar image of TWRP for gtaxlwifi.
      Transparent.gif
    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.
      Transparent.gif
    8. Open Odin and place that TWRP tar file in the [AP] slot, under Options tab disable Auto Reboot, then press [Start].
      Transparent.gif
    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.
      Transparent.gif
    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, otherwise the OS will replace TWRP once you boot!
      Transparent.gif
    11. If you want to be rooted with SuperSU:
      Download the latest SuperSU by Chainfire.
      Without exiting TWRP, transfer the SuperSU zip to your device over MTP* and flash it using [Install] in TWRP.
      Transparent.gif
    12. Go to [Reboot] -> [System].
    * MTP, known as Media Transfer Protocol, is the same way you transfer files from your PC to your device when booted into system.


    CHANGES
    • v3.0.2-0 - Initial build on twrp.me

    FEATURES
    • MTP support
    • USB Mass Storage support
    • Micro SDcard and USB OTG storage support
    • f2fs file system support (read, write, format, backup & restore)
    • exFAT file system support (read, write, format, backup & restore)
    • NTFS file system support (read, write, format)
    • ADB root
    • Full SELinux support
    • Built in android 6.0 tree

    KNOWN ISSUES

    CONTACT & SUPPORT

    You can find us on IRC at #twrp on chat.freenode.net.
    You can also post in this thread and I will attempt to answer any questions you may have.

    SOURCE CODE

    TWRP: https://github.com/omnirom/android_bootable_recovery (android-6.0)
    Device tree: https://github.com/jcadduono/android_device_samsung_gtaxlwifi (android-6.0)
    Kernel: https://github.com/jcadduono/android_kernel_samsung_exynos7870 (twrp-6.0)

    CONTRIBUTIONS

    Gerrit for TWRP: http://gerrit.omnirom.org/
    Gerrit for officially supported devices: http://gerrit.twrp.me/
    17
    Is there a way to keep "Data" encryption turned off? I saw on a few other Exynos device TWRP threads there is a "dm-verity and force encryption disabler" does that help?
    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

    .
    14
    Update:
    TWRP T580 Oreo build.

    Recompiled with source built Oreo kernel and dtb.
    T580: https://androidfilehost.com/?fid=11410963190603846502

    T585: https://androidfilehost.com/?fid=11410963190603846505



    SM-T580XXU4CRJ9_patched_boot - disabled dm-verity, forced encyption disabled, defex security disabled, quota support removed, Selinux permissive.
    https://androidfilehost.com/?fid=11410963190603845930


    .
    7
    If you want someone to test, I'm ready for that, don't hesitate
    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.
    5
    Thanks for this work!

    I managed to flash and boot into TWRP recovery but i have partition problem :
    "failed to mount data"
    "internal storage is listed as 0MB"
    qDCs9iS.jpg
    jIjKi4a.jpg

    http://imgur.com/a/Ut3S7
    http://imgur.com/qDCs9iS



    EDIT2: As mentionned by @jcadduono , there is a simpler method than mine :
    BTW you can just flash TWRP and use the [Format Data] button on wipe page which will do the same thing, making data available (but completely wiped, including internal storage!!!)

    EDIT3: use@ashyx' patch to remove encryption:

    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

    .