yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Watch 4] carlese:
Here it is. I'm on poco f5, evolution x rom (A14) rooted. Never had problems with other roms but I find it strange that shm from phone to watch works and also find my phone works (meaning galaxy wear is working)..

Oh, I forgot, Galaxy Watch 6 latest fw
[Samsung Galaxy Watch 4] VerticalCobra:
Thank you. 🙏

Should have remembered this after resetting the watch 🤦‍♂️
[Samsung Galaxy Watch 4] Dante63:
After watching the video, I need a logcat of the watch, if you will use the pc, "adb connect <ip : port>" (or pair then connect) then "adb logcat > logs.txt" and do what you did, Ctrl + C to suspend logcat, DM me the log.txt (do not share it here)...

If you want to do it from phone, you can use GeminiMan WearOS manager, it's identical to SHM MOD Companion (but not the latest version), there is a logcat section...

Next time export (download) ECG from shm mod settings, and visit the website i created to convert all Excel files into PDF document
[Samsung Galaxy Watch 4] devaponnadsm:
The problem exists only on that particular ROM?
[Samsung Galaxy Watch 4] carlese:
Well I don't remember but I think on HyperOS it was fine. Anyway I provided some logs, let's see
[Samsung Galaxy Watch 4] bernie1246:
@Dante63 A bigthank you for this app functionality. It took me a few attempts to get it working, it is working well. I will calibrate the heart rate soon. Are there any work arounds to get blood oxygen working aswell?
[Samsung Galaxy Watch 4] JuK3b0x_Gr1m:
@Dante63 your very first post mentions the use of Samsung Health version 6.16 which works for synching when developer mode is enabled.

Would you have this version of the APK available somewhere?
[Samsung Galaxy Watch 4] skodagreen:
Just updated my Galaxy Watch 4 using my phone and the whole process couldn't be easier. Thanks for all your work on this. I would love to be able to do what you do and contribute to all this. 👏👏👏
[Samsung Galaxy Watch 4] nikoladjuk:
Hi @Dante63 , I have installed successfully over PC and when I start Samsung Health Monitor (with M but I anyway uninstalled default app) on my watch he requires phone application and when I start phone application he does not allow me to start measurements (because is not allowed in region)?
[Samsung Galaxy Watch 4] Siebrand:
Good stuff, thx!

After (re)calibration with an Omron cuff, measurements appear to remain 7-10 mmHg too high for Sys and 3-5 mmHg for Diastolic.

But are you actually recoding the BP analysis itself? I would rather leave that part to the (German?) Samsung engineers that are subject to regulatory scrutiny...
[Samsung Galaxy Watch 4] Alyonas_boy:
Thanks for this! Everything is working except for what is mentioned. Another issue I am facing is sharing. If I want to share my BP or ECG data, nothing is sent. If I try to share via Whatsapp, I will get an error stating "Sharing failed, please try again". I have a workaround with the ECG but I can't do anything with the BP. Has anyone else got this issue?
[Samsung Galaxy Watch 4] bernie1246:
Calibration done for blood pressure. Works fantastic.
[Samsung Galaxy Watch 4] Siebrand:
I had that too. Solution is to simply view the result i.e. PDF report, and share from the viewer...
[Samsung Galaxy Watch 4] Alyonas_boy:
Yeah, That was my workaround for the ECG as it has the option to "View as PDF". But there isn't anything like this in BP. Unless I am blind?
[Samsung Galaxy Watch 4] Siebrand:
No, you're right, only a screen shot would help here. Mine also complains about the file name length, so that may be corrected @Dante63?
[Samsung Galaxy Watch 4] Dante63:
I thought SpO2 on watch4 is not restricted anymore...? As far as I know in Watch3, SpO2 is region controlled and the solution was Changing the watch CSC...

You're mixing between Tizen thread and WearOS thread, Samsung Health doesn't work with wearos mod

Phone app should be the MOD as well, not the original

