yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] m3adow:
Thanks for these instructions, I got it working with Android 10. While I'm pretty used to flashing and rooting, I never did it with a Samsung device before the Xcover 4s. Therefore I want to add some stuff:

The AP files can simple be untared, e.g. with 7Zip or Peazip

While I used Linux to extract the lz4, a short internet research hinted at 7-ZIP ZS to be able to do it on Windows.

Magisk will leave a file called magisk_patched.img (or similar) you need to rename it to boot.img.

Then put it into a tar (7zip or Peazip can archive to this format) and flash it with Odin.

After a reboot Magisk will need some additional setup and do another reboot.

Also: I never managed to start Download Mode via reboot, no idea why. But using adb reboot download worked just as fine.

I uploaded my patched boot.img: https://mega.nz/file/GRN0ACKY#DyHgOgZfZyaFn4LqZYl1jCH-ftUjhKLyKE6yXFoI9SQ

I'm not 100% sure what the important parts of the firmware version are, but I think it's called "G398FNXXS5BTE1". I can upload the corresponding zip if requested.
[General Questions and Answers] GekkePrutser:
Hi, sorry for butting in here but this is the only relevant topic I saw about the Xcover 4s.

I got one recently (new in box), but the box did not have the "Enterprise Edition" sticker sadly. But when I googled it the model number SM-G398FN/DS is the enterprise edition according to Samsung UK (I can't post the link here unfortunately due to not having enough posts). Apparently in some countries the only model sold is the enterprise one. I really wanted that one because of the long updates.

Nevertheless it has been getting Android 10 and monthly updates. It's the EU model and it *does* have the FM radio builtin. Strange that some models don't.

However, it does have several crap apps installed like Facebook and Upday which are blocked from removing even through ADB (doing "pm uninstall" I get an "internal error"). I assume Samsung wouldn't put this crap on Enterprise Edition phones. So I'm afraid it might not be one :( Does anyone know how I can find out for sure if it's the enterprise edition?

Edit: I forgot the --user 0. So the command is "pm uninstall --user 0 com.facebook.services" and the same for com.facebook.katana and com.facebook.system. No root needed. Edit2: Actually, it goes into a mode "Installing updates" and puts all the FB background services right back :( Only the app icon doesn't return.

But if anyone knows how I can positively ID whether I've got the Enterprise Edition that'd be greatly appreciated! Edit: Too bad, it looks like the enteprise eds are all SM-G398FZKxxxxx so I do have the consumer one :( So probably updates for less long and this is probably also the reason for the crapware I got. I think a lot of sellers don't know what's what.
[General Questions and Answers] anakete:
is there any root solution for android 10?
[General Questions and Answers] BobBaltzer:
Yes! I have updated to version 10 and then rooted using Magisk.
[General Questions and Answers] anakete:
i use G398FNXXS5BTE1_G398FNOXM5BTD2_DBT

with magisk and odin i get a error with the patched recovery.img...

how do you rooted your phone?
[General Questions and Answers] BobBaltzer:
I downloaded the stock FW from:

https://samfrew.com/model/SM-G398FN/

Remember to download the FW from the correct region ;)

(I have used XEO-G398FNXXS5BTD2-20200506143150 since my FW is from Poland)

Then I installed Magisk Manager and used it to patch the stock recovery file ("Boot Image Patching" and "Magisk in Recovery").

Finally I used Odin to flash all files (stock + patched recovery file).

So basically I used the instructions from OP apart from using the Magisk-patched recovery file.

Unfortunately something went wrong a few times so I had to revert to stock FW and then start all over :( So it did take a few hours....
[General Questions and Answers] iliascell:
CAN I UPDATE MAGISK zip version from magisk app in android 9? or I will lose root or can't reboot again?
[General Questions and Answers] iliascell:
Anyone has xcover 4s with android pie?

I need to know if there is the apk samsung smart capture in pie system, because I can't find it.

Thank you!
[General Questions and Answers] BobBaltzer:
Why don't you upgrade to Android 10? I have upgraded and rooted using Magisk.
[General Questions and Answers] iliascell:
I want stay with android 9, anyone that is still with android 9 can tell me if has the smart capture function to take long screenshot?
[General Questions and Answers] iliascell:
Can you check if in your pie rom there is samsung smart capture app? Can we change csc and region with Odin without problem? For example to have recording call function can I flash thailand firmware?
[General Questions and Answers] josselin2196:
i found a twrp for xcovers 4s, however i didn't succed to use it, twrp is unable to mount folder, and the format button in wipe don't work ( unable to open to wipe crypto key ). Did there some step i miss do use twrp on samsung devices to make twrp work? I flash twrp and vbmeta with odin.

I'm tying to install Lineage OS 17 GSI on it.

Twrp: https://mega.nz/file/Y59nQSIR#XVLKLkTNDVLs6IuvqcUGPVbrIvWQuc8xmqruaIjq8ys
[General Questions and Answers] jot-ess:
Hello Diamonds8 and all,

I'm sorry I have to ask such a seemingly stupid question. I'm not an expert at all, but with the help of such descriptions I have already rooted several phones. So I believed I knew at least a few basics.

But I get stuck at

step 5: reboot to download mode

.

I don't know if my phone behaves differently because I have Android 10.

(I would exchange the tar file you linked by the one GameShadow7 uploaded in post #74, if I got this far. If I succeeded, I would then install Magisk and hide root thereby, wasn't it like that?)

I have double-checked, no, at least triple-checked, that I have activated both: USB debugging and OEM-unlock.

RE

boot makes me think I should do this while the phone is switched on, but this would be unusual. And when I press the 3 keys while phone on, I make a screenshot.

When I do so while the phone is off and plugged into the computer (battery is charging), nothing useful happens. Screen turns black, short vibration, circle of charging animation appears for a second, screen black for some seconds, circle again, black, ... until I release the buttons.

When I press the 3 buttons while the phone is off and not connected via USB cable, the phone turns on with a short vibration and the Samsung logo appears (as normal) for ~3 sec, screen turns black ~3sec, logo appears again ... and so on, until I release the buttons and the phone boots normally.

I found a youtube video (

) with which I could enter download mode, but didn't get any further. It describes:

Power + Vol. UP + Home, so we enter recovery mode. (Works with and without USB cable.)

Vol. down to choose "Reboot to bootloader" and accept with Power button -> Turquoise screen "Downloading... Do not turn off target" (No other text or instructions on the screen. Nothing like "Product name ... current binary ... in top left corner or any options to choose from)

Now this is where I should choose "Device unlock mode" by pressing long(!) VOL UP. Nothing happens.

I switch the phone off by holding Power + Vol. down for some seconds.

Could anybody give me a hint what I'm missing?

If I succeeded: Unlocking automatically includes a factory reset, as far as I know. Does this mean I'm gong to have Android 9 then? Or is it just a clean install of Android 10?

Best regards!
[General Questions and Answers] josselin2196:
to unlock you need to go into a specific download following this step:

-turn off phone

launch odin on computer

-at the same time press power, vol down, home and connect the phone to the computer with usb cable: you have to press key and connect at the same time

-release key when enter download mode

-now you should see the binarie on the upper left and you should be able to unlock bootloader

if it's not work, use same method but pressing vol down and home only ( with cable connection )
[General Questions and Answers] jot-ess:
Ah, that sounds familiar: Odin has to be running already.

But: Nothing different happens: Odin running, plug USB cable into turned off phone, hold Power+Vol.down+Home -> Short vibration, screen black, circle ...

When I try without Power button nothing happens at all.

(Interestingly this current version of Odin tells me I have to delete my Google + Samsung accounts before the process. Something I don't understand - I believed the whole phone were wiped in the process.)
[General Questions and Answers] josselin2196:
did oem unlock option is enable/visable in the dev option?
[General Questions and Answers] 2535:
Good morning,

I still did not find twrp for XCOVER 4S.

Thank you if you have the new.
[General Questions and Answers] StashekM:
im not able to unlock my OEM and nootloader never mind that I follow all instructions....what i have to do,I really need help guys,when Im tryied to root my device on download mode show me message that OEM is lock.Damn!!!!
[General Questions and Answers] josselin2196:
All Steps necessary for rooting XCOVER 4S

( 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 ZZip ( 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 ZZip

c) You should have boot.img.lz4

c) Uncompress Boot.img.lz4 with ZZip

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.

C) Root the phone

1) Compress boot.img into a .tar archive with ZZip

2) Open Odin

4) Check AP and choose the boot.tar

5) Go into Download mode same method as step A.5

6) Hit Start to flash.

7) When it's over reboot you phone

8) Open magisk and let it to his things

ET VOILA, you have a rooted phone
[General Questions and Answers] StashekM:
Thanks a lot man,I"ve unlocked my phone,but there is another problem,I create new boot.img which is tar,but when Im tried to use Odin,put boot.img in AP..the results is error???What the f....k?What Im did wrong!You are great man,,give another feedback,and on sunday ,when Im going in church I will put a candle for you! :) Thanks in advance!!!Cheers!!!!
[General Questions and Answers] josselin2196:
What error message do you have?
[General Questions and Answers] StashekM:
when I tried

Root Checker

or

Dr.Fone the message is that phone is not rooted,by the way,where can I find Super Su!!!Keep going man!!!!Thanks in advance!
[General Questions and Answers] josselin2196:
Did you install magisk like I explain in step B and C. Did you flach the patched boot.img?

SuperSu can't be used on a xcover 4s
[General Questions and Answers] StashekM:
Yes,I did man,I ptached boot.img with magick,strange was,that tne name is really a litlle bit different,it not exactly boot.img.tar.but even wneh i made it boot.img.tar, that it,after restart magick did offer me option boot????Im not newbie,but obviously something I did not do it wrigth bro?What the f...k it could be?Im a official tester for Microsoft for more than 7 years,but never have such a trouble with androind never mind that I remember the first smart phones :) never mind thant according mu opinion the best of the best forever will be nokia 3310 :) ;) :)
[General Questions and Answers] StashekM:
How you proceed with to flash,just using factory reset?If super use is not for our model,than what should I do!Tnanks in advance dude!!!You are the best adviser,best regard from a polish guy!
[General Questions and Answers] josselin2196:
Did odin says somethings when you flash boot.img.tar?

After that what magisk manager says when you open it?

look a little higher in the page, i share a tutorial for rooting with magisk and magisk managet
[General Questions and Answers] StashekM:
"" look a little higher in the page, i share a tutorial for rooting with magisk and magisk manager "" where I have to read your style again bro!!!!!!When Magisk open again,I cant see Magisk Manager,and after restart Ive got messsage that there is an error on 6 step?????I do not understand ,could be so kind,and gibe again step by step what I have to do and links for necessary soft,I use last version Odin3_v3.14.4,firm is BGL-G398FNXXSABUB5-20210305160101ware and Magisk-v22.0.apk.You are my hope dude!Cheers!!!!!Keep going!!!!
[General Questions and Answers] josselin2196:
I will try to redo on my spare xcover with same firmware as yours to see if i miss something.

Did you have a message when you turn oon the phone that says that your phone has no official system binnarie or something like that?
[General Questions and Answers] StashekM:
No men
[General Questions and Answers] josselin2196:
that's mean the patched boot was not flashed or not patched.

try redo step B)

if you have a error, tell me what it says

if you want to pass that step try flash this .tar insteax ( european firmware not sure if work on another model )

23.27 MB file on MEGA

mega.nz
[General Questions and Answers] StashekM:
Well,I use ODIN put it on AP ,it ,pass good,and now want factory reset,but Im waiting to start the operation screeen show just samsung...will see,I still have a hope that after this operation I put Magisk ,but tell me please what I have to put Magisk,or Magisk Manager,cos how can use root option and start clean my phone from garbage?You did a lot for me bro,thanks a lot,if uou have some problems with Windows 10 ,just tell me,and I give you my word that tnever mind what is it ,the problem wiil be resolve!!!!!CHEERS!!!!You are the best,thanks so much for your attention to me!!!!!Keep going!All the best!
[General Questions and Answers] StashekM:
NO ERRORS!!!GREAT JOB YOU DID!!!THANKS!MY LAST QUESTION NOW DUDE IS HOW TO DEINSTAL GARBAGE,...I do not need for example One Drive,Game Launcher and other things,but the only option,which show me the phone is deactivation
[General Questions and Answers] josselin2196:
Congrat!!!

