yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Watch 4] nicoco19:
Good night all,

I just tested and indeed everything works well, I took elements from the two tutorials, that of Dante63 and that of Mysticwaterfall2 in order to test by myself. In the end, thanks to the Dante63 applications for the phone (S22 Ultra Routed) and for the watch (Galaxy Watch 4 Classic), I was able to recover the E.C.G. and P.A. functions. Small flat, I keep the official Samsung Health Monitor app on my Galaxy Watch 4 lol. I made you a tutorial a little simpler for people who are limited like me in computers ;-), I would like to thank @Dante63 for his applications, his explanations and his tutorial.

P.S.: I am French, sorry if this morning I made a mistake in the translations of texts with google @Badger50 .

Step-by-step instructions for obtaining P.A. and E.C.G. on all Android Phones

1. Uninstall Samsung Health Monitor from the phone.

2. On your watch: Settings->About Watch->Software->Software Version->Press (7 Times) until Developer Options unlocks.

3. Settings->Developer Options->Enable "ADB Debugging" and "Debugging over Wifi".

4. Settings->Connections->Wifi->Connect to the same Wifi network as your phone->Tap on that connection and scroll down to the bottom where it says "IP Address" and write down those numbers.

5. On your phone, install "Easy Fire Tools" from Play Store.

6. Start "Easy Fire Tools", press the menu button on the top left, press Settings, under "Connection Settings", press "IP Address" and enter the address you obtained earlier.

7. Return to the main "Easy Fire Tools" screen and tap the gray plug in the upper right corner. You authorize a screen that says "Authorization Required". You then authorize an invitation on your watch (The screen of the watch must be on and especially not in standby) indicating "Allow ADB debugging", press OK, then press Continue in "Easy Fire Tools", the gray socket in the upper right corner will turn green if it's good.

8. Back in the main "Easy Fire Tools" screen, tap "Custom APK" then "Select File" and select the Watch.SHM.MOD.1.1.0.215.dante63 watch app for the install.

9. Wait for the app to install.

