[TWRP 3.1.0-1][ROOT] Galaxy Tab S2(2016) - SM-T713/SM-T719/SM-T813/SM-T819 - 1/4/17

Search This thread

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,087
9,928
Unofficial release -TWRP recovery for the Galaxy Tab S2 - SM-T713/719/813/819, Qualcomm MSM8976

teamwin-recovery-project-twrp-logo.jpg


TWRP 3.1.0-0 Released
Mar 10, 2017

TWRP 3.1.0-0 is out now for all currently supported devices.

What's new in 3.1.0-0:


vold decrypt on a few select HTC devices, TWRP will now attempt to use the system partition's vold and vdc binaries and libraries to decrypt the data partition (nkk71 and CaptainThrowback)
adb backup to stream a backup directly to or from your PC, see documentation here (bigbiff)
tweak MTP startup routines (mdmower)
support new Android 7.x xattrs for backup and restore to fix loss of data after a restore (Dees_Troy)
support POSIX file capabilities backup and restore to fix VoLTE on HTC devices and possibly other issues (Dees_Troy)
better indicate to users that internal storage is not backed up (Dees_Troy)
improve automatic determination of TW_THEME (mdmower)
minimal getcap and setcap support (_that)
try mounting both ext4 and f2fs during decrypt (jcadduono and Dees_Troy)
shut off backlight with power key (mdmower)
timeout during FDE decrypt (Dees_Troy and nkk71)
support for FBE decrypt and backing up and restoring FBE policies (Dees_Troy)
boot slot support (Dees_Troy)
TWRP app install prompt during reboot (Dees_Troy)
support for AB OTA zips (Dees_Troy)
support new Android 7.x log command (Dees_Troy)
update recovery sources to AOSP 7.1 (Dees_Troy)
numerous bugfixes and improvements by too many people to mention

Official TWRP App
Mar 11, 2017

Official TWRP App
The official TWRP app is the first and only first-party app developed by Team Win for TWRP. Please bear with us as we work to fix any bugs and build out the features. The initial version of the app does not support flashing on the Pixel due to the Pixel's A/B partition layout. In addition, the app may not support finding and flashing images from external storage locations. We are working hard to improve these items and bring you more new features.
Download Links:
We recommend downloading the app from the Play Store.

If you do not have Play Store access, you may download the Official TWRP App here: https://dl.twrp.me/twrpapp/
How do I use the app?
When you first open the app, you will be greeted by a few options. First, you will need to agree not to hold us responsible for anything that happens to your device while using the app. You may also grant the app root permissions. The app will work without root, but some functionality like image flashing will be disabled. Lastly, you can opt into enabling InsightCore (more on this feature later).

Once you have passed this initial screen, you will be greeted with the app home screen where you can choose TWRP FLASH or NETWORK STATISTICS (more on the network statistics later). On the TWRP FLASH screen you will need to select a device. Once you have selected a device, the app will periodically check for new TWRP versions for the device that you have selected. The default interval is once per day, but you can tap on the settings icon in the upper-right to change the interval or disable the update check entirely.

If you enabled root access, you will see options for selecting an image and buttons for flashing the selected image to boot or recovery. Note that you should flash TWRP images to recovery. The boot image flashing is for flashing full boot images (not just kernel zImages) and should not be used for flashing TWRP.



Update 1/4/2017
TWRP 3.1.0-1 MM/NN build released.

Current status: BETA

Features:

MTP working
ADB working
SEANDROID warning fix
TWRP and Kernel built from source
System image backup
F2FS support >> To be added
Twrp app support

Bugs:
Reboot to recovery loop when using reboot utilities. Use hardkeys combo only to boot to recovery POWER + HOME + VOL UP
If you get stuck in a recovery loop reflash TWRP with auto-reboot enabled.




You flash this at your own risk. Please ensure you have the stock ROM to hand downloaded from SAMMOBILE in case of problems. This will trip the knox counter.


Instructions:


Flash with ODIN 3.10.7 in the AP slot.
Put your device in DOWNLOAD mode.
Uncheck Auto reboot.
Load the respective file below into the AP slot and hit start.
After flashing and ODIN reports PASS immediately reboot to recovery by holding POWER + HOME + VOL DOWN.
As soon as the screen goes blank change to VOL UP whilst still holding POWER + HOME.
You should now see TWRP recovery.


NOTE: ON SOME ANDROID 5.1.1/6.0/7.0 DEVICES IT IS NECESSARY TO GO TO:
Settings -> Developer Options -> OEM unlocking
AND ENABLE OEM UNLOCK FIRST OR YOU MAY ENCOUNTER 'BLOCKED BY FRP LOCK' WHEN FLASHING.


