yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Watch 4] Dante63:
I never suggested wet wrist, in fact, I don't know about wet wrist being of a help, perhaps the positioning of the finger on the ecg probe (button), it should be placed lightly on it...

Also, have someone else try measuring an ECG to see if it's only you or with them too...

If you are unable to measure a normal ECG, then you can conclude 2 things, either watch software isn't functioning properly with the sensors or the sensors have a factory defect and you should take the watch to Samsung...

Let's hope it's a software, backup the watch and reset it, restore backup and finish the configuration, measure an ECG, still abnormal then take it to Samsung but don't show them the mod, in fact remove the mod and say you tried the watch with your friend's Samsung phone and the readings never happened...
[Samsung Galaxy Watch 4] geppogiappo:
Hi Dante,

>>> I never suggested wet wrist, in fact, I don't know about wet wrist being of a help, perhaps the positioning of the finger on the ecg probe (button), it should be placed lightly on it...

Wet wrist is suggested I don't remember if only inside the app (after the reading failed) but also by samsung members on its community.

>>> Also, have someone else try measuring an ECG to see if it's only you or with them too...

Yes, I tried to measure ECG in a person with much less hairs on her wirst ;-) but with no success the same way.

>>> If you are unable to measure a normal ECG, then you can conclude 2 things, either watch software isn't functioning properly with the sensors or the sensors have a factory defect and you should take the watch to Samsung...

Let's hope it's a software, backup the watch and reset it, restore backup and finish the configuration, measure an ECG, still abnormal then take it to Samsung but don't show them the mod, in fact remove the mod and say you tried the watch with your friend's Samsung phone and the readings never happened...

I'll try to register the watch on a Samsung phone and in the meantime I'll write to samsung community web site. I'll let you know. Thank you very much for your help.
[Samsung Galaxy Watch 4] cbgti:
A big THANKS to the Dev for the port!
[Samsung Galaxy Watch 4] ImjuzCY:
Hey Dante63, is there anyway to mod the Galaxy Wear app to allow DND sync on non Samsung phones?
[Samsung Galaxy Watch 4] geppogiappo:
I confirm the issue is also present when pairing with Samsung phone and official SHM app.

Dante, thank you for your very appreciated help!
[Samsung Galaxy Watch 4] 73sydney:
Im just going to take a stab and say its unlikely Dante will want to mod Wear as that would involve changing its signature and end up breaking many things seeing as its a hub for many things

You should just use this, like i do:

GitHub - rhaeus/dnd-sync: Sync DND state between Android phone and watch

Sync DND state between Android phone and watch. Contribute to rhaeus/dnd-sync development by creating an account on GitHub.

github.com
[Samsung Galaxy Watch 4] phivunguyen:
Having some connection issue with SHM during setup and came here looking for fix. A reboot of the phone and all is good. Thanks so much dante.
[Samsung Galaxy Watch 4] dasbooter:
Anybody in Canada have this working with the official watch and phone app?I'm using a non Samsung phone and I can't figure it out.
[Samsung Galaxy Watch 4] H_CAGE:
Hi Dante

there is a new Watch software update R870XXU1GVH2/R870OXM1GVH2

is there a problem to update it ?

I have already installed and worked SHM.

Phone version 191

Watch version 203
[Samsung Galaxy Watch 4] Dante63:
You can update normally,

Your shm mod both are not the latest,

It's up to you if you want to update those...
[Samsung Galaxy Watch 4] sumnerm1:
Works perfectly on T Mob S22 Ultra on Android 13.

Bp sync worked right from the git go too!
[Samsung Galaxy Watch 4] afoyele:
Are there instructions and files to do this on Samsung Watch 5? This works for my Watch 4 but need help for my wife's new Watch 5.
[Samsung Galaxy Watch 4] Dante63:
Same instructions and methods of the watch4 works on the watch5
[Samsung Galaxy Watch 4] afoyele:
Thanks.
[Samsung Galaxy Watch 4] Smm.pla:
Ciao Dante. Ho un problema con il collegamento adb. appena metto il comando adb connect 192.168.x.xx mi da l'errore:

