yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] ashyx:
Tbh I think it's plainly obvious your error and you'll kick yourself.

Twrp cannot mount the data patition(aka internal storage) until it is FORMATTED (not wiped)

If you put the files on the internal storage then obviously you won't find them in TWRP.

The solution?

Put the files on SDCARD and flash from there.

Job done.

This procedure is universal for pretty much every recent Samsung device.
[Galaxy Tab S2 Android Development] sliding_billy:
About to try, but hopefully you can answer two questions before I do. It has been since the S4 that I have had a Samsung device that I rooted, LOL. 1) Do I even need to bother with formatting the data partition (which I have already done before the last full install) or run no verify if I just want to install SuperSU for root? 2) Can Magisk be installed instead of Super SU? I would really miss a lot of it's functionality given how long it has been the standard.
[Galaxy Tab S2 Android Development] ashyx:
The data partition will always re-encrypt at first boot if the boot image is not patched.

If you leave it encrypted you will never be able to make or restore a backup.

If you'd rather flash Magisk then there's no issue.

Irrespective of which Root you use the data partition will need to be formatted first then root then the boot patch.
[Galaxy Tab S2 Android Development] sliding_billy:
So if I have it all:

1) Flash TWRP with Odin

2) Do the funky reboot from download mode with the volume down becoming the volume up to get to TWRP

3) Format Data partition

4) Install Magisk (or Super SU) from external SD

5) Install boot image patch from external SD

6) Reboot normally

***Happy Thanksgiving and Happy Root (at least according to the Samsung notification/warning) and Magisk Manager showing in the drawer! ashyx, you are the BEST. Beers!***
[Galaxy Tab S2 Android Development] yoblo:
Sorry but I didn't quite get the previous reply. So is it necessary to wipe the data partition or not? My device is already rooted (with Android 6.0.1 and TWRP) and non-encrypted. Now I would like to upgrade to Android 7, so can't I just flash the Android 7 stock ROM and TWRP and then re-root the device (without wiping the data partition)? I really do not want to have to re-install all the apps. And on the 1st post of this thread there is a link to a patched boot image that prevents encryption even on Android 7. Would this not work? Thanks.
[Galaxy Tab S2 Android Development] sliding_billy:
I am certainly not the expert on this device, but if you are already rooted, using TWRP and not encrypted I would not think that you need to wipe again. The boot image patcher (no-verify) that you speak of actually needs the data wipe and root installed before installing it. The more I say that, the more I think that the wipe might be necessary. Easier to put your apps and settings back than to unbrick your device I guess.
[Galaxy Tab S2 Android Development] yoblo:
Thanks sliding_billy. OK so I guess if I skip the no-verify patcher I won't need to wipe it. I can let it do the encryption as this will probably be the last update I am doing on this tablet anyway. I doubt Samsung will issue an update to Android 8 anytime soon and if the battery lasts another 2 years it will have done its job. I'll give it a try and report back in case other have the same issue (still downloading the stock ROM).
[Galaxy Tab S2 Android Development] zhangla:
I flashed TWRP latest version, then superSU, then LOS 15.1. Everything worked fine, except that I still don't have root access after all these.

I wonder if I can just go back into TWRP and flash superSU again? Will that give me root?
[Galaxy Tab S2 Android Development] ashyx:
Install Magisk last.
[Galaxy Tab S2 Android Development] zhangla:
Great. Just flashed latest magisk, and i got root. Thanks!
[Galaxy Tab S2 Android Development] JReeher:
Anyone tell my why I keep getting stuck at the samsung galaxy tab s2 screen? I followed the instructions to a T ?
[Galaxy Tab S2 Android Development] sliding_billy:
Not a lot of info there. Can you get to recovery or download mode?
[Galaxy Tab S2 Android Development] JReeher:
Oh yeah, I can get into twrp I format my data I flash super user zip then i flash boot patch and reboot, from that point i either get stuck at the galaxy tab s2 screen or it goes black. So I reboot onto recovery and tried factory reset and still nothing
[Galaxy Tab S2 Android Development] sliding_billy:
Sounds like you've got it right, but here are the steps that I used not that long ago on my 713. The one thing different for sure is that I did not use SuperSU. I used Magisk 17.3 stable (Magisk Manager has since updated it to 18.0 with no issues). I would start over with number one below.

1) Flash TWRP with Odin

2) Do the funky reboot from download mode with the volume down becoming the volume up to get to TWRP (see original instruction for going straight from Odin>Download>TWRP).

3) Format Data partition

4) Install Magisk from external SD

5) Install boot image patch from external SD

6) Reboot normally

Hopefully, you don't need to reinstall the factory image 1st.

P.S. I used twrp_3.1.0-1_sm-t713_14417n
[Galaxy Tab S2 Android Development] JReeher:
Alright I'll give that a shot, I've never used magisk before, but I'll give it a go thanks for the help greatly appreciated

---------- Post added at 03:40 PM ---------- Previous post was at 03:15 PM ----------

This worked for me, I appreciate the help !!!
[Galaxy Tab S2 Android Development] sliding_billy:
That is great news! Glad to help.
[Galaxy Tab S2 Android Development] shev100:
I used this configuration, TWRP and Magisk, and all works good. Thanks, expecially for your P.S. that help me a lot to solve flashing problem with TWRP 3.2.3
[Galaxy Tab S2 Android Development] sliding_billy:
Good deal. Did you use Magisk 18.0 immediately?
[Galaxy Tab S2 Android Development] shev100:
No because I had problem, so I started with 17.3 and then upgrade to 18.0
[Galaxy Tab S2 Android Development] sliding_billy:
Glad to know. I have installed 18.0 directly on other devices, but I had no reason to try since it upgraded in place with no issues.
[Galaxy Tab S2 Android Development] clintono316:
Is on Tab S2 (813), used Odin to install TWRP. But when I went and flashed magic through TWRP I forget to format data to remove encryption and now when I boot up it asking for a password. Plus it won't let mount data.

Magic said it successful installed, so could I just flash a decrypted room or do I have to start over and flash factory recovery through adb and redo TWRP and root the right way.

Thanks for any info...
[Galaxy Tab S2 Android Development] ashyx:
Just boot to twrp and format data then install the encryption patch. That's all there is to it.
[Galaxy Tab S2 Android Development] clintono316:
Thanks, that worked for the most part. Before doing the above mentioned, when I rebooted the tab I got a message that I needed to do a factory reset... Well like the dumb ass I am I went ahead and did the factory reset... Now it says at boot screen (recovery booting... set warranty bit: recovery) then boots up into recovery...

I am going to try to flash a room and see how that goes... I am guessing that I will have to flash stock recovery through adb...

New to Sing I am guessing u need to use Odin to flash factory image or recovery...

Got to stop booting into recovery but know at boot screen it saying

(Set warranty bit: kernel) and keeps rebooting into boot screen???
[Galaxy Tab S2 Android Development] ashyx:
I suggest you start again and reflash the stock firmware.
[Galaxy Tab S2 Android Development] clintono316:
Thanks, figured as much, got all the files I need... Just have to put everything on the PC and flash... Gonna do that tomorrow... Thanks again...
[Galaxy Tab S2 Android Development] ashyx:
Just ignore any messages to reset. Do everything via TWRP and follow the instructions as is.
[Galaxy Tab S2 Android Development] clintono316:
Thanks for your help... flashed the latest firmware and redid the twrp and root install the correct way... the way u have it listed in this op... was able to get the tablet root and boot into the operating system... thanks again...

Edit ... I just used an app called root essentials to do a back in twrp and after the back up... I kept getting forced booted back into recovery... Not sure why???

Flashed the latest twrp in Odin... Tried flashing magic in twrp but failed, so I flashed SU 2.79 which took then the no-ecryption patch which failed (assuming cuz it was still patch from first time???) Booted back into OS...

So would u say it was the app I used to do the backup that caused this??? Anyways no worries and thanks again...
[Galaxy Tab S2 Android Development] ashyx:
See the bug list in the OP.
[Galaxy Tab S2 Android Development] thanku:
Hi I am trying to download

no-verity-no-encrypt_ashyx

But it says no mirrors available can someone please provide me with this file

thank you
[Galaxy Tab S2 Android Development] clintono316:
Thanks and sorry, should have read the whole OP... Is the "set warranty bit: kernel" on boot screen something I should just ignore...

Donated a cup of coffee or beer, for all the correcting that could be avoided if I just paid attention... Oh ya, and read the OP....

In the OP under bugs, should it be Power + Home + Vol Up instead of Vol Down to boot to recovery... Not sure if all Samsung tablets are the same it that respect...
[Galaxy Tab S2 Android Development] ashyx:
Ignore the kernel message, no way around that when using modified recovery or boot images.

To boot to recovery from odin you first need to press POWER + HOME + VOL DOWN then change to VOL UP.

Thanks for the coffee is much appreciated.
[Galaxy Tab S2 Android Development] clintono316:
Thanks for replying... my bad thought the boot to recovery was from OS, make sense booting from odin... thanks...
[Galaxy Tab S2 Android Development] ginore:
ashyx, a question for you.