It takes time for readings to be accurate, pretty much I say this to everyone, do measurements side by side with the BP cuff, once you notice its become more accurate, then you can somewhat rely in the watch but use it only when you have no access to the BP cuff...

Because I don't have my watch4 yet, I can't test the sharing function of the MOD, definitely fixable though if only I can have some readings I can share...

I tested the Tizen and that is working just fine for both BP and ECG...

All I can say is look for workarounds for the time being till I get my watch4, try sharing to any PDF readers and from there share it to any app or export it...

Sorry about this here
[Samsung Galaxy Watch 4] Alyonas_boy:
Hey Dante,

Yeah I have tried doing that as well. Even sharing to es file explorer to try and save the file but it fails each time.

Any chance you have a GitHub that I could do a PR for? Happy to help! Got my watch 4 on the 01/09.

Pretty sure if I could run the app in debug on Android studio I could find the fault!

Cheers
[Samsung Galaxy Watch 4] Dante63:
You could but you'll face so many errors related to google signature verification, gave me headache once, some of these errors were inside the files *.so if you're familiar with them, they can't be edited...

Just decompile the app, open manifest and change debug to true, compile and start tracing...

But it's easier to read logcats...

One question though, the error you speak of, does it show on Samsung Health monitor or the app you're sharing with...? Can I see a screenshot of the error, maybe I can investigate it more 🤔
[Samsung Galaxy Watch 4] Siebrand:
The error messages vary by app, so I guess SHM transfers to the other app with wrong info or no file. Given that you can view the ECG directly, I would guess it is a wrong path description?
[Samsung Galaxy Watch 4] Alyonas_boy:
The error isn't really informative, but yes, it only appears in the app that it is being shared to. I didn't get an error when trying to email it to myself, but the email does not have an attachment.

When clicking on share, SHM will display the name of the PDF file that you are trying to share, it will allow you to select any of the applicable apps and then once you have selected the app, let's say WhatsApp for example and you have selected the contact that you wish to share it with and click send, you just receive "Sharing failed, please try again".

I will give it a bash tomorrow with the logcats and provide feedback!
[Samsung Galaxy Watch 4] Dante63:
I may have a clue to what is happening, some users have both watches, Tizen and WearOS and they want to have the ability to use both apps, but both apps can't exist unless you do changes to the listeners and services, one of these might be related to PDF, I would know which one if I had my watch, but I will check tomorrow about it, pretty sure I can trace which service it is and hopefully resolve it...
[Samsung Galaxy Watch 4] maazperwez:
Do we get the Samsung Pay as well..??
[Samsung Galaxy Watch 4] Siebrand:
You're paying Samsung already with every beat of your heart
[Samsung Galaxy Watch 4] Dante63:
This thread is about SHM but yes the watch4 comes with S-Pay as far as I know
[Samsung Galaxy Watch 4] maazperwez:
yes it comes but not in india.. in India samsung pay is only for Samsung phones.. so if there is a work around for it..?? there are many for tizen OS but not sure about this wearos thing..
[Samsung Galaxy Watch 4] Htun Min Khaing:
My is to Redmi note 5a internet for low speed Advanced.
[Samsung Galaxy Watch 4] Dante63:
Quick Update:

From the logs provided (thanks a lot)...

There will be a patch #1 released for the Watch SHM MOD,

It has a weird Bluetooth Device Class check, which is if SmartPhone (524) returns true, else returns false, which is usually used to be able to call Bluetooth Smart Phone functions without the app crashing but is not utilized or used, so the check is useless...

According to the logs, the phone responded with Undefined (7936); since it is a custom ROM/Kernel, the ROM/Kernel developer might have missed something in defining the Bluetooth class as Smart Phone (524).

Anyway, the patch basically ignores the device's Bluetooth class results, allowing the watch to proceed and communicate with the phone's SHM MOD normally...

