yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] KingHimHim:
Yes I did.
[Galaxy Tab S2 Android Development] Gandicela:
I am sorry, Mate, but I cannot really recall what how I've done this to my T719.

I am very sure however, you should disable auto-reboot in ODIN. And after the green "PASS" text, you should again go through the manual combo of buttons to reboot back into RECOVERY.
[Galaxy Tab S2 Android Development] KingHimHim:
Thanks for your help. I think there is a bit different between T719 and T719C. The "twrp_3.0.2-1_sm-t713_23716" maybe not suitable for T719C...:crying:
[Galaxy Tab S2 Android Development] lewmur:
When you flash TWRP, you must quickly press HOME, Vol Up and Power before the tablet reboots itself. Otherwise the stock ROM will overwrite TWRP with the stock recovery.
[Galaxy Tab S2 Android Development] DeeXii:
Whats the next step? Do you think you can figure this out? :)
[Galaxy Tab S2 Android Development] ashyx:
Well the issue is this, not all devices can work with encryption in twrp.

As Dees-troy has said himself it takes a lot of work to get it working and he only has so many devices he can work on.

Its not just a simple matter of adding a few flags. Samsung like to do things different and even then they are never consistent in what they do.

What works for one Samsung device won't work for the next.

So it comes down to trying different things and trying to figure out how to make it work.

