yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Watch 4] Dante63:
That's why in the written instructions, I put the adb uninstall command for the original SHM, that way you'll never mix up between the original and the mod despite of having the M on it to distinguish between them
[Samsung Galaxy Watch 4] Neil_Armstrong_:
It works like a charm... Youtube tutorial crystal clear

That's an impressive load of work out here, the companion app, the translations, the mods and even more....

it aint much but i subs to patreon to thank ya

we need to put our dev friends comfortable and show 'em how grateful we are for their work
[Samsung Galaxy Watch 4] uicnren:
Please forgive me if this has been mentioned before. I did/do read the thread regularly, but may have missed it.

I am running Galaxy watch 5 pro, Galaxy S23 Ultra.

shm mod: Watch.SHM.MOD.1.1.0.225.dante63 as well as the watch companion app.

On phone: Phone.WearOS.SHM.MOD.1.1.3.002.dante63 as well as phone companion app.

Original SHM uninstalled on watch.

All has been working well at least until I last updated the watch to: R20XXU1ZWF4 (possibly sooner however, but I did not notice).

So basically the issue I am facing now is that the SHM mod can no longer be set as a tile, or a complication on watch faces. For example the BP and/or ECG used to be able to be set as a tile/complication, now neither can be added, and are not available as such.

Just curious if this is: 1. known. and 2 if not, any way to fix?

Thank you.
[Samsung Galaxy Watch 4] plee3:
Everything seems to work on my Watch 4 Classic (42mm) except for ECG.

I installed on the phone (Google Pixel 6a):

phone.wearos.shm.mod.11030021.dante63.apk

shm.mod.companion.40100.apk

Using SHM MOD Companion on the phone, I installed on the watch

watch.shm.mod.10102252.dante63.apk

watch.shm.mod.companion-40100.apk

For the ECG on the phone, it just pops up the button "Learn more"

Clicking this button brings up the following message:

"Record an ECG to monitor your heart health, To enable this feature, install Samsung Health Monitor on your phone."

Clicking on the "Download the app" button just brings up on the phone the Samsung Galaxy Store web page showing Samsung Health Monitor.

But SHM is already installed on the phone from SHM MOD. I am able to get blood pressure measurements (after calibration) from the watch and it syncs to the phones's SHM.

Is there something else I need to do to enable ECG reading on the watch?

I have power cycled the phone, but it still has the same problem.

Thanks for any help.
[Samsung Galaxy Watch 4] Scougar:
Wow... just been through the pain with a Customer Service rep from Samsung. First question from them should have been 'do you have a Samsung mobile phone'. But instead, they wanted me to take my brand new 4 Classic to a service center. Facepalm.

Found this (thanks XDA, yet again for being awesome). Will see if I can get this working.

Just what a massive Samsung facepalm, by them not making it openly accessible on Android devices.
[Samsung Galaxy Watch 4] plee3:
Sorry but I found the problem. I was using the original SHM tile instead of the SHM MOD on the watch. After removing the original SHM using SHM MOD Companion, I added back the ECG tile from SHM MOD and everything seems to be working now!

Thanks for this great set of tools!
[Samsung Galaxy Watch 4] Dante63:
I did not observe such behavior, did you try restarting the watch?
[Samsung Galaxy Watch 4] uicnren:
Yes, I have restarted several times, even set it up as new (factory reset).

It's really odd, the SHM is installed and works perfectly, its like its not seen by the OS as being installed. It has always worked since you released the mod, no idea why now it disappeared. Perhaps I will try setting it up as new yet again.
[Samsung Galaxy Watch 4] Dante63:
But the app works directly, just no tile or shortcut, yeah?
[Samsung Galaxy Watch 4] uicnren:
Yes, the app is installed, and works correctly. I just cannot add it as a tile or complication any more, for whatever reason. It is so much more convenient using it as a tile or having it as a complication though! (I know, first world problems).
[Samsung Galaxy Watch 4] Dante63:
you're on ui 5? if so, i will ask users with UI 5 to check that as well to see if they have the same issue...
[Samsung Galaxy Watch 4] Teknodad1974:
Same issue unable to add BP tile.
[Samsung Galaxy Watch 4] Dante63:
And @uicnren