My tab is SM-T719 stock with Android 7.0.

I want to install the root.

I have an SD card in which I can put SuperSU; can I "skip" the passage: To disable forced encryption and mount internal memory?

Or do I have to do this step? in this case, however, doing data format, I lose all installed apps .....
[Galaxy Tab S2 Android Development] ashyx:
If you miss the step you will never be able to access data or backup your device.
[Galaxy Tab S2 Android Development] ginore:
Fantastic! I managed to root the tab. Thank you ashyx!!!!!!
[Galaxy Tab S2 Android Development] ginore:
Problem: after running the root no longer works smart view ......... consequently I am not able to project the tab screen on the Samsung smart tv .... Any solution?
[Galaxy Tab S2 Android Development] ashyx:
Add this line to system/build.prop

wlan.wfd.hdcp=disable

Then reboot.
[Galaxy Tab S2 Android Development] ginore:
Fantastic .... works !!!!!! Thank's my friend!!!!!!
[Galaxy Tab S2 Android Development] rabmax:
root galaxy tab s2 sm t713

Hello together,

I'm trying to root the galaxy tab with the guides I found in this forum, but until now without success.

Arrived at this point i consider myself lucky to have not bricked the divice.

I think the problem is due to the fact that the build version of nougat is the T713XXS2BRI1.

I ask for help and advice from some luminaries of this forum.

Thanks
[Galaxy Tab S2 Android Development] rholm:
Everything worked like a true champion! Thanks!

Cheers,

Rich
[Galaxy Tab S2 Android Development] dja2k:
Been at it for hours and can't seem to be able to boot TWRP on Tab S2 SM-T713 running Android 7.0. I am able to flash ok but then get a no command warning. Then read to uncheck auto reboot on Odin, but then its difficult to shutdown in download mode. I did manage to do it, but then the tablet goes on a multiple reboot loop then just a black screen. Any help is much appreciated, Thanks!

UPDATE

I figured it out using these step with trial and error.

1. Download all the appropriate files needed i.e. Odin and TWRP

2. Using Odin install old TWRP twrp_3.1.0-1_sm-t713_14417n.tar with Odin.

3. To avoid fail to mount data partition, inside TWRP install twrp-3.2.3-0-gts28vewifi.img.

These steps worked for me and was able to install lineage-16.0-20190116_172525-UNOFFICIAL-gts28vewifi.zip
[Galaxy Tab S2 Android Development] PietO:
All Fine

After reading this thread thorougly, i succeeded to install TWRP, and ROOT with Magisk on a Samsung Tab S2 SM-T713 Nougat without a glitch. The only minor problem was the key-combo from volume down to volume-up to enter directly in TWRP.

Thanks to all especially for the patch ASHYX and the contributions in page 107 and following.
[Galaxy Tab S2 Android Development] ginore:
Friends I ask for help.

I made the root, everything's ok. Now I want to uninstall some preinstalled apps, for example: Hangouts, Skype, Flipboard.

I have installed some apps from the Play store (app safe remover and others) but it does not work: these system apps remain to occupy memory.

How should I do?

Thank you.
[Galaxy Tab S2 Android Development] sliding_billy:
Remove them with Titanium Backup.
[Galaxy Tab S2 Android Development] PietO:
TWRP: No reboot to SYSTEM

all was working fine and i installed a App to boot directly to Recovery. That was working, but BOOTING BACK TO SYSTEM does not work anymore: it boot's always to TWRP-recovery with msg

"set warranty bit: recovery"

Power-off and Reboot to Download works, but no way to get back to Android-System. What's the trick????
[Galaxy Tab S2 Android Development] ashyx:
Really? :rolleyes:

From the OP
[Galaxy Tab S2 Android Development] PietO:
thanks

Thanks, have read the recommendation, but forgot to pay enough attention to it; sorry for that and thanks for your reminder.

In the mean time, i did a stock-rom, twrp and magisk reflash and tested the key combo. That did indeed work, so i can confirm your reminder is working. Have to do the complete system-configuration again but that's in the game.

B.t.w: the key combo to enter recovery directly was Home + Volume-UP + Power i.s.o. using Volume-down as in OP mentioned for my Samsung SM-T713
[Galaxy Tab S2 Android Development] ashyx:
Didn't realise that it said down. Edited.
[Galaxy Tab S2 Android Development] Hanswurst02:
hey everyone,

I flashed the latest twrp from the offical site. Everything worked so far, but I cant wipe the device because it says its not mounted. What can I do? Thank you

** Sorry should have read the first post.
[Galaxy Tab S2 Android Development] Malstrond:
Where can I download twrp_3.1.0-1_sm-t813_14417n.tar?

