x
I already OEM unlocked the phone. I have been able to root my PIE rom by getting Magisk Manager to patch boot.img (from the Malaysian stock PIE rom) and flash it again through Odin. I can not install TWRP without the phone recognising it's non-genuine and locking up with a fault. I'm pretty happy I have a rooted PIE rom. I don't know if the patched file would work on ROMs other than the Malaysian stock PIE rom. I'll attach the image that I flashed to AP with Odin3-v3.13.3. So ... these Samsung devices are touchy security wise so try this at your own risk.
To be pretty sure it will work:
1. Make sure your tablet is sm-t835 (international LTE version, mine has 256GB but I don't think the GB matters to the rom. I'm not 100% sure though.)
2. Flash the Malaysian pie rom from here:
https://www.sammobile.com/firmwares/galaxy-tab-s4/SM-T835/XME/download/T835DXU2BSD1/266938/
Follow the instructions and use the version of Odin (as quoted above) that sammobile provide. Don't follow their instructions about getting into Download mode. On my device, you power off, then simultaneously press power and volume up until the device vibrates and the screen comes on and then you let go of both fingers. Does Samsung make this different randomly even on the same device?
3. Set up your phone basically, until you can go in to settings and repeatedly hit "Build number" until you are a developer.
4. Activate OEM unlocking in Developer options.
5. Reboot and automatically erase the device
6. Do a basic setup so you can verify that OEM unlocking is now activated. You'll need to hit on "Build number" repeatedly again.
7. Get your device in to Download mode
8. Load the file here in to AP in Odin:
https://1drv.ms/u/s!AsF1UT5mNVpthLxcdvS1d0y_Dy7NqQ
9. Flash it.
10. If you get an error, repeat steps 6, 7, 8, 9. I had to do this for some reason
11. Reboot. Setup. Install Magisk Manager latest apk, available here.:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
12. Run Magisk Manager and follow the prompts to set it up fully.
Enjoy your rooted tablet.