[General Questions and Answers] xzoli8:
All Steps necessary for rooting XCOVER 4S (tested and updated by xzoli8)

( you need ODIN to be installed )

A) Unlock OEM

1)Unlock Developper option

a) Go to Settings and go to 'About phone' -> 'Software information'.

b) Continuously tap 7 times on the ‘Build number’ to enable the Developer Options.

2) If your phone is new, OEM option will not appear since samsung hide this option until one month after

system first use.

To get this option you have to:

a) Go to 'Settings'

b) Next, go to 'General Management' and tap on 'Date and Time'.

c) Turn off the 'Automatic date and time'. The manual date and time settings should appear now.

d) Tap on 'Set date' and select a date which is at least more than one month prior to the current date.

e) Go to 'Settings' -> 'Developer options' and turn off 'Auto update system'.

f) Next, go back to the settings screen and tap on 'Software update'.

g) Turn off the 'Download updates automatically' option and then tap on 'Download updates manually'.

h) Finally, reboot your phone to fix missing OEM unlock issue.

3) Go to 'Settings' -> 'Developer options' and unlock OEM

4) Repeat step 1) and 2) if the phone make a factory reset

5) Now come the tricky part, Samsung have two different Download Mode, the classic one and a unlocker mod, to access this mod you have to:

a) Open Odin on your computer

b) Connect your USB cable to the computer only

c) Turn off your phone

d) Press Volum Down and home button and connect the USB cable to the phone

e) you should see a menu for unlocking ( keep presing vol up if i remember corectly

f) now OEM is unlock

B) Prepare Rooting

1) Find your phone ROM

a) Go to Settings and go to 'About phone' -> 'Software information'.

b) Check your phone PDA number ( G398 something )

c) Download your ROM (https://samfw.com/firmware/SM-G398FN)

2) Install modified 7-Zip ( https://github.com/mcmilk/7-zip-zstd/releases )

3) Get Boot.img.

a) Uncompress your Rom. You Should Have this files:

- AP_Something.tar.md5

- BL_Something.tar.md5

- CP_Something.tar.md5

- CSC_Something.tar.md5

- Home_Something.tar.md5

Only AP will be use

b) Extract AP_Something.tar.md5 with 7-Zip

c) You should have boot.img.lz4

c) Uncompress Boot.img.lz4 with 7-Zip

d) You have the file boot.img

4) Put the boot.img into the download folder of your phone

5) Magisk boot Patch

a) Install Magisk manager on your phone: https://magisk.me/

b) Open magisk and tap install button

c) In the option menu let recovery mod unchecked

d) tap next

e) Choose select filed

f) Select boot.img in your download Folder

g) Magisk will patch the boot.img and make another magisk_Something.img next to it.

h) Take the magisk patched boot to your computer.

i) Rename the Something.img to boot.img file again.

!Note: If you don't do this way the installation with Odin will fail or stuck, but this way Pass the installation!

C) Root the phone

1) Compress boot.img into a .tar archive with 7-Zip

2) Open Odin

4) Check AP and choose the boot.tar

5) Go into Download mode with message "Downloading..."/"Do not turn off target"

6) Hit Start to flash.

7) When it's over your phone will reboots itself

!Note: If some kind of reason after the successful installation the OS doesn't start and stucked in recovery mode as mine did use Try again or Hard reset a.k. Wipe data/factory reset option, the phone will reset completely itself but doesn't loose the OEM unlock and patched/rooted boot.img configuration.

8) Open magisk and let it do his things.

9) To ensure about the successful of the rooting process when the phone boots up under the Logo will appear a yellow exclamation mark with a red text "The phone is not runing Samsung's official software..." another sign the Magisk modules will become available and you can install them.

10) Good luck everybody for a successfully rooting process mine worked after I updated josselin2196's topic, thank you for his support!

ET VOILA, you have a rooted phone