you can use this app:

Proton Drive

Securely store, share, and access your important files and photos. Anytime, anywhere.

drive.protonmail.com

i suggest to delete app five by five and reboot between each delete.

Be careful to not delete samsung pay ( phone will go lock )

if you uninstall google service, you can use microg instead for kept notification ( i can share tuto if needed)

if you want to use bluetooth, you need to install a patch in magisk manager

if you delete the basic app ( contact, phone...) you can get free privacy open source equivalent in F-Droid store.
[General Questions and Answers] StashekM:
I did it bro,only one thing really boring me,which of system pay apps are dangerous and I dont have to "touch"them?I allready lock my phone twice,and should to start tha whole process again!Is there somewhere a list with samsung pay ads which are ''forbidden'' to uninstall?Thanks in advance.By the way,do not remember,if you got problems with your Windows 10 ,just ask for feedback me,and I will resolve troubles!!!At least with last cumulative up already 30% of users receive blue screen of death cos printers and computer started "war" between them :)Keep Going!!!Cheers!
[General Questions and Answers] xzoli8:
Great explanation and it works, very very helpful, thanks a lot.
[General Questions and Answers] StashekM:
Hello dude!!!You are the best so Ive got one question to you,at the moment my bootloader is allready 11,how can I return android version with bootloader 10,at this moment using odin it show me erros cos my bootloader ia allready 11,is ther any tip or trick, i using version XEO which is the latest,but i want to try return OS back.Thanks in advance!!!!
[General Questions and Answers] akin03:
Hi with each other there is a possibility to root the Xcover5.. Sorry, the above manual does not work. The device has a bootloop and restarts after 2 min. The device has android 11 with ui 3.1. I ask for help.
[General Questions and Answers] StashekM:
Guys...Im confused,please tell me how to clean recovery logs history from my Samsung XCover 4s????/Thanks in advance!I"ve tried via factory reset,but my phone is unlocked,and rooted ,and no possitive results.Ive got more than 10 recovery logs in history in mu phone!!!
[General Questions and Answers] StashekM:
Is there any chance our Samsung XCover 4s to receive Android 12 guys?Any information?
[General Questions and Answers] josselin2196:
Unfortunately, only the xcover 5, pro and Fieldpro will get android 12 according to samsung roadmap, android 11 was the last update to xcover 4s
[General Questions and Answers] StashekM:
bad news,i sill hope that probably they will change their policy,but seems chance is close to zero :(
[General Questions and Answers] StashekM:
Guys I need help!!!!!After update my firmware xcover 4s I can not acess to my google account-just monitor swol me error!!!What the f....ck is going on with this new firmware update.And is there any chance quickly to delete all my google accounts and create a new one.Please guys help me .Thanks in advance!!!
[General Questions and Answers] StashekM:
which is the latest version of UninstallSystemApps,any link please guys!!!!!
[General Questions and Answers] xdabookam:
Can anybody with an Xcover 4s tell me if this phone can be booted over USB with fastboot ie

fastboot boot custom_kernel_zimage+initd.img

(after unlocking bootloader of course).

Sorry for the thread hijack. I have a galaxy S3 and that doesn't but I've booted non-samsung devices into custom TWRP recovery kernels over usb.
[General Questions and Answers] StashekM:
Any chance our Samsung XCover 4s to get ANDROID 12? Does anyone got information?
[General Questions and Answers] BobBaltzer:
It's not on the list:

https://www.sammobile.com/news/list-galaxy-devices-eligible-for-one-ui-4-0-android-12-update/
[General Questions and Answers] StashekM:
damn!!!!I like my phone!!!
[General Questions and Answers] StashekM:
What about firmware of Android 11 for XCover 4S? Its already 23.01,but no update,for R?
[General Questions and Answers] GameShadow7:
HOW TO ROOT on our XCover4s with Android 11

Important Notes:

Due to huge differences in system partitions in the new Android version you cant root the same way as before!

Steps:

1) Download the latest firmware with your region code (CSC)