"cannot connect to 192.168.x.xx:5555: Tentativo di accesso al socket con modalità non consentite dalle rispettive autorizzazioni di accesso. (10013)" come potrei risolvere?

Mod Edit: English Translation Below

Hi Dante. I have a problem with the adb link. as soon as I put the command adb connect 192.168.x.xx it gives me the error:

"cannot connect to 192.168.x.xx: 5555: Attempting to access the socket in ways that are not allowed by the respective access permissions. (10013)" how could I solve?
[Samsung Galaxy Watch 4] afoyele:
I use Bugjaeger (https://play.google.com/store/apps/details?id=eu.sisik.hackendebug) to install the moded SHM on both Watch 4 and Watch 5 from my phone. I find the method much easier. However, I did encounter a similar error while connecting to Watch 5 but later found out I needed to approve the connection by clicking 'ok' on a prompt that appeared on the Watch 5. Dante can help profer answer to your error if you still like to use the command line method.
[Samsung Galaxy Watch 4] caophanxuanqui:
Hi Dante. Im using Watch 4 Classic with Mi 11 Pro MIUI 13. Im installed latest Wear SHM Mod ver 215 and Phone SHM Mod ver 209. Restarted both Phone and Watch after install but still not working. Any help?

Edit: It worked now. Don't know why. Tks for your work
[Samsung Galaxy Watch 4] BADtoBONE:
I have been reading the thread while waiting for my GW5pro to arrive.

I own a rooted Note 9 and never used SH or SHM.

I have an unofficial build of SH (working) but obviously it wont sync and data from watch isn't transferred to the SH on phone. I cant even add the watch in my SH app on phone.

Haven't used the SHM yet, but as of now I am looking for a solution to sync data of the SH between phone and watch and next stem will be SHM.

Is the SH sync possible at all? applying this mod makes only SHM sync?

Is there a general fix/hide/patch?

Thanks guys!
[Samsung Galaxy Watch 4] mmickey.mmouse:
Hi Dante, thanks for all your work (y)(y)(y)

I am trying with a watch 4 classic and a Samsung Note 10, bought in different regions. When I try, MOD app says can't find any compatible watch?!

Any clue?
[Samsung Galaxy Watch 4] mmickey.mmouse:
phone installed SHM MOD 1.1.1.209 and watch 215
[Samsung Galaxy Watch 4] Dante63:
Use original SH, magisk denylist and I believe @73sydney made a magisk module, if he shares the link, I will add it to the main post...

Restarted watch & phone?
[Samsung Galaxy Watch 4] amcferrin90:
In the release notes this one bugs me: "* Only Samsung flagship models after Galaxy S9 and Note9 with OneUI 4.1.1 or later are supported". That sounds like it would break a non-Samsung phone? The features described in the update to me aren't worth the risk. The chance at better battery life maybe. Maybe I'm behind on the modded apps and that's why my watch battery life suffers some since the original modded version.
[Samsung Galaxy Watch 4] tegezan:
thank you Dante for the mod..

got "can't find any compatible watch" warning on my Poco F3, after restart both watch and phone multiple time it finally work. (y)
[Samsung Galaxy Watch 4] alpha1ex:
Hi Dante, thanks for all your work.

My GW4 works fine but GW5 have the same issue as mickkey.mmouse.

The Health Monitor can't find the GW5 after restart the pixel 6 and the watch.

Have checked the version with SHM.MOD.Companion, all Lasted version.
[Samsung Galaxy Watch 4] Dante63:
Not sure if I understood you correctly because I'm not even sure where those release notes are from...

But SHM stock or SHM MOD barely have impact on battery life because they run on-demand and not in background...

You have watch shm mod installed on the watch and restarted both watch and phone?
[Samsung Galaxy Watch 4] alpha1ex:
Yes, same as I did for my GW4.

GW5's shm mod can open the phone side Health Monitor ,but still shows can't find any compatible watch.
[Samsung Galaxy Watch 4] Dante63:
Could you provide a screenshot of the app icons (phone and watch)...?

Also, is your phone rooted...?
[Samsung Galaxy Watch 4] wlp:
Hello, the SHM mod was running well with GW4 on Xperia 1 M2 but it can not run properly on my Xperia 1 M4 anymore.

All should be set but still not work.
[Samsung Galaxy Watch 4] wlp:
Thank you for the information, I did restarted on both device and come to works now.
[Samsung Galaxy Watch 4] alpha1ex:
Phone is Pixel 6 , not rooted.
[Samsung Galaxy Watch 4] Dante63:
You rebooted both and not working 🤔...

What happens when you open the mod on the watch and hit open on the phone...?
[Samsung Galaxy Watch 4] Dante63:
SHM MOD Companion updated, I have implemented the auto update feature and patched few things in it...

I also patched the phone shm mod for both Tizen and WearOS, fixed the Chinese translation thanks to @123哆3 ...
[Samsung Galaxy Watch 4] alpha1ex:
It opened the SHM WearOS MOD but still can't connect to GW5.

BTW,Galaxy Wearable have connected to GW5 successfully.
[Samsung Galaxy Watch 4] Dante63:
Sorry everyone, the link to the companion is broken, so I'll be patching the companion and changing it from static value to dynamic just in case the link changes again...

Download the companion from here:

Phone.SHM.MOD.Companion.6.1.0.apk

drive.google.com
[Samsung Galaxy Watch 4] Dante63:
Well, if the watch is connected and the mod on the watch opens the phone mod...

By logic, after reboot they should be working but they are not...

I'm not so sure what is preventing the app from working... did you notice any odd behavior on the phone, like asking you to set up the profile several times...?

Could you provide me a logcat...?
[Samsung Galaxy Watch 4] namangarg110@gmail.com:
I am facing the same issue,

I did not notice any strange behavior
[Samsung Galaxy Watch 4] Dante63:
Most people would reboot both watch and phone and things work, the reason for breaking any active activity that is keeping either shm mods on phone & watch from connecting to the other...

However, odd behavior on phone shm means the app isn't working properly...

But if the app is working and the watch can call the phone app normally (open phone app) then a reboot should fix things...
[Samsung Galaxy Watch 4] namangarg110@gmail.com:
It's working after restarting multiple times,

Just to confirm is companion app compulsion of just a way to keep things updated?

Thanks alot for your help and kudos to great efforts of making the features available for non samsung users
[Samsung Galaxy Watch 4] Dante63:
The phone companion role is to notify you about updates, the watch companion acts as a bridge to fetch information about watch shm mod version... this was requested by members on Telegram, previously, the watch was only link generation and no version check...
[Samsung Galaxy Watch 4] mmickey.mmouse:
Just restarted watch and now it works. Thanks! (y)
[Samsung Galaxy Watch 4] 73sydney:
Sorry, i thought i had shared the link to my Samsung Health module?

If not, here you go....

Quoting the readme:

Samsung Health Security Props​

Removes "sakv2" from ro.security.keystore.keytype to help make Samsung Health run on rooted devices. This doesnt mean its a universal "fix" and works on every device every time, so ymmv....

Disclaimer: The changes made by this module may have ramifications/consequences beyond what you may be using it for (Samsung Health). I have tested it for several days and havent found any personally, but this doesnt mean they dont exist. You use this at your own risk

This module:

looks for /vendor/build.prop

if found, it copies the ro.security.keystore.keytype line (in case not everyone has the same keytypes in the line - i hate using static files, i write modules to use whats on each device) to a new system.prop file in the modules folder

removes sakv2 from the line in system.prop (it will remove sakv2 from the line (hopefully) wherever it exists, beginning, end or middle)

I had planned to test this new "fix" for a while before releasing the module to stop people from manually editing the existing file, as using magisk is preferable as its easily reversible, but once i saw posts on XDA about it, i figured id release this now

As mentioned above, there may be side effects to this "fix", ymmv

Note: You still need to make sure you have Samsung Health added to Magisk's Deny List, ideally with Shamiko installed (if using Shamiko dont forget to disable Enforce Deny List)

Note: At time of writing just now Dante, no reported side effects so far

GitHub - stylemessiah/SamsungHealthSecurityProps: Removes "sakv2" from ro.security.keystore.keytype to help make Samsung Health run on rooted Samsung devices

Removes "sakv2" from ro.security.keystore.keytype to help make Samsung Health run on rooted Samsung devices - GitHub - stylemessiah/SamsungHealthSecurityProps: Removes "sakv2" f...

github.com
[Samsung Galaxy Watch 4] Dante63:
I have added this on the main post
[Samsung Galaxy Watch 4] 73sydney:
hopefully that decision doesnt come back to haunt you :)