It may never work, I don't own this device and it may prove to much of a hassle to try and get it working.
[Galaxy Tab S2 Android Development] DeeXii:
:( Bummer...

I just swapped to this device lol.

What device do you own?

Well I will help where I can just ask.

Do you have hangouts or skype (text chat)?

Judging by the first Tab S2, you are our only hope lol.
[Galaxy Tab S2 Android Development] ashyx:
Tab S, Tab A 9.7, Tab A 6.

I dont use anything like those apps.

When I get chance I'm gonna see if I can get encryption in TWRP working on the Tab A as its also using a Qualcomm chipset and may be similar.
[Galaxy Tab S2 Android Development] AlexVallat:
Is it usable without encryption (by formatting), or will MM unavoidably re-encrypt on next boot? After rooting, I'd be quite happy to continue using the thing without encryption, if that's a setting that can be made to stick.
[Galaxy Tab S2 Android Development] ashyx:
Yep just format(not wipe) the data partition.

I'll check the boot image now to make sure the force encrypt flag isn't set.

I think supersu disables this anyway.

Edit: should be good to format.
[Galaxy Tab S2 Android Development] DeeXii:
Why is it that the T713 can root and flash TWRP without a permissive kernel and the older Tab S2(s) like the T710, T810 etc need a permissive kernel?
[Galaxy Tab S2 Android Development] ashyx:
You don't need a permissive kernel to root either of them.

Old Tab S2 needed a permissive kernel for TWRP to allow it to boot.

Don't forget they are also completely different chipset
[Galaxy Tab S2 Android Development] ashyx:
I attempted to get encryption working on my Tab A last night.

What a ball ache that was.

Initially I couldn't even encrypt it as it just started the process and then rebooted and wasn't encrypted.

In the end I ended up having to factory reset which solved the problem.

Stock recovery also tells me that the software fails dm-verity. How the heck can bone stock firmware fail dm-verity? :what:

Jesus Samsung! :o

Anyway the result is no matter what I tried I got the same issue as the S2, bad magic for the encryption footer.

Until I can figure why that is there's going to be no progress.
[Galaxy Tab S2 Android Development] ggibby:
I needed this as well - maybe it should be the default DL in the OP link?

Also, I formatted Data right off, so no problems.

Otherwise, everything worked!

-G
[Galaxy Tab S2 Android Development] ashyx:
[MENTION=3848990]ggibby[/MENTION] thanks for your donation support. :thumbup:
[Galaxy Tab S2 Android Development] dtsjunk:
So is it possible get supersu working on the new s2 tabs?
[Galaxy Tab S2 Android Development] ashyx:
Yes, that's why there is a link to it in the OP.
[Galaxy Tab S2 Android Development] djgade:
Just received my T813 from Amazon. Flashing TWRP ok. Root with SuperSU also ok. Accessing data in twrp not possible. I read few pages ago that this is because of encryption. How can I disable this encryption? Is data then accessible in twrp?

Gesendet von meinem SM-T813 mit Tapatalk
[Galaxy Tab S2 Android Development] ashyx:
You need to use the Format Data button under WIPE options TWRP.
[Galaxy Tab S2 Android Development] djgade:
Ok thank you.
[Galaxy Tab S2 Android Development] djgade:
Anyone tested xposed for the T813?

Gesendet von meinem SM-G928F mit Tapatalk
[Galaxy Tab S2 Android Development] ashyx:
No reason why it can't work.

Just backup before installing.
[Galaxy Tab S2 Android Development] djgade:
Yeah cool ?

Do you think I have to format data for installation xposed or can I leave it encrypted?
[Galaxy Tab S2 Android Development] djgade:
Yeeeha [emoji2]
[Galaxy Tab S2 Android Development] KingHimHim:
I am quite sure it didn't restore with the stock recovery because after I had flash TWRP, I cannot boot into recovery mode (TWRP reoccery nor stock recovery) no matter how many times I reboot my T719C. It will just become a boot loop.
[Galaxy Tab S2 Android Development] justibasa:
Just wanted to check something. I have the new T-Mobile version of the snapdragon s2. The T818t. Is root and twrp available for that device at all?
[Galaxy Tab S2 Android Development] lewmur:
You have a choice. You can either try my advice and have a chance of succeeding or ignore and have NO CHANCE!!!:p
[Galaxy Tab S2 Android Development] YrrchSebor:
Hi, I just got a T719 and am about to root it by flashing TWRP, SuperSu, and the ecryption disabler. My question is, will I have to format data every time I flash a new stock firmware with Odin and want to root it? Could be a bit of a hassle since I plan on flashing new international firmwares from time to time. If I do have to format data each time, can I at least back up and restore my data after formatting each time? Thx in advance for any info.
[Galaxy Tab S2 Android Development] ashyx:
You only have to format once, but you will need to patch the boot partition each time you flash a new firmware.

Ensure you do this BEFORE booting to the OS.
[Galaxy Tab S2 Android Development] YrrchSebor:
Good news and will do! Thanks for your response and work for this device!

---------- Post added at 06:27 PM ---------- Previous post was at 05:39 PM ----------

Doh! Made the little blunder of erasing the files I needed to flash when I formatted data. Now I put the files on an sdcard but TWRP keeps saying they are corrupt when I try to install them. Managed to update my adb to 1.0.32 but side load still won't work, TWRP keeps saying I need adb 1.0.32. Whats the best thing to do now you think? I already rebooted recovery to see if that would help with the SD card..

---------- Post added at 06:51 PM ---------- Previous post was at 06:27 PM ----------

Update: can't think of any solution at the moment, other than the flashing stock with Odin!
[Galaxy Tab S2 Android Development] YrrchSebor:
Final update: it was the sdcard! Must be a bad one, cheap brand or something. I could flash the zips from another sdcard..
[Galaxy Tab S2 Android Development] PassieWater:
Hi guys. Probably answered already but i cant find it in all 59 pages.

I have a sm-t813

Flashed twrp via odin succes.

Cant format data because it wont mount.

Do i have to format it before flashing SU?

I only need root.... Dont want to flash custom roms.
[Galaxy Tab S2 Android Development] ashyx:
How can you not find something that is clearly in the first post? [emoji55]
[Galaxy Tab S2 Android Development] PassieWater:
LOL..... I did read it but i was looking for the wrong data wipe.... I was wiping data inside advance wipe.... not directly in wipe...

Yeah... Well... Haha
[Galaxy Tab S2 Android Development] Sam Sung:
Hello,

Still working my way through this thread (at about post #73). I just received my T713 and it is running fw D9 and Knox 2.6. It wants to upgrade to the latest version fw and knox.

Since I plan on rooting this tab in the near future (after I've read the thread and am sure of the process), is there any advantage to holding off on the upgrades?
[Galaxy Tab S2 Android Development] lewmur:
can't find Tab S2 on the TWRP site

When I go to the TeamWin website and try to select my device, there doesn't appear to be any match for the Tab S2 devices. Does anyone know what device to select from the list?
[Galaxy Tab S2 Android Development] Sam Sung:
OK...I've read through the entire thread. a bit confusing with all of the 'tried this' & 'tried that' posts', but think I can manage.

I did note that on poster said he successfully ran this root on his device that was using fw PG1

.

2 questions (I'm pretty sure none of these were asked or answered in this thread):

1. As I stated in my recent post, my SM-T713 tab wants to upgrade from APD9 to APJ1. Will this procedure work with APJ1 (if not, I guess that answers Q2)?

2. Can I accept future updates, should I refuse them? Or does this root turn off pushed updates?

Appreciate any help, and appreciate the Dev's perseverance.
[Galaxy Tab S2 Android Development] YrrchSebor:
The version shouldn't matter, i updated my T719 all the way to the most recent firmware before rooting it. I don't think this device is getting locked down with an update. Haven't heard of it happening anyway.
[Galaxy Tab S2 Android Development] Sam Sung:
Thanks for the info. I won't get to it for a few days, so I'll hold off on the update 'til then. I'll post back with the results.
[Galaxy Tab S2 Android Development] ikonline:
Hello all,

After sending twrp to my t813 I trying tot restart as written in the op. Unfortunately the first time it would not enter recovery, I had to restart to try again. In some strange way my S2 wouldn't. After power off and reboot direct to the recovery via the 3 buttons It says installing and then it stop and I see the android popped and after a while the yellow triangle with the ! Inside.

For now when I try to enter recovery I see every time the android popped and after a while the yellow triangle with the ! Inside.

What can I do to fix this?
[Galaxy Tab S2 Android Development] Xp3riaXpr3ss:
You will not find any officially listed for the Tab S2. Grab the TWRP 3.0.2-1 zip for your variant from the opening post.
[Galaxy Tab S2 Android Development] lewmur:
I did that a l o n g time ago.
[Galaxy Tab S2 Android Development] Xp3riaXpr3ss:
Ok. Just to confirm that I couldn't find any twrp version for the Tab S2 on the official site either, therefore will stick to this version.
[Galaxy Tab S2 Android Development] lewmur:
I asked TeamWin why it wasn't listed and they said they needed an "official request from the maintainer". I haven't the foggiest notion of who that is.
[Galaxy Tab S2 Android Development] ashyx:
The maintainer is the author of this thread. [emoji6]
[Galaxy Tab S2 Android Development] Sam Sung:
So I tried this process and was unable to boot to the TWRP recovery using these steps:

From OP:

When ODIN reports PASS, reboot to recovery immediately after flashing using POWER + HOME + VOL DOWN, as soon as the screen goes blank change to VOL UP whilst still holding the other buttons.

TWRP should now boot.

It would simply boot back into Android. Shutting down and booting into recovery booted to stock, and download mode showed 0X0 on the warranty.

Facts:

I've had the tab for a week or so

I've installed apps

I accepted the J1 update.

Having read through the entire thread, I know that flashing back to stock (in this case, D9) can solve problems.

So, I booted back into download mode and used Odin 3.10.7 to flash back to D9 stock, which I got from here:

http://xdaforums.com/tab-s2/development/stock-official-t713-stock-firmware-t3392404

The flash failed, as in 1st screenshot. Attempting to boot back into download mode produced the 2nd screenshot. Doesn't the smart switch software require another device to transfer from?

I'm not sure where to go from here. Any help appreciated.

Additional info: Odin seemed to flash everything successfully accept for one file. It failed at or just after sbl1.mbn.

Also, cropped out of the error image is the same rev check fail as in the bottom line of the first screenshot.

I'm on the slow train to downloading the J1 fw on the chance that going back to D9 is the problem. 6 hrs left!

View attachment 3976967

View attachment 3976968
[Galaxy Tab S2 Android Development] Sam Sung:
I'm downloading from samsung-firmware.org, since that was the fastest download speed I could find. 5 hours left if anyone wants to tell me that's not an acceptable site.

Update: I've since gotten out of the error window and booted into into the pre-flash J1 Android environment. The OS is pretty shaking, system processes closing and not responding. So I've shut down until I can flash the J1 fw.

At that time, I'll be back to square one (but with a Stock J1).

I'll try to flash twrp and boot to recovery then. The J1 download won't finish until the wee hours, so it will be sometime tomorrow or Saturday before I get back to it.
[Galaxy Tab S2 Android Development] madsquabbles:
updato is faster.

I flashed j1 and rooted without problems... except for the wifi dropping bug. No problems at work using unify ap, but at home it doesn't like my set up even with my unifi ap. Tethering to my n6 no drop outs.
[Galaxy Tab S2 Android Development] Sam Sung:
Thanks for the info. I've already got it from samsung-firmware.org. I guess I was really asking if they were a safe site to get it from?

Edit:

Just downloaded it again from Updato. definitely faster. 15 mins as opposed to 7 hrs!
[Galaxy Tab S2 Android Development] Sam Sung:
Success!

I, like others, experienced trouble getting into recovery, even though I followed instructions to a 'T'. Therefore, I kept ending up at the pulsating Samsung emblem.

Reflashing J1 resulted in same thing.

Reflashing TWRP following instructions resulted in same thing.

What finally worked for me is (deviation from instructions):

1. In Odin (flashing TWRP), leave Auto Reboot

CHECKED

2. When Odin shows PASS, quickly press and hold HOME + VOL UP + POWER

This method got me into TWRP, where I (in numbered order, with no reboot in-between steps):

1. Formatted data

2. installed SU (flashed SR3-SuperSU-v2.78-SR3-20161103171345)

3. flashed no-verity-no-encrypt_ashyx.zip

I had already copied the SU and no-verity zips onto my SD card before starting the process.

Afterwards, I used TWRP's Reboot option. It took 5 mins or so to boot into Android. In my case, since I went back to stock J1, it was like setting up the tablet for the first time.

Oh, and something I didn't expect. One of the first things I was going to do was download Android Terminal to verify root, but there was a notification on the lock screen telling me 'Device is Rooted', and went on to explain that rooting bypassed security features, etc., etc. So that was nice. Built in verification of root.

Thanks to ashyx for the root. :)

Edit:

I should add that I did not make a backup before I rooted. Most would be well advised to do so for a quick recovery in case things go south, but since I was at fresh stock J1 and had the J1 fw on hand, I saw no need.
[Galaxy Tab S2 Android Development] Michael833:
I really appreciate all the information in this thread. Thanks to everyone who contributes here.
[Galaxy Tab S2 Android Development] veekay:
To remove TWRP do we just flash the whole firmware or is there just a recovery file that can be flashed?
[Galaxy Tab S2 Android Development] mcteazy:
I'm assuming this works with 6.0.1? Thanks!
[Galaxy Tab S2 Android Development] Sam Sung:
I was at 6.01 and J1 fw.
[Galaxy Tab S2 Android Development] markp99:
Nice.

I just picked up a new T813 tablet, attempting now to root.

(1) I can flash/boot/wipe TWRP no problem.

(2) From TWRP, I cannot see the SU/no_verity files I previously dropped into the root folder on the tablet. Is this an encryption issue, or am I missing a more basic step?

Any suggestions to help me continue and finish the root process?

Thx
[Galaxy Tab S2 Android Development] Sam Sung:
If by 'Wipe', you mean WIPE, you should be formatting. Wiping will not remove encryption.

Put the zip files on an SD card and install from there.

Sequence after entering TWRP:

1.

Format

data (not wipe)

2. Flash SU zip file

3. Flash no Verity zip file.

Do not unzip the files. Flash the zips.
[Galaxy Tab S2 Android Development] WavyDroid:
will Samsung Switch or Kies save these settings

I want to root a TAB 813 that has been in use for a while and don't to lose my Candy Crush levels, I don't sign in and don't use the Google cloud, will Samsung Switch or Kies save these settings for a restore after TWRP, SU and encryption patch ?
[Galaxy Tab S2 Android Development] markp99:
Yep, meant to type FORMAT, but fingers produced "WIPE". :)

Thx for the clarification to try from external memory. Will report back any add'l questions.
[Galaxy Tab S2 Android Development] markp99:
Success! - Thanks Sam Sung! :)
[Galaxy Tab S2 Android Development] Sam Sung:
Looks like Nougat will be coming to the S2 in 2017. What happens to root and twrp? Just reflash?
[Galaxy Tab S2 Android Development] GroovyGeek:
Somewhat similar problem.

Flashed TWRP with Odin 3.10.6 (not 3.10.7, which I could not find online) --> Rebooted into TWRP per instructions --> Deleted DATA --> flashed SU and n-verify-no-encrypt from SD card per instructions --> Rebooted to System

I have been staring at the pulsating Samsung logo for 10 minutes now. One weird thing is that every time I flashed a ZIP file TWRP seemed to re-start, screen went black and I was returned to the starting TWRP screen. Not sure if this is normal and the search function of XDA is next to useless, apologies if this has been already covered, I read through the last 4-5 pages of this thread and did not see anything relevant.

At this point I can reboot back into Download mode and re-flash TWPR and redo the process with the same results. I re-downloaded and re-flashed everything still no dice. Pointers are appreciated.

UPDATE: figured it out, TWRP chokes on ZIPs that are not placed in the root of the SD card. Once I placed the ZIPs there everything went fine. It would be helpful to explicitly call that out in the OP.
[Galaxy Tab S2 Android Development] ashyx:
That is specific to your device and not the usual case.
[Galaxy Tab S2 Android Development] GroovyGeek:
Weird. The tablet was taken out of the box tonight, rooting is the first thing I did to it. It was about as stock as stock gets. I also re-formatted the SD card and copied the zips on it directly from my PC. Prior to that I was working with zips downloaded directly to the device. Maybe something got corrupted there.
[Galaxy Tab S2 Android Development] mrtelz:
on rooted T713 6.0.1 , thank you ashyx

anyone use f.lux and been able to get it working?

-app requests location, but doesn't register it in app

-app doesn't have any affect on screen

is this is a selinx permissivity issue?

edit: it was a permissive kernel issue. downgraded to APD9 and flashed kernel by ashyx
[Galaxy Tab S2 Android Development] Grop:
Hi Ashyx,

Thanks for your good work on our tabs.

I followed your instructions in the OP and that worked out fine for me on my SM-T819.

Updates are now not available through Samsung directly. If I want to put an update (downloaded in Sammobile for instance) can I install that with TWRP or should I install that with Odin and do I need to root the device again?

Because I wanted to see the passwords used to connect to wifi I had to edit the build.prop and had to change ro.secure.storage=true and replace true to false. Is there an easier way to do this, probably build into the design, or should I replace this everytime I put an update of the Samsung software on my Tab.

For all of you a fantastic 2017.
[Galaxy Tab S2 Android Development] YrrchSebor:
I discovered the process for updating my T719: download and install the new firmware from SamMobile with Odin(uncheck auto-reboot), Odin TWRP again(again, no auto-reboot), use the button combo to boot into TWRP right away, install SU and the encryption disable zip, then reboot into the new system, with root.
[Galaxy Tab S2 Android Development] RichDem:
Hi There,

I have followed everything in the opening post and installed TWRP via Odin and then installed SuperSU. I confirmed the root was successful with Root Checker. The problem I have is when I try to wipe data through TWRP everything errors and I get warnings about failure to mount various things.

I have rooted many devices before but have never seen this issue, I am concerned that I will not be able to install any custom Roms

I would be very grateful if anyone could help me understand what went wrong and how to fix it

Regards

Richard
[Galaxy Tab S2 Android Development] jhill110:
Did you follow the proper order? :

Proper order:

1. Odin TWRP

2. Format Data

3. Flash SuperSU

4. Flash Boot Patch

5. Boot to System
[Galaxy Tab S2 Android Development] RichDem:
Thank you so much,

I realized I didn't read the info about formatting the data carefully enough ! That was the issue. I was having some other technology issues tonight as well lol I knda got distracted

All working now

Thanks again
[Galaxy Tab S2 Android Development] Darkalia:
Thank you ashyx,

followed your guide and now my new T819 is fully rooted.

Everything goes smoothly after some reading.

Thanks also to everyone that contributed to this thread.
[Galaxy Tab S2 Android Development] Svan987:
Hi guys,

Can someone confirm that mounting int/ext SD Card in twrp is working ? I installed android drivers and i can see the device (Command Prompt) with adb in recovery state, but i can not see the tablet in the explorer.

I just pushed a file to "external_sd". I am safe :)