2) Download the Magisk 24.1 apk file from github and install it on your phone

3) Copy the AP file of your firmware to your phone

4) Open the Magisk app, click install, tick "Recovery Mode" (because we need to patch the recovery.img) and select the AP file of your firmware. Start patching

5) Now copy the patched AP file to your PC

6) Flash the patched AP file

together

with the stock BL, CP, CSC

7) Congratulations!

Note: Because your root is saved in recovery.img you always have to boot with VOL-UP + HOME button + POWER button and release them after you see the boot logo. Otherwise your phone will boot over the boot image without root!
[General Questions and Answers] StashekM:
any information when will be next firmware update of XCover 4S..is almost march but we still standing!!!
[General Questions and Answers] StashekM:
XEO-polish version is up!!!!!At least!!!
[General Questions and Answers] StashekM:
Guys I don't want all the time to see garbage I need like Adblock Plus.please tell which software I need,which apk. is perfect for mu phone!
[General Questions and Answers] GameShadow7:
If you have root then one of the best solutions is using AdAway, it blocks all in-app ads by default.
[General Questions and Answers] StashekM:
Thanks' a lot Game Shadow7,is it free,unfortunately at this moment I don't have any money???And where I can find even cracked this stuff ?Thanks in advance bro!!!
[General Questions and Answers] GameShadow7:
Its free, you can download it on F-Droid or github

AdAway

AdAway is an open source ad blocker for Android using the hosts file.

adaway.org
[General Questions and Answers] StashekM:
My friend in Warsaw allready receive a new update of XCO firmware of XCover 4S,but checking list I don't see nothing new....whats going on,any information guys?????
[General Questions and Answers] kusti420:
has anyone made twrp for it yet?
[General Questions and Answers] ze7zez:
I have an idea to do it with SEANDROIDENFORCE Patcher or manually by adding SEANDROIDENFORCE from recovery.img from Xcover 4s and putting in recovery.img from https://eu.dl.twrp.me/jackpotlte/

(Galaxy A8 (2018) it has the same processor and similar parameters).

However, I need to do root first, but I don't have much time.

edit 2

====

Unsuccessful attempt to flash AP done by magisk 27.0 (2024-02-03) or 26.4 (2023-11-06) with firmware G398FNXXSJCWF1 (2023-07-12). Odin stops on flashing recovery.

Note.

I need to see if permanently unlocking the bootloader and having the knox 0x1 flag appear will change anything, because so far it was only OEM unlock enabled in the developer settings.
[General Questions and Answers] johndunordinary:
Please update us🙏
[General Questions and Answers] ze7zez:
There is a8recovery_mod_for_xcover.img prepared, but I can't use it because I can't root the phone.

Perhaps because I am using G398FNXXSJCWF1 with an application that uses Knox Cloud Service.

Do you have a rooted phone?
[General Questions and Answers] ARDV:
i have an xcover 4s g398FNX that is not booting

when i try to boot it takes me to recovery and print:

can't load android system. your data my be corrupted.

reason is enablefilecrypto_failed. supported API: 3

i flashed the files of this stock firmware: SAMFW.COM_SM-G398FN_TIM_G398FNXXSJCWF1_fac using heimdall, but i'm getting the same problem.

if i try: factory reset from the stock recovery: it print: error. and reboot quickly and then takes me again to the recovery.

i hope that you can help
[General Questions and Answers] johndunordinary:
yes I have it rooted please share it
[General Questions and Answers] ze7zez:
I will send you the link in a private message in a while. You take the risk on yourself. I don't have time now to check how xcover4s will behave after flashing this mod.