FORUMS
Remove All Ads from XDA

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

1,491 posts
Thanks Meter: 6,147
 
Post Reply Email Thread
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/samsunggalax...1wifi2016.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.
  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.
  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
  4. Extract Odin_3.12.3.zip to your computer.
  5. Install Samsung Mobile Phone Drivers for Odin to find your device.
  6. Download a .tar image of TWRP for gtaxlwifi.
  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, otherwise the OS will replace TWRP once you boot!
  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.
  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...sung_gtaxlwifi (android-6.0)
Kernel: https://github.com/jcadduono/android...ung_exynos7870 (twrp-6.0)

CONTRIBUTIONS

Gerrit for TWRP: http://gerrit.omnirom.org/
Gerrit for officially supported devices: http://gerrit.twrp.me/
The Following 29 Users Say Thank You to jcadduono For This Useful Post: [ View ]
 
 
12th August 2016, 12:53 PM |#2  
Junior Member
Thanks Meter: 12
 
More
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"

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



EDIT2: As mentionned by @jcadduono , there is a simpler method than mine :
Quote:

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: [email protected]ashyx' patch to remove encryption:

Quote:

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[COLOR="Silver"]

.

The Following 5 Users Say Thank You to bws78 For This Useful Post: [ View ] Gift bws78 Ad-Free
13th August 2016, 05:56 PM |#3  
jcadduono's Avatar
OP Recognized Developer
Flag Thunder Bay
Thanks Meter: 6,147
 
Donate to Me
More
Quote:
Originally Posted by bws78

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"


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!!!)
The Following 4 Users Say Thank You to jcadduono For This Useful Post: [ View ]
13th August 2016, 09:22 PM |#4  
西村大一's Avatar
Senior Member
Flag Sagamihara\Tōkyō
Thanks Meter: 349
 
More
Could it possibly work for SM-T585? Would it be possible to use your repos and compile a build for my tab?
13th August 2016, 10:54 PM |#5  
jcadduono's Avatar
OP Recognized Developer
Flag Thunder Bay
Thanks Meter: 6,147
 
Donate to Me
More
Quote:
Originally Posted by Alexander_the_B0ss

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.
The Following User Says Thank You to jcadduono For This Useful Post: [ View ]
13th August 2016, 11:01 PM |#6  
西村大一's Avatar
Senior Member
Flag Sagamihara\Tōkyō
Thanks Meter: 349
 
More
Quote:
Originally Posted by jcadduono

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.
14th August 2016, 12:32 AM |#7  
Junior Member
Thanks Meter: 0
 
More
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
14th August 2016, 01:57 AM |#8  
Junior Member
Thanks Meter: 12
 
More
Quote:
Originally Posted by 8BitAirwaves

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)
The Following 2 Users Say Thank You to bws78 For This Useful Post: [ View ] Gift bws78 Ad-Free
14th August 2016, 02:01 AM |#9  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by bws78

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
14th August 2016, 12:01 PM |#10  
Junior Member
Thanks Meter: 0
 
More
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
14th August 2016, 12:59 PM |#11  
Junior Member
Thanks Meter: 12
 
More
Quote:
Originally Posted by yetibiker

@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

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:
Quote:

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!!!)

Post Reply Subscribe to Thread

Tags
galaxy tab a, galaxy-tab-a, recovery, tab a 10.1, tab a 2016, twrp

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread