yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] Grop:
Hello,

I am trying to figure out what the correct procedure is when I want to upgrade the firmware of my rooted T819 from MM 6.01. to Nougat 7.0. and therefore brought the following instructions together. Please give me further advise if this procedure is correct?

1. Download and install the new firmware from SamMobile with Odin(version 3.12.3) (uncheck auto-reboot),

with the device turned off, press ‘Power+Volume Down+Home’ to enter Download Mode.

- Connect tablet to PC with the USB cable.

- Right click on Odin 3.12.3 and click on ‘run as administrator’.

- Click on ‘AP’ and add the .tar.md5 file from the firmware archive (unzip the firmware zip.file).

- Do not place anything under the PIT section and make sure that “re-partition” is NOT checked. (On the left side you will see re-partition under the Option tab).

- When the firmware file is loaded, you can press START to begin the installation.

- At the end you will see a message saying ‘PASS” on a green or blue background. This means that the installation is done.

Don't reboot

2. Download and Odin TWRP again from the OP (again, no auto-reboot), load the respective file (for me: twrp_3.1.0-1_sm-t819_14417n) into the AP slot and hit start.

After flashing and ODIN reports PASS, close Odin, disconnect the tablet from the pc and 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.

3 In TWRP: install latest SU and the encryption disable zip from the OP, then reboot into the new system, with root..

Boot to Twrp Instructions from the OP:

- Format Data partition using FORMAT DATA button under Wipe options. (Note: This will wipe the internal storage)

- Check DATA is mountable.

- Install SuperSU (if root is required)

- Install boot image patch (no-verity-no-encrypt_ashyx) from OP.

Reboot

Do I have to install the gapps form the OP again?

Thanks for all your advices
[Galaxy Tab S2 Android Development] ivanox1972:
In install stock rom you can do normal reboot. Better to see is it booting ok and working. Very important is to wipe before instal odin stock. If have do full wipe in twrp. If not do factory reset. When have working nougat, don't set anything. Just power off and odin flash twrp. You must unchek autoreboot here. Afetr install twrp. Reboot by hold all 4 keys and immediately when screen is black release vol down and hold all other 3.when in working twrp, root supwr su 2.79, not reboot install patch and then reboot. You will have systrm rooted and twrp with data mount. Do what want then
[Galaxy Tab S2 Android Development] Panja:
Thanks for all the hard work!

I've got TWRP + root working on my new T713!

I needed a micro SD though for getting the zip files to mount in TWRP.

I do have a question though.

If I do a factory reset within TWRP will SuperSU (root) and the "no-verity-no-encrypt_ashyx" patch still be active or do I need to apply them again?

Minor second question.

The CPU temp on my T713 says 31515 degrees Celsius, pretty dam hot. :P

Is there a way to correct this?
[Galaxy Tab S2 Android Development] freaksamael:
[MENTION=4899305]ashyx[/MENTION], please Dev, if possible, a version bump to twrp 3.1.1? Samsung just published newer T819 sources (T819XXU2BQD1). Thank you!
[Galaxy Tab S2 Android Development] _horst:
phh's superuser

i would like to root my t813 with phh's superuser instead. i folowed instructions from op. but root verifier tells me busybox not installed or not symlinked. could the no-encrypt patch interfere with the install options of superuser config.txt (nocrypt noverity)?
[Galaxy Tab S2 Android Development] alex1301:
Hey guys,

since the recovery triggers the set warranty bit text at the boot screen, will the text disappear when I flash a full stock image via Odin?

Gesendet von meinem ONEPLUS A5000 mit Tapatalk
[Galaxy Tab S2 Android Development] rpk3:
Unclear directions make for a bad result-

Im bricked now. t713.

Anyone care to help?
[Galaxy Tab S2 Android Development] ashyx:
Congrats for being incapable of understanding plain English. :good:
[Galaxy Tab S2 Android Development] rpk3:
phuck me. that's what just happened........lol millenials
[Galaxy Tab S2 Android Development] angarato_surion:
Are we supposed to apply the patch for the forced encryption in every wipe?
[Galaxy Tab S2 Android Development] ashyx:
No, unless you restore the stock boot.img, also you don't wipe you need to Format.
[Galaxy Tab S2 Android Development] angarato_surion:
A! Ok i just formated and research applied the no verify patch so many times.. That I got forced to re flash full Stock from Odin.. In the end I installed a slim version, used open Google apps and I got rid of Google apps I didn't want using titanium

