yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] jean2323:
I need to do this? I followed the installation instructions

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
[Galaxy Tab S2 Android Development] DeadPicsel:
Quick question.

I understand that you need to wipe data when rooting. Is there any way to encrypt data once rooted and booted into the firmware. I'm only asking as I use my tablet for work and we need data partitions to be encrypted.
[Galaxy Tab S2 Android Development] ashyx:
It's not a requirement. You only need to do it if you want access to the data partition in twrp.

If not just leave it as it is.
[Galaxy Tab S2 Android Development] DeadPicsel:
Can I still root then if I am encrypted?

If yes then you my friend are a legend
[Galaxy Tab S2 Android Development] ashyx:
Yes should be able to.
[Galaxy Tab S2 Android Development] immunology:
please add t715 root for android7
[Galaxy Tab S2 Android Development] ashyx:
https://xdaforums.com/tab-s2/development/recovery-twrp-2-8-7-x-lollipop-5-1-1-t3205686
[Galaxy Tab S2 Android Development] immunology:
it is recovery.i want root(android7).
[Galaxy Tab S2 Android Development] Gandicela:
Once u have recovery, boot to recovery and flash SuperSu to have root.
[Galaxy Tab S2 Android Development] ashyx:
Are you for real, did you even read the first post or for that matter ANY of the thread? :rolleyes:
[Galaxy Tab S2 Android Development] biglsd:
There is no su binary in the TWRP for SM-T819

user@host ~ $ adb shell

~ $ su

/sbin/sh: su: not found

~ $
[Galaxy Tab S2 Android Development] ashyx:
TWRP doesn't have a su binary. You should have a root shell as soon as you connect.

What OS are you using?

Do you have a root shell in twrp terminal?
[Galaxy Tab S2 Android Development] biglsd:
1. adb shell give me user "shell", not root

2. gentoo

3. Yes, I've root shell in twrp terminal
[Galaxy Tab S2 Android Development] ashyx:
Maybe there's an issue with the adb version? Would need someone with windows to confirm.
[Galaxy Tab S2 Android Development] biglsd:
user@host ~ $ adb --version

Android Debug Bridge version 1.0.32
[Galaxy Tab S2 Android Development] ashyx:
What response are you getting for

adb devices

.
[Galaxy Tab S2 Android Development] biglsd:
user@host ~ $ adb devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

155d77bc recovery
[Galaxy Tab S2 Android Development] jean2323:
i've installed twrp, put su on a sd card ... installed the zip in twrp ... installed fine

but: after restarting, the system (with the encryption on) recognized that something has changed and offered only hte option to factory reset the device ...

so i guess that we need to give up the encryption to get the root
[Galaxy Tab S2 Android Development] ashyx:
You need to explain further what you are experiencing.

What tells you to factory reset?
[Galaxy Tab S2 Android Development] jean2323:
twrp installed

i've installed the latest su from an sd card ....

when i restarted the system, the encryption was on so i've put my password ... fine ... but after that I got a message that the system has changed and there was only one option: factory restore ....

I did that and from that point there was only a loop to twrp.

I was restarting the system from twrp, the boot failed and back to twrp

I've reinstalled the system with odin and I will try this again and report here the outcome

if it will fail again, i'll probably have to deal with the encryption

have a cool weekend!

i've used the latest SU:

SR3-SuperSU-v2.79-SR3-20170114223742
[Galaxy Tab S2 Android Development] ashyx:
You don't need to factory reset your device. Ignore that and continue.

However I highly suggest removing encryption.
[Galaxy Tab S2 Android Development] jean2323:
tried a 2nd time:

