yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Tronje:
sorry, when I interfere ...

I was using custom roms for several years with several devices (recently some Oneplus). The procedure is different from device to device. In my case your guide could be a bit more detailed.

Sometimes I got bootloop or tablet was starting extreme slowly, when I was trying several options.

My questions below in blue

Process from bone stock

1. Flash TWRP.tar in Odin which twrp? in which section? what's the difference in l- or p-version? is there a version with patched boot image?

2. Reboot directly into TWRP ok

3. Format data, reboot recovery ok

4. Flash kernel what kernel? where do I get one? flash in recovery, ok

5. Flash encryption disabler. in recovery?

6. Unmount system, Flash Magisk 19.4 (not 20.*) is this still up to date?

7. Reboot system

Process from existing TWRP

1. Flash TWRP.img to recovery ok

2. Reboot recovery ok

3. Flash Kernel zip in recovery? ok

4. Unmount system and Flash Magisk zip unmount in recovery? leave the rest untouched?

5. Reboot system

additional I have one problem when using adb:

my device ist recognized but I'm getting message that it is unauthorized (I used google and tried every suggested solution but no success)
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
L = landscape

P = portrait

You don't need a prepatched TWRP IMG. Flashing magisk zip in twrp will patch the boot.img. Patching recovery with magisk is outdated for snapdragon devices and only applies to exynos.

Kernel is in the download folder, flash the latest version.

Flash encryption disabler, yes in recovery. You should be already in recovery from flashing magisk and from step 2.

Flash any magisk, 19.4 is the most proven and stable. 20.3 is becoming reliable enough.

Unmount system, if you are meant to unmount anything else it would've been stated. Magisk has a fit if system is mounted and you try and flash it. Encryption disabler will mount system but can't unmount it, so you have to do it manually.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] TiTiB:
And to add, after flashing Magisk 19.4 (suggested) I was able to update to 20.3. My thread about Theming, Magisk, & EdXposed is here https://xdaforums.com/galaxy-tab-s6/themes/theming-magisk-edxposed-link-to-s5e-t3972965
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Tronje:
[MENTION=4553200]Mentalmuso[/MENTION] and [MENTION=6773321]TiTiB[/MENTION]

Thanks a lot!

But I still have the problem that my device is unauthorized

List of devices attached

R52M90P57BE unauthorized

any idea?
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
You're going to have to Google it, I'm pretty sure you have to get the adb token manually and add it to your pc
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] TiTiB:
FYI, the userspace (apk) version of the new WireGuard for Android v0.0.20200309 (there is an even newer version, but this the one on F-Droid rn) allows you to Disable/Enable the kernel module backend, as well as *many* other smaller changes, shown here:

https://git.zx2c4.com/wireguard-android/log/

I prefer the apk version of Wireguard for it's simple UI for "Always-on VPN/Stay connected to this VPN at all times", and "Block connections without VPN interface".
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] kavey:
Try revoking USB Debugging Authorisations in Developer Options, then reconnect to computer. You should get a pop up in the tablet asking you to authorise the USB connection.

Developer Options and USB Debugging need to be enabled obviously
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Tronje:
I did that many times, but no success.

I did a lot of google search but didn't find any solution

When I connect my Tab running Android, I'm getting

List of devices attached

R52M90P57BE device

That's ok.

But when I'm in stock recovery, I'm getting

List of devices attached

R52M90P57BE unauthorized
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] kavey:
Check out a Simple Reboot from Fransico Franco on Play Store (needs root, but that is presumed as you are here) - you can set the side key to launch it on double tap and gives you a fast way to enter all the boot modes and the recovery option goes directly to TWRP
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] kavey:
Ah yes, I've noticed this as well - attached normally it is authorised, but if I try to use ADB fastboot commands the device is unauthorised, but that said, with twrp installed and rooted now it's not really a big issue for me, everything I need can be done on device.

I guess Samsung's KG or Odin based system interferes with adb
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Tronje:
First: Thank you!

I did as you said and it worked - so far ...

But I lost Magisk.

After installing Magisk (I think v 20.4) I got a bootloop.

I was able to go back to twrp but I'm not able to uninstall magisk with uninstaller because (see below)

*******************

Magisk Uninstaller

*******************

- Mounting / System

- Mounting / Vendoor

- Device is system-as-root

- Mounting /persist

- Device platform: arm64

! Cannot accesss /data, please uninstall with Magisk Manager

- Unmounting partitions

Updater ended with ERROR: 1

Error installing zip file '/external_sd/TWRP/Magisk-uninstaller-20200323.zip

Updating partition details...

...done

I'm able to install Magisk 19.4 but bootloop persists
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] kavey:
No idea about the magisk issue - I installed 19.4 as per instructions and then let magisk update itself to 20.4 using the usual direct install method within magisk manager and everything is working as normal.

