yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab S5e Guides, News, & Discussion] hasenbein1966:
If you could, the whole complicated procedure described by the OP of this thread would be unnecessary, wouldn't it?

So obviously - no, you can't, because TWRP is possible on this tablet only when you either a) use Luis Kernel (see thread) or b) use a custom ROM. A "normal" stock ROM will be bricked.

---------- Post added at 07:59 AM ---------- Previous post was at 07:52 AM ----------

Has anyone managed to install Xposed (or EdXposed, for that matter) on a stock ROM device and get it up and running?

I tried - either the Riru and EdXposed Magisk modules didn't install, or (other versions) did install, but then EdXposed manager said that the setup wasn't proper, or (last thing I tried) they did install and sent me in a bootloop that could only be fixed by flashing again the magisk-patched.tar (and starting from scratch with the tablet).

Is there a trick or is Xposed simply not possible on stock ROM?
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Lord Sithek:
This thread was started when TWRP was not available, so I just wanted to make sure.
[Samsung Galaxy Tab S5e Guides, News, & Discussion] hasenbein1966:
Thank you, will check it out!

Another problem: In certain intervals (every other day or so) I get authentification errors with WiFi and Bluetooth!

The Bluetooth box won't connect (I have to renew the pairing), Wifi disconnects and can only be revived by removing the connection and inputting the password anew.

Never have or had this with other devices, and didn't occur with the device when the bootloader was still locked and I had no root... Anyone having similar problem or something helpful to say?
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Choubix:
Hi guys, I followed the process and then installed TWRP

Now I keep booting into TWRP after wiping the tablet clean and installing Lineageos 17 + Gapps.

Any idea on how to cleanup this mess please? thanks!
[Samsung Galaxy Tab S5e Guides, News, & Discussion] kingwicked:
Edxposed running fine on stock rooted s5e wifi with me.
[Samsung Galaxy Tab S5e Guides, News, & Discussion] AHE_XDA:
There will be an extensive clean-up of this guide coming soon.

There are many unnecessary steps that need to be removed and many that require updates.

I no longer have a Tab S5e but will maintain this thread for those wanting to unlock bootloaders and introduce root.

As for TWRP, I could not, for one reason or another, get it working with my tablet. If someone has detailed steps and has put the necessary work to test it extensively, I'd be happy to add it with credit to all contributors.

Thanks!
[Samsung Galaxy Tab S5e Guides, News, & Discussion] RagingHarry:
Getting twrp is as simple as https://eu.dl.twrp.me/gts4lvwifi/

Flash vbmeta then flash twrp.img.tar with odin https://samsungodin.com/ the one on top

Rooting is just flashing magisk., no special key combo's needed on starting or rebooting to load magisk.

That's it.

It all works with adb, fastboot and Google USB driver from the android sdk, added the platform tools folder and usb_driver to environmental variables - PATH, then it works like a charm

With the above jumping to lineage is super simple, just be sure that your bootloader is unlocked and oem unlocking is enabled.

This guide started at no proper tars available, then this was a real awesome guide, but current twrp files should work.

Then on the other side, why stay on Samsung software that runs slow if lineageos is available and runs far smoother/faster.

This guide trippes knox, so why not go all the way ?

Must say, I'm quite some time of from stock now...
[Samsung Galaxy Tab S5e Guides, News, & Discussion] AHE_XDA:
Guide Updated

The guide has been cleaned-up.

It's intent remains the same; unlocking the bootloader and introducing root. Nothing more.

Which, like [MENTION=4427484]RagingHarry[/MENTION] commented on, is considerably vanilla given all the available options.

Instructions have now been introduced to to help you return to stock or lock your bootloader.

Various links have also been introduced (e.g., TWRP/Multi-Disabler/ROMs/Kernels) if your intentions are to go beyond root.

I'd love to do detailed instructions for ALL but a lack of device and time restricts me.

Thanks everyone for their contributions and feedback (both positive and negative).
[Samsung Galaxy Tab S5e Guides, News, & Discussion] AHE_XDA:
Please see this thread for your issues regarding Bluetooth:

https://xdaforums.com/apps/magisk/magisk-liboemcrypto-disabler-drm-t3794393
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Duntt:
frp google locked

Will root remove frp google locked smt720 tab s5e wifi
[Samsung Galaxy Tab S5e Guides, News, & Discussion] hasenbein1966:
Thank you for the tip!

Unfortunately installing this module changes nothing.

My device continues to always forget the bluetooth devices after flight mode or restart.

After you gave the tip, I saw another module in the Magisk module list, "Bluetooth Library Patcher", which is obviously supposed to solve exactly my problem, according to description.

Also DIDN'T work at all.

Any further thoughts? Anyone else having this Bluetooth problem, or am I the only one?
[Samsung Galaxy Tab S5e Guides, News, & Discussion] lewmur:
No, it won't. The only way I was able to find to get rid of it, was to send it to Samsung because it was still in warranty. Others have had problems doing this because Samsung claimed that eBay was not a ligitimate seller. But I had eBay itself, not the seller, send me an email showing "proof of purchase", and it was accepted. :confused:
[Samsung Galaxy Tab S5e Guides, News, & Discussion] mrbonine:
I've rooted Samsung devices since S3 but I can't get past the first step to unlock the bootloader...ugh....I hold +/- and insert USB is easy I get the standard press ^ to download press v plus whatever to abort. I can't get to the bootloader screen. I've tried transitioning the ^v to ^ seamlessly and tried that while holding down Pwr but I can't get a transition after 6 or any seconds. I know I must have missed something, but still have all the fingers so it's probably not that. Help, please!
[Samsung Galaxy Tab S5e Guides, News, & Discussion] DHGE:
US device?

Maybe you are blessed with a great (TM) US locked bootloader device.

No dice.
[Samsung Galaxy Tab S5e Guides, News, & Discussion] mrbonine:
My initial problem I figured out (forgot the all important Developer settings). Now I've got an error toward the end when modem attempts installation. I just closed ODIN but was getting an AUTH Failed as the modem files began loading. Suggestions?
[Samsung Galaxy Tab S5e Guides, News, & Discussion] DHGE:
hehe :p

I got the same AUTH error message when trying to flash the XFA (South Africa CSC) ROM on a T725.

Looking into the downloaded file (archive) I found the partitions to be from September(!) 2019. I expected something like December 2019 or January 2020.

This is even older than what is on the device now (October 2019)!

I conclude from this that something on the SAMSUNG servers is weird.

You could try to get hold of the ROM with the December security patch (worked here, and seems to be OK for many different CSCs) or wait until there is a clean ROM for your CSC.

I might try to flash a DBT since that ROM seems to be OK. But I never flashed a different CSC than the one that was active on SAMSUNG devices ...

UPDATE: [MENTION=5330532]mrbonine[/MENTION]

I got hold of the DBT ROM. This has the right system partition (patchlevel Jan 1st) in the archive.

Flashed it but again got the - this time expected because of DBT on XFA - auth error on "modem".

At least the system is now on the latest revision ...
[Samsung Galaxy Tab S5e Guides, News, & Discussion] pupochek:
I highly doubt this problem has anything to do with DRM protection. Most likely you want to take a look at Bluetooth Library Patcher

This patch/module attempts to avoid losing bluetooth pairings after reboot on rooted samsung devices.

https://xdaforums.com/galaxy-note-9/development/zip-libbluetooth-patcher-fix-losing-t4017735
[Samsung Galaxy Tab S5e Guides, News, & Discussion] DHGE:
install this Magisk module against bluetooth amnesia

[MENTION=4209701]hasenbein1966[/MENTION] [MENTION=9810135]AHE_XDA[/MENTION]

https://github.com/Magisk-Modules-Repo/libsecure_storage
[Samsung Galaxy Tab S5e Guides, News, & Discussion] hasenbein1966:
Thank you very much!

This one finally did the trick!

Had to re-enter my WiFi connections, though.
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Handeman707:
Don't know if I understand this workaround

1 tick Unlock OEM in devolepment options

And install latest Odin version.

2 goto into Download mode.

3 install TWRP

4 install vbmeta.img

It "Fails" everytime....

Howto?!...

Thanks Anyway!
[Samsung Galaxy Tab S5e Guides, News, & Discussion] DHGE:
alternatives

You do not need TWRP.

I followed topjohnwus instructions. search for "magisk install"

You could also read for example how to root the Galaxy S10.
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Handeman707:
This one?!...

https://topjohnwu.github.io/Magisk/install.html#samsung-system-as-root

---------- Post added at 11:29 PM ---------- Previous post was at 11:06 PM ----------

So I only need a patched boot file image?
[Samsung Galaxy Tab S5e Guides, News, & Discussion] DHGE:
yes
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Handeman707:
Someone has a patched boot image file? (Think different)
[Samsung Galaxy Tab S5e Guides, News, & Discussion] DHGE:
I have several (always keep the last two to three)...

It would be a bad idea using them on your device though. Versions, DBT, kind of tablet must match exactly.

topjohnwu prohibits the "distribution" of Magisk. Providing images with Magisk baked in would violate the license IMO.

Patch the system image yourself with Magisk Manager - also much faster than possibly downloading some weird 4GBytes stuff from sources like mega or androidfilehost
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Handeman707:
I patch the image file but I didn't succeed!!...

Get stuck while flashing on vbimage.img or something... Flash in Odin fails...

Some advices?
[Samsung Galaxy Tab S5e Guides, News, & Discussion] DHGE:
a) you need at least the size of the AP_ file free space on the partition of your device where you patch

b) why do you try to flash a botched patch? what is the exact error message?
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Handeman707:
Can I get with the "Luis kernel" root?
[Samsung Galaxy Tab S5e Guides, News, & Discussion] mrbonine:
Constant Bootloop

I can't find a way to escape from bootloop, suggestions? I go from "bootloader unlocked" warning to boot, forever. What I think your saying is that I can't root it until there is a bootloader available? In any case, I'm within the return window so Amazon can take it's POS back.....

QUOTE=DHGE;81667349]hehe :p

I got the same AUTH error message when trying to flash the XFA (South Africa CSC) ROM on a T725.

Looking into the downloaded file (archive) I found the partitions to be from September(!) 2019. I expected something like December 2019 or January 2020.

This is even older than what is on the device now (October 2019)!

I conclude from this that something on the SAMSUNG servers is weird.

You could try to get hold of the ROM with the December security patch (worked here, and seems to be OK for many different CSCs) or wait until there is a clean ROM for your CSC.

I might try to flash a DBT since that ROM seems to be OK. But I never flashed a different CSC than the one that was active on SAMSUNG devices ...

UPDATE: [MENTION=5330532]mrbonine[/MENTION]

I got hold of the DBT ROM. This has the right system partition (patchlevel Jan 1st) in the archive.

Flashed it but again got the - this time expected because of DBT on XFA - auth error on "modem".

At least the system is now on the latest revision ...[/QUOTE]

---------- Post added at 09:25 PM ---------- Previous post was at 09:11 PM ----------

Plugged into PC and launched ODIN, somehow caught the right point in cycle and tried re-flash. Here is the output:

<ID:0/050> Odin engine v(ID:3.1301)..

<ID:0/050> File analysis..

<ID:0/050> Total Binary size: 5643 M

<ID:0/050> SetupConnection..

<ID:0/050> Initialzation..

<ID:0/050> Get PIT for mapping..

<ID:0/050> Firmware update start..

<ID:0/050> NAND Write Start!!

<ID:0/050> SingleDownload.

<ID:0/050> system.img.ext4

<ID:0/050> dtbo.img

<ID:0/050> vendor.img.ext4

<ID:0/050> persist.img.ext4

<ID:0/050> userdata.img.ext4

<ID:0/050> vbmeta.img

<ID:0/050> modem.bin

<ID:0/050> FAIL! (Auth)

<ID:0/050>

<ID:0/050> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Stevethegreat:
I am tempted to do this. Can someone check whether LoD (Linux on Dex) works for them as long as they become rooted?
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Handeman707:
Any advice tot Root the right way, i trying for three days now!, I have some experience with rooting phones and tablets, but this T720 Tab S5E is hard too root...

[SOLVED - I succeed to root by this method described on the OP-Page.]
[Samsung Galaxy Tab S5e Guides, News, & Discussion] hasenbein1966:
Incredible, isn't it?

The OP puts together the MOST detailed and failsafe description with all little steps - and STILL there are people who whine "I can't root!", "Stuck in bootloop!"etc. Why? Because they friggin don't follow the instructions.

Cluster facepalm.
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Comses:
Good day to all. I got root according to the instructions, everything is fine, the root checker passes, but there is a problem - it goes to the root of the folder, you can even delete something, for example, in the data / app folder, but changing, creating or deleting the system folder doesn’t work (system application) I can’t understand why so?
[Samsung Galaxy Tab S5e Guides, News, & Discussion] DHGE:
since Android 10 /system is mounted ro

if you want to change something there you remount it rw or use the filemanager from TWRP

I have not tried the latter

EDIT:

my T725 (running latest original Android 9):

gts4lv:/ $ mount | grep ro,
[B]/dev/root on / type ext4 (ro[/B],seclabel,relatime,block_validity,discard,delalloc,barrier,user_xattr,acl,i_version)
/sbin/.magisk/block/system_root on /sbin/.magisk/mirror/system_root type ext4 (ro,seclabel,relatime,block_validity,discard,delalloc,barrier,user_xattr,acl,i_version)
/sbin/.magisk/block/system_root on /sbin/sswap type ext4 (ro,seclabel,relatime,block_validity,discard,delalloc,barrier,user_xattr,acl,i_version)
/sbin/.magisk/block/system_root on /sbin/knox_changer type ext4 (ro,seclabel,relatime,block_validity,discard,delalloc,barrier,user_xattr,acl,i_version)
/sbin/.magisk/block/system_root on /sbin/charger type ext4 (ro,seclabel,relatime,block_validity,discard,delalloc,barrier,user_xattr,acl,i_version)
/dev/block/mmcblk0p52 on /product type ext4 (ro,seclabel,relatime,block_validity,discard,delalloc,barrier,user_xattr,acl,i_version)
/dev/block/mmcblk0p51 on /vendor type ext4 (ro,seclabel,relatime,block_validity,discard,delalloc,barrier,user_xattr,acl,i_version)
/dev/block/mmcblk0p45 on /vendor/dsp type ext4 (ro,seclabel,nosuid,nodev,relatime,i_version,data=ordered)
/dev/block/mmcblk0p44 on /vendor/firmware_mnt type vfat (ro,context=u:object_r:firmware_file:s0,relatime,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/dev/block/mmcblk0p46 on /vendor/firmware-modem type vfat (ro,context=u:object_r:firmware_file:s0,relatime,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/sbin/.magisk/block/product on /sbin/.magisk/mirror/product type ext4 (ro,seclabel,relatime,block_validity,discard,delalloc,barrier,user_xattr,acl,i_version)
/sbin/.magisk/block/vendor on /sbin/.magisk/mirror/vendor type ext4 (ro,seclabel,relatime,block_validity,discard,delalloc,barrier,user_xattr,acl,i_version)
[Samsung Galaxy Tab S5e Guides, News, & Discussion] MSTRoyal:
There's Android 10 for the t720?
[Samsung Galaxy Tab S5e Guides, News, & Discussion] DHGE:
yes:

https://xdaforums.com/tab-s5e/development/rom-lineageos-17-0-t3972371
[Samsung Galaxy Tab S5e Guides, News, & Discussion] MSTRoyal:
OK thought you meant stock one
[Samsung Galaxy Tab S5e Guides, News, & Discussion] VeEuzUKY:
I followed all the procedures of the OP, everything went well and then successfully flashed and all done. Finally after flashing and upon trying to restart into recovery, the Tab just gives me a continuing bootloop of the following message and completely refuses to go into recovery with the Volume up + Power Button combination (or any other mode actually). Also the Tab cannot be turned off because if I press Volume Down + Power, it auto starts again into the same error splash screen message. No idea what happened. What should I do?
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Woodski:
I just successfully rooted my S5E. When all was done I rebooted and installed youtube Vanced through Magisk

Rebooted and I'm now also in a bootloop with that red screen.

So I went to recovery and did a wipe/factory reset but still in the same bootloop to that red screen

It still goes to download mode so I patched it again with Odin with another wipe/factory reset

Reboot again... still in a bootloop with that red screen.

I know it will/should reboot several times there but unlike the first time it won't go out of that loop

Edit

I flashed magisk_patched.tar (with a error about the modem) and that fixed it

Again installed youtube vanced and now also adaway and it still works :)

Can I let Samsung install updates or will that break root/magisk ??
[Samsung Galaxy Tab S5e Guides, News, & Discussion] ExTall:
How I installed twrp on tab S5e sm-T720 after rooting with Magisk

This is a record of how I installed twrp on my samsung tab s5e wifi, without a PC.

This has now been posted as a thread.
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Woodski:
Well after playing a day with the s5e I must say that I love it.

But I just rebooted and it's again stuck in a bootloop

As far as I remember I didn't install much. Just the debloater module from Magisk

Not used yet because I had to reboot first what ended in a loop

So I flashed the firmware again with Odin and that fixed it

But all settings are gone again.. Not a good start

What ways are there to make a full backup without custom recovery ? (twrp)
[Samsung Galaxy Tab S5e Guides, News, & Discussion] ExTall:
Hi woodski

You can do pretty good back ups through adb bridge which connects from your PC

Hope this helps
[Samsung Galaxy Tab S5e Guides, News, & Discussion] Woodski:
So far I love my tab s5e, it's a great tablet but it's a bit difficult to modify.

Rooting with Magisk is not so hard but I had to do a few factory resets / data formats because of bootloops.

With usb debugging on in developer options it is stable

Just keep checking that setting between resets and it won't lock

If it locks hold vol up + down and plug in the USB cable to reflash with Odin

Then TWRP was installed but for me it was impossible to do a proper restore of userdata

Also it would not connect anymore to my laptop for data / adb etc

Tried that a few times with a lot of factory resets in between. But every time it failed

I'm back to just Magisk now without TWRP and data / adb is fine now

Did a lot of debloating with both ADB and Titanium backup without crashes

It feels a bit risky without a TWRP backup but so far no problems

Thanks a lot for the root instructions :)
[Samsung Galaxy Tab S5e Guides, News, & Discussion] AHE_XDA:
Thanks!

I will be adding this with credit to you in the next update.
[Samsung Galaxy Tab S5e Guides, News, & Discussion] AHE_XDA:
[MENTION=10580111]ExTall[/MENTION]

Per our offline discussion, this will also be added to the next iteration of the guide.
[Samsung Galaxy Tab S5e Guides, News, & Discussion] VeEuzUKY:
Can this be at all rooted with the old SU method? I find SU was so much easier and stable to get devices rooted and STAY rooted..
[Samsung Galaxy Tab S5e Guides, News, & Discussion] lewmur:
Nobody else seems to want to do that, so the only was to find out is to try it yourself. The rest of us seem to be happy with Magisk. Good luck.
[Samsung Galaxy Tab S5e Guides, News, & Discussion] VeEuzUKY:
Yes I definitely hear you.. I just don't know what else to try since I don't know why I invariably run into getting at the same stage of any attempt to root or getting a custom recovery in it. I guess I'll give it a try again. I have the stock ROM on hand so ultimately I can revert back to it when things go south. Been using, rooting and even doing some custom ROM development on Samsung devices for over 12 years First time I have a unit in my have that refuses any modification I try to get done on it.
[Samsung Galaxy Tab S5e Guides, News, & Discussion] lewmur:
That is because you are probably doing it backwards. There are two sets of instructions on how to root. One is for use when you just want to root but keep the stock ROM. That one I have never tried. The second is MUCH simpler. Once you can boot to TWRP, format, not just wipe, but format the data partition. This step is essential!!! Now factory wipe. DON'T ATTEMPT TO ROOT AT THIS POINT!! First flash a custom ROM. Then, unless it is the Nexus ROM, flash gapps. Make sure it now boots but don't run setup. Boot back into TWRP and flash Magisk. You should now be able to setup the tablet and have root.
[Samsung Galaxy Tab S5e Guides, News, & Discussion] VeEuzUKY:
Maybe I didn't make myself clear. I tried BOTH ways independently.

Tried one way, bootloader unlocked and flashed all the way step-by-step as described. First TWRP which I was successful in getting into with no problems and then all the correct steps and wipes plus Kernel and Magisc flashed! All good! Successfully booted ONCE into a fully rooted Android session and all working flawlessly. However, upon restarting the unit for the first time after that, it never booted again getting massively stuck at the Samsung splashscreen. It got totally bricked, and I could not even access recovery (TWRP or stock) or even go into download mode.. nothing! Could not even turn it off! I just waited till the battery got exhausted and later took it to Samsung for a paid repair.

Then, after getting the unit back, unlocked the bootloader again and I tried just the stock ROM with modded Magisc version as per this thread. Flashing went well, all the steps followed and no errors, and after all flashing done, it got stuck again at the Samsung splashscreen and the first re-start attempt. Fortunately this time, I could go into download mode and was able to re-flash stock.

That's where I am now, at stock again and no idea what (and how) to do next that actually might works. Seems whatever modification I try to do on this unit, it won't pass the splashscreen and all goes south.

---------- Post added at 09:45 AM ---------- Previous post was at 09:17 AM ----------

One question: when I attempted TWRP + Magisc, I followed exactly the TWRP thread guide:

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

What you are telling me is actually to only flash TWRP and then after wiping and formatting, actually flashing a whole custom ROM, then immediately rebooting back into TWRP and flashing Magisc? Is this correct? And if so, at which point would I need to also flash the required custom kernel + encryption disabler?

Thanks a lot.