yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Sage:
Nope. Started from stock. Literally unlocked bootloader right before moving to GSI. Just like the steps above.

I did install Magisk which may help disable verified boot though
[Samsung Galaxy Tab S6 Guides, News, & Discussion] m0byn:
Ah, that might make the difference! So I think it is worth to mention to either install Magisk, or to patch the vbmeta.img in order to boot. If coming from stock with the stock vbmeta.img, then Android Verified Boot will not allow booting into a different ROM.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] tablet_seeker:
OP is wrong.

Be careful flashing the latest TWRP for SMT-860 Wifi with Odin.

This happened to me today after doing it. "Error verifying vmbeta image: Invalid vmbeta header"

View attachment 5881223

The device gets stuck like this and won't boot anymore, but you can get it back to normal by flashing the recovery.img from your firmware files (It's in AP)

You cannot install TWRP on the Galaxy Tab S6 without fixing the vmbeta.img issue.

I tried with the latest Samsung firmware downloaded via SamFirm and an older one.

@m0byn: Do you know what needs to be done with the vmbeta.img on this device, to allow for TWRP to be flashed?

I have found many different prescribed solutions such as patching boot.img with Magisk or just the vmbeta.img , but nothing seems to work.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] peppet:
Tablet, search my post here https://xdaforums.com/t/t865-rooting-with-android-12-bootloop-and-error.4452641/ and try
[Samsung Galaxy Tab S6 Guides, News, & Discussion] tablet_seeker:
Hey man, thank you for the suggestion. That post seems to be about Magisk and rooting.

The problem here is the vmbeta.img.

According to older posts from 2021 this can be resolved by flashing vbmeta_disabled.tar , but the latest 2022 version of TWRP should no longer require this. It's weird.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] peppet:
I am sorry. I thought something went wrong when you patched the firmware with Magisk
[Samsung Galaxy Tab S6 Guides, News, & Discussion] m0byn:
Probably flashing Magisk automatically patches the vbmeta.img. Not sure though.

Follow the steps below. This is how I did it. It worked.

I am assuming a stock recovery in this process. If you already installed TWRP just try if it works as well. not sure if this is impacting the process.

Unpack firmware using 7Zip tool

Unpack AP.tar.md5 using 7Zip tool

Unpack vbmeta.img.lz4 using 7Zip-ZS tool

Open file in FrhedPortable (HEX editor) to patch it

Go to offset (block) 123 and write 03 and save

Compress vbmeta.img to vbmeta.img.tar using 7Zip tool

Connect device via USB to computer

Hold volume up & volume down buttons

Press volume up button to proceed to download mode

Open Odin -> verify whether device number is added

Untoggle "auto-reboot" in options

Select AP section

Choose patched vbmeta.img.tar file

Click start to flash

When flashing process is done: hold power & volume down button to exit and power off device

IMPORTANT: as soon as device shuts off immediately release volume down button and press volume up button to enter recovery mode

Click factory reset

Click reboot to bootloader
[Samsung Galaxy Tab S6 Guides, News, & Discussion] tablet_seeker:
Thanks @m0byn I managed to figure it out with your help.

For anyone else facing the same problem, here is what you need to do:

Download the official vbmeta image provided by TWRP > https://dl.twrp.me/gts4lv/vbmeta.tar.html

Proceed to flash with Odin.

Put the TWRP recovery image in AP and vbmeta.tar in the CP slot.

After this you can boot into the TWRP recovery normally, but for some reason any changed settings in TWRP are not saved. So everytime I reboot into TWRP recovery all previously selected TWRP settings are lost. I wonder if that's normal, but everything else seems to work.

Next step will be flashing the Lineage GSI, i'll keep you guys posted.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Sage:
this is strange - never did anything with vbmeta.. though i will add this to the instructions just in case.

/edit

Updated instructions pls review and confirm.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Sage:
Now trying to pass safetynet...

A little community help would be good.

It's passing the Basic Integrity though not the CTS Profile Match which usually indicates a problem with the Fingerprint of the ROM.