so: twrp, su from sd card -> restart the system (asked for the sim card pin, not the security pin) -> locked at a black screen that said that something changed and there was only the option to reset (i couldn't pass that and get to the system!) ... but ... i turned off the tablet -> twrp ... installed the encryption patch ... restarted ... got locked at 'samsung' ....

so ... went to 'download' ... reinstalled twrp (as i was not able to reboot to recovery!) ... followed the procedure:

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

and now it started fine and it's rooted!

thanks!
[Galaxy Tab S2 Android Development] hybris91:
Hello,

I try to root Galaxy Tab S2 nougat 7.0 ...

First i install T813XXU2BQD1 - DBT (Allemagne) reboot : it work correclty ...

I would like to use titanium backup to restore apps and data ... So :

- Unlock OEM

- Install twrp_3.1.0-1_sm-t813_14417 Nougat Mode .

- Format Data ...

And I can see on the screen a lot of warning :

Could not mount / data and unable to find crypto footer

Failed to mount '/data' (invalid argument)

Unable to recreate /data/media folder

Uptating partition detail ...

Failed to mount '/data' (invalid argument)

... done

Unable to mount storage

Failed to mount '/data' (invalid argument)

Full SELinux support present.

Unable to mount /data/media/TWRP/ .twrps

MTP Enable

Formating Data using_make_ext4fs

You may need ti rebboot recevery to be able tu use /date again .

Updating Partition details....

... Done

I try to install SR3-SuperSU-v2.79-SR3-20170114223742 tablette don't boot ..

I try wipe Cache + dalvik + ... => same prob .

i Flash no-verity-no-encrypt_ashyx => same prob .

I try with old version of SuperSu (SR3-SuperSU-v2.78-SR3-20161103171345) => same prob tablette don't boot ...

I flash then original stock rom T813XXU2BQD1 - DBT (Allemagne) with odin => Tablette work correclty ...

I can't root the Tablette ... can you help me please ...

Thanks ... :o:o:o:o
[Galaxy Tab S2 Android Development] ashyx:
You're not doing the right sequence.

1. Format DATA

2. Install Supersu

3. Install no-verity-no-encrypt_ashyx

4. Reboot, wait 10 minutes.
[Galaxy Tab S2 Android Development] hybris91:
Hello, ashyx...

I try this 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)

- Wait a long time (pehaps not 10 mins !!! 10 mins is a long time ...)

the tablette bloqued on Samsung Galaxy Tab S2 ...

When I flash the stock rom I can see the first logo Samsung Galaxy Tab S2 1 mins and after we can wait with the logo samsung blinking a long time (10 mins ) ... after Ok ....

When I install SR3-SuperSU-v2.79-SR3-20170114223742 and no-verity-no-encrypt_ashyx I never see the logo samsung ...

Thanks for your help ...
[Galaxy Tab S2 Android Development] ashyx:
Are you Formating DATA or wiping?

You MUST use the FORMAT DATA button then check DATA can be mounted.
[Galaxy Tab S2 Android Development] hybris91:
Hello,

First Time I Format data and answer YES ... but each time when I format Data I have a lot of red message as show on my first post ....

(Could not mount / data and unable to find crypto footer

Failed to mount '/data' (invalid argument)

Unable to recreate /data/media folder

Uptating partition detail ...

Failed to mount '/data' (invalid argument))

format Data doesn"'t work properly or the system can't accès to folder Data !!! I don't know ...

Thanks ...
[Galaxy Tab S2 Android Development] ashyx:
Those warnings are normal because /DATA is encrypted.

That's why you need to FORMAT DATA then apply the patch. Afterwards the warnings will be gone on next reboot to TWRP.
[Galaxy Tab S2 Android Development] hybris91:
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 ...
[Galaxy Tab S2 Android Development] Bogdan Herciu:
Let me understand better: if you root with Magisk 12, you no longer need to flash ”no-verity-no-encrypt”. Is that right?
[Galaxy Tab S2 Android Development] ashyx:
Depends whether you want to be able to back up your data or not.
[Galaxy Tab S2 Android Development] Bogdan Herciu:
It is possible to root with Magisk and then flash a modified boot image? He said that it ”removed the write protection”. Is not the same thing? Forgive mei f i am a noob!
[Galaxy Tab S2 Android Development] ashyx:
Which build did you install Wanams?
[Galaxy Tab S2 Android Development] djgade:
xposed-v85.0-sdk23-arm64-custom-build-by-wanam-20160528
[Galaxy Tab S2 Android Development] ashyx:
Bad news regarding encryption.

After having a chinwag with the devs of TeamWin it turns out TWRP does not yet fully support Samsung's encryption.

This means no encryption support for the time being.

My advice is unless you have a real need for encryption then save your data and format the DATA partition to get rid of the encryption.

You never know when you will need that DATA partition backup.
[Galaxy Tab S2 Android Development] djgade:
Ok that is sad so far, but thank you mate for all the work and the research! Maybe in the future we will get the encryption support.