10. Install Phone.WearOS.SHM.MOD.1.1.1.209.dante63 phone app (if your phone tells you it doesn't have permission to do this: Settings->Biometrics and Security->Install unknown apps->enable it in chrome or a file manager then tap it again or on android 12 go to settings->apps->special access->install unknown apps).

11. Open the Watch.SHM.MOD.1.1.0.215.dante63 app (with an "M" on the icon) and follow the setup instructions.

12. Then disable "ADB Debugging" and "Debugging over Wifi" to save battery.

IMPORTANT: The original Samsung Health Monitor App remains installed on the watch but is unusable.
[Samsung Galaxy Watch 4] Dante63:
I will be updating my video Tutorial in the near future, to simplify it more and make it only through the phone, using bugjeager, easy fire tools or wear installer 2...

And in the far future, I will make my own app that would sideload and install apks on the watch...
[Samsung Galaxy Watch 4] WastedJoker:
Hi,

Followed your instructions to the letter. I opted to remove the official SHM app.

All is working ok except when I tap the ECG complication on my watch face it asks me if I want to install SHM.

If I choose No nothing happens.

If I choose Yes it tries to take me to the install but then it reports app is not supported.

I went back and used adb to reinstall the non-modded SHM:

adb shell pm install-existing com.samsung.android.shealthmonitor

Now when I tap the ECG complication the app goes black then does nothing.

I reinstalled the modded apf:

adb -s <IP> install Watch.SHM.MOD.1.1.0.215.dante63.apk

Still the same situation.

I've tried rebooting my watch too.
[Samsung Galaxy Watch 4] Dante63:
You're opening the stock shm ecg and not mod... mod would've opened google drive...

Remove the widget and add the modded one...

Mod has a ring (visible when selecting) and letter M on the heart...
[Samsung Galaxy Watch 4] WastedJoker:
I'm not seeing another ECG complication choice :(

Will give the installation another try
[Samsung Galaxy Watch 4] WastedJoker:
ok, I've gone through all the steps again. I've definitely got the modded SHM on my phone and watch but still get asked to install SHM when I tap on the ECG complication :(

Everything else works fine though - can record ECG/BP and it syncs with the phone etc.
[Samsung Galaxy Watch 4] Dante63:
On the watch is more obvious
[Samsung Galaxy Watch 4] WastedJoker:
Hi, yeah, I don't see any alternative options like that.

ECG and BP work fine if I run them directly from SHM. It's literally just tapping the complication that is a problem which, to be honest, isn't a deal breaker.

I forgot to mention I'm using a Watch 5 Pro which could well be the issue.
[Samsung Galaxy Watch 4] Dante63:
Shouldn't be but you're saying complication, if you're talking about watchface complication, then yeah, that's hard-coded with stock shm, nothing can be done about them...

I showed you widgets...
[Samsung Galaxy Watch 4] shubhanshu902:
Hey. I really appreciate the work you have done with these mods.

There is just one problem I am facing. The ECG measurement seems to somehow bug the native HR measurement every 10 mins while still.

I have gone through the entire thread. One person has reported this but you said that HR 10 mins seems finicky.

But I can assure you, I have galaxy watch 4 and that option works really well. Whenever the watch doesn’t detect movement, it measures the HR every 10 mins.

Continuous measurement and manual works just fine even after using ECG.

Everytime I do an ECG, I have to restart the watch to get HR 10 option work again.

One thing I noticed is that the HR sensor works on the 10th minute but the reading is not recorded by watch. It just remains stuck and you have to restart to make it work.

Please have a look into this. I would really appreciate it.

Thanks. Great work.
[Samsung Galaxy Watch 4] Dante63:
I'm not sure how would I look into this...

I don't use HR 10 mins because it never really recorded well (I rarely use ECG) + same thing for watch3, so I always used HR continuous because it's way more accurate than the 10 mins...

If you have doubt, follow this checklist:

1. Turn off the watch, wash the back of the wash under baby warm water (you can take advantage of the wash and press the buttons also to remove any dirt, useful for the ECG button/probe) then dry it with tissue and let it rest for 30 mins on its own to dry, then try using it...

2. Restart your phone (Restart the watch if you skipped point 1), since you said sync hangs, something is occupying the connection between the phone and watch, a Restart would release it...

3. Change the straps, yes, some straps do affect readings...

4. Backup and reset the watch, restore everything and sideload mods and apps again, in rare cases, watch files get corrupted and it affects the hardware functionality, a reset would rebuild everything again...

Hopefully one of these points work for you...
[Samsung Galaxy Watch 4] finardo_ss:
Hello @Dante63,

Thank you for your efforts! Appreciated.

I accidentally installed the Phone.WearOS.SHM.MOD.1.1.1.209.dante63.apk on my Galaxy Watch 4.

Then I tried to install the correct apk, Watch.SHM.MOD.1.1.0.215.dante63.apk. I got the following message:

Failure [INSTALL_FAILED_VERSION_DOWNGRADE]

Tried to uninstall the Phone.WearOS on watch, failed to delete.

How can I solve this issue?

Thanks in advance!
[Samsung Galaxy Watch 4] Dante63:
You can uninstall the wrong mod by long pressing on it and hitting uninstall...
[Samsung Galaxy Watch 4] finardo_ss:
Tried that but nothing appears when I long press on it, uninstall option does not pop up :(
[Samsung Galaxy Watch 4] Dante63:
Take a screenshot please
[Samsung Galaxy Watch 4] finardo_ss:
Sorry for being a noob :) tried to uninstall the original one :D

Now it's ok.

Thank you!
[Samsung Galaxy Watch 4] FARSHOOD:
Hi dear dante63 i do your instruction to enable bp on my active 2 in tizen studio item 10 i can not open certificate manager the error is certificate manager is not installed or the installation path is invalid but i have installed both samsung certificate in tizen studio as you instructed. on tizen studio website i do not see download link for 4.1 version only i see 4.6 version and i use it .
[Samsung Galaxy Watch 4] Dante63:
Wrong thread, please post in the tizen thread...

If you have space in the install path or changed it, it will not work, so uninstall and reinstall it without changing anything...

If you have any further questions, please post in tizen thread as i don't wish to cause confusion in threads, I wish to keep things separate and organized...

Hope you understand if I don't respond here to you about further questions...

Thanks...
[Samsung Galaxy Watch 4] afpina:
Hello, I have the same phone and the same exact problem.

I found this post by googling.

Was there ever found a solution?
[Samsung Galaxy Watch 4] Dante63:
Encryption decryption key creation is failing on your Huawei, back that time, I didn't look at logs but someone provided me logs and the app fails to create the key on the device, crypto service related, I can't do anything about it because it calls your phone crypto service, not part of shm app...

Nevertheless, wait for me to try patching the new version as they have done some changes in encryption/decryption...

It might work for you and others (hopefully)...
[Samsung Galaxy Watch 4] afpina:
Thank you for you reply.

When is this new version expected to be available?
[Samsung Galaxy Watch 4] Dante63:
I mentioned there is no ETA...
[Samsung Galaxy Watch 4] badabing2003:
First and foremost, excellent job for this work, nothing short of perfection.

I'm new to this, just got my Watch 5 Pro, and have a silly question.

Why can't I find this "Apps on your phone" option on my watch?

almost every guide mentions it, yet it's no where to be found, has this been removed?

We got two watches (me and my son

At first his watch had this option, but then eventually he lost it too (perhaps the updates did it)

Whereas I never had it on mine.

I'm including the Play Store version and the Watch Software Version in case they are relevant.

Thanks
[Samsung Galaxy Watch 4] Dekhanesandip:
I follow all the procedure but Now I can't connect to my watch 😭😭😭 with my one plus 7t please help.

It is shown in bluetooth devices in previously connected devices
[Samsung Galaxy Watch 4] Dante63:
Check wearable and plugin permissions and whitelist them in battery optimization...

Your phone brand tend to have aggressive behavior and kills services which lead to watch being disconnected or unable to connect...
[Samsung Galaxy Watch 4] Dekhanesandip:
Thanks for your quick reply.

I just do forget previously connected watch. Then when I try to connect the watch it connected.

Simple step.

I forgot to tell that I consider reset as switch off & ON. So restarted my watch & it didn't connected. After that when watch didn't connected I done factory reset.

Now problem solved I can connect to watch but the Dante app is not there in watch.

I have used latest version of Dante app.

Should I try again or not.

Because I am very frightened when it is not connecting.

😜😜😜
[Samsung Galaxy Watch 4] Dante63:
The mod is going to reach 2 years old on December, it has been used by thousands, you're the first to come and say the mod is causing disconnections...

Before I even release latest version, it would go into alpha test (I test it), then beta (amazing people on Telegram who volunteer to test)...

If all goes well and according the plan, then I release it...

You might have decided to tap on your watch inside Bluetooth settings to connect instead of using galaxy wearable, this also would lead to watch unable to connect...
[Samsung Galaxy Watch 4] Dekhanesandip:
Thanks for your support.

I am able to add the app in watch also.

Gr888 .

You are awesome.

Will you please tell why health monitor app mod needs background activity.

Also it is grey field.

I can't uncheck it.

Will you please explain
[Samsung Galaxy Watch 4] Dante63:
Grey field...?

Unchecked it...?

Did you even compare or check the original with the mod, do you know what the mod is about or just decided to say the mod is shady grey area...?

If you're having doubts about the mod, you can compare it with the original Health Monitor, do some research or ask someone else to do it for you but don't come here saying such things to me...

Or ask in a polite way,

"Hey Dante, why does Health Monitor need background activity" and I'd answer you gladly saying "it's listening in the background for incoming watch BP or ECG, without it, BP & ECG data you record on the watch wouldn't be recieved on the phone, thus, the BP/ECG data is dropped/lost"...

You see, you can get the answer without implying anything, and I do not wish to answer any other questions if you will ask the same way...

Do remember you are on XDA community, and you should read the rules because clearly you didn't and you think that mods here are unchecked and not safe, while thanks to mods and other people who constantly contribute in checking everything, they are being tested for safety... XDA is a development community where people wish to contribute and help others and it's a big community...

Pardon me for my frustration but I hate fingers being pointed without effort of checking things yourself. After all, when you came here, you should give the benefit of the doubt while you ask all your questions politely, some devs love to contribute, so show some appreciation and respect...

Thank you and good day...
[Samsung Galaxy Watch 4] fragg3d:
I think he is only asking about why the background permission is needed (obvoius why it would) and that the button to disable that permission is "greyed out" as in can't change it, and not attempting to call into question your project's integrity.
[Samsung Galaxy Watch 4] Dante63:
Data Permissions for Samsung health...?
[Samsung Galaxy Watch 4] fragg3d:
Isn't that what's needed to send the data collected on the watch to sync with the phone app?

Not 100% sure as I have yet to try this, but I will later today.

Looks like an awesome project!

Seems like there might be a language barrier with what Dekhanesandip was asking.
[Samsung Galaxy Watch 4] Dante63:
No, that's optional...

The main background activity for shm is for watch communication to see whether there is new BP or ECG data or not...
[Samsung Galaxy Watch 4] fragg3d:
Yes, anyone should be aware of that.

I just think you misunderstood his questions & any insinuations about your project being "grey area"

Maybe they were asking about permissions on the watch?
[Samsung Galaxy Watch 4] blueyes:
I don't think they meant any disrespect. I used to build a custom ROM and have personally seen much worse. Could be a language barrier or maybe they could have worded it better but I didn't see any blatant disrespect.

On a side note... Great mod. Working perfectly on a Pixel 7 Pro! Thanks
[Samsung Galaxy Watch 4] Dante63:
Fair point, I apologize if it was a miscommunication and misunderstanding...

And I apologize for being aggressive,

And indeed, custom ROM is even more complex than modding an app...
[Samsung Galaxy Watch 4] blueyes:
I was a part of the BlissOS dev team years ago. While it could be complex, we each had our own tasks and devices to maintain I think/know the work you did to get this app to function on non Samsung phones was equally complex. I couldn't have done it. I'd say they're different but equally complex.

I'm sure I speak for everyone here that your work doesn't go unnoticed and is very much appreciated!
[Samsung Galaxy Watch 4] Dekhanesandip:
Sorry bro if I hurt you.

I always try to extend my battery life of devices that I used.

When I go for the work to restrict battery uses in background it doesn't allow.

Hence I asked you if is there any way to disable battery uses in background.

Or you can enable the toggle to enable it.

May I am not good at English as it is not my first language.

I apologise.

By the way you have done great job by enabling the functions I know how hard it is to decode & getting out something good.

Once again Sorry 😔😔😔
[Samsung Galaxy Watch 4] badabing2003:
I'm on Pixel 6, by any chance are you also having this issue?
[Samsung Galaxy Watch 4] blueyes:
"Apps On Your Phone?" This is either a Samsung or Google Play issue. Or it was removed for some reason. I have a GW4C and had it until I finally updated a few day ago.

I'll DM you if I learn anything new as this is not an issue or related to this mod.
[Samsung Galaxy Watch 4] Dante63:
No, I apologize, I misunderstood you and your question, no intentions of being bad to you... in that case, the consumption of SHM in general is minimal, it doesn't affect the battery, I'm talking about less than 1%...

I forgot to reply to you,

On my watch4, I got the new playstore update layout which doesn't have apps on phone ...

My guess is google trying to polish things and they removed the feature apps on phone (which in my opinion, very useful) 🤔...
[Samsung Galaxy Watch 4] badabing2003:
Thanks for the reply,

Indeed , very useful, I never had the chance to see which of my apps were supported, short of checking one by one.

I have seen some videos with this newer style Apps on your phone, but that too is missing from my Watch.

Hopefully this is a glitch and they turn it back on.
[Samsung Galaxy Watch 4] Dante63:
I do hope google fix and release the playstore and make it stable...
[Samsung Galaxy Watch 4] blueyes:
I know it's not the most optimal solution but you can check if an app is available by going to the play store on your phone (and install directly from your phone). Call it a temporary solution. Screenshot may not be the brightest. Blame that on adaptive brightness.
[Samsung Galaxy Watch 4] mersaultmersault:
Apologies in advance if I'm missing something and this is a foolish question, but is there a version of this for the Galaxy Watch 5?
[Samsung Galaxy Watch 4] blueyes:
This will work for the 4 or 5. They're both Android Wear OS devices and use the same apk packages. Similarly to the phone app being compatible with all Android phones made running whatever the min sdk is.
[Samsung Galaxy Watch 4] sareide:
Please could you help?

I got a new Samsung galaxy watch 5 pro and after a lot of troubles some weeks ago I successed pairing it and install SHM mod.

But some days ago a new update has been proposed for my smartwatch and I installed it. But now is cannot connect to my smartphone. (huawei p30 pro). I do not know if the smartwatch firmware update affects the connection to samsung health or to samsung galaxy wearable. I reset my smartwatch 5 pro and now i cannot pair.

So my smarthwatch seems bricked: I cannot pair it trough samsuns health

best regards

sareide
[Samsung Galaxy Watch 4] Dante63:
The mod works on Watch4 & Watch5

Check permissions of samsung health, wearable and plugin... also, whitelist the battery optimization for them..

Try and see if you still have the issue, then try the solution I proposed on this thread...
[Samsung Galaxy Watch 4] fragg3d:
Thank you very much for all your hard work on this project!

Everything seems to be working fine, BP syncing & all!

My Watch 5 Pro feels like it's even more of a Pro now thanks to you.

Kicked $5 PayPal your way.

I will be sure to checkout your Watchface's that you have made as well, I have a ton of Play Store credit so I'll probably buy a few of them.
[Samsung Galaxy Watch 4] androidnoob92:
@Dante63 thanks a lot fam! More power to you!
[Samsung Galaxy Watch 4] Dekhanesandip:
Bro I restricted background uses of battery for some apps Now I am getting 2 days of battery.

If anyone likes to increase battery life of watch then he must try this out
[Samsung Galaxy Watch 4] steve841:
So, what's the word on this mod working on the Pixel 7's .... they are only allowing 64bit apps.

Is the mod compatible?
[Samsung Galaxy Watch 4] Ham95:
Hi all and especialy Dante63,

I have applied all requested steps to phone and my galaxy watch 4 but I'm getting crazy with the last step :

when I try to pair Samsung Galaxy Health with the right features applied and so on wth the watch 4, the watch is detected and associated but the plugin installation for galaxy watch always fails around 80% and the WEAR OS constantly disconnect end ask me to reconnect to the watch which is making plugin installation failing.

Did anyone faced this issue? I have Magisk installed wuth prpoers modules and safetynet passed.

Thank you in advance for your support.

Best regards
[Samsung Galaxy Watch 4] Ham95:
Hi all and especially Dante63,

I'm getting crazy with Samsung Health application when pairing with my galaxy watch4 : I have applied all requested steps of your procedure for rooted device.

All MOD apps are installed on my galaxy j5 2016 with Lineageos 17.1 and my watch4 but each time I try to pair them with Samsung Galaxy Health, the watch is paired a first time then WEAR OS launch galaxy plufin installation which always fails because WEAR OS constantly try ro reconnect to the watch and disturb plugin installation.

Any idea?

Thank you in advance for your support
[Samsung Galaxy Watch 4] blueyes:
I just mentioned in a post the other day that it is working great on my P7P. As you can see by the attachment, 64 bit libs are present.....
[Samsung Galaxy Watch 4] Dante63:
First of all, WearOS is not for Samsung Watches (It is only used as google service in Chinese devices, as far as I recall, Galaxy wearable app needs GMS aka google services)...

So you need to install the galaxy wearable alone, and let the wearable download and install the plugin, moreover, I suggest you check all permissions are granted, and wearable and plugin are both whitelisted in battery optimization...

If you are still facing issues, make a logcat, use logcat reader from playstore (green icon with magnifier), since you have rooted device, you can easily view the logs and see what is causing the hanging/disconnection...

If you don't know how to read the logcat, screen record and start logcat at the same time and try to pair, once it fails, stop the logcat and stop the recording, send me both, the video and logcat file, I will have a look at...
[Samsung Galaxy Watch 4] JVogler:
I'm curious how often Samsung releases updates rendering this mod broken or not fully functioning?

I was going to apply the mod for my mother who could really use the BP feature (and was sold the watch from a rep that said it was capable of it).

I'm wondering if this will be a one time setup...or every few months I will have to some fixing, as I do not live all that close to her.

Thanks in advance. I did read through this thread as much as I could, but was inconclusive on this issue...sorry if it was obviously answered and I missed it.
[Samsung Galaxy Watch 4] Dante63:
Nothing breaks, you don't need to update all the time... Samsung updates bring features and optimizations...

Rest assured that your mother can use the feature till you visit her next time to update things if there are any new updates...

Do wait till tomorrow as most likely I will release the new mod which is a major update that changes the app looks and more optimized...
[Samsung Galaxy Watch 4] Martin101:
Hello and Thanks for your efforts....I was able to calibrate BP and get a fairly accurate reading on a recently purchased Samsung Watch 3 (heavily discounted at Microcenter). A minor nit-pick is that when I added a note to my measurement, the fonts were hard to see because the color was a very light grey in a white text box. This occurs for night theme as well. This may well be a Samsung code issue, but I thought I'd mention it anyway. Thanks again, and stay healthy.
[Samsung Galaxy Watch 4] Dante63:
Watch 3 is tizen... you're in wrong thread (wearos) but no worries, all that will be resolved with the new version 221...
[Samsung Galaxy Watch 4] Dante63:
Version 1.1.1.221 (phone and Watch) are live...

Get them from the google drive or Companion app...