I'm not sure what the error is, but looks like a mounting issue or perhaps your data partition has been corrupted
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Tronje:
Maybe I tried a little too much.

At least I only have twrp and nothing else on my tablet.

.. and I only can get into download mode via twrp (restart to ...)

In Odin I have several problems and cannot flash firmware (maybe because there is no stock recovery?)

I will open a new thread in Q&A section
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
Recovery has no impact on being able to flash with odin
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Tronje:
ok

and what do you think is the cause of all the errors occuring during flash in odin?
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
Odin really isn't something I'm an expert on, except I use version 3.13.3, and if something fails to flash, I try flashing the bootloader by itself first. Then reboot download mode and try again with the AP, CP ,and csc. This usually helps. With the latest round of updates, and the way things are going, I'm updating the bootloader on every update. There's been some scary reports from people who update without updating the bootloader.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Tronje:
of course I tried to flash only bootloader first, but I get always errors

Is there anything I can flash from twrp like I do with custom roms with my oneplus?
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
What version of Odin do you have?
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Tronje:
I tried with 3.14 and 3.13

Gesendet von meinem GM1913 mit Tapatalk
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
I dunno man, I yesterday, fully updated to Android 10, and everything was normal.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Tronje:
In the past I was using odin multiple times with no problems, but now - I think - I destroyed it and odin cannot help.

Today I contacted Samsung in hopes that they can give support.

I'll keep you updated.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] coey0814:
Hi.

I was using it on Android 9 very well.

But this time, tabs6 has been updated to Android 10 & oneui 2.1.

Can we still use twrp?

Always thanks to dev.

+never mind.

I've only seen comments that work well now. sorry.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
Yeah it works as is
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] aqus00x:
Is SM-T866(5G) available?
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] qorrymarzuki:
Can you do the same thing for Samsung Tab P205? I've been hoping to have twrp and root on it
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] tin2404:
You are on totaly wrong thread ! Here we discuss about T860/5 devices.

Low budget devices are somewhere else.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] kavey:
Am I right in thinking then best process to update would be:

1. Download Android 10 firmware for Odin

2. Flash via ODIN using home_csc to preserve data

3. Reflash TWRP via ODIN

4. Install Magisk via TWRP

Presumably it may hang on boot during rebuild of ART cache like before?

I havent really seen much if a change log for Android 10/One UI 2.1, so not in any rush, tablet working fine as is, but maybe at some point...
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] prototovsky:
I've discovered that after flashing TWRP AP file (and dm-verity disabler zip) over android 10 stock rom (not rooted with magisk), miracast screen share does not connect anymore. On stock rom with stock recovery it works

EDIT: Found that installing only patched AP file with magisk manager for rooting, with stock recovery and factory encription also breaks miracast feature over Android 10.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] kavey:
Interesting - I have no problem with miracast on Pie with TWRP/Magisk, sends screen to my LG webos OLED without any issue. Maybe something changed in Android 10?
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] prototovsky:
I've tried today installing patched AP tar file with magisk manager, without installing TWRP and dm-verity zips but getting rooted. Miracast is still not working. It seems that modifying AP file or overwritting it with TWRP broke this feature. No problems at all on android 10 stock or android 9 + twrp + magisk. The bug it's only on modified android 10 rom
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] prototovsky:
I´ve found finally the Miracast problem. It seems to be a hardware integrity validation, an extra secure policy while sharing screen on Samsung devices (due to showing personal data I suppose while sharing). This problem has appeared on some Samsung devices in the past. It´s easy to fix.

Add this line at the end of build.prop file on /system folder:

wlan.wfd.hdcp = disable

After this, reboot the device and try again Miracast screen sharing.

I don't know why Miracast works without this mod on Tab S6 with Android 9. Android 10 may has changed this policy somehow...

Tested with a LG smart projector and a Fire TV Stick
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Monaxos:
Hello, I had exactly the same problem with my rooted Galaxy Tab S6 and also my rooted Galaxy S10+. I found a good solution which is working fine for me on both devices, maybe it works for you as well:

https://xdaforums.com/showpost.php?p=57367002&postcount=27

Hope I could help... :)
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] prototovsky:
Yes exactly, I've found this fix this morning after some testing and research but thanks!!
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] matata86:
Him can I help me plesa.

I do everything according to the instructions.

1. Flash TWRP.tar in Odin which twrp? in which section? what's the difference in l- or p-version? is there a version with patched boot image?

2. Reboot directly into TWRP ok

3. Format data, reboot recovery ok

4. Flash kernel what kernel? where do I get one? flash in recovery, ok

5. Flash encryption disabler. in recovery?

6. Unmount system, Flash Magisk 19.4 (not 20.*) is this still up to date?