I have set up my device so far , What happens when I format data now? Is everything like new?
[Galaxy Tab S2 Android Development] ashyx:
It will wipe everything in internal storage and will be factory fresh. If you have anything important stored there move it to the sd card, USB drive or PC.

If you want to keep your apps and settings make a full backup with Titanium Backup.
[Galaxy Tab S2 Android Development] morgan39:
:confused:

I bought last week my SM-T813 and I've been following this forum carefully; this android tablet is the only device I have had no root and want and need root because I use apk's by professional issues that only work with root.

What I can not see clearly is whether after formatting DATA partition and internal storage will be a facility factory fresh again and I'll MM 6.0.1 unencrypted .........

Someone there tried this and can confirm it?

Thanks in advance
[Galaxy Tab S2 Android Development] ashyx:
Tried what?

As I've already stated you only need to format the DATA partition if you wish to be able to mount it in twrp.

Formatting data will put everything back to factory state.

You don't need to wipe anything to gain root.

Just flash the provided supersu in twrp.
[Galaxy Tab S2 Android Development] morgan39:
Thank you for answering Ashyx.

Maybe I did not express myself well, what I meant is if really after formatting DATA partition and return to factory state with MM 6.0.1 will not be encrypted against DATA partition and if someone could confirm that happens so .......
[Galaxy Tab S2 Android Development] ashyx:
It wont be encrypted. Formatting removes the encryption.

Post #50
[Galaxy Tab S2 Android Development] madsquabbles:
This has got to be a frustrating experience for you, lol. I've seen you answer questions that have been posted in the OP and already answered in this 7 page thread... 7 pages isn't much to read folks.

I'm considering getting one of these tablets to finally replace my nexus 9. Your work has got me really wanting one now.
[Galaxy Tab S2 Android Development] ashyx:
It does get a little tiresome. :confused:
[Galaxy Tab S2 Android Development] rkk89:
Hello, I was trying to root my T713, I think I may be messing something up.

This is what I tried so far:

I was able to install twrp using odin and it boots correctly, after that I don't know how to get the SU files on the tablet.

I tried with adb but I read it's not working right now and I think there is no SD in my model.

I was thinking about getting an OTG usb drive I could use to store the SU files.

Another thing I noticed is that if I format the data as suggested I'm not able to boot the system anymore.

Thanks in advance.
[Galaxy Tab S2 Android Development] madsquabbles:
If you read the manual or specs you'd see SD card support.

"If you format data..." did you format data? It doresnt affect the system. Did you accidentally wipe system partition?
[Galaxy Tab S2 Android Development] ashyx:
After formatting DATA it will take some time to boot.
[Galaxy Tab S2 Android Development] rkk89:
Thanks for your help!

I thought I've formatted the system partition too so I did that again, but I'm sure the second time I used the format data option, it may very well be that it takes more than a couple of minutes to boot and I wasn't patient enough. Tomorrow I'll try again. Do I still need an SD card to install SU? Or since after the format Data is not encrypted anymore I can put the zip file inside Data and then install SU (from inside twrp) from there?
[Galaxy Tab S2 Android Development] ashyx:
If you've wiped the system partition then you're going to have to reinstall the stock rom.

After formatting DATA you won't need an SD card, you can put the supersu zip on internal storage.

It can take anything up to 10 minutes to boot after wiping DATA.
[Galaxy Tab S2 Android Development] madsquabbles:
Does anyone have a link to the stock rom? I hate tweaking without one... or does twrp back up reliably?
[Galaxy Tab S2 Android Development] djgade:
http://forum.youmobile.org/downloads/?cat=468;PHPSESSID=75cf0fafb54645a049ab7d87e61c5284

Gesendet von meinem SM-G928F mit Tapatalk
[Galaxy Tab S2 Android Development] rkk89:
Since the recovery immage worked I guess I didn't format system. I probably just have to wait . I'll update you soon.
[Galaxy Tab S2 Android Development] ashyx:
Recovery has nothing to do with the system partition. How do you mean?
[Galaxy Tab S2 Android Development] ashyx:
If you flash a boot image after flashing Magisk then Magisk will stop working.
[Galaxy Tab S2 Android Development] Gandicela:
I have searched but couldn't find answer, so I thought I'll try here anyway.

