yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Momotani-Hitoshi:
What is the difference between WETA_Kernel_T860-3.02-SK1-Perm.zip & WETA_Kernel_T860-3.02-SK1-Enf.zip?

I have rooted with Magisk

without

TWRP to retain encryption. Is it okay to flash the WETA kernel via ODIN? (I want wireguard support)
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] pankozin:
Im running this setup atm.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
Permissive and enforcing
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] alan9820:
Excuse me,

May i know the difference between Permissive and Enforcing means to those version? which one suggest ?

And i saw there is 10L & 10P of twrp version in folder, which one should i download?

Thx
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Lizzo:
okay so I just read throughout 25pages before I asked as I'm feeling a wee bit reeetarded over here.. but I'm on asl3 firmware, I've unlocked the bootloader (oem unlocking is greyed out, and it says its unlocked in dev options).

I sent the asl3 firmware to my device, patched with magisk, and tried to reflash the patched firmware to root it and its telling me ” only official released binaries are allowed when I flashing...

okayyy I decided to just flash just twrp, the latest one and still. same error. can i have some help? sorry if the answer is there and i just dont see it.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
L = landscape

P = portrait

Use Permissive only if you know you need it. Otherwise simply use the enforcing one.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] bartleby999:
Did you press Volume Up to actually unlock the bootloader? Just switching the OEM switch isn't enough.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Lizzo:
Yes I stated in my post that it's greyed out and says that it's unlocked
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] bartleby999:
Ok then. Have you tried flashing stock and then trying again? Might be worth a try.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Whilom:
Sorry for being slow on the uptake; I am looking for some clear instructions as to how to flash stock. I think I flashed the wrong TWRP image, and now, as has been mentioned a few times in this thread, no matter what button combination I press after side+vol_down all I ever get is the SAMSUNG Galaxy Tab S6 on black screen, and nothing else. Every seven or eight minutes the tablet blanks and a few seconds later back to the same screen. When I find descriptions of this earlier in this thread the answer is "just flash back to stock and try again." But... Cant. Figure. Out. How. To. Do. That! Help! :confused:
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] bartleby999:
I'm no expert, but you're stuck in bootloop. You need to get the timing right - You need to hold both the volume buttons whilst at the same time plugging the USB-C cable in. Hold Volume Down and Bixby Button to force reboot, then immediately switch to both Volume button and plug the USB-C cable in.

FYI - You don't flash the TWRP.IMG if you do not already have TWRP installed. You need to flash TWRP.Tar. The .img is for updating TWRP.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Whilom:
Thanks, you're a life saver! I did manage to get to the download handler that way! I really wish there was a bit more down time in the VodDwn/Bixby reset, it would make it easier for us dexterity-challenged folk. As for my original error, yes, I flashed twrp-3.3.1-1-gts6lwifi.img.tar, and should have just flashed TWRP_T860_3.3.1-10P.tar
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] TiTiB:
[Q] Correct WireGuard Implementation?

[MENTION=4553200]Mentalmuso[/MENTION] you mention Wireguard here

https://xdaforums.com/showpost.php?p=81329975&postcount=225

...but how to correctly implement it?

I say "implement" because after a regular install of Wireguard apk (the same way I've been using for a while now) it doesn't show up in Settings—>Connections—>More connection settings—>VPN, nor in the statusbar as a key icon.

It is working; https://am.i.mullvad.net/ reports it is, as does an IP check.

My concerns are:

(1) How do I set it to "Always On-Nothing Connects Unless Wireguard Is Active"

(2) There is no key icon in statusbar so I know it's working

Thanks for your great work making this great tablet even greater!
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
I've never used wireguard. I simply patch my kernel with the patch hosted on the wireguard GitHub. So I don't know sorry.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Momotani-Hitoshi:
I think by default if you use kernel mode it will be automatically always on.

Settings—>Connections—>More connection settings—>VPN is only when you are in userspace mode.

How I know it is working is by adding a wireguard notification toggle tile
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] TiTiB:
Thank you for the feedback. For me "Always On" is not working. Just so we know we're talking about the same thing, I want nothing to connect to the internet unless it's through the Wireguard VPN tunnel; Wireguard not on, nothing connects.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Momotani-Hitoshi:
Wireguard has two modes. 1) Kernel module backend or 2) Userspace mode

Which mode are you trying to use? Open wireguard app > settings > look at version.

Userspace mode

behaves like any other VPN app at the user level using the OS VPN APIs. Upon first connection Android OS "connection request" popup appears. Granting permission the connection will show a key icon in the notification/status bar. You will then see Wireguard app listed in Android OS Settings—>Connections—>More connection settings—>VPN. There you have options to enable "always on" mode etc.

Kernel module

behaves differently, requires root permission & supported custom kernel, runs on the kernel level as system, invisible to the user. You will not see Wireguard app listed in Android OS Settings—>Connections—>More connection settings—>VPN. Wireguard app might be listed there if you had used userspace mode prior to kernel root mode. It can be removed and wireguard would still work because its running in kernel mode and not using OS API. In fact, you can actually use wireguard without even having the app installed. Just run wg command. The app when in kernel mode is merely to make loading configs easily, no VPN function is actually being done, it is all handled in the kernel.

There is no key icon in status bar when connection is active. Also no feature to have "always on" mode. Because it runs as system/kernel I'm assuming it is always running even when deviced is locked/sleep. I have wireguard running 24/7 in kernel mode and internet stopped working when my VPN provider service plan expired and wasn't able to login/auth. But, that isn't as bulletproof as the "always ON" mode which blocks connection entirely except for the tunnel. I can still use the internet if I explicitly disable wireguard tunnel. There might be ways to have a killswitch with iptable commands etc but I have no bothered to.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] TiTiB:
I'm going to PM you since OP might consider this OT.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] VeEuzUKY:
Samsung repair service..

I bought a new LTE Galaxy Tab a few days ago (Hong Kong region) and after a couple of days days of using it, the S-Pen and screen started becoming completely unresponsive. I had configured some basic things on the Tablet, activated Developer Options and installed some apps, but I didn't have tine to get TWRP or root before it broke down. After taking it to Samsung and getting it back repaired 2 days later, they told me they had to replace the whole screen and also the pen. Somehow I had the feeling they simply gave me a new unit. Fine to me..

So today, getting myself ready to install TWRP and rooting it, to my disbelief, the OEM UNLOCKING option in Developer Options is gone! It was absolutely there before I took it to Samsung for repair. This means what? Did they exchange my original purchased tablet with one that actually has a locked bootloader? Or can I still install TWRP and root as before, or what exactly is this? Im pretty upset and confused.

Thanks a lot in advance for any insight on this :)
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Aid777:
Does this method here completely do away with the need to root via this method below?

https://xdaforums.com/galaxy-note-10+/how-to/guide-how-to-root-note-10-t3960031
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] bartleby999:
You do not need to patch Magisk, if that's what you're asking?

Simply follow all instructions in OP - To install TWRP and Root.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
We have a better device than exynos folk. There, I said it. Simply flash magisk in twrp.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Aid777:
OK, I'm going through the guide here and other places to flash and root from bone stock (how easy is it to unlock bootloader with one person and two hands?)

I have a few questions:

When you Reboot directly into TWRP is that done when the Tab is shut down or is that while still in Odin just after you flashed TWRP?

In the guide again is Flash encryption disabler the file from the main TWRP DL folder in Mega, called Disable_Dm-Verity_ForceEncrypt_05.21.2019.zip?

How to unmount system? is that an option in TWRP that has to be swipped to activate or is it just a tick box?

Thanks!
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] TiTiB:
It takes two hands, and I pressed the tab against my chest to support pressing the buttons.