DOWNLOAD:

TWRP 3.1.0-1 - Nougat
twrp_3.1.0-1_sm-t713_14417n
twrp_3.1.0-1_sm-t719_13417n
twrp_3.1.0-1_sm-t813_14417n
twrp_3.1.0-1_sm-t819_14417n

TWRP 3.1.0-1 - Lollipop/Marshmallow
twrp_3.1.0-1_sm-t713_1417
twrp_3.1.0-1_sm-t719_1417
twrp_3.1.0-1_sm-t813_1417
twrp_3.1.0-1_sm-t819_1417

TWRP 3.0.2-1

SM-T713/719
twrp_3.0.2-1_sm-t713

SM-T813
twrp_3.0.2-1_sm-t813

SM-T819
twrp_3.0.2-1_sm-t819_31816



To Root:
Flash the latest SuperSU release with TWRP:
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133/

To disable forced encryption and mount internal storage:
(Note this MUST be flashed after SuperSU if you intend to root)

1. Boot to Twrp
2. Format Data partition using FORMAT DATA button under Wipe options.
(Note: This will wipe the internal storage)
3. Check DATA is mountable.
4. Install SuperSU (if root is required)
5. Install boot image patch below.
6. Reboot

Boot image patch
no-verity-no-encrypt_ashyx




DEVICE TREE: soon


PLEASE DO *NOT* DIRECT LINK TO THESE FILES. PLEASE LINK TO THIS POST


Screenshot_2016_03_05_08_13_44_1.png


DnoCrqh.png


VAm49c4.png


ytBFf13.png


ONLSkMi.png



Credits: Me, my testers, Teamwin
Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from.

FEEDBACK IS APPRECIATED PLEASE.
THANKS.


DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU



.
 
Last edited:

dalingrin

Inactive Recognized Developer
Nov 6, 2007
1,433
2,756
I was able to both flash TWRP with Odin as well as root the device.

I was not able to mount /data in TWRP however.
I couldn't use adb shell while in recovery due to a libc.so not found error. ADB did work in the Samsung provided Android 6.0.1.

I've attached the recovery log as well as the kernel log.
 

Attachments

  • log.txt
    16.5 KB · Views: 311
  • last_kmsg.txt
    120.4 KB · Views: 153

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,087
9,928
I was able to both flash TWRP with Odin as well as root the device.

I was not able to mount /data in TWRP however.
I couldn't use adb shell while in recovery due to a libc.so not found error. ADB did work in the Samsung provided Android 6.0.1.

I've attached the recovery log as well as the kernel log.

I'm not sure, but could this be caused by enabled encryption :confused:

As far as I know Android devices which are sold with 6.0.1 by default need to be encrypted

Thanks for testing and posting the logs. @York2k16 Correct the error mounting data is because of encryption. Twrp is unable to find the encryption key.
It's true Android 6 devices are encrypted by default, but don't need to be.

Work around for now would be not to use encryption until I find the solution.

The issue with adb is because of Samsungs stock kernel.
I need to recompile it with root protection removed.
Unfortunately no sources are available as yet.

Well at least we have a working recovery and a root solution.

Can you confirm a few things:
UI orientation, portrait or landscape?
UI colour?
All other options and features working correctly?

Thanks, well done for probably being the first in the world to have a rooted S2 VE 8.0 ;)
 

York2k16

Member
Jun 1, 2016
5
2
Work around for now would be not to use encryption until I find the solution.

Few weeks ago I've tested the T813 and returned it back after a few days. I'm going to buy the LTE model soon or when the prices go down a bit.

Checking the security settings menu I've realized that there is no option for enabling/disabling device encryption, only SD encryption.
@dalingrin: Is this the same case on your device?

This "issue" would open up another question: How do I decrypt a device, which is encrypted by factory default, but doesn't offer any options to disable/enable encryption?
 

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,087
9,928
Few weeks ago I've tested the T813 and returned it back after a few days. I'm going to buy the LTE model soon or when the prices go down a bit.

Checking the security settings menu I've realized that there is no option for enabling/disabling device encryption, only SD encryption.

@dalingrin: Is this the same case on your device?

This "issue" would open up another question: How do I decrypt a device, which is encrypted by factory default, but doesn't offer any options to disable/enable encryption?
you need to format the data partition in TWRP to remove encryption.
 
  • Like
Reactions: VanoSM and York2k16

DeeXii

Senior Member
Sep 28, 2010
1,144
1,230
Magic Kingdom, FL
I now have a T713 if you need anything tested.

---------- Post added at 11:52 AM ---------- Previous post was at 11:46 AM ----------

Anyone here have a link to the T713 stock PD9 firmware?
 

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,087
9,928
I now have a T713 if you need anything tested.