Im using Magisk module below to try and fake a different device..

GitHub - Magisk-Modules-Repo/MagiskHidePropsConf: This tool is now dead...

This tool is now dead... Contribute to Magisk-Modules-Repo/MagiskHidePropsConf development by creating an account on GitHub.

github.com

Strangely enough as the Vendor Partition is intact with our devices we should be able to use the module to use that one and it should pass though it doesnt work. I think it maybe the Security Patch Date is different and its detecting that..

You of course need to use Magiskhide..

I have tried to adjust that through the module to the 1st of October 2022 though no love. (If someone can confirm that that is the correct date on T860XXU4DVJ4 it would be appreciated.

I have also tried to use the Tab S6 Lite Fingerprint though that doesnt work either..

Hopefully as a team we can work it out.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Sage:
OK think i have it working. Actually simplier than most i have done in the past. Might be because the Vendor partition is intact.

Use Magiskhide

Turn on Zygist

Install Displax modified SafetyNet-Fix

Release v2.4.0-MOD_1.2 · Displax/safetynet-fix

Changelog: v2.4.0-MOD_1.2 Fix crash and endless tests loop/failing on Android < 9.0 (bug from original version 2.4.0). Do not unpatch (revert) changes. To prevent possible tests failing after a wh...

github.com

Configure your Denylist in Magisk for Google Play Store and Services apps. (And anything else you need to not detect root).

You may need to delete Data/Cache from Google Play/Services.

Job done! (updated Post #1)
[Samsung Galaxy Tab S6 Guides, News, & Discussion] peppet:
i'm following the op but i got a failed to mount system_root (invalid argument)
[Samsung Galaxy Tab S6 Guides, News, & Discussion] tablet_seeker:
The error occurs because you didn't wipe Data, Dalvik and Cache before flashing the system.img

Check out my guide for an official version of AOSP / Android 13 for the Tab S6: https://xdaforums.com/t/full-guide-...sp-for-galaxy-tab-s6-sm-t860-sm-t865.4573383/

Another correction for the OP, you must not wipe everything in TWRP before flashing the GSI img, because this will result in (No OS installed!)

You can only wipe Dalvik and Cache, while selecting Format Data, that's it.

If you wipe System, Data or Vendor in the Advanced Wipe Section, the GSI image will not boot.

I've explained everything in great detail here.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] peppet:
The problem was flashing a wrong image a64 bvn (not arm64 bgn)!!

Now i'm trying crdroid 9 (13) but i can get Samsung notes working so i'm download android 12 version
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Sage:
I never said wipe everything. I said full wipe. There is a difference. Though for newbs will update to be clearer.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Sage:
Found a Dex equivalent. Use DPI of 260 and install this https://play.google.com/store/apps/details?id=com.lwi.android.flapps

Your can use Developer Settings to make it work with any app

@m0byn
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Sage:
Actually just found another bug. My Samsung keyboard's touchpad doesn't respect the rotate. So the mouse works properly in portrait though Up is Right and Down is Left in landscape...

Any one know how to fix? Even with root?
[Samsung Galaxy Tab S6 Guides, News, & Discussion] dodgebizkit:
Wow! It's good to see someone cares about keeping the tab relevant!
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Amr.Bendari:
vbmeta image , can i use it for my Tab s4 ?
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Sage:
Just installed AOSP 14 Beta. From here:

Generic System Image releases | Platform | Android Developers

developer.android.com

This image.

Factory Reset in TWRP and Format Data then install the System Image.

gsi_gms_arm64-exp-UPB1.230309.014-9890577-febd421e

What's working?

Boots

Very fast. (I think faster than LOS 13)

Wifi

Still only bottom speaker.

Bugs?

Intermittent Freezing. Hold off for now.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Sage:
Going to try Pixel Experience Unofficial 13.

Btw i am only shopping around due to my Samsung Keyboard Touchpad issue.

Release Pixel Experience Plus 13.0 v2023.03.29 · ponces/treble_build_pe

Changelog Import QcRilAm Fix bootloops by reverting to old version of Try to fallback mCallingSid to getpidcon patch Notes First and foremost, a huge thanks to David Dean for providing me with a...

github.com

What's Working?

Boots

Wifi

Volume buttons

Not working?

Has the same problem with Brightness as LOS 20. Though no workaround option on the Pixel Build..

Same issue with Touchpad.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] tablet_seeker:
Hey @Sage, do you know where to get the flashable DFE (DisableForceEncryption) image for Android 13 / SM-T860 Wifi?

I had a link to a Github repo, but can't find it anymore.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Sage:
No sorry I don't I'll see if I can find it though. Did you try the multi disabler?
[Samsung Galaxy Tab S6 Guides, News, & Discussion] tomle:
Thinking about buying one second hand since A7 lite/A8 are quite slow and I think this would be faster. I've got an offer on the T865, does the LTE modem work with LineageOS?
[Samsung Galaxy Tab S6 Guides, News, & Discussion] m0byn:
Regarding the T865, yes, it works. See the thread in the respective forum.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] prkfsz:
Have a question:

Is selinux enforcing on this GSI build?

----

I also wonder about all this fuss with safety net - why not just create another user to have all the root-sensitive apps in? The root only applies to the main user, all other users do not have root...
[Samsung Galaxy Tab S6 Guides, News, & Discussion] mu-sensei:
ok, so a few things I've noticed on this 'ROM':

Speakers can be made to work, just activating Qualcomm Audio fix then Samsung's audio fix, then Samsung's Stereo mode. Same for bluetooth and brightness.

But Gmail and Google Drive don't, for some reason: Drive gives me a login prompt, despite having the account on the device already and Gmail force closes badly. Any ideas why?

So after a more 'in-depth' research, I figured out the problem. if that happens to anyone, flash the default android, then TWRP and VBMeta, then lineage through TWRP, start it once, THEN flash Magisk. that solved the problem for me.

...For a while, then it stopped working again. I have no idea why.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] mad4some:
For the speaker fix, are you referring to the "Use alternate audio policy" toggle in Phh Treble Settings > Qualcomm and Samsung features settings? I see Samsung features "enable stereo audio mode" toggle but nothing that says Audio fix.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] mu-sensei:
Yes, use alternate audio policy.

You'd also want the Bluetooth HAL, in another page to get bluetooth audio to work (I don't remeber which page exactly and I had to go back to stock because of the Magisk/Safetynet OR GApps problem (this is my dailydriver device, even for calls so I NEED both working), and because I would need the pen pointer instead of the mouse arrow because I draw on this tablet).
[Samsung Galaxy Tab S6 Guides, News, & Discussion] awaisa123:
Hi got this installed & working but when trying to access storage on twrp its empty

Thank You
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Sage:
Twrp probably can't decrypt storage. If you need storage access through twrp you will need format it and then patch a non encrypt zip to prevent it from encrypting again
[Samsung Galaxy Tab S6 Guides, News, & Discussion] m0byn:
There is a respective Tab S4 forum where I described several steps I took to get LineageOS 20 up and running. Unfortunately, I did not succeed.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] m0byn:
Just for clarification. Are you referring to only the bottom speakers or all 4?

The bottom speakers work out of the box after installing LineageOS correctly in my case. However, the top speakers are not working. If the top speakers work in your case could you please exactly describe the steps you took such that others can follow?
[Samsung Galaxy Tab S6 Guides, News, & Discussion] m0byn:
In my case, the pen pointer is there instead of the mouse arrow. AFAIK AndyYan included the Samsung pointer as well. If it is not there send me a PM and we can discuss the differences.

EDIT: after flashing the newest version of the LOS GSI (November) there appears to be a setting in Phh Treble Settings -> Customization features -> Pointer type where you can select different styles.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] mu-sensei:
Will try again this weekend (IRL permitting, this is my daily driver), so I can explain better, thanks for informing me it now works.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] mu-sensei:
Ok, opening up PHH treble settings, I go into qualcomm features and flip the switch 'use alternate audio policy' then go into samsung features and flip up the switch 'use alternate audio policy' and 'enable stereo audio mode' and it works.

Played around with it, but Gmail and Google Drive refuse to work, despite the device passing safetynet attestation. Any ideas why?
[Samsung Galaxy Tab S6 Guides, News, & Discussion] m0byn:
Very interesting. You can confirm that all 4 speakers work?

I just tried it exactly as you wrote and in my case only the bottom speakers work.

Did you do anything else/install anything else on the device? Maybe Magisk or so which could help fixing the bug?
[Samsung Galaxy Tab S6 Guides, News, & Discussion] mu-sensei:
Yes, its noticeable, especially if you are playing something when you flip the switches. First sound mutes for about one second, then all speakers engage back, when you only had mono audio before.

On other installations... I have installed magisk, and safetynet-fix-v2.4.0-MOD_2.0 or PlayIntegrityFix_v14.4 (never both!) module to pass Safetynet for a banking app. Safetynet pass, but google apps do not work, well, the ones I use anyways: Gmail, Drive, Docs and Sheets.

Did a reinstall, without Magisk, or any Safetynet modules, just the PHH fixes are enough to make all speakers work, and now Google stuff works. Android 12.1 or 13 don't matter either, I only choose 13 because it has the dot pointer.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] m0byn:
So this is somehow really strange. I suspect you also use the builds provided by AndyYan. I use the AB version.

Could you let me know all Phh settings you turned on?

Having all 4 speakers working would be very nice. In my case only the lower speakers work...
[Samsung Galaxy Tab S6 Guides, News, & Discussion] mu-sensei:
I found the issue, and will have to go back to stock for that. T.T

They work, but only in Musicolet or Lineage OS Music Player, everything else only sees 2 speakers. But sure, I'm yet to reverse the changes, Here are screenshots:

as an aside, Element (think a FOSS Discord clone) can't send notifications at all, and I've checked everything I could...
[Samsung Galaxy Tab S6 Guides, News, & Discussion] m0byn:
What do you mean exactly?

Thank you! That is very interesting! I only use Spotify, so there only 2 speakers work. Would be an easy fix I guess but I am not skilled in development.

If it requires Google Play Services then notifications will not work.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] mu-sensei:
OK, so, Andy Yan's builds are not compatible with some of the stuff I use this device for: I use it as a daily driver 'phone' (with a headset), drawing tablet, and e-reader. So with bluetooth having trouble staying connected to anything Bt5LE, sketchbook not recognizing the pen at times (and thus enabling touch input), and my brightness not going as high or as low as before, that is a lot of game-breaking issues for me, even if other major features work and the less bloat leaves me above 20gb of free storage in main memory. If it was my secondary device, I'd be happy to play with it and try until it works, but as it is? I can't.

I have to correct myself on this: The problem is not with Andy Yan's builds, but more with samsung support, just installing Vanilla Samsung ROMs and debloating ANYTHING makes the notification and other stuff break. staying on stock just for the sound in youtube videos and the auto-change the mouse/pen pointer is not worth the hassle. So I'm back to this one until a beter alternative is found. At the very least I'm not giving samsung my data while they screw me over by trying to convince me to buy a newer, more expensive tablet.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Futur3Sn0w:
I've tried walking through this method a couple times with a couple different Android 14 ROMs (including AndyYan's los21 builds), but continue to get a bootloop. Android 13 based roms work fine (I've been using AndyYan's los20 build no problem), but I've not been able to get any Android 14 ROM to boot...

Another posts talks about potentially updating and patching the kernel, but later on someone mentions this isn't possible. There's a lot of conflicting info haha.

Has anyone had success flashing any Android 14 based ROM to boot without any extra modifications?

Edit:

I've been working on this for a few days now, but just a couple hours after I posted this, I managed to get AndyYan's los21 build to boot!

It took completely resetting and reformatting the tablet back to near-stock (unlocked-bootloader still in tact) in order for it to finally boot into the newer build. Not sure what I did differently or what changed, but it finally booted, and now I can test it! Yes!
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Goryna:
I flashed 2 Android 14 firmwares:

[GSI][14] LineageOS 21 TrebleDroid-based

LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and reliability over stock Android for your device. LineageOS is based on the Android Open Source Project with extra...

xdaforums.com

[GSI] [AOSP 14] | Fully Customizable ROM + Latest Treble Patches & Features

This GSI ROM offers a few improvements over the standard AOSP 14 variant, enabling you to build (or request in this thread) Vanilla/VNDKlite/Gapps versions of AOSP 14 with full control over every customizable aspect of the ROM. Customization...

xdaforums.com

On both firmwares, only the two bottom speakers work. Returned to stock. In order for Android 14 to work fully on the tablet, I think you need to make a port from the firmware from Samsung SM-X916B

There is a separate topic on Android 14 but it is frozen.

[AOSP ROM] [OFFICIAL] | Android 14 | GSI Install Instructions for Galaxy Tab S6 (SM-T860, SM-T865)

Hi everybody, I have been looking for a way to get an official version of Vanilla Android 14 on the Tab S6 for and wanted to make sure the community finally had access to a fully working and sufficiently detailed guide. This ROM improves battery...

xdaforums.com
[Samsung Galaxy Tab S6 Guides, News, & Discussion] livingligh1008:
really bummed over here. spent 4 hours trying to get aosp 14 running via another thread and actually did get it booted twice however had a brightness issue.

so then i have tried many times to use Odin to restore stock XAR firmware (with success), then reflash twrp, then flash a ROM to which it ALWAYS bootloops :-(
[Samsung Galaxy Tab S6 Guides, News, & Discussion] Sage:
Bootloop is usually mismatch bootloader firmware with Rom. Or the rom can't read encrypted storage. Need proper format
[Samsung Galaxy Tab S6 Guides, News, & Discussion] livingligh1008:
hmm

well., i guess i will try changing bootloader?
[Samsung Galaxy Tab S6 Guides, News, & Discussion] livingligh1008:
i will try T860XXU4DWC4 instead of T860XXS5DWH1 and see if i have any luck
[Samsung Galaxy Tab S6 Guides, News, & Discussion] livingligh1008:
got it working. 4 hours later ha.
[Samsung Galaxy Tab S6 Guides, News, & Discussion] livingligh1008:
For better or for worse, I'm on GSI 13 tq31 230901.001 2024 02 15 Lineage 20.

For me, I use the tablet for listening to audio files and reading PDFS. I don't mind the lack of quad speakers though I haven't tested that yet

BTW for anyone who might suffer from bootloops please try this

Thanks to XDA user Fonix232

I've run into this many times. The GSI flashing is very hit and miss.

Your best bet when you run into this is to re-do the whole flashing sequence:

Flash stock ROM via ODIN with repartition + NAND erase enabled, auto reboot disabled, and important - add the PIT file on the first screen!

Click "Reboot to Download" in ODIN to, well, reboot to Download mode

Flash TWRP + vbmeta.img with repartition and NAND erase and auto reboot DISABLED

Reboot to download mode again

Hold Power + Vol Down until screen turns off, then immediately slide finger to Vol Up, keep pressing until booted into TWRP

Format /data (wiping the cache in my experience isn't necessary)

Go back to TWRP's main screen, then Reboot into Recovery

Ideally you'd use an SD card and flash system.img from there (that way you don't have to transfer it all the time - I also found that both ADB and MTP copy can fail to the main storage at a worrying frequency)

After system.img is flashed, wipe /data again

Reboot

This should result in a working GSI flash in about 5-6 times out of 10. Not sure what exactly goes wrong when it doesn't work, though, as there's no time for ADB to come online and give us meaningful results. I suspect a boot flag being set wrong, or something akin. Hell, I can't even get TWRP to work consistently!