yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Watch 4] razor26:
Hi, I haven't taken any ECG measurement for a while. Just now I tried to, but the graph during measurement becomes erratic that it stops measuring halfway. Is there a fix or maybe this is a hardware problem? Seems fine weeks ago.

Edit : Works fine now. I don't know what happened but watch battery was 9% when I took ECG measurement. I just charge it to 99% then tried measuring again. Back to normal
[Samsung Galaxy Watch 4] snp4000:
I tried this on my Galaxy watch 4 and it worked successfully.. Thank You..
[Samsung Galaxy Watch 4] chainbolt:
A very big thanks to Dante. After running into some problems (which were all my own fault) both mods are working. ECG and BP are now available (location Japan), and both are syncing with SHealth on my GW4. I put something into your coffee jar.
[Samsung Galaxy Watch 4] M Diddy:
Hi @Dante63. Quick question. Are there issues with SHM 1.1.1.157 with Android 12? Not sure what happened, but, when I tried to install it on my upgraded Pixel 4XL the app no longer opens. I get a quick black screen, and then back to the launcher.

I tried unintalling and going back to 153, but, I'm now seeing the same behavior with that version as well, so, I can no longer open the app.

Any ideas?
[Samsung Galaxy Watch 4] Dante63:
Give the original SHM a try just to see whether it behaves the same or not...
[Samsung Galaxy Watch 4] M Diddy:
@Dante63 This was my fault. I was installing the original SHM, not your modded one from root. All good now.
[Samsung Galaxy Watch 4] Dante63:
Well I'm glad it worked, I was afraid it was the mod and original, in other words, afraid that shm wouldn't work at all for you, we all make mistakes so it's fine
[Samsung Galaxy Watch 4] mprunty:
The steps were straight forward and worked flawlessly. Got my Galaxy Watch 4 paired with the Pixel 6 Pro
[Samsung Galaxy Watch 4] 73sydney:
Got it all working in record time due to @Dante63 's new instructions and the far easier path overall

Much easier than my Active 2

Overall nice to have working Google Pay so i dont have to fudge around with Samsung Pay, and also nice to have Google Play Store access....
[Samsung Galaxy Watch 4] Scottyboy256:
Am I missing something? I cannot find anywhere to download the files from. I think I need to get my eyes tested Lol
[Samsung Galaxy Watch 4] lil_kujo:
Click where it says Google drive-wearos
[Samsung Galaxy Watch 4] Scottyboy256:
I really do need glasses! I was getting frustrated trying to find them. Hahaha. I'm such a wally! Thank you!
[Samsung Galaxy Watch 4] iminhell2:
Forgive me for not reading through all the pages..

I can get about half way through getting this to work. Problem I have is with the Samsung Health Monitor app. For the life of me I can't get the Data -> Samsung Health -> Permissions to come up with anything but the default US ECG option.

I tried the auto method through ABD and WiFi. But somewhere in there the connection is refused. The first step, typing ip address in works. Then the next step fails. I'm not sure why.

I think that's the only hangup I have to get this working.

So one error I did find is that if I drap/drop the .APK it will put the entire file path in quotation marks. Removed those and got past that step. But nothing changed after that; no option other than the same ECG option.

OK, I got it.

I didn't realize I had to use the other Health Monitor app.
[Samsung Galaxy Watch 4] Dante63:
Well glad you found your way through
[Samsung Galaxy Watch 4] sckhar:
I liked my Active2 so much and with your mod it worked so nicely that I bought a Watch4 for me and gave the Active2 for my mom so she can have all the health monitoring and even more importantly, fall detection.

It should arrive tomorrow and I'm looking forward to install this there :D

Just by checking the tutorial. it's even easier since it has no need to make certificates like on the Tizen OS, good job Dante, you're the man!
[Samsung Galaxy Watch 4] cybermessiah:
still waiting...no luck yet
[Samsung Galaxy Watch 4] roberttaiwan:
no :( I emailed Samsung Taiwan and they said government hasn't approved it yet. So need to wait
[Samsung Galaxy Watch 4] Skinty:
Hey mate @Deanos_T

Also from SA, I've followed everything in this thread and have managed to get BP & ECG working with SHM. But i'm facing the same issue you were, the last thing I need to get working is Sp02

I'm on latest everything (had updated before I knew I needed to mod) and have set my CSC and MCC to US, still no luck. Is yours still working?
[Samsung Galaxy Watch 4] Deanos_T:
Did you read the whole message above?

Did you change country to US?
[Samsung Galaxy Watch 4] Skinty:
@Deanos_T yep, I mentioned I changed the CSC & MCC to US. Are you running the latest versions and it's still working?
[Samsung Galaxy Watch 4] Deanos_T:
Was all still working till the watch packed in on Sunday.

All updates done.

Watch now in for repairs.

Looks to be a common battery over heating issue.
[Samsung Galaxy Watch 4] Skinty:
Ooooh ****, that sucks! Ok cool, well thanks for confirming - i'll keep messing with it
[Samsung Galaxy Watch 4] Deanos_T:
If it's still not working, just start from the begining again and make sure you go through each and every step...

You may have missed something simple, yet vital for everything to work.
[Samsung Galaxy Watch 4] jtOttawa:
I see Fitbit has added ECG to its Charge 5 in Canada. Honestly, it really seems like Samsung isn't even trying: https://mobilesyrup.com/2021/11/09/fitbit-charge-5-ecg-blood-glucose-app/
[Samsung Galaxy Watch 4] sckhar:
Just an update: I got my watch4 today, followed the tutorial and it worked perfectly and was super easy as I expected it would be :)

Thanks again Dante.
[Samsung Galaxy Watch 4] thelee.fda:
Ciao
[Samsung Galaxy Watch 4] Dante63:
Ok, so I see version 169, I will work on it and I will update the post telling you what is new:

What's new:

CODE TW, Taiwan support added...

w673dp added, max width of 200 dip...

version 169 is the version they started to obscure the code, I'll have to map things now to know what are the new files and lines and functions, etc, I hope I won't need large cup of coffee lol...

they have done massive change to the code structure and where functions were called before...

Taiwan has only ECG, no BP...

I am done from going through everything really fast, so conclusion is:

As overall, I see a lot of conditions on TW which is Taiwan, so if the MOD doesn't work in Taiwan, report it to me...

Locations of code being called has changed and a lot of the code structure has changed aside from seeing obscured functions being called, so even if i managed to create the MOD, if you face issues, report it to me...

My plan is to release it as a beta, I won't release it everyone on XDA as I know some people will host it on their own threads and cloud storage (sadly), so when beta is ready, I will announce it and I will pick a small group and expand slowly, if things are stable, then I roll it out...
[Samsung Galaxy Watch 4] 73sydney:
/me sends @Dante63 a bottomless pot of coffee .... :)

As i always say, youre doing the lord's work....
[Samsung Galaxy Watch 4] AjCaputo101:
It seems like it update time again for SHM. Version number 1.1.169. Seen it in the galaxy store updates today. Got any info on it yet sir?
[Samsung Galaxy Watch 4] Dante63:
look two posts back sir, lol
[Samsung Galaxy Watch 4] Exzyle:
I searched the thread but didn't get a clear answer. Wondering if this will allow me to change the region of my Chinese Galaxy Watch4 to another country to access the play store apps. Chinese version has the Google store cut out, so mostly looking for a way to unlock the full functionality of the device.
[Samsung Galaxy Watch 4] Dante63:
This is SHM MOD, nothing related to region change or anything related to Google services
[Samsung Galaxy Watch 4] jtOttawa:
Dayum! What is even the point of a WearOS watch without the Play store?? 😐
[Samsung Galaxy Watch 4] Dante63:
Well China has the great firewall and pretty much they have everything of their own in terms of services and apps and etc, nothing from outside allowed...
[Samsung Galaxy Watch 4] Dante63:
UPDATE:

Rolling-out Watch4 SHM MOD 185 soon, seems stable, passed alpha and in beta stage and so far all good...

Phone SHM MOD will take time, still alpha stage, didn't reach beta yet...
[Samsung Galaxy Watch 4] AjCaputo101:
Thank you for putting the time into this as always. I look forward to when you're able to upload a stable MOD. Good luck with it and I wish you the best coffee one can get
[Samsung Galaxy Watch 4] Dante63:
Alpha test stage completed...

Beta testing is now active...

I know, I know, you're probably wondering who made such beautiful awful logo with beautiful huge awful name...

I am too wondering that, not sure who, but I only did that so no one leaks beta app as official, I mean whoever did that design, not me obviously...

Now excuse me, it's 7 am, and I have been working on this almost 12 hours straight...

Night all 😁 lol...
[Samsung Galaxy Watch 4] cybermessiah:
Looking forwards to your shm 167 beta mod release as I am on a Taiwan version watch. Please let me know when u release it and how to get the version. Your hard work and dedication is super appreciated by all here suffering from a lack of the health features promised by Samsung.
[Samsung Galaxy Watch 4] Dante63:
In need of beta testers SHM 169
[Samsung Galaxy Watch 4] benjat:
Tell me what to do
[Samsung Galaxy Watch 4] Dante63:
I'll DM you the link
[Samsung Galaxy Watch 4] vborets:
I`m ready for test
[Samsung Galaxy Watch 4] Koteza:
From SA too , I just did what @Deanos_T suggested with changing codes to US . I then force stopped , cleared cache , open Samsung health and it's working . Thanks @Dante63 and @Deanos_T
[Samsung Galaxy Watch 4] criminalzen:
i can test as well... usa location
[Samsung Galaxy Watch 4] xtravbx:
I'd like to try the alpha/beta.

I'm on pixel 6 pro with a Watch 4.

Thanks for your work!
[Samsung Galaxy Watch 4] Deanos_T:
Send it through...

Should be getting my watch back from repairs early next week and I'll test it for you.

Concidering they probably replaced the PCB...
[Samsung Galaxy Watch 4] Dante63:
I'll PM you both

I don't think next week would do because beta is almost over with 14 devices working flawlessly, target is set to 20 device...
[Samsung Galaxy Watch 4] ketan99:
I like to try the beta...

I have one plus 7 pro. Android 10
[Samsung Galaxy Watch 4] Shane Pitman:
I should have my LTE Galaxy Watch 4 Classic tomorrow. This is the first thing I'm doing when I get it!
[Samsung Galaxy Watch 4] vulcanodong:
Hi, Dante63

It seems that if I delete the first ECG report on the phone and restart the watch.

The SHM can upload new report to the phone. Is this the fix for sync?

One more thing, does SHM Multilanguage includes Chinese or Korean?

I cannot select the language on phone or watch. :oops:
[Samsung Galaxy Watch 4] Dante63:
Not sure what you mean by ECG sync, SHM has only 1 write permission which is blood pressure, nothing related to sync...

I don't have the watch4 yet but changing the langauge of the whole watch itself and phone as well will change the application photo, I will share the phone app screenshots, I've changed the my phone language to show you...

Korean:

Chinese:
[Samsung Galaxy Watch 4] Dante63:
Patched SHM 153, removed the dialog to sync SHM with Samsung Health since the link is broken, it's confusing some people...

Another good update is that you can hide original SHM of the watch by connecting the watch to shell and typing pm disable-user --user 0 com.samsung.android.shealthmonitor and exiting...

Don't forget to disable the watch ADB...
[Samsung Galaxy Watch 4] vulcanodong:
Thanks for you explain.

But could you take a min on my screen recording?

The language still not matching.
[Samsung Galaxy Watch 4] Dante63:
Sorry, I forgot to say that Chinese Simplified is not listed in SHM, Traditional should work...
[Samsung Galaxy Watch 4] etere1964:
Dante63 , thank you for patch and for your incredible work !!!

A question : To apply the change (Patched SHM 153 25/08/2021) , just reinstall apk on the phone?

Ciao
[Samsung Galaxy Watch 4] roerisi:
My dear friend that's how it works for me ! adb shell pm disable-user --user 0 com.samsung.android.shealthmonitor
[Samsung Galaxy Watch 4] Dante63:
I am aware of that, hence I said connecting to watch to shell and typing the command then exit...

I wrote it on the first page more detailed and inserted in the English instructions, I will update the rest of languages later...

But as an update in threads I don't type details, since I am free a bit I will explain what I meant, for the future that is if i do update as a comment, so I wrote for those who know connecting is adb connect and shell is adb shell then of course they type the command I've written, exit means typing exit and Disconnect is basically adb disconnect...

Nevertheless, thank you for your effort and care about me whether I noticed or not or I made a mistake or not, highly appreciated...
[Samsung Galaxy Watch 4] Jogi3778:
@Dante63

Fantastic job,

works perfect with my pixel 5 (android 12 beta 4)
[Samsung Galaxy Watch 4] Sidner:
Hey @Dante63 it works amazingly well!! Thank you so much for all the work!! Love it!

FYI: Working on a Galaxy Watch 4, Oneplus 9 Pro in Portugal
[Samsung Galaxy Watch 4] drivel2787:
I followed the instructions and installed the Watch 4 .apk on the phone, and pushed the file to the watch as instructed. I had to do the following:

1. start the ADB Server by killing it first to be safe no adb instance is running:

adb kill-server

then type:

adb start-server

Results:

* daemon not running; starting now at tcp : port

* daemon started successfully

2. Connect to the watch, replace IP:PORT with the number you got from the Watch4, type:

adb connect IP:PORT

On your watch, allow the connection from the computer...

Results:

connected to IP : PORT

3. Let's hide the original SHM on the Watch4 (SHM may be enabled if it receives an update), fire we enter shell mode by typing:

adb shell

then type:

pm disable-user --user 0 com.samsung.android.shealthmonitor

finally type:

exit

Results:

Success

4. Install MOD SHM, type (Replace the X with the version or simply make sure you put the name of the apk you are installing to the watch):

adb -s IP:PORT install Watch4.SHM.MOD.X.X.X.XXX.apk

Results:

Performing Streamed Install

Success

5. Disconnect from ADB:

adb disconnect

I see the ECG but I do not see the blood pressure. I am in the US and it shows "no compatible watch found to use this feature, you need a galaxy watch 4 or later model that was released in a contry where this feature has been approved."

Any ideas?
[Samsung Galaxy Watch 4] Dante63:
Yes, you're probably using the original SHM, you need to use the MOD on the phone and on the watch, never use the original SHM...
[Samsung Galaxy Watch 4] drivel2787:
I'm using the mod on the watch it has an "M" on it. For the phone what is required for the mod SHM? Do I install that on my phone also that same apk? I assume not because the one is for the watch and then the one that says "Phone.Wear.OS. with dante63.apk in it (your xda name) would be the one on the phone correct? If so that's exactly what I did and I'm using. I follow what the video said. I disabled the old SHealth on the watch so I didn't confuse which one to use (per your instructions on page #1) so it doesn't show up in apps on the watch itself.
[Samsung Galaxy Watch 4] Dante63:
Yes the watch app has M on it and the phone app has the wearos logo, having those two would basically allow you to use ECG and BP, and that has been reported to me by almost all testers, I still don't have the watch yet, still waiting for it to arrive on 10th September...

I'd appreciate if you could send a picture or a video of your issue, hopefully I understand the issue you're having and hopefully solve it...
[Samsung Galaxy Watch 4] melkhior1985:
Recieved today. Works like a charm.

Thank you very much!
[Samsung Galaxy Watch 4] shaggyskunk:
Any news regarding Samsung's inability to get their devices certified by Health Canada?
[Samsung Galaxy Watch 4] jetstreamblue:
I'm in Canada and gave up waiting long ago since my Active 2. Just use the mods to get the features and don't worry about official certification.
[Samsung Galaxy Watch 4] drivel2787:
I can send a picture or video in a bit but I installed both .apk's the one to the watch (which shows it has an M). The other is the OS app for the phone and ECG works fine but BP says not eligible and not compatible device.
[Samsung Galaxy Watch 4] luculuc:
Hello, thanks so much, Samsung health monitor now works flawlessly on my watch 4. But I'm in a country where the body composition is not an option on the Samsung health app. So I'm trying to find an apk to install on my watch that would let me do that. Any idea how? A modded app would be needed? Thanks a lot.
[Samsung Galaxy Watch 4] alejandro.calderonbenito:
Hello, one from Spain who would not mind trying the Beta.. Oppo Finds x3 pro - Watch 4 44mm Bt.
[Samsung Galaxy Watch 4] Dante63:
I'll PM you the link both of you

Samsung health is a core application, modding it will break most of its functionalities, mainly the sync to cloud of all data, so in this case, your only choice is changing csc which as far as I know, still in testing stage
[Samsung Galaxy Watch 4] jstockda:
Happy to help with beta
[Samsung Galaxy Watch 4] Dante63:
I'll send you a link
[Samsung Galaxy Watch 4] Dante63:
I'm closing the beta now as I have enough testers and so far, the MOD is very stable, running smoothly after all reported problems were patched...

Expect the official MOD to drop tomorrow Sunday, cheers all 😊
[Samsung Galaxy Watch 4] Sky33:
UPDATE: I fixed it. All good

Hi, sorry I am stuck at this line. Tried the manual tooand result is still the same.

Any help please? Thanks!
[Samsung Galaxy Watch 4] kprimm83:
Hello,

I went through the instructions but now I just have one ECG icon with the M at the top, not the original and it keeps telling me to "Download the app" when I click the icon wanting to redirect me to the galaxy store, back to the same issue except now my watch keeps saying "watch cooling". Like its overheating?

Also goes into "airplane mode" after the cooling message and wont let me click any icons or do anything...

update: got it working but still a cooling error every once in a while.
[Samsung Galaxy Watch 4] Dante63:
You did turn off the adb ?

If yes, tried restart?

If yes, I suggest you backup and reset the watch...

And lastly, mod is two parts, phone and watch but I think you got it
[Samsung Galaxy Watch 4] luculuc:
Thank you. Well indeed I could not find any reliable way to change the watch csc. I was hoping that a different app (SH that would come in addition of the one in the watch or another one) would use this ability to measure body composition. Thank you anyway!
[Samsung Galaxy Watch 4] kprimm83:
It works now, but to get it to work I have to open the Samsung app on my phone . Also there is still only one ECG icon on the watch, and it shows the m on top. Isnt there supposed to be the other ECG icon w/o the m?

Thanks for the reply,

Kerry
[Samsung Galaxy Watch 4] Dante63:
Screenshot or short video as I'm not sure what you're talking about...

SHM mod has both BP and ECG, the MOD itself has a WearOS logo on the phone SHM icon and the letter M on the watch4 SHM icon alongside ECG and BP icons having that M
[Samsung Galaxy Watch 4] luculuc:
No way to add the body composition feature to the SHM mod app as I read that this is missing in many countries... ?
[Samsung Galaxy Watch 4] Dante63:
Beta Testing - Device check list

* POCO F2 Pro (pass)

* Redmi K30 Pro (pass)

* galaxy s10+ (pass)

* Note 20 ultra (pass)

* Xiaomi Mi9T (pass)

* A12 (pass)

* Galaxy A72 (pass)

* LG G8S G810eaw (pass)

* Motorola E7 (pass)

* pixel 6 (pass)

* Redmi Note 9S (pass)

* S21 Ultra (pass)

* Sony Xperia 1 III (pass)

* Galaxy A71 (pass)

* Galaxy Note 10+ (pass)

* Galaxy Note 8 (pass)

* Poco F1 (pass)

* Galaxy A31 (pass)

Beta version converted to Official Version and Released,

Thank you for being Patient and Thank you all Beta Testers...

Have a blessed Day,

Any issues, please report it and write Details, it would be great if you can provide a screenshot or video of where the error is occurring...
[Samsung Galaxy Watch 4] Dante63:
SHM MOD has nothing to do with body composition of any health component, I did not add BP or ECG in the MOD, I simply MODIFIED the code to enable BP & ECG in all regions and on all devices with other restrictions removed...

Body composition is part of Samsung Health, a component, a feature in there that is controlled by the region/CSC of the watch and again, it is not possible to MOD it as Samsung Health is a core application and modifying it will break many vital services, such as losing cloud backup completely and all of your health data is stored on the phone and is lost when you uninstall or reset your phone since the data can't be backed up locally or cloud, aside that, many applications that require signature verification will fail to communicate with Samsung Health...

So conclusion, Samsung Health restrictions solution is CSC Change for now and the CSC change is still in testing phase...
[Samsung Galaxy Watch 4] luculuc:
Thank you. That makes more sense now! Last far fetched idea but probably difficult to achieve: any way to clone the samsung health wear os app apk, so it will be recognized as a totally different app on the watch but still with the features working?
[Samsung Galaxy Watch 4] Dante63:
Having Samsung Health clone is similar to having a MOD, it will have a broken signature which breaks the communication, you'll end up with a non-functional SH
[Samsung Galaxy Watch 4] Shredz98:
Can confirm this works on OnePlus 8 Pro, the newest version, all I did was update using the auto mod... You rock dante!
[Samsung Galaxy Watch 4] dmoney98:
Sorry to be a newbie... but what do you mean by "auto mod"?
[Samsung Galaxy Watch 4] Dante63:
I think he's referring to the auto adb install that I created 🤔, I might be wrong though
[Samsung Galaxy Watch 4] IRONLUNG:
sorry for the newbie questions-what is the mod just released? im still going over the videos to get the confidence to do the initial mod. 😂

can the primary mod be done via mobile? maybe i missed it. tyvm
[Samsung Galaxy Watch 4] Dante63:
Could you rephrase the question because I don't think I understood your concern
[Samsung Galaxy Watch 4] IRONLUNG:
1. is the shm mod done on pc? or can you do it on mobile?

2. what is the mod/update(?) that you just released today?

3. also, i dont see the ADB file in your my drive.

sorryy if im not seeing it
[Samsung Galaxy Watch 4] Dante63:
A1. Can be done on both PC & phone (to push the watch app to the watch4)

A2. Please go few posts back or search for "Version 169"

A3. ADB is inside the WearOS folder, choose one of the ReadMe folders, each has its own ADB file
[Samsung Galaxy Watch 4] IRONLUNG:
i am now stuck on step 3.2

-powershell is open

-cmd is open asking for ip.

getting error unable to connect-target machine actively refused

where do i "config"?
[Samsung Galaxy Watch 4] oxfordmark:
Hi all

Can this be installed on a in rooted phone?
[Samsung Galaxy Watch 4] sashka69:
Can you read the first post please? It's the SECOND feature. What a useless post...

Tldr:

Yes you can....
[Samsung Galaxy Watch 4] IRONLUNG:
Ok. i was able to do the mod! I hope i did it right! lol Props to Dante63!

eta the watch screen had a red tint when i finished. had to restart. hope that doesnt mean anything.....
[Samsung Galaxy Watch 4] Dante63:
Not sure what you mean by red tint nor understood the problem you had but glad you resolved it
[Samsung Galaxy Watch 4] oxfordmark:
I read somewhere that ECG and BP didn't work on US devices, is this the same as the UK though?

What happens if you set the watch up on, for example, a Galaxy tab then pair on a non-Samsung phone, would the relevent widgets have been installed?