expect the update in a few hours...
[Samsung Galaxy Watch 4] Dante63:
*** Watch SHM MOD - 1.2.6.002 - Patch #1 ***

This Patch is mainly for those with Custom ROM with device Spoofing that has Bluetooth Class not correctly configured by the ROM/Kernel developer...

You don't need to update unless you have a custom ROM on your phone and the watch cannot connect to your phone...

Have a lovely Day ~♡
[Samsung Galaxy Watch 4] Robalo:
Hello everyone and thanks Dante63 for this piece of software.

I have Galaxy Tab S3 rooted with Lineage OS 18.1 custom ROM (so no One UI and therefore no KnoxPatch compatibility) and micro OpenGapps installed. I cannot even start procedure of installing SHM to my Galaxy Watch 5 Pro because it needs to be paired to phone first to access any settings of the watch and that's the problem - Galaxy Wearables (downloaded from APKmirror) is not discovering my watch that is ready to be paired. Bluetooth pairing works but it doesn't change anything. Could You please tell me where to find the cause of the issue?
[Samsung Galaxy Watch 4] Dante63:
This will answer your question:

Compatibility of Samsung Galaxy Watches with Samsung Galaxy Tablets

FAQ to learn about Compatibility of Samsung Galaxy Watches with Samsung Galaxy Tablets

www.samsung.com

Note: Android phones, not Samsung specifically, you just miss some features with non-samsung...
[Samsung Galaxy Watch 4] Robalo:
Sorry, I forget to mention that I am using WearableSpoof so theoretically it should work, please correct me if I am wrong. Wearable opens correctly, there's no message "not compatible device" or similar, it just don't discover my watch...C'mon, it's Android - it has to work somehow ;)

I will be grateful for any tips how to bypass this issue.
[Samsung Galaxy Watch 4] Dante63:
And does the wearable spoof also spoof your bluetooth device class? Make a logcat on your phone, i doubt you can make a logcat for the watch since you can't even pair...

As a recent patch i applied to watch shm mod, it showed me Samsung using bluetooth device class, it means it's possible to check device type from bluetooth itself, and my best guess is they hard-coded to 524 which is smartphone, your tablet would return 284 which tablet computer...

The check is done onthe watch, not the spoofed device...
[Samsung Galaxy Watch 4] jpllll:
The Watch still detected that my phone is not Samsung. How to fix it?
[Samsung Galaxy Watch 4] Dante63:
Share screenshots (or better a video), app icons you're opening, phone and watch, because shm mod does not have device detection, code patched...
[Samsung Galaxy Watch 4] jsnow1:
Hey Dante. I got mine working for galaxy watch 5 pro and non samsung phone. So, big huge large THANK you for that. Really appreciate it.

I just have one questio, should I update the apps on the watch (and phone) like Samsung Health, Samsung Wear OS official updates etc, basically anything related to Samsung apps?

Bascially, I don't want to lose access to modded samsung health monitor (by you) because of some latest update on the watch or phone. ONCE again, Thank you.
[Samsung Galaxy Watch 4] Dante63:
update everything, the mod is independent and unaffected by updates
[Samsung Galaxy Watch 4] MrMrMr111:
Having been iPhone for years and years, thinking of going to a Pixel phone.

Been investigating smart watches to go with Pixel, and looking like might be Samsung Watch6 Classic.

Didn’t realise at first that Samsung did this sort of thing, as in hold back features for non-Sammy phone, but been pointed here for ability to enable ECG and blood pressure.

Is it easy to do?

Does it void warranty?

What happens on WearOS updates, have to redo this procedure?

Where does ECG and blood pressure sync to if via this procedure?

Thanks
[Samsung Galaxy Watch 4] jherckz:
It helps, im still used this until now
[Samsung Galaxy Watch 4] devaponnadsm:
Easy and does not void warranty. Updates don't affect anything except the original SHM may be enabled back (rare). BP sync to Samsung Health and cloud. ECG is saved only locally.
[Samsung Galaxy Watch 4] walterfu23:
Watch4 + Galaxy S24 with SHM MOD Companion 6.1.0 and SHM WearOS MOD 1.2.5.003. In SHM MOD, as soon as Blood pressure is pressed, SHM MOD ends. The ECG counts down to 0 and starts the counting again. Anyone has seen this kind of issue before?
[Samsung Galaxy Watch 4] Dante63:
Seems like the watch removed sensors permissions, either you uninstall shm mod and install it again or you go from you lr watch settings, into apps, find shm mod, permissions and make sure it's granted everything and try running it again...
[Samsung Galaxy Watch 4] nakz_08:
Thanks very much bro. Working in my Xiaomi 13pro
[Samsung Galaxy Watch 4] mildew1951:
I have a Galaxy 6 classic. I followed the instructions in this tutorial twice and both times it failed at the last step, sending watch APK to watch (see screenshot). I have an Oppo phone running android 12. Don't know where I've gone wrong.
[Samsung Galaxy Watch 4] Dante63:
Verify the apk in your downloads is not corrupted, download it from companion and install again...
[Samsung Galaxy Watch 4] mildew1951:
I've downloaded and tried to install three times to no avail. Thanks for the reply.
[Samsung Galaxy Watch 4] Dante63:
Share the md5 hash, it should be:

1254e5eb2ab1f8ce883ef584e21daa15

Also, a video of how you're installing is very helpful...
[Samsung Galaxy Watch 4] JohnCarnage:
HI , I tried to install the last version an my phone says that the apk is not compatible with the phone, any idea?
[Samsung Galaxy Watch 4] mildew1951:
Not sure how I would do that but I have attached the watch file if you could check it please.
[Samsung Galaxy Watch 4] Dante63:
yes, do not install any apk with name "watch" in it, that's watch apk, not phone, it will never install on phone
[Samsung Galaxy Watch 4] Dante63:
share a video of how you are installing this...
[Samsung Galaxy Watch 4] JohnCarnage:
I meant I installed the app for the phone in the phone, but the app that suppose to run in the watch, I tried to installed from the phone, and I have that message. I believe that maybe is because a new version of the firmware or SO. My watch is a GW 4, but looks like is fully updated, any idea?
[Samsung Galaxy Watch 4] bobbylechat:
Hello guys! Been using the SHM mod workaround ever since I bought my watch 5 and I cannot thank you enough. I am buying a Vivo x fold 3 pro running Origin OS Chinese ROM. Will i still be able to use the same method to have SHM mod? Thank you very much
[Samsung Galaxy Watch 4] devaponnadsm:
Chinese ROM? Is Google Play Services there or you will have issues pairing.
[Samsung Galaxy Watch 4] bobbylechat:
no issues with google play or google services, even the galaxy Wearabkle works wirh a workaround. My only question is about installing and usign SHM mod. But i am pretty sure it would work since it is a standard APK
[Samsung Galaxy Watch 4] Dante63:
As i mentioned, apk files with name "watch" in it, is not meant to be installed on phone, it will give you package parse error, you should sideload them to the watch...

It will work fine, and if you face issues, Reach me...
[Samsung Galaxy Watch 4] bobbylechat:
As i told you on Instagram, thank you very very much ! Really appreciated
[Samsung Galaxy Watch 4] JohnCarnage:
Thanks a lot, following this video all fine
[Samsung Galaxy Watch 4] derausgewanderte:
Just updated my Watch 6 from OneUI Watch 5 to 6 beta today and everything still works smoothly, BP and ECG work as intended.
[Samsung Galaxy Watch 4] jsnow1:
Will this work on Samsung Galaxy a34?

Hey Everyone. First of all I already got it working for my watch 5 pro and Fujitsu phone. But I am looking into buying S galaxy a34 mainly because it's on sale. Can anyone confirm if it will work on a34. Thank you.
[Samsung Galaxy Watch 4] MerBudd:
@Dante63 Have you looked into adding the Sleep Apnea feature from One UI 6 Watch beta?
[Samsung Galaxy Watch 4] kar3less:
hey guys, sorry for being bad at reading, but could someone please confirm if this mod is compatible for Galaxy Watch6(X21J) [SM-R945U] WearOS v4.0

I see the @Dante63 's notes say Watch6 not supported, and also see some users reporting that it works just fine.

Would really appreciate if someone can confirm this works before I start the process. Apoligies for the noob question.

Thanks!
[Samsung Galaxy Watch 4] derausgewanderte:
it works on Watch 6 with Wear OS v5.0. Not sure about v 4.0
[Samsung Galaxy Watch 4] Dante63:
I'll need shm beta first...

Please pull stock shm and Samsung Health for me, stock shm on beta should have sleep apnea, but you might want to check stock shm version first to be sure you have the new shm beta...

As for Samsung health, I'm a bit curious to know whether it's backward compatible...

I updated my thread, although i said watch4 and watch5, i wrote works with any Samsung WearOS watch, which includes 6, 7 and futuristic watches, but i never mentjoned anywhere not working on watch6, nevertheless i rephrased it, sorry for the confusion...
[Samsung Galaxy Watch 4] Dante63:
Yes, as the description states, device restriction removed which would be the case for non-samsung and you're going for Samsung, which is more convenient, less hustle in pairing and whatsoever...
[Samsung Galaxy Watch 4] derausgewanderte:
I sent you a PM with Samsung Health from the phone and watch and SHM with sleep apnea from the watch. Let me know if you didn't get my PM.
[Samsung Galaxy Watch 4] MrMrMr111:
Absolutely brand new to this, had iPhone for years. Now have Pixel phone and Watch 6 classic. Which is the most up to date video to help please, prefer video as tried to read though and a little confusing what to do.

Will it affect anything else, like update on my watch or restrictions etc?

thanks
[Samsung Galaxy Watch 4] derausgewanderte:
I believe this is the latest video by Dante:

youtube /watch?v=AZcYaMv-6uM&t=57s

It will not effect anything on your watch. An update to the watch might break the unlocked features and you might have to reapply or wait for an update from Dante.
[Samsung Galaxy Watch 4] MrMrMr111:
Can't get that link sorry. The url is different, is it this one?

thanks
[Samsung Galaxy Watch 4] derausgewanderte:
yes, that the same one
[Samsung Galaxy Watch 4] Dante63:
The video link provided explains how to connect in the new shm mod companion interface,

Updates have no impact on the mod, i have made it independent...

The rest of the guide is the same:
[Samsung Galaxy Watch 4] MrMrMr111:
thanks I think I have done it right! a little complicated forme, but seem to have ECG and BP on, thanks a lot!

Can I now turn off ADB and wireless debugging, or do these need to stay on?
[Samsung Galaxy Watch 4] derausgewanderte:
You turn them off, especially wireless debugging. Otherwise you drain your battery.

cheers
[Samsung Galaxy Watch 4] MerBudd:
Heya, somebody uploaded the beta to APKMirror already 😄

Samsung Health Monitor (Wear OS) 1.3.2.023 beta APK Download by Samsung Electronics Co., Ltd. - APKMirror

Samsung Health Monitor (Wear OS) 1.3.2.023 beta APK Download by Samsung Electronics Co., Ltd. - APKMirror Free and safe Android APK downloads

www.apkmirror.com

Also, don't think it's needed but here's the Samsung Health (phone) beta too.

https://www.apkmirror.com/apk/samsung-electronics-co-ltd/s-health/s-health-6-27-0-121-release/

I don't think anything changed in the phone SHM app, as in the "Relevant APKs" section of the beta sign up, they didn't provide it.
[Samsung Galaxy Watch 4] Dante63:
I shared it with apkmirror admin, it has sleep apnea, but we need phone shm to have an interface, I'm fiddling with it to ignore phone and just work without it, so basically on the watch we will see something simple as no arena, minor apnea, mild and critical apnea detected...

Sleep apnea restrictions:

- locked to UI6...

- locked to Countries: United States (US), South Korea (KR), Bolivia (BO), Chile (CL), United Arab Emirates (AE), Philippines (PH), Mauritius (MU), South Africa (ZA), Hong Kong (HK), Russia (RU), Georgia (GE), Azerbaijan (AZ), Peru (PE)

Sleep apnea requires 3 days calibration (aka sleep without results), once calibrated it will work (as per my understanding) for 10 days or a set of apnea reports generated and then turn off on its own, sleep apnea doesn't run all the time...

Every time you turn it on, you need to calibrate it...
[Samsung Galaxy Watch 4] AkoreJepade:
So best to wait for full release then? This is one feature I am really looking forward to. It would be really great if the watch could wake you up if it detects low SP02 during sleep. Like a vibration of the watch type so as not to disturb others around you.
[Samsung Galaxy Watch 4] RYZONN:
I have a pixel 8 pro, with this mod can I connect the watch 5 pro and have all the features?
[Samsung Galaxy Watch 4] MerBudd:
Yes
[Samsung Galaxy Watch 4] 501STBattalion:
Hi Dante/all,

Thanks for the fantastic work.

I'm most of the way through the guide in the video (

), however I've hit a snag.

I'm attempting to connect the modded Samsung Health Monitor app to Samsung Health (11:01 in the vid) but it's giving me a message "Samsung Health connection is not available."

Has anyone seen this message? I've force stopped the app and cleared the cache and set the correct dev options in Samsung Health prior to this step.

Phone: Huawei mate 10 Pro

EMUI 12.0.0

Watch: Galaxy Watch 4 Classic

System version - 11

Wear OS version 3.5

Samsung Health version: 6.26.7.007 ProdFinal
[Samsung Galaxy Watch 4] 501STBattalion:
Issue resolved! It was nothing much. Realised that I hadn't connected the "Health Connect" plugin within Samsung Health. Seems this is needed for it to work:

I'll leave the post up in case others have the same issue. :)
[Samsung Galaxy Watch 4] mhd 12:
is there anyway to setup the samsung monitor with android phone , then pair the watch to my iphone without reseting the watch , i figured out a way to make other apps work by switching connection between my two phones but samsung monitor app wouldn't connect because it checks for the watch if it's paired with the galaxy wearable app
[Samsung Galaxy Watch 4] Dante63:
It's not the galaxy wearable alone, but the shm itself, since there is no shm for iPhone, it wouldn't work correctly...

Perhaps a future project, move the phone shm logic into the watch shm, so calibration and configuration is done from watch 🤔...

Don't put any high hopes, it took me 2 months as I recall to change phone shm mod and give it dark theme mode before Samsung finally added that...

Doing this on the watch will take so much efforts and I'd rather do more things in such time than one thing that has a little use, especially that I will not migrate this big amount of patch for every release, meaning, if I would do it, it would be non-android shm mod that doesn't get updated as frequent as the Android one...

That's not how apnea work, after you wake up, you'll see processing data, it would take few minutes, then short results

You don't have apnea

Mild apnea detected

Apnea detected

Critical apnea detected

See results on phone (this we don't know how it looks yet nor what is in the report)

Official release will probably be after beta ui6 is over, which is by September...
[Samsung Galaxy Watch 4] mhd 12:
Well i understand but such a thing gonna have a big use , since many people use their samsung watch with iphone and when searching about it on the internet many people had to use a second device just to get shm working , because honestly when paired to ios everything works like charm except for the shm features which is disturbing . Tried to pair the watch to two phones simultaneously and it worked ( with some bugs ) and most of the apps worked except for shm because it checks for the connected device on samsung wearable app , If there is a way i can help with the development i would be happy to help even if i know a little bit about programming still i would learn