... What the heck everything with name Google was crashing yesterday and I bought it yesterday
[Galaxy Tab S2 Android Development] RagingHarry:
When installing pico opengapps or mini beansgapps via twrp all the bloat GApps will be unistalled for you by the installer script, then you only need to add the few Google apps you need / want, is less to do to get the same result ;)
[Galaxy Tab S2 Android Development] Svan987:
Hi ashyx,

Reboot to recovery is not working it's rebooting system (Tested on Nougat with twrp_3.1.0-1_sm-t713_14417n). Thanx again for all your tools.

Just read your post #727 :rolleyes:
[Galaxy Tab S2 Android Development] caprihome:
Is that one newer?

https://dl.twrp.me/gts210velte/

https://twrp.me/devices/samsunggalaxytabs297lte2016.html
[Galaxy Tab S2 Android Development] MMarc:
This worked great on my Samsung Galaxy Tab S2 SM-T713! I was able to flash Lineage OS 14.1 and successfully install root! I have not had any issues using TWRP on my device as of yet. Much Thanks to the Developer your work is greatly appreciated! I did hit the Thanks button but wanted to reaffirm my Thanks in this post! :D
[Galaxy Tab S2 Android Development] RagingHarry:
[MENTION=4899305]ashyx[/MENTION] do you know more about these official releases, do we still need the dm-verity encrypt fix?
[Galaxy Tab S2 Android Development] caprihome:
I installed the 3.1.0-1 and after that then the update with the 3.1.1 img. No dm verity encrypt fix but installed magisk instead of supersu.

Works very good.
[Galaxy Tab S2 Android Development] TheEarman:
I am new at rooting the Samsung Tab S2. I have rooted my HTC One M8 for years and have always installed TWRP with no issue. I have flashed firmware updates and did not OTA.

I just got a used factory unlocked TAB S2 SM-T819 with snapdragon and CSC QCO, nougat 7.0 (T819XXU2BQCO_T819OJV2BQCO_XSG).

I rooted it easily with Odin and CF Autoboot and it is still has the regular recovery. I never had a rooted phone with a regular recovery.

-	Are there any advantages keeping the regular recovery regarding auto applying security updates other OTA updates? I understand that a new firmware version needs to be flashed through Odin if rooted and TWRP but what about security updates?

I am in Vancouver, Canada and my firmware is for United Arab Emirates.

-	Which country zone is most likely to get updates first on SamMobile for the T819 snapdragon? Should I flash a different country?

I have always used TWRP in the past and really, like it. However I would rather wait for a stable version rather than trying a beta. I am not sure whether TWRP 3.1.0-0 is beta or stable? The update 1/4/2017 shows TWRP 3.1.0-1 MM/NN build released as beta with known reboot bug.

-	What does MM/NN means? Is it a different type of build (besides being more recent), or is it for the regular T819 and 3.1.0-0 is also beta?

I Googled this but could not find clear answers…

Sorry for asking questions which are probably obvious to all of you, I want to make sure I don’t brick my S2 T819 by not fully understanding what I am doing!

Thanks a lot for any help!

Patrick
[Galaxy Tab S2 Android Development] RagingHarry:
You need the one ending on n, Nougat is android 7

Mm is marshmallow android 6.

I'm still on the version released on this thread, being on holz isn't the ideal time to test the official one cause of the dm-verity and encryption stuff ;)

My local is PHN Holland and was until now very early in the release cycle every time, but use it in English (easy switch at setup).
[Galaxy Tab S2 Android Development] TheEarman:
Thanks a lot! :)
[Galaxy Tab S2 Android Development] Grop:
Need some help.

Followed the procedure as I described in post #814 and the advise in #815

After wiping the tablet in TWRP, I used Odin to install the latest software for my tablet SM-T819. After that I installed twrp through Odin.

Both gave the passed sign. Then disconnected the usb cable and tried to restart my tablet. No reaction. It hangs in the downloading modus, telling me not to turn of the target.

I cannot switch the tablet off.