---------- Post added at 11:52 AM ---------- Previous post was at 11:46 AM ----------

Anyone here have a link to the T713 stock PD9 firmware?

Can you test the link in post #11.
Can you mount data?
 

DeeXii

Senior Member
Sep 28, 2010
1,144
1,230
Magic Kingdom, FL

Top Liked Posts

  • There are no posts matching your filters.
  • 89
    Unofficial release -TWRP recovery for the Galaxy Tab S2 - SM-T713/719/813/819, Qualcomm MSM8976

    teamwin-recovery-project-twrp-logo.jpg


    TWRP 3.1.0-0 Released
    Mar 10, 2017

    TWRP 3.1.0-0 is out now for all currently supported devices.

    What's new in 3.1.0-0:


    vold decrypt on a few select HTC devices, TWRP will now attempt to use the system partition's vold and vdc binaries and libraries to decrypt the data partition (nkk71 and CaptainThrowback)
    adb backup to stream a backup directly to or from your PC, see documentation here (bigbiff)
    tweak MTP startup routines (mdmower)
    support new Android 7.x xattrs for backup and restore to fix loss of data after a restore (Dees_Troy)
    support POSIX file capabilities backup and restore to fix VoLTE on HTC devices and possibly other issues (Dees_Troy)
    better indicate to users that internal storage is not backed up (Dees_Troy)
    improve automatic determination of TW_THEME (mdmower)
    minimal getcap and setcap support (_that)
    try mounting both ext4 and f2fs during decrypt (jcadduono and Dees_Troy)
    shut off backlight with power key (mdmower)
    timeout during FDE decrypt (Dees_Troy and nkk71)
    support for FBE decrypt and backing up and restoring FBE policies (Dees_Troy)
    boot slot support (Dees_Troy)
    TWRP app install prompt during reboot (Dees_Troy)
    support for AB OTA zips (Dees_Troy)
    support new Android 7.x log command (Dees_Troy)
    update recovery sources to AOSP 7.1 (Dees_Troy)
    numerous bugfixes and improvements by too many people to mention

    Official TWRP App
    Mar 11, 2017

    Official TWRP App
    The official TWRP app is the first and only first-party app developed by Team Win for TWRP. Please bear with us as we work to fix any bugs and build out the features. The initial version of the app does not support flashing on the Pixel due to the Pixel's A/B partition layout. In addition, the app may not support finding and flashing images from external storage locations. We are working hard to improve these items and bring you more new features.
    Download Links:
    We recommend downloading the app from the Play Store.

    If you do not have Play Store access, you may download the Official TWRP App here: https://dl.twrp.me/twrpapp/
    How do I use the app?
    When you first open the app, you will be greeted by a few options. First, you will need to agree not to hold us responsible for anything that happens to your device while using the app. You may also grant the app root permissions. The app will work without root, but some functionality like image flashing will be disabled. Lastly, you can opt into enabling InsightCore (more on this feature later).

    Once you have passed this initial screen, you will be greeted with the app home screen where you can choose TWRP FLASH or NETWORK STATISTICS (more on the network statistics later). On the TWRP FLASH screen you will need to select a device. Once you have selected a device, the app will periodically check for new TWRP versions for the device that you have selected. The default interval is once per day, but you can tap on the settings icon in the upper-right to change the interval or disable the update check entirely.

    If you enabled root access, you will see options for selecting an image and buttons for flashing the selected image to boot or recovery. Note that you should flash TWRP images to recovery. The boot image flashing is for flashing full boot images (not just kernel zImages) and should not be used for flashing TWRP.



    Update 1/4/2017
    TWRP 3.1.0-1 MM/NN build released.

    Current status: BETA

    Features:

    MTP working
    ADB working
    SEANDROID warning fix
    TWRP and Kernel built from source
    System image backup
    F2FS support >> To be added
    Twrp app support

    Bugs:
    Reboot to recovery loop when using reboot utilities. Use hardkeys combo only to boot to recovery POWER + HOME + VOL UP
    If you get stuck in a recovery loop reflash TWRP with auto-reboot enabled.




    You flash this at your own risk. Please ensure you have the stock ROM to hand downloaded from SAMMOBILE in case of problems. This will trip the knox counter.


    Instructions:


    Flash with ODIN 3.10.7 in the AP slot.
    Put your device in DOWNLOAD mode.
    Uncheck Auto reboot.
    Load the respective file below into the AP slot and hit start.
    After flashing and ODIN reports PASS immediately reboot to recovery by holding POWER + HOME + VOL DOWN.
    As soon as the screen goes blank change to VOL UP whilst still holding POWER + HOME.
    You should now see TWRP recovery.


    NOTE: ON SOME ANDROID 5.1.1/6.0/7.0 DEVICES IT IS NECESSARY TO GO TO:
    Settings -> Developer Options -> OEM unlocking
    AND ENABLE OEM UNLOCK FIRST OR YOU MAY ENCOUNTER 'BLOCKED BY FRP LOCK' WHEN FLASHING.


    DOWNLOAD:

    TWRP 3.1.0-1 - Nougat
    twrp_3.1.0-1_sm-t713_14417n
    twrp_3.1.0-1_sm-t719_13417n
    twrp_3.1.0-1_sm-t813_14417n
    twrp_3.1.0-1_sm-t819_14417n

    TWRP 3.1.0-1 - Lollipop/Marshmallow
    twrp_3.1.0-1_sm-t713_1417
    twrp_3.1.0-1_sm-t719_1417
    twrp_3.1.0-1_sm-t813_1417
    twrp_3.1.0-1_sm-t819_1417

    TWRP 3.0.2-1

    SM-T713/719
    twrp_3.0.2-1_sm-t713

    SM-T813
    twrp_3.0.2-1_sm-t813

    SM-T819
    twrp_3.0.2-1_sm-t819_31816



    To Root:
    Flash the latest SuperSU release with TWRP:
    https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133/

    To disable forced encryption and mount internal storage:
    (Note this MUST be flashed after SuperSU if you intend to root)

    1. Boot to Twrp
    2. Format Data partition using FORMAT DATA button under Wipe options.
    (Note: This will wipe the internal storage)
    3. Check DATA is mountable.
    4. Install SuperSU (if root is required)
    5. Install boot image patch below.
    6. Reboot

    Boot image patch
    no-verity-no-encrypt_ashyx




    DEVICE TREE: soon


    PLEASE DO *NOT* DIRECT LINK TO THESE FILES. PLEASE LINK TO THIS POST


    Screenshot_2016_03_05_08_13_44_1.png


    DnoCrqh.png


    VAm49c4.png


    ytBFf13.png


    ONLSkMi.png



    Credits: Me, my testers, Teamwin
    Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from.

    FEEDBACK IS APPRECIATED PLEASE.
    THANKS.


    DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU



    .
    4
    Thanks for the correction and your patience, must be looking at things in a daze[emoji14]I have an edited version:

    For Galaxy Tab S2 9.7 SM-T813

    1Settings -> Developer Options -> OEM unlocking ENABLE OEM UNLOCK
    2Put in download mode: turn on by pressing and holding Volume DOWN + Home + Power Key
    3Run Odin, connect USB to PC and Tab. ID-Com Box turns blue.
    4Click "AP" Button in Odin, Select "twrp_3.0.2-1_sm-t813.tar" on PC.
    5Unselect all "Options" except "F. Reset Time".
    6Press Start in Odin.
    7Wait for ID-COM Box to turn Green; Uncheck Auto-reboot. turn OFF your Tab.
    8Boot into TWRP Recovery mode: turn it on by pressing and holding Volume UP + Home + Power Key.
    9In TWRP: "Wipe > Format Data" to remove encryption, destroys all user data!
    10 Shut Down Tab.
    11Copy no-verity-no-encrypt_ashyx.zip to SD card in Tab.
    12Boot into TWRP Recovery mode: turn it on by pressing and holding Volume UP + Home + Power Key.
    13Flash no-verity-no-encrypt_ashyx.zip (NOT Image file as in Techbeasts Guide!)
    14To Root: Flash "SuperSU.zip" with TWRP as in 11-12.
    #10
    There's no real reason to shutdown, it can all be done in one fell swoop.
    If you do want to reboot then it's sufficient to just use the reboot to recovery option in twrp.

    Everything else is good.
    4
    UPDATE 14/4/2017: Fixed Nougat builds added to the OP.
    4
    Update: TWRP 3.1.0.-1 released.
    4
    Hello ashyx...
    I do exactly your séquence :
    - Unlock OEM
    - Install twrp_3.1.0-1_sm-t813_14417 Nougat Mode .
    - Format Data ... (with a lot of red warning (prob with Data )
    - Install SR3-SuperSU-v2.79-SR3-20170114223742 (no warning)
    - Install no-verity-no-encrypt_ashyx (no warning)
    - Reboot immédiately with Power On + Vol Down + Home...

    On screen "Galaxy Tab S2" / Powered by samsung 10 sec after logo samsung blinking 10 mins and after Boot OK ... Root work correclty ....

    *** Root work on Galaxy Tab S 2 VE Nougat (T813XXU2BQD1 DBT)

    Great Thanks ashyx for you help ...

    Bye ...