it hasnt broken anything for me yet or the other 13 or so guinea pigs using it :)
[Samsung Galaxy Watch 4] alpha1ex:
It works after 8 times of restart.

Thanks .(y)
[Samsung Galaxy Watch 4] Futinghe:
Is it possible to get samsung health working on aosp based gsis? It just does this
[Samsung Galaxy Watch 4] immiteshk:
SH is not sync data with the w4, so unable to see sleep data etc. Using it on op7t. SHM working fine. Any work around for SH sync?
[Samsung Galaxy Watch 4] Achin stark:
Do you have any idea for using Samsung pay in watch 4 in India
[Samsung Galaxy Watch 4] Dante63:
I'm assuming

Backup Samsung Health to cloud, clear its data and configure it again, try doing any sort activity with the watch and see if it syncs... if it doesn't, then it can be your phone battery optimization is killing Samsung Health services, so your watch can't find any running Samsung Health service, this leads to some data being automatically overwritten on the watch eventually...

You have a better chance at getting answers if you make a thread on that topic (if there isn't one already)...
[Samsung Galaxy Watch 4] shadyover:
Hey @Dante63 I have been using your SHM mod since the beginning, using your mod for a year now, yet from last two previous versions of the mod SHM not recognize my watch any more and I don't know the reason for that I have tried everything said here with no success.

here is my details:

- Samsung S21 Ultra

PDA: G9980ZHU2CVH9

CSC: G990ZS2CVH9

Rooted with Magisk all with DenyList applied, was working as it is from the beginning of this thread till last 2 versions of SHM mod !

- Watch 4 Classic

SM-R890

R890XXU1GVH2

SM-R890NZKAEGY

SHM both installed for phone and watch, with companion on both with latest versions, Samsung Health Official now works with latest security props module you posts lately thanks for that.

SHM on watch indeed communicate with the app on the phone, yet still no luck SHM still can't recognize my watch.

All your instructions applied, and rebooted the phone and watch like million times and still not recognized.

Any help ?
[Samsung Galaxy Watch 4] Dante63:
First, thanks to @73sydney for his efforts and time on that module...

Second, the shm being busy is something I am not sure about, it is as if the watch and phone are being busy with something that shm connectivity is delayed 🤔, please provide me a logcat... it might help me understand more...
[Samsung Galaxy Watch 4] shadyover:
@Dante63 I hope it's what you asked for.
[Samsung Galaxy Watch 4] Dante63:
It's too short, if you filtered it, don't...

All I want you to do, is the following...

Force stop SHM MOD

Start logcat recording

On the watch shm mod, hit open phone app

Once phone shm mod is open, count to 10 (should be enough)

Stop logcat reader

Send me the logcat
[Samsung Galaxy Watch 4] Dante63:
@shadyover

You have the latest phone and watch mod installed, right...?
[Samsung Galaxy Watch 4] Dante63:
@shadyover

Give me some time to look at few lines that I find interesting, which would be "improper call" as it seems calling the BP layout and ECG layout is failing, not sure why, I have to look at previous versions of SHM and see what have Samsung done because the "optimization" may have issues when running on the mod...

I'll let you know by tomorrow...
[Samsung Galaxy Watch 4] guerouig:
installed SHM.MOD successfuly, it's magic. please how do I recalibrate the watch BP every now and then?
[Samsung Galaxy Watch 4] Dante63:
It will remind you few days before calibration expires (30 days or so)...

If you wish to recalibrate, then hit on view history on the BP and then top right menu, recalibrate
[Samsung Galaxy Watch 4] shadyover:
@Dante63 any luck with my issue ?
[Samsung Galaxy Watch 4] Dante63:
Sorry, I got busy, this weekend I'll check for sure...
[Samsung Galaxy Watch 4] guerouig:
got everything fine and working. you've done one hell of a job kudos. but untill now I couldn't figureout where the watch companion apk is, in order to sideload it. (despite your kind help°
[Samsung Galaxy Watch 4] Dante63:
In the phone shm mod companion, watch section
[Samsung Galaxy Watch 4] Dante63:
Right, so I checked the logs in regards to the improper layout calls,

and I have installed different versions of the mod,

The improper layout call seems to be randomly thrown,

but in all of them, the app was working fine...

I went back into the logs to dig for anything odd, then I saw the function call "findpeers()" is always null (it should be looping on 4 ids, 991, 992, 991c, 992c, for the watch) and after that, I'd see the error stating Accessory Framework not installed... and if I am not mistaken, this should be referring to Samsung Accessory Service, and from what I know, Galaxy wearable does the installation, maybe it got corrupted or uninstalled...?

I went back into logs, but that's the last thing that seemed off... the rest are fine...

So you can check your phone for Samsung Accessory Service.

If it's not there, install it from apkmirror, restart your phone and run shm mod.

If it's there, see if you can either re-install it or uninstall and install it again and restart then try shm mod...

another thing you can do is backup the watch, uninstall the plugin, accessory service and galaxy wearable...

install the wearable only, pair the watch, and galaxy wearable should start to install all the necessary services for the watch. Once that is done, sideload the watch shm mod and try opening the phone shm mod through the watch...

I have no other ideas but these two and I am hoping one of them would work...
[Samsung Galaxy Watch 4] dariodeva:
Hi, I follow all the steps but now Samsung health monitor does not find my watch. It is a Galaxy Watch 5 Pro.
[Samsung Galaxy Watch 4] Dante63:
Share a screenshot of the phone app icon and watch app icon please
[Samsung Galaxy Watch 4] dariodeva:
Here they are. I atach also the screenshot where the app is looking for the watch and after the timeout.
[Samsung Galaxy Watch 4] Dante63:
There is no timeout,

Is your device rooted?
[Samsung Galaxy Watch 4] dariodeva:
I mean when the app is looking for the watch, after a while it stops looking and it shows the second screenshot saying that it is not able to find the watch. Sorry but what do you mean by "rooted"?
[Samsung Galaxy Watch 4] Dante63:
Rooted Device,

Gaining access to system level and being able to change and tweak the device...

I'm assuming you don't have root access since you're not sure what it is...

This behavior is abnormal, it should be one of the screens and not both... the correct behavior would be looking then says retry...

Nevertheless, have you restarted the phone and watch?
[Samsung Galaxy Watch 4] guerouig:
when I tap in S

When I click on SHM Watch MOD version, it generates a download link, when I click on it three option are offered : cancel, copy link and open. clearly Open command ends up in failure. When I copy the link, what next? what browser do i need to copy it to, in order to download the apk and sideload it?
[Samsung Galaxy Watch 4] Dante63:
I think I responded to you on YouTube,

I said open it in any browser but Chrome might decide to open the link in drive app so to avoid that, make sure you have the desktop view/mode on before opening the link... simply open any website, 3 dots, desktop mode/view, then paste the link
[Samsung Galaxy Watch 4] dariodeva:
After rebooting both the devices, it starts working. Thanks for your support.
[Samsung Galaxy Watch 4] guerouig:
figured it out..all is ok.
[Samsung Galaxy Watch 4] spinaldex:
"No Compatible device found" in the new health app after a half dozen reboots.

S21Ultra + Watch Pro 5.

Used the auto method. Followed the readmes and the video to the letter. No errors during install, all looked perfect.

What could I check on now?

Update: A few additional thoughts:

1. I don't recall ever using the "Phone.SHM.MOD.Companion.1.3.0.apk" file for anything in this process. Did I miss a part of the instructions where I'm suppose to use that?

2. When I try to open the Health Mod app installed on the watch, it errors and says "PHONE APP, NOT FOR WATCH!!!!!". Is that expected or did I somehow drag the wrong file to the AUTO BATCH and it uploaded the wrong app to the watch???

Any other ideas on why it isn't working would be appreciated.
[Samsung Galaxy Watch 4] deepower24:
thank you mans. good job
[Samsung Galaxy Watch 4] shadyover:
@Dante63 no such thing as Samsung Accessory Service is in my phone, it's not bundled with the official software, I guess it is for older Samsung phones, instead there is an app called "Galaxy Watch4 Manager".

Anyway I did install the Accessory service from APKMirror and rebooted both devices and nothing happened.

I tried to freeze each app and test the connectivity and force stop with clearing data, then got the wearable app setup the watch on phone from the beginning and SHM still cant recognize the watch !!

I guess nothing left except the exhausting way of factory reset my watch and choosing another country for it as I think it's a CSC region thing that forbid my phone to use your modded SHM in a non supported country.

any other suggestion before I begin ?
[Samsung Galaxy Watch 4] okgabszz:
Hey guys, i'm facing a problem where the Health Monitor App on my smartphone does not recognize my watch4, is there any solution?
[Samsung Galaxy Watch 4] ahsanaltaf1987:
cannot find updated version. please help to get latest version download link.
[Samsung Galaxy Watch 4] Dante63:
1. Companion is a developed tool by me to make checking mod updates easier, along other useful features...

2. After you have installed the mod on phone and watch, if they don't detect each other even you have gone to the watch shm mod and hit open on phone which opens the phone shm mod yet shows no watch found, try restarting watch & phone, hopefully whatever is interfering with SHM connectivity wouldn't interfere on next boot...

Irrelevant, all restrictions are removed, the only thing I can't remove or edit is google wear connectivity, which is an obscured service, this service would throw connectivity errors on rooted phones with encryption enabled, logs would show ERR_INTEGRITY and the shm mod behavior would be loading BP & ECG for seconds, then it dissappears going into no watch found (I didn't see that in your logs and you didn't report such behavior)...

Have you patched your Bluetooth libraries...?

After you have successfully installed the phone and watch shm mod, try restarting both watch and phone, then run it again...
[Samsung Galaxy Watch 4] Dante63:
Link updated, previous link was lost and it was hard-coded in the companion, it's no longer hard-coded, sorry about that...
[Samsung Galaxy Watch 4] spinaldex:
My apologies, could you clarify in which device the companion app should be installed? Phone?

Also, the mod is installed on both the phone and watch. I have rebooted both a diadem times this morning. It is not connecting.

I don't understand what you mean by...

"have gone to the watch shm mod and hit open on phone which opens the phone shm mod yet shows no watch found"

When I press the SHM Mod icon on the watch, it won't open and says "PHONE APP, NOT FOR WATCH"