Tablet does not react anymore. Battery is full, so waiting until battery is empty takes a long time.

Did I do something wrong? What can I do?

Thanks in advance,

Peter
[Galaxy Tab S2 Android Development] ashyx:
I take it you mean you disabled auto reboot?

Just reboot manually. POWER + VOL DOWN
[Galaxy Tab S2 Android Development] Grop:
Thanks Ashyx,

Did that, but it took about 20 minutes before I got any reaction on the Tab.

Also had some trouble installing, but newest software form August is now installed on my T819, and it is rooted again.
[Galaxy Tab S2 Android Development] ashyx:
It's normal for it to take 10 mins or more to boot after a wipe.
[Galaxy Tab S2 Android Development] timboroks:
So I installed twrp and updated it after my t713 booted initially. If I want to install su and boot image patch for root, do I need to wipe system again or just install su and boot image patch through twrp and reboot?
[Galaxy Tab S2 Android Development] jamespabuhat:
internal storage

sorry for this noob question , uhm is it possible if u dont need to wipe internal storage anything if u install root?
[Galaxy Tab S2 Android Development] angarato_surion:
hi what is the best kernel for T713 MM ?
[Galaxy Tab S2 Android Development] mrbonine:
Was going through this process - lost root earlier because I didn't turn on "de-OEM" switch. Honestly not sure how I accomplished this but 713 boots to TWRP splash then immediately to normal boot - can't access TWRP at all. Was going to attempt accessing CLI to force open TWTP, but thought I should get some guidance from folks here. Any process of you've used successfully is welcome.
[Galaxy Tab S2 Android Development] ayamgoreng:
just make stupid mistake when trying magisk today, I forgot to flash no encrypt by Ashyx after magisk.