I have the SM-T719Y running MM 6.0.1 (Singapore) and tempted to try ODIN flash the firmware that is for SM-T719 to update to Nougat 7.0 firmware for Germany. Any potential RED flags with this?
[Galaxy Tab S2 Android Development] Ghostrider:
Sorry to be late,

I did not need to flash a new bootloader or no-verity-no-encrypt,

It worked for me only with Margisk after format data.

Even in Twrp is no error massage.

Edit:

Tested Backup in Twrp ..

is working to the Internal Storage

but the SD card is not Showing..
[Galaxy Tab S2 Android Development] dorpmuller:
Welp... true to form with twrp, every partition got corrupted. Won't mount storage, nothing. Doesn't see any files at all. Can't install any zips, period because everything shows as zero bytes. Mayday.

Rich
[Galaxy Tab S2 Android Development] Windsor1959:
Okay. I'm in the process of updating my firmware using Odin. I have just flashed the newest (UK) Nougat firmware with Odin, and now I want to flash the latest TWRP (3.1.0-1). I load the TWRP tar file in the AP slot. I click start. I immediately get in the Odin log: All threads completed. (succeed 0/ failed 0). I must be missing something obvious. Or am I? Any help would be appreciated!

Edit: Just got it! Thanks for looking!
[Galaxy Tab S2 Android Development] savagepagan:
I am unable to wipe anything from twrp. I get a lot of red. Failed to mount data. Failed to wipe dalvic. Failed to wipe data. So on and so forth. I am on stock rooted 6.0.1. Any ideas. T713.
[Galaxy Tab S2 Android Development] jhill110:
Did you format data, Mount data then flash SuperSU then the boot patch per ashyx's instructions in the OP?
[Galaxy Tab S2 Android Development] Baabbas:
Hi, can someone tell me if is there a way to root a Samsung galaxy tab s2 (t813) without messing with the Knox bull***.

From all the features of rooting I love the no ads in chrome.

Just got mine Tab S2 today and the ads are driving me nuts already......

I come from a nexus 7 (2nd) rooted with carbon Rom.

Thanks in advance
[Galaxy Tab S2 Android Development] jshamlet:
Short of an engineering kernel, no. However, you don't really lose much on the S2 by tripping it.
[Galaxy Tab S2 Android Development] obet10:
I have a tab s2 (2016) SM-T819Y. Anyone who can confirm if this will work or not? Thank you.
[Galaxy Tab S2 Android Development] fehrcomp:
Perfect work, thank you Ashyx!

I have done exactly how hybris91 described.

I forgot to do a factory reset before flashing the new Nougat Rom with Odin. Therefore the first boot was taking more than 45 minutes. I think it will be better to reset before flashing.

I removed Knox within the supersu app. First I thought the remove process hangs. But after 10 minutes or maybe more it was done. Afterwards I removed Knox with titanium.

Now everything works perfectly, since 36 hours :good:
[Galaxy Tab S2 Android Development] Sgace:
Blokada.org. It is an adblocking app and works very well for me and no root needed.

Cheers
[Galaxy Tab S2 Android Development] Baabbas:
It works, so far so good.

Thank you so much mate.
[Galaxy Tab S2 Android Development] Sgace:
Glad it works. You're welcome.
[Galaxy Tab S2 Android Development] shr3drr:
t818???

i am sorry if this is the wrong place but why can i not find anything on the 818t? pls help me?
[Galaxy Tab S2 Android Development] ashyx:
You just use the T819 version.
[Galaxy Tab S2 Android Development] shr3drr:
:eek: i feel stupid.... after searching again i found the answer, thank you for the swift reply.. and all your hard work.
[Galaxy Tab S2 Android Development] mark1003:
Since i have installed twrp 3.1.0-1 (T813) the tablets internal and external sd card is not visible in the windows explorer (via usb).

Before (twrp 3.0.2) it was ok. Can anybody help?
[Galaxy Tab S2 Android Development] nk33:
U need to change the usb mode in developer options. It defaults to only charging. Change to MTP
[Galaxy Tab S2 Android Development] ashyx:
Is MTP mode enabled in twrp? Also make sure, with MTP mode enabled, that Windows device manager is loading the MTP driver and not the ADB driver.
[Galaxy Tab S2 Android Development] shr3drr:
Question. I have googled. I have searched sammobile... does anyone know where to find stock sm-t818t fw 6.0.1?