Android File host says "OOPS! no mirrors found."

But the current official TWRP doesn't work with no-verity-no-encrypt_ashyx.
[Galaxy Tab S2 Android Development] sliding_billy:
I just pulled twrp_3.1.0-1_sm-t713_14417n and twrp_3.1.0-1_sm-t813_14417n from AFH from the link on the 1st page of this thread. Both came from the Quebeck mirror. You might just need to try again.
[Galaxy Tab S2 Android Development] RagingHarry:
Or maybe use the most recent version https://twrp.me/samsung/samsunggalaxytabs297wifi2016.html
[Galaxy Tab S2 Android Development] ginore:
To install this rom [ROM] [UNOFFICIAL] [T719] [9] LineageOS 16.0 by LuK1337

Which TWRP version do you recommend?

The 3.1.0-1 i see that works for nougat ...... okay anyway?
[Galaxy Tab S2 Android Development] emuandco:
Always use the recent one from twrp.me or if you see a more recent unofficial one here... that one. Works nicely
[Galaxy Tab S2 Android Development] Stevesteve64:
Please Help (SM-T813NZKEXAR) T813

Please Help me.. I think im completely bricked.... I got this tablet from someone thinking i could fix it.. knowing that if only i could get into download mode i could fix it... BOY WAS I WRONG!!! I never thought i'd see the day where i couldnt flash a samsun device!

i have tried EVERYTHING for months!! Switch Cables, tried to flash the correct firmware but everything failed! Odin keeps giving me a message that says unable to find PIT, and then it fails!.

I can boot into download mode but thats about it! Someone please help! Even if someone could log into my computer and fix it remotely ill pay you....

am i completely bricked?? i posted a attachment below with the message it gives me
[Galaxy Tab S2 Android Development] ashyx:
Possibly EMMC failure due to the message at the top.

However, have you attempted to flash with the PIT file?
[Galaxy Tab S2 Android Development] Stevesteve64:
Hey thanks for the reply! I could not find the PIT file anywhere... could you have find it for me??
[Galaxy Tab S2 Android Development] ashyx:
Device?
[Galaxy Tab S2 Android Development] Stevesteve64:
Samsung Galaxy tab S2 T813
[Galaxy Tab S2 Android Development] ashyx:
Try this http://gsm-firmware.com/index.php?a=downloads&b=file&id=16291
[Galaxy Tab S2 Android Development] RagingHarry:
But he'd also need compatible files to flash, hope he won't try it with a standard (full) update package, but has one with the 3 separate files for the Odin slots
[Galaxy Tab S2 Android Development] ashyx:
It's irrelevant.

The PIT file is just the partition layout.

It matters not how the images are packed.
[Galaxy Tab S2 Android Development] RagingHarry:
Well oké and sorry, learned it different from my Galaxy S1 days, but since that's long ago it might be a overdue habit.

But those factory reset Roms are still available, that is how I successfully repartitioned my T819.
[Galaxy Tab S2 Android Development] lloydsw:
Sadly, I found myself in the same boat...I had flashed TWRP & rooted 18 months ago...forgot about this bug. Not knowing what else to do, I flashed the stock ROM, got my tablet back working. Can I just re-flash TWPR or do I need to follow the original instructions. Thanks in advance.

So...I found out it was back to the beginning. Fortunately, whilst stuck in TWRP, I did a backup, so returning to normal was not that big of a deal.
[Galaxy Tab S2 Android Development] pribinakk:
hello ashyx! thank you for great work!!! root & patch without problem, but if i want to patch your recovery with Tipatch:

https://play.google.com/store/apps/...tch&pcampaignid=APPU_1_WJf5XMLgDsHdwALC2Z_wDg

as i usually do it shows an error (missing something)...

please can you realease patchable recovery with Tipatch?

thanks Jan
[Galaxy Tab S2 Android Development] typischandy:
Hello, I have a problem. I have rooted my Samsung Galaxy S2 T719 and have no internet access since then. Programs like Discord, PlayStore work without problems. With the browser or e.g. Youtube I do not have internet. There is no message "no internet", but nothing happens.

After calling a link from Discord, I also get no internet, although I see everything in Discord.

I did the following:

On the brand new tablet, I flashed this firmware: "T719XXU2BRF4_T719OXA2BRF1_DBT"

Then I installed TWRP Recovery for SM-T713 / 719/813/819, Qualcomm MSM8976.

In TWRP I deleted data (including mount and check data) as written in the instructions, then installed Magisk and "Boot Image Patch (No verity no encrypt)".