data, internal sdcard all become encrypted after first boot. :(
[Galaxy Tab S2 Android Development] arromdee:
I am trying to understand this before buying a tablet, so I'm sure I know how to root it, but some of this is getting confusing. And I don't really have the background to understand what's going on.

What does it mean to "install boot image patch below"? Does that mean "flash it to the boot partition"? If that's the right answer, wouldn't that mean I'd lose the existing contents of my boot partition? Or does the option to select the partition "boot" add it to the existing contents? If it does add it to the existing contents, does that mean it automatically deletes itself when it's done, or do I have to delete the files from the boot partition myself once it's finished?

SuperSU says it has a recovery flashable zip. Does that mean that I should flash it to the recovery partition? Similar questions here: would I lose my existing recovery partition or does flashing it to the recovery partition just add it to the existing contents. If it does add it to the existing contents, do I have to delete it when I'm done?

It is my understanding that a recovery partition is something you boot to instead of doing a normal boot. But the instructions say to flash SuperSU to the recovery partition *and* to install the boot image patch, and not to reboot between these two steps. Wouldn't this mean that if I boot to recovery, only the SuperSU part works, and if boot normally, only the boot image patch works?

Also, the last step just says "5. Reboot." Does that mean I should just reboot normally (without rebooting into recovery)? If it means I should reboot without recovery, how would SuperSU ever work (since it is supposed to be flashed to recovery)?

This says to flash with Odin 3.10.7 but there are newer versions of Odin. Do I need to use the exact version 3.10.7?
[Galaxy Tab S2 Android Development] avant1277:
Thank you ashyx, this worked perfect first time on my brand new 713.

[MENTION=4952064]arromdee[/MENTION] there is a nice video of the process, in Spanish, but understandable by just watching, here https://www.youtube.com/watch?v=fT91trcAP9I
[Galaxy Tab S2 Android Development] collinsgemdict:
Hello guys!

Just after a unsuccessful attempt to install the recovery on my SM-T813. Everything how it should, after odion recovery ok, but after restart the stock recovery coming back.

Already 1 on Knox counted.

Lastest Nougat

Build: NRD90M.T813XXS2BQG3

Kernel: Stock 3.10.84-10993233

Any idea guys what to do next to make it the recovery works ?

Cheers
[Galaxy Tab S2 Android Development] O_G:
I've been having similar issues, after following the instructions to the letter! Un-checking the auto-reset and button combo's just didn't do it, no matter how many times attempted. It seems the newer version of TWRP here, fixes the issue, I managed to get a custom recovery installed and subsequently SU, then applied the encryption patch. Happy days :)

Thanks to [MENTION=4899305]ashyx[/MENTION], and everyone who worked on this, much appreciated. :good::highfive:
[Galaxy Tab S2 Android Development] collinsgemdict:
Hello there!

So basicly what i did now:

Download from the TWRP official site for the exact model ( twrp-3.1.1-0-gts210velte.img.tar ), before i already did copy the SuperSU-v2.82-201705271822.zip and no-verity-no-encrypt_ashyx.zip the root of the device.

Flash by odin *uncheck auto restart, ap select, then flash, after manually restart then enter the recovery.

then in the recovery wipe / format data, after flash su.zip and verity_ashyx.zip, restart.

Success.

Thanks a lot guys! :good::fingers-crossed::highfive::victory:
[Galaxy Tab S2 Android Development] O_G:
Sounds about right, I was feeling daring, so used the test SU Here: https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133/

Also, make sure you use Odin v3.10.7, I couldn't get newer versions to work:good:

Good luck:highfive:
[Galaxy Tab S2 Android Development] collinsgemdict:
Odin3 v3.12.3 - that was mine on Win 10 x64.

Thanks for the quick help!
[Galaxy Tab S2 Android Development] O_G:
I couldn't get that version to work, would not initiate, but hey whatever works for you:good:
[Galaxy Tab S2 Android Development] Daedalus.p1:
Got TWPR running but I can't mount my SD card in TWPR. Do I need to use the boot image patch to be able to access my SD card?
[Galaxy Tab S2 Android Development] collinsgemdict:
What about if u try to mount your sd?

Before u have to access your SD, to flash the SU bin and after u need to flash the boot image.

Which device u got?

I just realized i used Sandisk 16GB OTG USB-MicroUSB to flash my stuffs, otherwise the wipe clear everything. :D
[Galaxy Tab S2 Android Development] Daedalus.p1:
T813.

In TWPR -> Mount -> Select Storage I can see my SD card with its capacity, I can select it - but in Windows I can't see it, even though Windows does somehow recognise the tablet.

Might be a Windows driver issue, but I preemptively installed the drivers from the official Samsung site.

And as I read the OP: the boot image file concerns itself with the internal storage - but the SD storage should be independent of that.

But if the the forced encryption spans over everything including SD, then the instruction is not detailed enough.

As I see it I need to flash the boot image to disable the forced encryption to be able to mount my SD card for it to be seen in Windows?
[Galaxy Tab S2 Android Development] mrbonine:
First, Thank You to Ashyx and all of the other folks that contributed to this effort. I've relied on XDA to make rooting my phones and tablets possible and reliable for years. I value of the work that is reflected in XDA and quickly came to realize it as the source of the most reliable, accurate and tested knowledge. And includes many generous members willing to help even "dumb users" like me.

In that spirit, I'd like to ask someone (not necessarily the original poster) who has used this process to summarize it clearly and in linear progression. I was going to take a whack at it, since I used this originally to root my T-713, but I didn't keep the "non-OEM" toggle selected and it lost root. I've tried to re-do what I had done, but it's now in powered semi-brick; but I'll sort that out. I'd appreciate it if all steps could be included and any model or other specific logic loops as well, and any important conditions or caveats (like Odin or TWRP version or any other stipulation) be stated up front. I would be happy to help any way I can, including using the process step by step as many times as possible to test to provide proof or style suggestions (privately, unless asked). Thank you again, I think the best way to contribute would be for me to send a proposal to the author, but I honestly don't understand what's here well enough to organize the information. My feeling is everything needed is included already (and I successfully used it) but it would benefit from organization and pruning. I'm not asking for a highly structured, dumbed-down checklist, but at over 10,000 posts my ability to parse out the most up to date and important information fails. If there's a place for that on another XDA forum, please let me know. Thank You, I know how much great effort has already been contributed.
[Galaxy Tab S2 Android Development] O_G:
The instructions in the OP are still valid, the procedure is all there, I'm not sure any more info is really required. The only thing not working (for me at least), is the recovery file, just grab that from the official TWRP site, and you're golden.

On the other hand, I'm sure the OP is keen to see your proposal. :silly::D

The best way to contribute is to test, then report your findings here, if anything doesn't work. OFC posting as much info as possible.

Good luck:)
[Galaxy Tab S2 Android Development] mrbonine:
Thank you for the thoughtful reply. My tablet lost root (acquired through this process) because I didn't keep "OEM off" set properly. I came back here to try to regain root and recovery, but only made things worse. My guess is (since my tablet will only bootloop constantly even after a simulated battery pull) I have to revert to stock and try again. I can get a TWRP flash screen but it won't complete execution. I'll give that a shot, since ODIN last I tried still connected. If there is another path that might be more clear or less prone to user error, please let me know.