---------- Post added at 09:41 PM ---------- Previous post was at 09:31 PM ----------

To continue... device keeps booting into TWRP when i choose reboot/system it just goes back to recovery...
[Galaxy Tab S2 Android Development] ashyx:
Just reflash twrp in Odin and don't use reboot utilities. Use the key combo only.
[Galaxy Tab S2 Android Development] droidnext:
I use TB to boot to recovery no problem.
[Galaxy Tab S2 Android Development] shr3drr:
I used the TWRP app. I suppose thats where I went wrong. Maybe it had to do with not being an "offical" twrp... twrp was not detected by the twrp app, SEAndroid was in permissive if that matters.

I am reflashing now. Im sure that will solve the issue, that was my original instinct, i just wanted to make sure. Also what is TB? Titanium Browser?
[Galaxy Tab S2 Android Development] droidnext:
It is Titanium Backup. If you figured out the first word then ... obviously. There is no such thing a browser can boot to recovery lol
[Galaxy Tab S2 Android Development] fehrcomp:
I got a boot loop if I try to restart into the system. Before I had successfully booted into recovery with titanium.

Now I will refresh with Odin...
[Galaxy Tab S2 Android Development] ayamgoreng:
Is there different between this and the one posted on twrp page (official) ?
[Galaxy Tab S2 Android Development] DShot92:
I've rooted my tab s2 8" with this procedure but now I may have to send it in for a physical touchscreen problem. How can I return it to factory specs for not letting them know I rooted it?
[Galaxy Tab S2 Android Development] ashyx:
You can only flash the stock firmware. You can't reverse knox being tripped.

Just spin them a line that you flashed the wrong firmware and it tripped Knox if they quibble.

What's the issue with the touch screen?
[Galaxy Tab S2 Android Development] DShot92:
this one

Doing some testing I've found that it gets worst by the time after I reboot the device.

At first it's almost null and the the band beginsurance to spread to its normal range 9

(almost a centimeter)

I've also noticed that the device gets really hot in thathe zone, maybe that can be a contributing factor of some physical defect. I really don't know.

My phone just broke and now I can't sit down and format the tablet.
[Galaxy Tab S2 Android Development] ivanox1972:
[MENTION=4899305]ashyx[/MENTION] hi, boss

I bought t719, installed immediately nougat, your twrp, root, data mount fix... All works perfectly, thanks.

Just 1 question: is that remark to use only buttons for twrp concerns for enter or leaving it?

As I understand, not us apps to go in twrp. But, in twrp, is reboot meni ok? Reboot to twrp, system, power off... Or also to avoid this?

Thanks for great works. Ok, this recovery is messing up with time and temperature, but who cares? It is doing what is essential

Edit unfortunately after normal play store update I somehow lost root... probably supersu was on list for update. Now just say root undetected.

Although I install patch after super su to get data write from twrp, what to do now? How to regain root?
[Galaxy Tab S2 Android Development] fehrcomp:
Hi Ivanox

I solved my lost root on my T813 with the following steps:

- Download the new Supersu 2.82 (zip not apk!) from here http://www.supersu.com/download.

- Deinstall the old Supersu apk

- Reboot in Recovery (with the buttons)

- Flash the downloaded Supersu 2.82.zip

- Reboot System

- Start Supersu App

- fixed

Hope this works for your T719 too!
[Galaxy Tab S2 Android Development] ivanox1972:
Yes, friend, this should be normal way if we not need patch for data mount. OP said su must be flashed before patch, so you probably regain root but lost data mount... Check
[Galaxy Tab S2 Android Development] fehrcomp:
I'm not sure about the meaning of Data mount. But with the Mixplorer App I can read and write at the Root Folder, internal SD Card and external SD Card too.

I only had to regain the root access for the app, that's all.

I haven't reflashed the patch.
[Galaxy Tab S2 Android Development] freaksamael:
[MENTION=4899305]ashyx[/MENTION], please Dev, if possible, a version bump to twrp 3.1.1? Made a request to Samsung for a newer T819 sources, (BQD), hope they will publish a clean compile ones. Thank you!
[Galaxy Tab S2 Android Development] fonetyk:
Is there any way to to install TWRP without formatting DATA partition, or a way to backup and restore it? I'm staying with the stock ROM and I don't wanna lose all my apps and app data and settings.