After flashing, Unplug from PC, reboot.

Yes.

In TWRP hit Mount—>Untick system
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] VeEuzUKY:
Could some one point me in the right direction regarding which files are actually needed for the LTE T865?

- There are TWRP IMGs versions ending in L and P. Which one is what?

- There are Kernel versions ending in ENF and PERM. Whats the difference and which one is the correct one?

- Is the TWRP_T86x_Installer ZIP also needed in addition to the standard TWRP IMG/TAR file for ODIN?

Sorry, but externally confused with all these file variants and would love not to fry my tablet instantly with my ignorance. Thank a lot :)
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Aid777:
I wondered the same thing and used the search function [MENTION=4553200]Mentalmuso[/MENTION] has already answered them in earlier posts

L and P are landscape or portrait TWRP. I'm gonna use portrait

Use Permissive only if you know you need it. Otherwise simply use the enforcing one

Use the TAR file to flash TWRP for first time using Odin or ZIP to update TWRP in TWRP
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] VeEuzUKY:
OK thanks a lot. Let me see if I can get this done without exploding my tab and half neighborhood.. haha :)

Thanks again.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] bartleby999:
I'm no expert, so I'm just telling you what I think.

Leave everything in Odin as it is when you open it, with exception to Auto Reboot, ensure that is unchecked.

Different Samsungs do have different combinations, or more so, newer devices are different to legacy.

If you don't boot straight into TWRP, then Stock recovery will erase it - And (I think*) you'll just need to complete the whole procedure again, nothing else - Although, have stock ready just in case. And if you do mess up, just accept it - Do not try aborting the process, just let the Tab do everything it wants and face the fact you have to try again, or that's where problems will occur.

Hard reboot until the Tab switches off, then immediately switch to recovery combination.

Honestly, it seems harder than it actually is - It is in fact an incredibly simple procedure, atleast it was for me and I haven't rooted anything since the Tab S 10.5, so it was all new for me. You seem like you've done your homework, so you should be fine.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] TiTiB:
Just to clarify, 'Format data' requires steps that differ from the usual 'Wipe data'; namely clicking it and typing 'yes'.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] VeEuzUKY:
Aid777, three questions:

1) Install “USB fastboot Driver for PC.. you mean the Samsung USB Drivers? Version 1.7.23 are the latest from Samsung and I think the correct ones for the Tab S6. Is this right?

2) Which version of ODIN is to be used to flash the Tab S6?

3) To get into Download mode and then unlock the bootloader, I read two different versions in this thread (I have rad the whole thread tonight so I know what I am doing, hopefully):

---A) Press Volume Up & then Press Volume Down (Keep holding both) and connect device to PC with USB cable. When device start to download mode,long press volume up to unlock the bootloader, or

---B) While holding the volume down, volume up and power on buttons plug the USB cable into the PC, enter the unlock bootloader screen and follow the instructions on the blue screen.

So which one is it?

I plan to Install TWRP and root mine tomorrow after all my doubts are ironed out :)
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Aid777:
1. I had version v1.5.63.0. Your version does appear to be the latest so I've installed that one and it covers all devices.

2. I am still a little unsure about download mode as well, is the term download mode the correct mode the tablet is in to unlock boot loader? I think maybe bootloader mode and download mode are two different tablet menu modes.

I think my guide is correct, so A.. When you follow the inscreen instructions I do believe holding volume up will unlock the bootloader. I looked on other sites to double check, not just looking at XDA. There might be one or two otehr options to select first though. Just read the blue screen instructions carefully in case you exit by mistake