My original question is more meta than probably appropriate, but given that the T713 is not bootlocker loaded (which I've been trough with other products) I am surprised I couldn't properly follow the steps the second time around - perhaps because of the state of the tablet at that point, which I own. The first attempt, when I bought the tablet, took me two tries, from memory. Reading through the posts suggested others had similar issues, and I know that isn't because they are less able or intelligent users than I.
[Galaxy Tab S2 Android Development] Daedalus.p1:
If the OP indeed has all the info required as you proclaim it should be easy to answer my questions:

1. Do I need to flash the boot image to be able to mount my SD card in TWPR and to see it in Windows?

2. Considering I want to use addonsu from LineageOS: Do I need to flash it in place of SuperSU - or can I flash it later after having flashed the boot image(considering the OP talks about having to flash it at a specific step to be able to achieve root)?
[Galaxy Tab S2 Android Development] O_G:
It sounds like you may have the same issue as myself. Following the instructions, the TWRP screen appeared, then the tablet re-booted. The solution is in my previous post, just re-attempt using the official TWRP for your variant, here: https://twrp.me

The OP is never going to be able to cover every variation, hence me saying try it and see. I had no trouble mounting the SD card, I've read others have had issues with the data partition.

As for the replacement SU, I don't use myself, so refer to my first sentence:p

If you really want precise instructions with no risk, best bet is stock, and the user manual. :p
[Galaxy Tab S2 Android Development] Daedalus.p1:
You definitely need to work on making your posts readable by using paragraphs.

The underlying issue is rather simple: a dev with in-depth knowledge about android, rooting and programming is writing a step-by-step reproduction mainly from his point of view - which means it's short, most of the time too complex for the uninitiated to understand and lacks screenshots. And if something does awry there is often not a proper FAQ or known issues with proper explanations.
[Galaxy Tab S2 Android Development] O_G:
Now we have the device history out of the way. :eek: This is a community built on helping each other out, and I for one try to help as much as possible, but with that said, applied learning is still expected by reading the material provided, this is emphasised by rule 1 of XDA, which I'm sure you're very familiar with, being a member for several years.

I am surprised by this reaction, my previous post was to the point, but with the intentions of getting you out of the situation you are in. With the location of the file required being pointed out. I would suggest you flash a full stock ROM with ODIN, and begin the procedure again, using the official TWRP. If followed correctly, you will end up with a rooted Tab S2, with a custom recovery, as I and many others have.
[Galaxy Tab S2 Android Development] Epiklyepik:
I have a smt813 wanting to root it. After some research. This was one of the best sources...

I also heard of firmware.mobi...i have the XX version on the latest software. They have an option to configure cf auto root for this tablet.. I wanted to know if this will work or not.. I really don't want to lose internal memory..

I know this is slightly off topic but this seems like a well educated thread thus I asked here
[Galaxy Tab S2 Android Development] Daedalus.p1:
His post most likely referred to your response to me in which you proclaimed that 1. the OP is detailed enough and once I asked you a detailed questions about SuperSU and its necessity in the OP's reproduction you felt forced to 2. tell me that if I want precise instructions I should stay with the stock ROM - which just proves that the OP isn't detailed enough in the first place.

Out of curiosity: your forum title reads "Senior Moderator".

Are you sure this is the way someone like that should behave: telling a user who has questions about an inaccurate reproduction to "get good and read the immaculate OP" but then admits the OP isn't that good by saying "if you want an accurate reproduction stay with the stock ROM"?

Who is the target audience of XDA btw? Is it people like the OP who are proficient with android and coding in general - or people like me who are not that familiar with those things?