Did I do something wrong? I bought the tablet new because my old one has the same problem. Since the tablet is a bit older, I thought it was a problem of the tablet. Now I have the problem but also with the brand new tablet. I did the same with the old tablet.
[Galaxy Tab S2 Android Development] :
Guys, I am trying to install TWRP on the latest Samsung firmware (to install LineageOS) but I am having trouble. I can install TWRP with Odin without any issues but it won't start. When I try to boot to recovery the tablet says "could not do normal boot" and goes into download mode. The firmware works otherwise fine, but I just want to get rid of it and install LOS.

It's not the first time that I install a custom firmware on a Samsung tablet but I have never seen this error before.

I tried with two versions of everything: firmware T713XXS2BRI1_T713AUT2BRF1_HOME.tar.md5 & T713XXU2BSA1_T713AUT2BSB1_HOME.tar.md5, TWRP 3.3.1-0 & 3.3.0-0, and Odin 3.13.3 & 3.13.1

Any suggestion will be greatly appreciated!
[Galaxy Tab S2 Android Development] gorthon:
I successfully rooted my T713 with Magisk using TWRP 3.3.0 on stock last year. Now I happily realized that there is a new Samsung firmware from August 31st of this year, Android Security Patch Level 01/Jul/2019, so I decided it would be a good idea to upgrade.

My data partition is encrypted, and I intend to keep it that way so nobody will have access to my data if the device gets stolen.

Flashing the new stock firmware with Odin -> no problem, boots fine (no root)

Flashing TWRP 3.3.1 with Odin -> no problem, recovery boots fine

Flashing Magisk 19.3 with TWRP -> work fine, BUT: from here on, I can't boot into the system anymore. The message I get is

"Verification Failed, Unable to restart your device. The Integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data"

Now this is very annoying, as I don't want to lose my data er re-setup everything. I can re-flash the stock ROM with Odin, then it boots, but with no root.

I tried flashing no-verity-opt-encrypt from TWRP, but it won't flash, complaining about not finding the boot image.

Is there any way I can get root in this situation without having to re-format /data?
[Galaxy Tab S2 Android Development] Mauriziottom1:
Hello everyone

I have a Samsung SM-T819 I wanted to know if I can install the LINEAGE OS 16 rom. If possible you can tell me how. Thanks
[Galaxy Tab S2 Android Development] LordReaper:
I am having the same problem like roberto. Did you manage to get around that problem? I tried to flash twrp with Odin and heimdall 1.4.2 but none of them works for me. I can flash it successfully but after reboot the tab remains in download mode. I just can restart the device and then i am in the stock android again.

Update:

I managed to get it work. I was using the wrong TWRP image. I used the twrp-3.3.1-0-gts210vewifi.img instead of twrp-3.3.1-0-gts210wifi.img and it started into TWRP right after reboot. So i can strongly advise anybody to doublecheck the image you are using when you are stuck in dowload mode. When you got the wrong image it says normal boot failed in the upper left corner and remains in download mode.
[Galaxy Tab S2 Android Development] tinlans:
It seems that the latest workable TWRP for the device T719C is the special build: https://xdaforums.com/showpost.php?p=71281882&postcount=677

However, it only works for T719CZSU1AQB1-BRI (Android 6.0.1) but doesn't work for the latest firmware T719CZSS3BSH1-BRI (Android 7.0).

I also saw VeEuzUKY ever discussed it in 2018 but he couldn't find any solutions finally: https://xdaforums.com/showpost.php?p=76600083&postcount=1028

I can confirm the fact that all versions of official TWRP for T719 doesn't work on T719C. What information should I provide if I want to get help in this thread?
[Galaxy Tab S2 Android Development] shumway66:
doesthis work for w model t713w
[Galaxy Tab S2 Android Development] nk33:
......made a mistake
[Galaxy Tab S2 Android Development] Uliaoth:
Hello,

I'm getting an error in TWRP while flashing the Boot image patch on my smt-813

It says "Error : Unable to find boot block location!

Aborting

Failed to patch boot image.

I flashed TWRP (the last version from twrp.me "twrp-3.4.0-0-gts210vewifi" ) with odin. I've done everything like in the OP. What should i do in order to flash the patch boot image ?
[Galaxy Tab S2 Android Development] abhic7:
Bumping up the post

So I did not format the Data prior to root.

Now when in the format data I am unable to type YES as i cant see the keyboard, i connected a wired mouse but still no response.

Any ideas how to proceed further

Thanks for the help

EDIT: Reflashed TWRP now able to type YES
[Galaxy Tab S2 Android Development] abhic7:
Bumping this to see if there will be a update for a SM-T719Y.