Another thing I am still not 100% sure about is when you exit download mode to go straight to TWRP recovery, does the power button need to be kept pressed in when you switch from volume down to volume up, or do you release the power button at the same time as the volume button and then press the power button again with the volume button?
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] VeEuzUKY:
Thank you for the reply Aid777. I will do a little bit more research and tomorrow venture getting this done. I think the "download mode" and "Unlock Bootloader" modes are actually different but there is clearly some mismatched information on these threads with both different versions on how to do it. Either way, I think a bit experimenting will get it done. Unlike a few months ago shortly after the Tab was originally released, now TWRP, Kernel and root are all mature and proven at this point. I think following the instructions on the OP should go smoothly and avoid bad surprises. I have been using Samsung devices for more than 10 years already (some Sonys in between that were always a nightmare to get recovery in and rooted) and I usually read the complete threads and posts so that I understand the evolution of the code and am clear about problems I may face. I have done my reading here as well for the Tab S6 and I feel things should be fairly straightforward.

You didnt get TWRP and rooting on your device yet? Let me know how it goes. I will try it tomorrow on mine and fingers crossed.

Thanks again for the reply :)
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Aid777:
Not done mine yet. I have rooted two LG phones and a Sony tablet yonks ago. You go first, let me know how it went!
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] VeEuzUKY:
I've started the process and unlocked the bootloader successfully but not without some hiccups.

First of all the CORRECT key combination is Volume Up & Down and insert the USB cable (not in combination with the Power Button).

Next upon restarting the Tablet, the OEM Unlock Toggle was gone. I managed to get it back using the following guide (a quite intricate task):

https://www.themefoxx.com/2019/07/fix-missing-oem-unlock-toggle-on-samsung-galaxy-devices.html

Finally, now the UNLOCKED BOOTLOADER splash screen comes on every time the Tablet is restarted. Quite useless and annoying that Samsung feels the need to inform me every single time that I unlocked the bootloader.. whatever. I plan to follow-up with TWRP and Rooting later tonight after I get off from work.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] bartleby999:
Yeah, and once you've flashed custom recovery Samsung will inform you you're not running official software everytime too. It's tedious, but doesn't add too much time to the boot process.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] VeEuzUKY:
bartleby999, thanks for the confirmation. For a moment I thought is was just my tablet trying to be original haha.. now I feel better knowing that is generalized. As they say, other people's misery always makes you feel better :)
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] VeEuzUKY:
I need help. Im stuck at the step of Unmounting system. When I hit Mount there is no actually option to unmount anything, just to mount. Am I supposed leave Cache, Data and MicroSD checked and just uncheck System?

And after I complete the whole process and fully reboot the first time, do I need to manually install Magisc Manager APK (latest version I presume) before the Tab can work properly with root or it will be there already??
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Aid777:
If you did not tick or untick anything when you first got to that screen it seems you only untick system

https://xdaforums.com/galaxy-tab-s6/development/recovery-twrp-3-3-1-t3975587/page9

Post 88

---------- Post added at 12:12 PM ---------- Previous post was at 12:11 PM ----------

and here https://www.the***********.com/samsung-galaxy-tab-s6-twrp-root-guide/
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] VeEuzUKY:
All right, so booted the first time, everything done. Tested and configured everything, properly rooted, camera works and all good. That's where the party ends.

After powering off the first time, its all over. The tab will not restart anymore. Power-on key flashes the screen momentarily and the Tab shuts off instantly. If I try to go into recovery (Volume Up +Power) I get a screen telling me the Tab is locked. I followed exactly the instructions on the OP and read this whole thread to make sure I got everything right.

These are the files used in the proper sequence following all the exact steps from the OP without any issues or problems, all the way to finally booting into the system and everything working perfectly (I used Odin3 v3.12.10):

- TWRP_T865_3.3.1-10P

- WETA_Kernel_T865-3.02-SK1-Perm

- Disable_Dm-Verity_ForceEncrypt_05.21.2019

- Magisk-v19.4

- First boot-up stalled and force shut-down after 3 minutes as advised.

- Second boot-up successfully completed, tab rooted, all apps working and everything perfect.

- Power-off Tab and Tab gets locked.