7. Reboot system

I try magisk 19.4, 20.4

I flas via odin build XEZ-T865XXU2BTC7-20200414125040 with Android 10.

I still ended after system id boot ... Error - Device error. Contact the manufacturer for more information.

Do you have any solution?

Thanks you so much,
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] adam900710:
Any plan to support T867 variant?
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] prototovsky:
You must be first on stock version after proceeding

I've flashed stock files, reboot again to download mode and flashed twrp all without booting system

1.Twrp.tar must be flashed on AP section on Odin. L and P version means recovery on landscape mode and portrait mode, for holding the tablet vertically or horizontally.

4. Flash the kernel from the mega folder if you are on Android 9 or skip this step if you are on Android 10 (until new kernel version for Android 10 is released) (kernel is named WETA, there are two versions, enforcing and permissive selinux) https://mega.nz/folder/6hFQkITR#oXvfEfC2mNx7okPPfOEgJA

5. Flash encryption disabler in twrp, yes, before booting system

6. Flash magisk 19.4 if you are on Android 9 (latest works for me also) or latest version on Android 10

After all of this, if you are using Miracast for wireless screen sharing, you must add this to your build.prop file:

wlan.wfd.hdcp = disable

There is a new rom version BTD1 with some fixes
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
TWRP 3.3.1-13

Updated kernel and dtbo for TD1 firmware

Updated WETA Kernel to TD1 source code

Downloads

--->
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] d.cortez:
[MENTION=4553200]Mentalmuso[/MENTION]: is TD1 firmware coming out soon?
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] matata86:
I did not know, that flash kernel is optional.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
it's the same as TC7
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
Since Android 10, flashing magisk over the stock kernel works and boots. I don't necessarily recommend this though.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] sbluescab:
Yes, I can confirm that TWRP is working now but have to hold on the volume up and side key for about 2 minutes everytime I want to boot into TWRP. Seems like everything is working fine with the tablet so far.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
That's strange I gotta say. I am working on the kernels tonight, I'll possibly have something to test tomorrow. I may have to have separate imgs for the LTE and wifi devices.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] sbluescab:
Some update, every boot up takes 3 minutes to completely boot to the system now. Regarding to the TWRP, everything seems to work fine. I can back up to my micro sd card without any problem.

Look forward to the new build. Thanks.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
I think this is proca, a security feature of Samsung. You can try a few things.

With a root explorer

Rename /vendor/etc/pa_daemon_qsee.rc to pa_daemon_qsee.bak

Theres also a section in /vendor/vintf/manifest.xml labeled proca , remove that section of manifest

I'm also going to upload a kernel zip for you to flash. Flash zip in TWRP , it'll replace the T860 kernel with T865, my gut tells me this is the problem
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
Can you flash this kernel, it's a T865 based kernel. I'm hoping it'll fix all your issues.

https://nextcloud.justbeca.us/s/K3268EF4pqtX3LK
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] sbluescab:
I got this error when I try to flash this kernel.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] sbluescab:
By deleting and renaming these 2 files, my tablet couldn't boot up so I had to flash firmware and TWRP with odin again.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
Can you send me your build prop
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] sbluescab:
This is my build prop

https://emcc-my.sharepoint.com/:u:/...pDpUBGEXhICy4BbKyiOMapNhDibH1dVaxwLw?e=zMIFOc
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
Try this one

https://nextcloud.justbeca.us/s/oEyodmf78j2DJaY
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] louison542:
Nice !

Hi,

TWRP and ROOT work fine on my sm-t865 ! Nice job ! ( Boot time is very long but it's working fine ! )

But I have a question, now I can't transfer files from PC => S6 anymore.... I see files on SD Card correctly but when I try to copy it stuck on copy window, and when I open the S6 I can't read folder names, it's like encrypted.... Someone know how to solve this very anoying issue ?

PS: for Info SE can be set in permissive for those who are looking for (like me :) )

Thank you for help
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
Did you format data? And flash encryption disabler.?

Also try flashing the kernel in the post above yours, it may fix the long boot
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] louison542:
I flashed encryption disabler before data wipe, was it wrong ?

Should I wipe and after flash the kernel?

Thank you for your help :)

Edit: I tried to format Data and flash after, but same issue :(
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
You need to format, not wipe. Did you just wipe?
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
So you format data in TWRP, and you have flashed encryption disabler that is in the download folder

Then when you have booted into system, (not recovery) and plug into a PC, you are seeing encrypted folders? When connected via mtp?

And please, flash the kernel for your device. https://nextcloud.justbeca.us/s/oEyodmf78j2DJaY
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] louison542:
You are right, I just wiped Data, now I did Format and it's work (I can see my files from computer), but I have a new issue .... The S6 is always booting to TWRP when I press Power & volume+ to Samsung logo and release all 2 buttons. So I can't boot with "root" option :( any idea ?

PS: Can't flash with WETA_Kernel_T865_v1.1.zip, make error in TWRP

PS2: Sorry for my bad english ;)
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
Dam, sorry not sure why it's not flashing, here is another with asserts off so it should flash.