Thanx for your help in advance and thanx to [MENTION=4899305]ashyx[/MENTION] for the cool stuff :good:

Cheers.
[Galaxy Tab S2 Android Development] WavyDroid:
will Samsung Switch or Kies save these settings for a restore after TWRP, SU and encr

Bump

I know it seems a dumb question to many but ..... :confused:
[Galaxy Tab S2 Android Development] ashyx:
You don't need to decrypt to root.
[Galaxy Tab S2 Android Development] WavyDroid:
ashyx

But how would TWRP recovery work, what would not work at that point with SU installed?

Once rooted could I use Titanium Backup and then Restore after using TWRP to install 'no-verity-no-encrypt_ashyx patch' ?
[Galaxy Tab S2 Android Development] ashyx:
Yep should be fine.
[Galaxy Tab S2 Android Development] Svan987:
Hi ashyx,

Sorry my mistake I should use SuperSU 2.79 SR2 everything fine now.

Cheers.
[Galaxy Tab S2 Android Development] WavyDroid:
ashyx

Ok, just call me neutron star dense, but just what is the problem with TWRP not being able to access the on-board, encrypted memory if the recovery process still works?
[Galaxy Tab S2 Android Development] ashyx:
The data partition is encrypted using Samsungs own encryption method which twrp doesnt support.
[Galaxy Tab S2 Android Development] WavyDroid:
Yes ashyx, that I get I just do not understand the real world implications. I am gathering that twrp can still be used to flash a recovery if I do choose to try a custom ROM and my encrypted data a partition will still be viable and usable but twrp could not access it. What are the consequences of that? What else is twrp used for ?

Thanks again for your patience.
[Galaxy Tab S2 Android Development] Sam Sung:
twrp can't back up a partition it can't read.
[Galaxy Tab S2 Android Development] WavyDroid:
Thanks Sam Sung

Ok I was not even aware that twrp was used for that. I thought just the firmware and kernel.

I have twrp and SU going and have Titanium Backup going which should be all the backup I will need. :good:

Thanks to you too ashyx for your patience.

Now for the GF's Tab A.... :eek:
[Galaxy Tab S2 Android Development] YrrchSebor:
Nevermind, got it