Any help will be greatly appreciated as I absolutely don't understand what I've done wrong or why Tab gets locked immediately after the first shutdown and re-start.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] VeEuzUKY:
Also, I can't re-flash anything via ODIN. Everything fails. I really dont know what to do..

.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Aid777:
Where you going to try and flash the official ROM, have you repeatedly tried to get to download mode to try that?
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] VeEuzUKY:
There is nothing I do that changes the Tab's behavior. It is totally locked and without any recovery left.

I am now downloading the stock ROM from SAMMOBILE, my internet access is lame and this will take me hours. But I have a very bad feeling about all this.. the stock ROM getting flashed will be a miracle. I would like someone with much more knowledge than myself (clearly zero after more than 12 years flashing and helping to build several custom ROMs for Samsung devices in the past) to try and explain to me what is happening and why.

I managed to get everything done and the Tab working perfectly without any issues what so ever. A perfect install of all the files and successful boot into the system, all as perfect as it gets. There is not ONE other mention in this or any other thread about a similar issue with the Tab S6. Only two things can happen.. either the flashing fails at certain step for one reason or another and things get stuck at one point of the process, or, when all the flashing is successfully completed and the system finally works perfectly with the new configuration, then that's it and done. But not a complete lock-down after everything fully successful and the Tab working as newly configured.

So, I would like to understand what has happened so I can learn if/where its my tab that very particularly is unique or if somehow my unforeseen stupidity or ignorance played a role in this mess.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Aid777:
I took a risk and unlocked boot loader on SM-T860 but I cannot flash anything in Odin, it just fails.

EDIT. It worked on v3.13.1 (I was using v.3.14.1 befor that) but I thoiught I screwed up because I did not reboot into recovery but managed to get back in before I got into the system. Fool

After restart it's did not say building cache like I figured it would and like on other devices I have rooted, just displayed the Samsung logo, anyway after a while, more than 3 minutes I hard reset and skipped set up with google acccount just to get in ASAP. I found the Magisk app, I touched it and there was an update but I was scared and thought I should Restart the tablet and see what happens. I waited until 13 apps completed setup updates.

I then powered off completely and that was okay. Seems fine. I have udpated Magisk and looks good.

Why does the tablet say I am not running Samsungs offical Software, is that because of TWRP?

I noticed OEM unlocking is obviosuly turned on but is no longer greyed out. It's like that on my LG so IO guess its normal?

Adaway in installed now

I have restarted the tablet three times so far, takes a little extra time, due to the two 'extra' screens I guess

That was the scariest root I've done
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Airtioteclint:
Your kg status shows prenormal. That means you can only flash official firmware. For future reference you should always have official firmware on hand in case anything goes wrong with flashing.

Once you get official and booted back up ive read you can simply manipulate the date in settings 7 days forward to remove kg status but i have not tested myself.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Aid777:
I feel bad for you mate. I hope you get it sorted. I'm going to keep reading these posts incase I can be of assistance
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] VeEuzUKY:
I just downloaded the stock ROM. I cant flash it either.. I was already expecting this next. I get an instant FAIL the moment I press the START button. Any help will be super appreciated. I have no idea what else to do.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] bartleby999:
I'm going to state the obvious here and say you've messed something up. I'm not sure what, but some piece of software is corrupt. This has happened to one other person previously, MentalMuso said the only way to recovery is to flash stock.

I actually had this happen to me too, only not from rooting but from messing with Smali-Patcher - You just need to flash stock and everything will be cool. It's easy. You will need to do everything in OP again though if you want TWRP and root. But, think of this as a learning experience don't let it dissuade you. Atleast now you know how to recover.

---------- Post added at 05:53 PM ---------- Previous post was at 05:47 PM ----------

Tablet says you are not running official Samsung software because you have edited Recovery and replaced it with TWRP. Perfectly normal and expected since you're no longer using official stock.

OEM unlocking is fine too. Just do not lock the bootloader again.

Now you're set up, create a backup.