https://nextcloud.justbeca.us/s/w6ZpqDGFSTti45n

You can boot into unrooted system? But not rooted right?

I did have this once, where flashing stock rooted recovery worked, then reflashing TWRP
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
I'm wondering if the bad boot thing, is magisk. I use canary builds, I may try pre patching with stable. You could try flashing a magisk zip.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
Also, hitting reboot recovery in TWRP should boot you to rooted system. If this doesn't happen then magisk may have screwed up because of formatting data. I'm currently building the TWRP IMG for t865 so may be best to just flash that in Odin once uploaded
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Mentalmuso:
Here is a full recovery for t865 if you can test it, hacking around the t860 version is just a bad idea.

You were stuck in twrp because of magisk being lost somehow.. I replicated it and fixed it with a new IMG flash.

https://nextcloud.justbeca.us/s/bxNTTyAYZNreJpy
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] ElsaReyes:
Yes hi, do I need to wipe my tablet and reflash the stock rom and all that before flashing the new kernel? Cause I spent so long setting my tablet up so I'm not really looking forward to starting over again.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Techguy777:
Did you end up buying the 256GB wifi model from bestbuy? Im looking at doing the same if you did was there any trouble rooting it? It should be the same exact thing for software. Please let me know. Or if anyone elses wants to chime in and knows the TWRP and kernel will work fine in the 256gb storage and 8gb ram version. THanks guys

---------- Post added at 10:43 PM ---------- Previous post was at 10:13 PM ----------

So you haven't had any troubles with the 256gb verizon. Im going to buy one and I just want to know that its rootable without problems.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] diehard2013:
Hello,

I got a bit lost here.

Last week I got a new sm-t860 that came with T860XXU1ASL3.

Later, with ODIN, I successfully updated to T860XXU1BTD1. All good.

Now I'd like to apply your files.

Do I have to reflash back to ASL3 before doing TWRP?

thanks.

---------- Post added at 01:23 AM ---------- Previous post was at 01:22 AM ----------

I believe this answers my question...... I will accept the non-recommendation. :)

---------- Post added at 01:25 AM ---------- Previous post was at 01:23 AM ----------

unlock bootloader == disable OEM under developer options?
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] adam900710:
I flashed the WETA kernel on Android 10, and now bootloop.

Is there any flashable stock rom? Or at least the stock kernel? To at least recover from current situation.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Techguy777:
Why are you guys trying to root the tablet without TWRP recovery? It doesn't make sense to me that your trying to patch the kernel and fla**** without making backups. Its not as good cause your still encrypted which some people like I don't most dont. I've never heard of people not installing TWRP when its available. I have old devices I had to root because there was no recovery and I hated taking that chance. It wasn't samsung no odin it was game over you lose if it didnt work.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] bartleby999:
Mine isn't Verizon.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] ElsaReyes:
New android 10 update just put out that ends in D3. So the D1 kernel is already out of date sadly. Unless it's flashable on the D3 update.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Techguy777:
Sorry no I meant version my auto correct changed it. I would never buy verizon they probably locked the bootloader. NO im talking about the SM-t860 256GB model from best buy.

---------- Post added at 12:25 PM ---------- Previous post was at 12:22 PM ----------

Either that or unless theres actually bug fixes and real changes you just use the one that is already made. I don't understand the need to get on the latest version unless it has true updates you can use. I dont bank on my devices so security patch is not that important and if your rooted the truth is it doesnt matter to much.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] bartleby999:
Well, I'm in the UK - So I don't know of any software differences between the UK and US version but I'd assume the WIFI should have very little differences between them. With that said, I didn't have any problems at all getting TWRP installed, nor gaining root on the 256GB WiFi version and it's working perfectly.

Fyi, I'm still running Pie, OneUI (V1.5) and the SK1 build - So I can't talk for anything above those version numbers.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] diehard2013:
sammobile is a samsung firmware repository.
[Samsung Galaxy Tab S6 ROMs, Kernels, Recoveries, &] Techguy777:
Thats good to hear I just order it and it will be here tomorrow. I figured it wasnt any problems but Its hard to say what companies do. Because the XAR firmware for the SM-T860 is all the same on sammobile. I realized the model numbers on best buy site are not like the firmware but there color code and specs. So they all have different numbers and no firmware comes up because its just a store number really. I actually downloaded the Uk BTU Android 10 because the US doesnt have it yet. However I'll probably stay on 9 because of Viper 2.3.4. Thanks for letting me know.