yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Watch 4] cableghost:
BP feature no longer working. I just updated all apps (phone and watch), granted the ability to update w/o ADB. After a reboot, the BP feature will not execute.

When I attempt from a Tile, it simply closes back to the main screen

When I attempt to open the modded SHM app, it crashes.

Phone: OS14

Watch: GW5 Pro
[Samsung Galaxy Watch 4] Dante63:
Although it's very rare to happen but the permissions implementation is very bad, so if your watch removes a permission, it crashes the app...

On your watch, settings > apps > app list, find shm mod, grant all permissions...

Alternatively, uninstall shm mod and install it again (since you granted the watch companion install permissions, you can install directly from the watch)
[Samsung Galaxy Watch 4] cableghost:
Yep, I had to reinstall and recalibrate. Thank you!
[Samsung Galaxy Watch 4] Jamie Jackson:
This is an impressive project, thank you!

I made it almost to the end but somehow I missed how Samsung Health (not "Monitor") is installed. In the video, it seems to be there already.

Point me in the right direction, please?
[Samsung Galaxy Watch 4] Dante63:
Which part of the video?

The setfeatures?
[Samsung Galaxy Watch 4] Jamie Jackson:
Yes, exactly. Time code included:

By the time we get to this part, I think it's assumed that "Samsung Health" is already on phone, but I don't remember an installation step in the docs/video (and I don't want to make any assumptions about how to get it).

Thanks for the reply!
[Samsung Galaxy Watch 4] Dante63:
I didn't show Samsung installation because the watch works with Samsung Health only, so every user who uses watch Health features ends up in playstore to download it, the watch will ask you to do so...
[Samsung Galaxy Watch 4] ujjwal__verma:
I can't install the Samsung health mod app (Any version)

Here is the screenshot for reference

Please help me out
[Samsung Galaxy Watch 4] Dante63:
If you skip the video tutorial, read the guide, if skip the guide, then you'll try installing everything on your phone...

Look at the apk names...

Watch is for watch...

Phone is for phone...

If you'll ask how to install it on the watch, please watch the video or read the guide (in video description)

It's a step by step, from A to Z...
[Samsung Galaxy Watch 4] sToRm1nG:
Hey @Dante63

Thank you for your work. I was able to follow the instructions but am now stuck with Samsung Health only showing me "Developer mode" but not "Set features". The version is 6.26.1.011.

Do you have any idea what could be the issue here?
[Samsung Galaxy Watch 4] Dante63:
Go back to shm mod companion, BP Sync tab, tap on the first row that says Enable SetFeatures, this creates necessary folder and file for Samsung health and enables SetFeatures for you
[Samsung Galaxy Watch 4] sToRm1nG:
Ah, I skipped over the BP settings since I don't plan to use it, only ECG. Sorry for the hassle.
[Samsung Galaxy Watch 4] Dante63:
No worries 😊
[Samsung Galaxy Watch 4] sToRm1nG:
Ok, one more question. ECG is working now, I'm able to record it but no recordings are visible in the SHM Health Monitor app. Did I miss something else?

*EDIT*

I was able to sync but have only one of 3 results. Seems a bit unreliable or I didn't understand how it's supposed to work in the first place. 😅
[Samsung Galaxy Watch 4] Dante63:
1. BP syncs but it sends data when BP is recorded, if connection is busy, it is sent on next BP recorded (explained instructions and troubleshooting in companion BP sync tab)...

2. ECG doesn't sync to Samsung Health Cloud, however you can enable the ECG tile that acts as a shortcut, it's inside ECG Tile Enabler...
[Samsung Galaxy Watch 4] sToRm1nG:
Yeah sure but when clicking on the tile there is only 1 recording instead of the 3.
[Samsung Galaxy Watch 4] Dante63:
So outside, you'll always have latest recording

But inside, you'll see everything, for example, on a previous date, I recorded 3 BP:
[Samsung Galaxy Watch 4] sToRm1nG:
I'm talking about ECG 😅

When displaying all results I only see one result although I recorded 3 on my watch.

*EDIT*

It seems that it has been a sync issue. Everything is visible now. Quiet weird but I'll put it under initial problems. Thanks again for the quick responses!
[Samsung Galaxy Watch 4] Dante63:
Oh, my bad, I thought you were talking about BP...

Well, for ECG, you'll see the latest outside, the rest would be in history...
[Samsung Galaxy Watch 4] Nuthan Naik:
I literally didn't understand?!!!
[Samsung Galaxy Watch 4] Nuthan Naik:
Please could you tell me how to remove restrictions I'm unable to see where are the instructions and the files
[Samsung Galaxy Watch 4] Krieger0311:
I seem to be stuck- all the steps are easily followed, I have disabled autoblocker/mcafee/etc. Currently, I am able to connect to the watch successfully, but when I click to sideload the watch APK, the SHM Companion Mod on my phone immediately crashes. I've tried restarted the phone and the watch, reinstalling SHM Companion on my phone, clearing cache/storage etc. Just seems like something is blocking the sideload and instantly killing the app.
[Samsung Galaxy Watch 4] uicnren:
it is literally the very first post of this thread.
[Samsung Galaxy Watch 4] Dante63:
First post, if you want the easiest thing, watch the tutorial YouTube video...

if you're using 3rd party file explorer other than android default, reset default file explorer and use android stock file selector...

If you're using stock, what is the companion app version, android version and the file explorer you're using...?
[Samsung Galaxy Watch 4] AkoreJepade:
Samsung Health no longer accessing mic for snoring detection. Anyone else having this issue?
[Samsung Galaxy Watch 4] eagledipesh:
Works fine for me, it won't record if it cannot detect snoring.
[Samsung Galaxy Watch 4] badabing2003:
I'm sure you know, but just in case, it won't record if your phone is not on the charger.
[Samsung Galaxy Watch 4] AkoreJepade:
Thanks for confirming it is still working. Not sure why mine stopped. I double checked that the app still has access to the mic, heck I even turned off access to it and turned it back on to make sure. Before, every morning I could see the green dot showing that the mic was on as I unplugged my phone from the charger and then when I accessed the Samsung Health app the green dot showing the mic was on would go out. Now in the morning I no longer see that green dot showing the mic is on. It has recorded snoring fine for over a year but the last time it recorded was on 1/22/2024 for 1 hour and 20 minute's... on 1/23/2024 for some reason it did not record any of my statics and only showed the "Sleep time" as shown in attached screen shot. Since that day of not recording anything but the amount of time sleeping it has stopped recording "Snoring" data. Maybe I need to clear cache and data, uninstall the Samsung Health App and re-install it? Will I lose all my history if I do that?
[Samsung Galaxy Watch 4] eagledipesh:
It worked on 1st feb when my phone was on charge
[Samsung Galaxy Watch 4] AkoreJepade:
Every night I connect my A52 to the charger before going to sleep. I have it set to only charge to 85% so as to not damage the battery. It is also on regular charge, not fast charge, to also stretch the battery life.
[Samsung Galaxy Watch 4] SyCoREAPER:
Just an FYI for companion.

Watch SHM Mod is incorrectly linked to Companion. Both buttons download watch.shm.mod.companion.53000.apk

Also the companion doesn't detect the watches version information.
[Samsung Galaxy Watch 4] Dante63:
I pushed the wrong apk and announced about the companion, I noticed the issues and replaced the apk...

If updating doesn't fix it, let me know because Google drive cache files...
[Samsung Galaxy Watch 4] Dante63:
You can sync to Samsung Cloud and then clear app data, open it, restore sync, then restore setfeatures configuration...

See if it fixes your SHealth. It's not a bad idea to do that, bugs can happen...
[Samsung Galaxy Watch 4] Krieger0311:
Thanks! I figured it out. It was actually defaulting to the built-in Android file explorer called "Files"- I had to manually select "My Files" on the left hand side of that menu (which is actually the Samsung File Explorer from the Galaxy Store) and select the APK that way. Worked flawlessly after that. Thanks for all you're doing on this!
[Samsung Galaxy Watch 4] asifemon0:
Man i just logged in to XDA after few years to thank you. Great work
[Samsung Galaxy Watch 4] asifemon0:
Anyway i know my IHRN stopped working and i need to reboot my watch ?
[Samsung Galaxy Watch 4] AlexOB1:
Did you ever find a solution for smarttags?
[Samsung Galaxy Watch 4] Dante63:
If you reboot your watch, IHRN doesn't autostart, a bug I'm trying to fix, you need to toggle off ihrn and back on from your phone...
[Samsung Galaxy Watch 4] junior_ilha:
Nop. Using a website shortcut tô view location
[Samsung Galaxy Watch 4] lunixx:
Hi

my Galaxy W 4

Ui 4.5

Sw Ver. R860XXU1GWD6

Sys 11

Wear OS 3.5

works fine with the ECG app(y)

Thanks a lot!

now my Watch will update to UI 5

I always prevent the update process but it's annoying

works the App with the new SW ?:oops:

Thanks
[Samsung Galaxy Watch 4] Dante63:
Yep
[Samsung Galaxy Watch 4] AkoreJepade:
Think we will get "sleep apnea" detection for the GW5? If so will that need to be setup through SHM MOD?
[Samsung Galaxy Watch 4] Dante63:
That is correct, sleep apnea code is already in the latest phone shm version, you can check changelog in the companion (or github)...

We're missing the watch shm logic for sleep apnea...
[Samsung Galaxy Watch 4] sranger31:
Good afternoon. I couldn't get past the the first step of installing the modded app on the Galaxy S10. Message says " You can't install the app on your device"

I have unknown apps allowed

Watch.SHM.MOD.1.2.5.002.dante63.apk

Thanks for any help.

Steve
[Samsung Galaxy Watch 4] Dante63:
The file name has "watch" as indicator the app should be installed on the watch, not the phone
[Samsung Galaxy Watch 4] sranger31:
Thank you that worked. Had trouble with getting the app on the watch through adb. Finally after pairing and changing ports it connected. Then the file wouldnt drag and drop into the ADB Window. I then just typed the full name at the prompt and it installed on the watch. Patience and persistance. I'm good now. Thanks for the tutorial and the files etc!
[Samsung Galaxy Watch 4] bluecitrus:
I was having an issue with the BP measurement not working - the app would just exit whenever I went in. Fixing permissions as per above recommendation didn't work - but uninstalling and then reinstalling the app did work. Thanks - not sure why Samsung restricts these useful features to just their phones.
[Samsung Galaxy Watch 4] hkgursoy:
Good job. This is the most important and useful app regarding Samsung watches.
[Samsung Galaxy Watch 4] JohnLeb:
I am getting a warning from norton and verizon virus protection that shm mod companion is malware on my phone.
[Samsung Galaxy Watch 4] Dante63:
Report it as false positive, unfortunately, shm mod companion and ECG tile linker both have query package permission alongside other permissions (explained in the tab section) and not having any store signature (playstore, Galaxy store, Huawei, etc)... it considers it malicious, so the reputation of my apps on these mobile antivirus engines I have to rely on you all to report it as false positive...

Companion is 2 years old...

SHM MOD is 3 years old...

Ps. GeminiMan WearOS Manager has 95% of shm mod companion permissions, only permission it doesn't have is kill permission which is used to kill Samsung Health to enable setfeatures...
[Samsung Galaxy Watch 4] AkoreJepade:
Having a strange issue with my GW5 vibrating about 30 minutes after I tell it to go into sleep mode for the night. It does a long vibration and then 3 short ones. Anyone else seeing this strange behavior?
[Samsung Galaxy Watch 4] JohnLeb:
I reported it as a false positive to norton 360
[Samsung Galaxy Watch 4] Dante63:
The best thing to do is identify the app...

Open Galaxy Wearable -> watch settings -> notifications - > app notifications, change filter to "most recent on watch or phone"

See if you find something you don't recognize or something that shouldn't be there...
[Samsung Galaxy Watch 4] Extreme_Ninja2099:
I just got my Watch 6 yesterday. I got SHM mod installed on my OP8 Pro and Watch 6. I haven't had any pairing issues happen and I've already set everything up, so luckily no factory reset needed!
[Samsung Galaxy Watch 4] Dante63:
Watch SHM MOD 1.2.5.002 Patch #1 - 26th February 2024
[Samsung Galaxy Watch 4] xda-dvlprs:
@Dante63 thanks for effort and patch, but unfortunately IHRN (Irregular Heart Rhythm Notification) is still in the same situation.

I hope you will fix it with the next patch.
[Samsung Galaxy Watch 4] Dante63:
It's working fine...

Keep in mind, after rebooting the watch, you must run shm mod once at least because the service does not autostart by itself...
[Samsung Galaxy Watch 4] xda-dvlprs:
@Dante63 , Now I tested it as you said and IHRN works. But this method does not seem to be much different from the first method. After all, after rebooting the watch, you have to do something manually for IHRN to work properly.

Is there still a chance for this to be patched?
[Samsung Galaxy Watch 4] Dante63:
Before that, you had to toggle off and on IHRN on your phone, but now you just need to start it once, and considering everyone measures ECG and BP from time to time, this will turn IHRN on...

Unfortunately, SHM MOD is treated as 3rd party app, even following Google guidelines, it seems Samsung made their own apps accept flag boot_completed...

I did try to automate it via scheduler but I noticed battery consumption increasing, so I did not continue that path
[Samsung Galaxy Watch 4] Dante63:
❌ DO NOT INSTALL ❌ - Samsung Health 6.26.9.005 leaked apk - 350 MB

As the leaked apk is going around to blogs, forums, it even reached apk host sites such as (apkpure, uptodown), thankfully it has been blocked on apkmirror...

Do share this if you're active on other blogs or social media or your video/content maker, it's important to make sure people do not install it and lose health data, and try to report the apk on any apk host site, inform moderators, hopefully it would be taken down...

Briefly, despite Samsung have skimmed the settings and removed the account options, Samsung should have completely turned off the sync functionality, empty code but they didn't, so if sync is on from previous health versions, it will sync dummy data over your data, if the demo app shows a notification turn on sync and you do, you sync dummy data over your account...

So I ask you all to help and share about this leak, to minimize the damage to people who are very dependent on their health data for health reasons...

For those who wish to know what ahappens and what is in this version, I made a video explaining the process of the app, first 2 minutes I am talking about why you should not install it, after that I'm going through the application, explaining what it does and then go through the entire app showing you the dummy data...
[Samsung Galaxy Watch 4] LightC:
Hi @Dante63, thank you for your work on this. I've installed and ran through the guide. For some reason, I'm unable to grand SHM mod access to write to Samsung Health. I'm on a rooted Pixel 8 Pro. The toggle just will not turn on for some reason. See screenshot below.
[Samsung Galaxy Watch 4] Dante63:
Shm mod companion -> BP sync tab

Go through it...
[Samsung Galaxy Watch 4] felixcuceanu:
Hi! I'm Felix and I wrote you on YouTube. Hi there too. So, what's to do with the Samsung health app I told you about?
[Samsung Galaxy Watch 4] PickaxeCar:
Hello, Dante63. I wanted to ask you after installing patch1: is this okay (blue lopped animation) ?
[Samsung Galaxy Watch 4] Dante63:
Definitely not, I think I compiled the apk with wrong resources, so images got replaced, it should be transparent...

I'll patch it, sorry about that...
[Samsung Galaxy Watch 4] Dante63:
Share a video of what you're doing, preferably, uninstall and install latest Samsung Health from playstore...
[Samsung Galaxy Watch 4] PickaxeCar:
No problem. Everyone can make mistakes.
[Samsung Galaxy Watch 4] LightC:
That worked, thank you!
[Samsung Galaxy Watch 4] Dante63:
But thank you for reporting it...

I patched it - Patch #2
[Samsung Galaxy Watch 4] Dante63:
*** Watch SHM MOD 1.2.5.002 Patch #2 ***

Have a wonderful day ~♡
[Samsung Galaxy Watch 4] Extreme_Ninja2099:
I get an annoying "IHRN Measurement in Progress..." notification on watch 6 by shm mod. I just turned notifications off for the app in watch app settings
[Samsung Galaxy Watch 4] Nabeel_Nabs:
My fathers watch 6 is no longer connecting to his pixel. He hasn't used it for a month or two. I updated the apps on his phone and watch via adb/wireless. I'm not too familiar with the app or the watch due to setting it up a few months ago. What should I be checking?

The phone doesn't connect to the watch when I go into Bluetooth settings.
[Samsung Galaxy Watch 4] Dante63:
It's a silent notification and can't be removed because of Google policy when calling background service...

Turning notifications off might make IHRN useless, if god forbid, there is a suspected afib, the notification will not arrive....

Not sure why that happened, I read several users had this happen with pixel as well...

You'll reset the watch and connect again, smart switch should be able to backup everything including shm mod....
[Samsung Galaxy Watch 4] badabing2003:
Hi @Dante63

I haven't changed anything on my watch of late aside from installing the patch #2

and my watch is not even lasting half a day.

I never had an issue before, I don't want to attrribute it to this patch, but can't think of anything that I might have changed.

How can I troubleshoot to identify why I'm running out of juice so fast?

Thanks for all your work.
[Samsung Galaxy Watch 4] erunamor:
Hi.

Is it possible to backup/restore the ecg data in samsung health monitor, I have to get new phone and wondering if it's possible to transfer all of my data.

PS: My phone is not rooted
[Samsung Galaxy Watch 4] Dante63:
The only change is calling services to run for shm, i could tweak what services to run, but i just decided to make shm mod run exactly as stock shm...

Also, from my tests, my battery drain isn't abnormal, still getting 48++...

Maybe wireless debugging did not disable itself correctly and that the entire time Wi-Fi is active...? I noticed this a lot, after performing what I want, even after I toggle off wireless debugging, I still see watch connected to Wi-Fi, that's a big battery drainer, I just turn off and turn On my Wi-Fi or reboot my watch...

Not possible, not yet at least...
[Samsung Galaxy Watch 4] Lou381:
Hey @Dante63 I am trying to install the SHM apk on my Pixel 8 Pro but it wont install. It says its not compatible with my device. I have the latest update on my 8 Pro. Can you help me?
[Samsung Galaxy Watch 4] Dante63:
App with name "watch" is for watch, not phone, sideload it to your watch...
[Samsung Galaxy Watch 4] Lou381:
god damn I´m stupid. Thanks buddy
[Samsung Galaxy Watch 4] badabing2003:
The watch totally shut down twice as I ran out of juice.

I would think if it was wirelesss debugging, the first power up would have taken care of it, which won't explain the second drainage.

I'll keep digging, and you're probably right, nothing to do with the patch.

Incidentally, today it seems to be running fine, though it's early to tell.

Thanks
[Samsung Galaxy Watch 4] Dante63:
If you granted companion ability to install on your watch, you can uninstall shm mod and test how it goes, and install it again from your watch directly and see if it makes any difference...

I'm not going to exclude anything, because I did encounter crashing with shm, and in shm mod due to permissions being removed by the watch OS, so maybe shm mod has bad data (corruption) and causing a loop that drain battery 🤔...

Usually, I just make a logcat and check everything on my watch logs, if not so many errors, then safe to say nothing bad in watch, but maybe I started a service or an app that was sleeping and in few days, the watch will put it back to sleep and battery consumption goes back low...

And if I really want to speed up the process, I would reset the watch because it will force learning usage pattern and optimize battery...
[Samsung Galaxy Watch 4] doganigooo:
I cannot use cycle tracker on watch. It asks for samsung health on phone. Installed it but it gives me an error. Is this some thing related with this SHM mod?
[Samsung Galaxy Watch 4] badabing2003:
Thanks,

it lasted 24 hrs, which is far better than 12 hrs, and little more or less inline what I used to get.

I have the habit of charging it first thing every morning, (I keep it on at night for sleep monitoring) and usually I have anywhere between 15% - 40% battery left (I guess depending on the usage) by the time I put it back to charge.

Today it was at 9% (not far from the 15) I'll check logcat next.

I dread the reset process, and if I can make it last from charge to charge, I'm fine with it.

By the way it is Watch 6 classic as I'm sure size / generation accounts in how long it keeps its charge, my Watch 5 Pro was much better.

Thanks
[Samsung Galaxy Watch 4] Dante63:
It has no impact on Samsung Health, shm mod pushs BP data to Samsung Health nothing more
[Samsung Galaxy Watch 4] maximus.bacillus:
Everything is going great, working perfectly. Rooted Xiaomi Mi Note 10 Lite, MIUI 12.5.6, Android 11. You're awesome. Thank you very much.
[Samsung Galaxy Watch 4] SyCoREAPER:
Just got a Watch 5 Pro in addition to the existing Watch 4 and wanted to thank you again for this wonderful gift. It really completes the Galaxy Watches.
[Samsung Galaxy Watch 4] rathian:
@Dante63 I notice in the latest play store version of Samsung health (6.26.05.117) on the phone, there's a new tile for ECG, but tapping on the ECG tile does nothing.. does it receive data from the Samsung health monitor modded app?
[Samsung Galaxy Watch 4] Dante63:
SHM MOD Companion, ECG Tile Enable tab...
[Samsung Galaxy Watch 4] RalloTubbs247:
Ive just returned to using my GW4C

but samsung health isnt reading EGC, stating is mod installed on watch which it is so im at a loss what i am missing
[Samsung Galaxy Watch 4] Deadly Dennis:
Everything is working with my S23 and GW4, one issue is the medications notification. Sometimes it comes through and sometimes not. I have checked the notification settings and they are checked....what is the issue?? I have 3 times set for notification, 8am, noon and 6pm. All with "strong". Somedays one will come through and others two, but never all three. Settings are for notice even if phone in use.
[Samsung Galaxy Watch 4] Dante63:
Samsung health does not have ECG data, the tile is shortcut, if you want to make it functional, shm mod companion -> ECG Tile Enabler...

This app I developed creates a bridge between SHM MOD and Samsung Health...

This is how it is with stock SHM, tile opens stock SHM...

Medications might need longer time till it's 100% stable and functional in my opinion, after all, Medication is only avaliable in the US...
[Samsung Galaxy Watch 4] Hari2110:
Hi Team,

I am using one plus 9R and when i try to install the shm mod app apk from the drive its telling me, app is not installed since my phone does not support it.

I am not very tech savvy. Can you pls help me, have been struggling like anything here for past month and unable to use anything.
[Samsung Galaxy Watch 4] devaponnadsm:
Are you using the correct file? The apk which needs to be installed in phone has "PHONE" in its name.
[Samsung Galaxy Watch 4] Dante63:
Do watch the tutorial video: