You need to flash vbmeta.img, grab it from grarak's topic. I foget to add one here.
According to these, I have to do the following:
1. I enable developer mode on my phone.
2 . In developer mode, I turn on OEM unlock, then the phone restarts and does a factory reset.
3. I restart the phone in download mode, hold down the volume up button, then the OEM unlock will be complete, the phone will restart and format the / data partition
4. I restart the phone in download mode again, in ODIN on the AP tab I browse to the twrp.img.tar file. I remove the check mark from the restart option. I press and hold the volume down button for 7 seconds, restart the phone in recovery mode.
5. In TWRP I make the system partition writable and then reboot in download mode, with ODIN on the AP tab I browse the vbmeta.tar file and start flashing. In principle, TWRP is now permanently left in the phone.
It works like this? Will Samsung apps not see the phone as rooted?