Restore stock shm just to see if stock shm is the same, of yes, then Samsung needs to release an update and I patch it, if not, I'll investigate it...
[Samsung Galaxy Watch 4] uicnren:
Stock SHM I am able to add ECG as a tile. BP is not available in my country. So that seems to be working as expected. However, I cannot add it as a complication, though I never tried that with the stock SHM before. Also tried on a few different faces just to make sure that wasnt a limitation. Rebooted the watch again to be sure as well. Still no way to add modded SHM as a tile and/or complication.
[Samsung Galaxy Watch 4] Dante63:
I got feedback as well on this matter and I shared my theories on the group and I will share them here as well:
[Samsung Galaxy Watch 4] uicnren:
Thanks for the input. If there is anything more I can do to help, please let me know.
[Samsung Galaxy Watch 4] Dante63:
If you can pull logs, it would help greatly in identifying whether it's OS or shm needs updating, I might be able to even patch it before Samsung does...

Keep in mind for UI 5, you no longer have debug over Wi-Fi, but wireless debugging...

I'm still working on WearOS manager, so your options are pc or other tools...

For PC adb...

You will enter

adb pair ip:port code

Obviously you'd type the ip, port and pairing code and not those words...

once paired, type

adb connect ip:port

Typing the IP and port of the watch that is..

Once connected, type

adb logcat > logcat.txt

And open shm for me and close, try to add a tile and try to add the app shortcut, even if you don't see it, the watch will query and show you lost of avaliable tiles and apps, this should be logged...

Ctrl+C to stop logcat and type adb disconnect...

DM or PM the logfile, it will be in the folder of where adb.exe located and I'll have a look at it...
[Samsung Galaxy Watch 4] uicnren:
will do shortly, have to run a few errands first.
[Samsung Galaxy Watch 4] Dante63:
As suspected, Android 13 has different requirements to show tile properly, now why stock and mod are working differently, that I am not so sure, I do see error in regards to signature check but it makes no sense since I broke the package name, this signature check is unlikely to be the cause, the mod is independent and acts as a non-playstore non-samsung app...

If it's something I can patch, I will do it and let you know but unlikely to happen because I don't have the source code, thus, I can't update target SDK nor update dependencies to support Android 13 from my side, I can tweak and fiddle with what Android 11 has as an attempt to make it work on Android 13...
[Samsung Galaxy Watch 4] Teknodad1974:
Beta 3 is out........
[Samsung Galaxy Watch 4] Dante63:
It shows a message about hiding BP tile...
[Samsung Galaxy Watch 4] Teknodad1974:
Yep!
[Samsung Galaxy Watch 4] micfogas:
The June 23rd update seems to be directed at Samsung health. Not sure if it's the integration with SH or SHM itself. If ECG is tileable on original SHM then they must have snuck something in on the code you replace. You just redid the code on it yah? Hopefully it's not a lot of code to comb through.

I have an alternate theory. Since the galaxy watch 4 June 23, 2023 update says they removed the BP tile, which is a function of SHM, they may have renamed or moved or changed how they expose the tile. I would also assume that they didn't do it to defeat your modded version, so it may be possible to modify the code to expose the BP tile from the previous version, and insert it, giving the tile back again. Idk the code. But just a thought.

Btw I've been using your modded app since I got my watch on release day. Although I'm underwhelmed by the watch features itself, your SHM makes it more useful for me since the ECG is nice to let me check it when my heart is feeling a certain way, lets me visualize what's going on at least. Thank you for your work on this.
[Samsung Galaxy Watch 4] Dante63:
It is a possibility to hide the tile, considering I didn't touch the tile name, it may hide both, mod and stock tile since they both have the same name...

I'll experiment and see how it goes...
[Samsung Galaxy Watch 4] micfogas:
I wish I could be of more assistance. I'm willing to quickly test builds for you if needed. I forgot to mention though it may not be necessary to, but I'm using the wearos build on galaxy watch 4 and pixel 6 pro. If I can be of some help, I'll join on telegram (I should do that anyway) which will make things easier.

EDIT: I should also mention that I was only going off the information someone else provided and my June 23 update is installing right now. I'll install your SHM as soon as it's done to verify that I have the same issue.
[Samsung Galaxy Watch 4] micfogas:
Sorry I'm only now getting back to you. I completely forgot. It's been a busy week... So I updated the companion, then installed the latest SHM MOD version through the companion app (normally just use bugjaeger but I'm lazy today? Idk 😂)

The ECG tile stayed but I had that there already. I was able to add the BP tile (need to recalibrate but it's there). I'll try removing the ECG tile and see if I can add it back on, a little later. I do use the ECG quite a bit.

Since the BP tile showed up and could be added for me, I'm not sure what issue the one guy was having... Tho he did say ECG. I'll play around a little more, but if the guy having the issue replies to me, maybe we can figure it out.

So to confirm, using latest wearos update on galaxy watch 4 with SHM MOD latest version has no problem with tile. I haven't checked complications yet.
[Samsung Galaxy Watch 4] micfogas:
So they are moving to minSdkVersion 28, are they targeting 31 maybe? I don't know the min/max requirements on those... I know that new apps have to target at least 31 now, but it's not a new app, so idk

EDIT: here we go. So in August, new apps and updates apps in play store will have to target sdk 33+. Currently it's 31+.
[Samsung Galaxy Watch 4] Dante63:
Upside down cake cracked me up...

I wonder if memes will be made, when I saw the name I thought about the memes of upside-down Australia lol...

Cheers all...
[Samsung Galaxy Watch 4] qwikyss:
Hi Dude. I have bought a GW5 Pro. Tried your method. Used the file which ends with 225 for watch and 002 for phone. Tried multiple times. But still my phone is not able to find my watch from SHM modded app. Not sure what the problem is. If I open the watch app, it shows ecg/bp. But it is asking me to download the app where as the app in the phone is showing my watch over there. It's asking me to retry. But no luck. Please help. Used debugger app to side load the watch app via wifi debugging method. Appreciate your efforts.
[Samsung Galaxy Watch 4] devaponnadsm:
Is your Watch connected to phone via Bluetooth?
[Samsung Galaxy Watch 4] Dante63:
I was going to ask the same thing, from screenshot, I don't see Bluetooth connection...
[Samsung Galaxy Watch 4] Sahinoglu:
I'm not using a Samsung phone and the apk was not working on the phone, including modded apks. But with the last update it started working perfectly. Thank you for this @Dante63

But I have a problem with sync. I couldn't understand much from the youtube video. I don't speak English and the video translation is not good at all :(

My question is, Do you have a written source to enable sync?
[Samsung Galaxy Watch 4] Dante63:
Use shm mod companion
[Samsung Galaxy Watch 4] akzzy6:
@Dante63 Do you have any plans to port google Phone APK for Samsung watches. It need a patch to work properly, now its showing emergency call instead of caller ID.
[Samsung Galaxy Watch 4] Dante63:
Most apps have signature verification, if the app has dependency on other apps or server/cloud communication or even phone dialer and apps, it will not work, you can see why I made phone mod and watch mod and not just one of them and shm has no dependencies or cloud communication...

So sadly, there is nothing I can do about the dialer, unless you can tell me that it's completely independent, then I'll give it a go...
[Samsung Galaxy Watch 4] akzzy6:
Im not sure about the dependencies and server communication,
[Samsung Galaxy Watch 4] peppe1971:
Salve, io possiedo un redmi note 11 pro come posso fare a installare galaxy health monitor? Grazie
[Samsung Galaxy Watch 4] Dante63:
guarda il video tutorial, è breve e passo dopo passo, dovresti essere in grado di seguire facilmente e avere tutto funzionante alla fine

~~~

watch the video tutorial, it's short and step by step, you should be able to easily follow and have everything working at the end
[Samsung Galaxy Watch 4] Sheahasu:
Hi, Dante. I'm unsure if this is the place to ask my question. If not, please redirect me.

I have been trying mod the Samsung Health Monitor so that my new Galaxy 5 watch will record my EGC and BP on my Pixel 5 phone. Here is a link to the article about your mod that I have been using: https://www.xda-developers.com/how-to-enable-ecg-blood-pressure-monitoring-samsung-galaxy-watch-4/

I got the phone part just fine. However, I'm having trouble with the watch part. I get as far as step 6 and then it falls apart. Here is what it says to do:

6. Now, set your watch aside, type the following ADB command, and hit Enter to install the modded Samsung Health Monitor app on the watch. For this command to work as intended, you need to have the modded Samsung Health Monitor APK in the same directory as the file labeled cmd-here, i.e., the folder in which you installed ADB. Also, replace the X in the command mentioned below with the current version number of the APK.adb -s "IP address" install Watch.SHM.MOD.X.X.X.XXX.dante63.apk

As far as I can tell, I have put all the mod files in one directory. Here's a screenshot of where I have my files saved :

However, when I enter the install watch line in the cmd window, I get the following message: \

I feel like I'm missing something here. Are my files saved wrong? Am I mistyping something in the command? I've been working on this for hours and it didn't seem like it should be this difficult.
[Samsung Galaxy Watch 4] Dante63:
Because the apk is not in the same path if adb.exe, it's inside another folder, you either move the apk in the same folder of adb.exe or after typing the command, instead if typing the apk name, drag and drop the apk into the cmd, cmd will automatically insert the full path of the apk...

Ps. I do encourage you to use shm mod companion, all-in-one tool for everything about shm mod...
[Samsung Galaxy Watch 4] Sheahasu:
I tried the shm mod companion--I watched your YouTube about it (

) and downloaded the Google link However, again, I must be missing something as I can't find an installer of any kind. So I don't know how to get to it. I'm feeling very stupid as I know this shouldn't be that hard, but for some reason, my brain just isn't wrapping around all this.
[Samsung Galaxy Watch 4] Sheahasu:
I am not finding anything in the download listed as apk except an entire zip file. Do I need to put ALL the contents of that, with every file open and individually loaded in the cmd-here file folder? You said I had the apk file in a separate folder within the adb folder, but I don't see anything from among those 100 or so files in the apk zip folder that is marked apk. Is there one specific one that needs to be there, or all of them?

Sorry for all the questions. I'm usually very good with this sort of thing, but I just seem to be missing something.
[Samsung Galaxy Watch 4] Dante63:
This is the apk file I'm speaking of...

You have zipped and downloaded the whole drive content "SHM WearOS", you can just navigate through the folder and locate the file...

Or open the companion on your phone and download the watch apk, it's better to watch the tutorial video:
[Samsung Galaxy Watch 4] Teknodad1974:
New Update July 20th
[Samsung Galaxy Watch 4] Sheahasu:
I may have already sent this, bu

I thought I replied to this, but I'm not seeing it show up. So I'm replying again. I was able to download a file manager and get to the root directory files on my phone. However, I can't seem to get the phone mod companion file into the root files. But I'm working on it! I tried using the file manager you have, but it can't be installed on my Pixel 5 phone.
[Samsung Galaxy Watch 4] Dante63:
I'll dm you
[Samsung Galaxy Watch 4] fabioreis1979:
I wanna just thank you for your work, very easy to do. Thanks
[Samsung Galaxy Watch 4] CertifiedWeeb:
Hey @Dante63, a new version of SHM has released today with new features. Just a heads up!

Enjoying the work thus far.
[Samsung Galaxy Watch 4] Dante63:
Well check that soon... but if you're talking about 1.1.4 002, that is on standby...
[Samsung Galaxy Watch 4] CertifiedWeeb:
I think the new app version is 1.2.1.009
[Samsung Galaxy Watch 4] devaponnadsm:
Yes, a new version has released which mainly added Automatic Irregular Heart Rhythm Detection feature. Is it possible to MOD this new version?

I have one more doubt. Is there any way to keep the SHM data? I lose all my ECGs after changing my ROM. I tried using SwiftBackup to restore app data, but it doesn't work. BP is synced to Samsung Health app, so no issues. BP and ECG gets deleted from SHM app.
[Samsung Galaxy Watch 4] Dante63:
No, it will be overwritten...

And I'm working on patching it, Samsung literally said 10th of August they will release this shm and they released it earlier...
[Samsung Galaxy Watch 4] DinisC:
Hi, i am thinking on buying a Samsung watch 6 but i own a pixel 7 and duo the restrictions i am unsure. Do you think this will be also possible to do for watch 6?

And with this method, i could for example do some training and have all the functionality?

Thank you for your work on this

Best Regards,

Dinis
[Samsung Galaxy Watch 4] Dante63:
I already have my hands on shm 1.2.1.009 which has watch6 support, I'm working on it...
[Samsung Galaxy Watch 4] Teknodad1974:
I think I'm going to trade in my 4 Classic for a 6 Classic 47mm. 200.00 trade in value. Why not I have a 5 pro.
[Samsung Galaxy Watch 4] scottlam1:
I am thinking of preordering a galaxy 6 classic with this app allow me to run the ecg and BP on a OnePlus 8t or a OnePlus 11 I have both phones but I prefer my 8t any comments on issue are welcome thank you very much
[Samsung Galaxy Watch 4] Dante63:
Ok, everyone, you know the drill by now,

I started looking into phone shm (version 1.2.1.009), and here is what what I observed on UI:

* MY - Malaysia - translations added finally...

- The following countries BP and ECG pdf files were removed..

* United Arab Emirates (AE), Azerbaijan (AZ), Georgia (GE), Honk Kong (HK), Indonesia (ID), Unknown (XL)...

They are being updated to include the new Irregular Heart Rhythm feature...

- BP and ECG PDFs added:

* Honduras (HN), Nicaragua (NI), El Salvador (SV) , Venezuela (VE)

This is known as support added...

* Irregular heart rhythm notification message where watch takes 5 ECG measurements to detect any issues but this needs: Samsung Galaxy Watch4 or higher with Wear OS 4.0 or higher...

* Some new images added and Layout for the new feature added...

As for the functionality (Code), here is what I observed:

* JNI lib has been updated, might be more native functions injected (patched)...

* Watch6 already added in this version, manifest shows watch6 (993)...

* Smartswitchfiles <- backup added <- isValidSignature <- this is in backup, perhaps mod can do backup if this is patched correctly!

* The new feature Irregular Heart Rhythm is region locked (IHRN_SUPPORTED_COUNTRIES): United States (US),South Korea (KR),United Arab Emirates (AE),Indonesia (ID),Hong Kong (HK),Russia (RU),Georgia (GE),Azerbaijan (AZ),Panama (PA),Guatemala (GT),Dominican Republic (DO),Costa Rica (CR),Ecuador (EC),Argentina (AR)

* minSDK is set to 28 (Android 9), Android 7 and 8 have been Axed, the cause:

*** the new feature workmanger with notification channel requires android 9 and above...

*** the new backup feature also requires android 9 and above as well...

* Taiwan (TW) has BP and ECG (i don't know why i feel it already did have it?)...

* ECG logic has been completely re-written to support IHRN...

It was a wild dive into the code, will it work...? I hope so...

MOD Status:

* 1.1.4.002 Tizen patch is complete (not tested nor released)...

* 1.2.1.009 Tizen patch is complete (not tested nor released)...

WearOS Pending, work in progress...

I will not release the phone WearOS apk till I analyze and patch the watch shm 1.2.1.009 (pulled by one of the amazing telegram group members from their one ui beta)...

Stay tuned for a post about what's new in watch shm 1.2.1.009...

Cheers all...
[Samsung Galaxy Watch 4] badabing2003:
Somehow Galaxy Wearable app was removed / uninstalled from my Pixel phone and I noticed that the watch was disconnected.

I reinstalled it and am having an issue re-establishing a pairing / connection with the Galaxy wearable.

If I attempt to connect, it goes all the way to 80 - 87 % of Getting your watch ready setup and then it hangs at that point.

I've been at this for days trying to reconnect without having to wipe, the percent of progress varies anywhere from 80 to 87 %

While it's doing that, the watch appears to be connected (at least the top icon suggests that)

but as soon as that progress times out, it's disconnected.

I can reconnect via bluetooth and get phone calls on the watch, but I don't get notifications or any of the wearable features.

I really want to avoid a wipe.

And to make matters worse, and I have no idea what triggers this, often if I go to settings on the watch, it dismisses and goes back to main screen, this is not always the case, but happens often, so if I have to enable adb, I won't get enough time to click on all the options to reach enabling adb before the watch decides to dismiss the window.

For now I have kept adb enabled to avoid running into that issue, the problem is not consistent.

A reboot might help.

Any feedback is appreciated.

PS: I have all the mods from this thread applied.

Galaxy Watch 5 Pro
[Samsung Galaxy Watch 4] scottlam1:
My tic watch 3 would do that exact thing if I had to use the adb commands to save watch settings when ever I had to wipe my phone it would hang but the wear os app would work after I killed it and went back in then I could set my notifications and tilt to wake things like that bearing a Samsung watch it may be different for you
[Samsung Galaxy Watch 4] M.B.V.:
Thank you Dante63 for your constant work, you seem to be really dedicated to the cause. It's dumb that Samsung locked two important features to most users, especially when you consider older people or those with congenital defects might've benefited from it.

That aside I came here to ask, will this work in 2023 for a Watch4 without rooting the phone/watch? As to not void the warranty or brick it. I wanted to purchase one since my coworker put me onto it, I wanna get crazy with the face designer apps...

I'm coming from this 2-y.o. video, the guy says he has followed your thread. Everything was done painlessly with one app from the Play Store. Hopefully it's still like this.

Edit: just CTRL+F'd through the OP and it says no root required, that's 1 thing out of 2 already which is good.
[Samsung Galaxy Watch 4] badabing2003:
Thanks for the suggestion,

Unfortunately that trick is not working on Samsung Watch.

It would want to setup and watch again and wants to scan for the watch.
[Samsung Galaxy Watch 4] Pepousek67:
Thank you very much for my Galaxy 5 pro + Nothing1 I can finally measure blood pressure and EKG! Great work.

Only the tiles don't work in the watch, or when I click on them, the web page with the application is displayed?

Many thanks again!!