yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Watch 4] Dante63:
If the phone app is crashing and can't get past profile creation, then even if you carry on installing the mod on your watch, you won't be able to use it because phone shk mod should be functional...

But let's say you want to install the watch app regardless, the watch shm mod is located in the watch folder the name of the apk has "watch" in it...

Watch has shm mod installed..?

Does it open the phone shm mod and still show no compatible watch found...?

If yes, restart phone and watch and they will detect each other on next boot...
[Samsung Galaxy Watch 4] get2easy:
Yes it's installed SHM mod. Yes it's show no compatible watch.

I've restarted several times today but it is the same problem
[Samsung Galaxy Watch 4] Dante63:
Could you please share a screenshot of the app icons for watch and phone just to confirm you have the right apps
[Samsung Galaxy Watch 4] get2easy:
My Phone is rooted now, ROM is from Dr. Keatan.

I think this shouldn't be a problem. everything was fine with my old watch 3
[Samsung Galaxy Watch 4] Dante63:
And the watch app icon ?
[Samsung Galaxy Watch 4] get2easy:
How install your mod app on my watch??
[Samsung Galaxy Watch 4] Dante63:
Few posts back you said the mod is installed on watch (as an answer to my question)...

Nevertheless, there is a ReadME document in Google drive in the watch folder...

You can also install the shm mod companion, watch section has a question mark that explains what you need to do and sideload the apk...

Alternatively, watch the YouTube video...
[Samsung Galaxy Watch 4] get2easy:
sorry I meant the original app is on the watch. my mistake. Thanks for the tip, I'll take a look and report back, sir
[Samsung Galaxy Watch 4] Dante63:
No worries, I hope it's straightforward and easy for you to install...
[Samsung Galaxy Watch 4] dkearns:
Hi Dante, I have the watch.SHM.MOD on my computer and I copied it to my phone.

How do I transfer it to my watch?

Once I have it on my watch do I need to turn on ADB debugging on my watch before installing?
[Samsung Galaxy Watch 4] Dante63:
Yes, you'll turn on debugging and debug over Wi-Fi, kindly read the instructions or watch the video or wait few hours, I will release a new tutorial video to show simple PC way or using phone only (which I will highlight that this is easier)
[Samsung Galaxy Watch 4] dkearns:
That would be awesome! I look forward to the new tutorial video (for those challenged like me) :-)
[Samsung Galaxy Watch 4] Dante63:
Might take a day or so, just thought I'd tell you if you don't want to wait
[Samsung Galaxy Watch 4] Takeoo111111:
Have you found a solution to that? My watch disconnects once a week and only a factory reset of the watch + Apps brings it back to live.
[Samsung Galaxy Watch 4] dkearns:
Much appreciated! I watched/read the how too again and I think I have it figured out. If not I'll wait. UPDATE: Still no luck :-(
[Samsung Galaxy Watch 4] 73sydney:
It can be one of two things

1) Just a known bug that isnt yet fixed that causes random disconnections

or

2) If you have a rooted Samsung of certain models, once rooted on stock ROM they can lose bluetooth pairing and need to be patched to prevent this, my previous device the S20+ was one such device

see the thread here if you have a Samsung device and want to check if youre possibly affected:

https://xdaforums.com/t/bluetoothli...-android-13-12-11-10-pie-oreo-nougat.4017735/

p.s. Dont ask me.....
[Samsung Galaxy Watch 4] Takeoo111111:
Thanks a lot!

Do you have more information or a link to get more details on the this bug?

I'm using a Huawei P30 Pro
[Samsung Galaxy Watch 4] 73sydney:
you mean the first possible reason, the random disconnection bug, its just one experienced and referenced from here to Reddit and back, i havent yet seen any explanation for it or bugcheck i could point you to, and i probably wouldnt point you to it if it existed, because it would be highly boring. Samsung are aware. but given the pace at which they dont fix stuff or create new issues, and their lengthy and very explanatory changelogs, like this one the other day:

who knows when it will be fixed.....im on LTE i still havent gotten the last update yet...

im sorry, i have nothing further to offer you on that front
[Samsung Galaxy Watch 4] Dante63:
Whitelist wearable and plugin, and now that you mentioned your device name, it might be the HwWifiproBqeService (not sure why but it did cause problems but I do know it was releasing or breaking the pairing)... see if that app is installed, clear its data and restart your phone and try pairing or connect to your watch normally, hopefully this resolves the problem...
[Samsung Galaxy Watch 4] dzumagos:
When i use the companion app to upload an apk to the watch, where exactly does it go (what path) ? i uploaded the apk and now i cant really find it :o @Dante63 ?
[Samsung Galaxy Watch 4] Dante63:
Upload? You mean download, it will be in download folder inside SHM MOD Companion Folder...
[Samsung Galaxy Watch 4] dzumagos:
so i used this button

to my understanding this sends an .apk FROM phone TO watch, is this not correct ?
[Samsung Galaxy Watch 4] Dante63:
Oh yeah, got me confused with uploading, it does send the apk, correct, are you unable to select the apk or find it?
[Samsung Galaxy Watch 4] dzumagos:
so i did select the apk and it was sent to the watch, but now i dont know how to find it on the watch (and click it so it will install)
[Samsung Galaxy Watch 4] Dante63:
😅 ok I see now...

The apk is installed automatically, you can see from the logs, it will say watch received the apk and it will attempt to install, so if you open the apps drawer scroll to the bottom, you'll find the app installed there...

If logs show error then the watch didn't receive anything or it did and it failed to install...
[Samsung Galaxy Watch 4] dzumagos:
ah, i did not know it installs automatically.

ok, after the install complete is the .apk removed from the watch or do i have to do it manually (if i wanted to?)
[Samsung Galaxy Watch 4] get2easy:
Hy Dante. Since I'm in the hospital, I've got time and rest now. Have managed to connect with your gemini app and companion watch and phone. Now I have both apps installed and now this error message comes
[Samsung Galaxy Watch 4] dkearns:
I was able to connect to my phone but I can't get the command to run.

Here is my adb:

Command:

3. Install MOD SHM, type:

adb -s <IP> install Watch4.SHM.MOD.X.X.X.XXX.apk
[Samsung Galaxy Watch 4] badabing2003:
See this
[Samsung Galaxy Watch 4] dkearns:
Thanks for the assist! Still an issue

C:\adb>adb -s 192.168.1.207:5555 install Watch.SHM.MOD.1.1.0.221.apk

adb: failed to stat Watch.SHM.MOD.1.1.0.221.apk: No such file or directory

C:\adb> adb -s 192.168.1.207:5555 install Watch.SHM.MOD.1.1.0.221.apk

adb: failed to stat Watch.SHM.MOD.1.1.0.221.apk: No such file or directory
[Samsung Galaxy Watch 4] badabing2003:
Download the latest Android Platform Tools and try again.

You're using an old adb.

Alternately you can transfer the apk to the watch and then install it from the watch

adb -s 192.168.1.207:5555 push Watch.SHM.MOD.1.1.0.221.apk /data/local/tmp/Watch.SHM.MOD.1.1.0.221.apk
adb -s 192.168.1.207:5555 shell pm install /data/local/tmp/Watch.SHM.MOD.1.1.0.221.apk

Note: You can also download the app from my signature and use the Install APK feature to Install.

You don't need to care about other aspects of the app.

There is also a crude Package Manager in there that will get better in time.
[Samsung Galaxy Watch 4] Dante63:
You can uninstall the apk by long pressing on it and uninstall and if you're wondering about deleting apk after install, that is handled by your watch...

I hope you get better truly...

The error says it's a phone app not a watch app, so uninstall shm mod, then open companion on your phone, open the watch section download the watch shm mod and install it, the name of the apk has "watch" in it and it's an indicator that it's watch app, phone app has "phone" in its name...

what's the current path of this folder your sharing a picture of..? Is it in program files?
[Samsung Galaxy Watch 4] get2easy:
Thank you Dante, I get the same error message at shm company.

I didn't install it via adb but via companion about my note
[Samsung Galaxy Watch 4] yuv78:
Hi Dante. After installing latest firmware update for watch5 pro the ecg is not working properly. After the measurement is finished the screen goes off without showing the result and the watch locks itself and ask for the password as if it was removed from the hand, however the result does send to the app on the watch.
[Samsung Galaxy Watch 4] get2easy:
Hy Dante.It finally worked. Thank you again for the support
[Samsung Galaxy Watch 4] Mohammed saliq:
I found easy way to to add ecg and blood pressure in my watch 4 without sideload. we can set it with Galaxy wearable app
[Samsung Galaxy Watch 4] Dante63:
Seems a bug in watch5 update...

Just like watch4 update has a bug killing watches, watch5 crashes shm itself, not just mod...

Do share...
[Samsung Galaxy Watch 4] dkearns:
Badabing, I downloaded the Android Platform Tools (thanks!)

Here are the results of the code:

Does this mean it installed?
[Samsung Galaxy Watch 4] Dante63:
Can you share a screenshot of the folder adb in the C drive please...
[Samsung Galaxy Watch 4] dkearns:
I don't believe it is in programs files. I set the adb directly under the C:

Dante, Is this what you are referring to?
[Samsung Galaxy Watch 4] Dante63:
Yeah, thought you install adb minimal (because it does look like adb minimal) and kept things as it is when installed and maybe had another adb in C drive... as if having 2 adbs each running from elsewhere...

But looking at this, it doesn't look like you have that, everything looks right so it should work... why isn't it working 🤔
[Samsung Galaxy Watch 4] Dante63:
What are you using...? windows cmd (command prompt), buildozer WSL, PowerShell... or something else..?
[Samsung Galaxy Watch 4] badabing2003:
You said you downloaded and installed the latest Platform tools, yet all I see is files from 2018.

If you installed it elsewhere but are running from c:\adb, guess which is being picked :)
[Samsung Galaxy Watch 4] dkearns:
CMD prompt
[Samsung Galaxy Watch 4] Dante63:
Do me a favor and try using powershell...

Keep in mind for PowerShell, instead of adb, type .\adb.exe (or the front slash, don't recall)... just want to be sure whether the problem is in adb or windows cmd
[Samsung Galaxy Watch 4] dkearns:
When I open power shell it takes me to this path. How do I get back to C: \adb ?
[Samsung Galaxy Watch 4] Dante63:
cd to the path
[Samsung Galaxy Watch 4] dkearns:
Oh yea, Change Directory! It's been a LONG time since I worked in dos LOL

I finally got it loaded, working and calibrated!!

Thanks a TON Dante!! Where is the Thanks button so I can SMASH it!!!
[Samsung Galaxy Watch 4] Dante63:
Seems your cmd is not functioning properly, I suggest you fix it and investigate why that happened, scan your pc for viruses (just as a precaution)...
[Samsung Galaxy Watch 4] dkearns:
I ended up using cmd but I was missing part of the path. I had to enter Watch.SHM.MOD.1.1.0.221.apk.apk.

Good advise on the scan. I run Malwarebytes and windows security. Both set to scan daily.

Thanks again for all your work developing the mods!!!
[Samsung Galaxy Watch 4] Mohammed saliq:
I changed CSC to UAE and unlocked it but it isnt working it needs official samsung health monitor app

It isnt working just checked

It just unlocked/installed samsung health monitor app
[Samsung Galaxy Watch 4] Mohammed saliq:
I changed CSC to UAE to unlock samsung pay. Is there any way to change it back to india. Resetting watch isnt working
[Samsung Galaxy Watch 4] Dante63:
Yeah, it won't work unless the phone shm works... I did already state the need of either both stock shm or both mod shm to work...
[Samsung Galaxy Watch 4] Mohammed saliq:
Yes i tried but now i want to change CSC again to india is there any way
[Samsung Galaxy Watch 4] Dante63:
If you reset the watch, just reset it again, if reset through Wearable app doesn't show country selection, then from the watch, hold both buttons and when you see Samsung Rebooting press the top button several times till you enter the boot menu, go to factory and long press the top button, that's a hard reset...

However, if you changed the CSC with dialer, then you are stuck, you should've done more research about the CSC dialer, it's a one way and it's 50% fail or success, (I'm talking about watch functionality, no lags, OTP updates received, etc)...
[Samsung Galaxy Watch 4] Mohammed saliq:
I

Changed it through dialer

I don't know anything about CSC its my first samsung watch

It means i am not able to receive ots updates now?
[Samsung Galaxy Watch 4] Dante63:
That you will know with time, along any issues coming, as I said 50 50, either lucky, watch works normally but locked on the region you selected, or unlucky, watch lags, battery drains, no OTA, etc...

CSC dialer is irreversible, and there are threads about it, too bad some of the threads don't shed a light on important facts such as irreversible and unstable...

Anyway, you have a low chance of replacing the watch (you just need to pretend that you have no clue, you got the watch like that with issues in it)... you can also replace it pretending that the watch you recieved can't change its region for unknown reasons lol... good luck
[Samsung Galaxy Watch 4] Mohammed saliq:
Its under warranty but watch has scratches on it
[Samsung Galaxy Watch 4] Dante63:
My role is complete...

I told you what you might be expecting from what you did...

It's up to you what you wish to do with the watch now...

Keep it, replace it, sell it, etc...

your call...
[Samsung Galaxy Watch 4] Mohammed saliq:
Thanks bro is there any way i can brick this watch?

Then i will claim replacement

I
[Samsung Galaxy Watch 4] Dante63:
You can try the same command for the phone, either by trying to set the flag back to false by typing

adb shell settings put global development_settings_enabled 0

Or clearing the settings data of the watch

adb shell pm clear com.android.settings

You'll need to choose your Settings again, such as volume, vibration, etc

Of course you'll need adb enabled and you'll probably ask about how to turn off adb wifi, the second command will clear settings so adb wifi will turn off and you can test it by trying to connect to the watch IP...

But with the first option run the command:

adb shell settings put global adb_enabled 0

But again, these are android phone commands, but should work on Android watch
[Samsung Galaxy Watch 4] Dante63:
Lol 😂
[Samsung Galaxy Watch 4] JediMasterASD:
Is the BP sync between SHM and SH fixed yet? I don't want to go through all this if the data doesn't ultimately end up in SH yet. The OP just says "maybe fixed or not". Looking for confirmation.

Thanks!
[Samsung Galaxy Watch 4] Trekker56:
I was succeffuly able to install SHM on my Galxy Watch 4 Classic. Thanks for the Tutorial.

How ever I am unable to install the app on my phone. as I get "This content isn't avaiable in your country". I tried side loading the apk and was able to install the app on my phone but when I open I again get "Samsung Health Monitor is not available in your current location"

I am in Canada, using Galaxy Note 9, stock unrooted.
[Samsung Galaxy Watch 4] Shawnifer:
Doesn't seem like you side loaded the right apk? Which version do you have installed?
[Samsung Galaxy Watch 4] Trekker56:
You are right, i did not sideload the correct apk. trying again now.

EDIT: It worked!!
[Samsung Galaxy Watch 4] Dante63:
Samsung has tightened the security on Samsung Health, even for tizen version, I wouldn't be surprised if it breaks again because of Samsung changes for cloud sync...

That's why I am working on something similar to the ECG, to have BP export to PDF...

Something like this:

Mapping is taking time though as I trace and test things step by step till I make it functional...

I already mentioned about Samsung Health few days ago, maybe I forgot to mention it in Changelogs, if so, then my apologies...
[Samsung Galaxy Watch 4] rhaeus:
You can turn the Developer Options off the same way you turn it on: Settings->About watch->Software->5 taps on Software version. Works on my watch at least.
[Samsung Galaxy Watch 4] Shawnifer:
Can confirm this method works!
[Samsung Galaxy Watch 4] GalaxyGuy2021:
https://t.me/xda_dante63

This adb server's $ADB_VENDOR_KEYS is not set

Try 'adb kill-server' if that seems wrong.

Otherwise check for a confirmation dialog on your device.

adb: error: failed to get feature set: device unauthorized.

This adb server's $ADB_VENDOR_KEYS is not set

Try 'adb kill-server' if that seems wrong.

Otherwise check for a confirmation dialog on your device.

- waiting for device -
[Samsung Galaxy Watch 4] Dante63:
When you do adb connect, your watch will ask for RSA confirmation, allow the pc to connect
[Samsung Galaxy Watch 4] nxt:
Thank you, so much easier than the Tizen version was!
[Samsung Galaxy Watch 4] enicos:
Hello, Thanks for this post. I have used the version of JDK 15 on the drive, but am still getting the "Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/osgi/util/NLS" error. Any chance you can point me towards what to try next?
[Samsung Galaxy Watch 4] Dante63:
Wrong thread? Please move the comment to the Tizen thread, you're in WearOS, and the answer is for some reason JDK15 wasn't set correctly, maybe another JDK is there
[Samsung Galaxy Watch 4] DLG187:
Thanks for the hard work Dante! Just set it up on a GW4 Classic & Note 20 Ultra in Canada - super easy to follow
[Samsung Galaxy Watch 4] Canadoc:
Hey there love your work. Just have a few newbie questions. I have a galaxy note 20 and I am in Canada. My understanding is that the blood pressure and EKG are the things that wouldn’t work without using your modification. If I were to install everything to get it to work I understand that those features won’t sync back to Samsung health.

What about all the other fitness features for instance if I were to exercise and have my heart rate and calories burned as well as what activity I did with those sync back to Samsung health?

also is there a way since I have appropriate Samsung hardware to just bypass the regional restriction of Canada to get those things working that would still allow sync to Samsun health to occur?
[Samsung Galaxy Watch 4] DLG187:
So, everything in the Samsung Health app (Heart Rate, Body Comp, Blood Oxygen, steps, etc) should still sync as they are not modified by this mod.

The BP/ECG stuff are in a separate app (which actually isnt installed on the Canadian Watch4s to begin with) and that's the part that doesnt sync
[Samsung Galaxy Watch 4] Dante63:
The sync is between Samsung Health Monitor and Samsung Health, in other words, BP won't sync, that's all...
[Samsung Galaxy Watch 4] peterzorro:
Received a bunch of watches today, opened tut from GOAT Dante, watched once the youtube video, after couple of minutes all watches were successfully running ecg and bp. BIG THANKS!!!!!
[Samsung Galaxy Watch 4] Mohammed saliq:
Bro can i get indian firmware link my friend flashed stock CSC again in his watch 3, i also want to flash it in my watch 4 (wifi)
[Samsung Galaxy Watch 4] Dante63:
There is a big chance samsung will reject bricked Watch saying it was abused and they will need proof of how it bricked...

And no, WearOS was never released to public yet, so no flashing avaliable...
[Samsung Galaxy Watch 4] Mohammed saliq:
Ok i will visit service centre and will check what they will tell me
[Samsung Galaxy Watch 4] labello29:
Hello there, a couple of days ago I was wondering ...(but the mod will work on android 13 s22 ultra?) Well, I'm here to confirm if working very well and also samsung Health!! Thank you sir Dante!!
[Samsung Galaxy Watch 4] labello29:
Hi Dante do you remember what's the name of that wallpaper on the watch? thank you
[Samsung Galaxy Watch 4] affe2000:
Did some changed with the latest watchupdates regarding wifi debugging

I can connect to my watch, but it always stays offline
[Samsung Galaxy Watch 4] badabing2003:
You probably were slow to allow / grant access from your PC.

Try

adb disconnect <IP:port>
adb connect <IP:port>

If that does not solve your issue,

try

adb kill-server
adb connect <ip:port>

And make sure you allow on the watch.
[Samsung Galaxy Watch 4] blueyes:
Be sure to have the watch in hand and select the "always allow this device" and then it'll automatically connect when you run the "adb connect 192.168.XX.X:5555"

Toggle the adb off and back on and probably best to turn it off when not using it. Battery and security.. I keep my phone's 6in but smart watches don't have juice to spare.
[Samsung Galaxy Watch 4] Dante63:
It's called soft color + on facer but since facer battery drain, I decided to recreate the watchface, you can find it on Playstore, look for geminiman watchfaces case, install the app and find the face from there
[Samsung Galaxy Watch 4] labello29:
Thank you sir
[Samsung Galaxy Watch 4] cableghost:
This is awesome, thank you!
[Samsung Galaxy Watch 4] mura20:
Thank you very much for this adapted app version @Dante63 ! It works very well.

As another user had asked before, I was wondering if it would be possible to allow/enable toggling on/off the background activity of the Wear OS app. I understand that you said it uses around 1% of battery but I think toggling background off could help save battery. I hope it's possible to implement this.

Thanks again!
[Samsung Galaxy Watch 4] Dante63:
If you're talking about the shm mod companion, just set check updates to never...

If you're talking about shm app, whatever data you record won't be synced and the watch would drop the data if the queue is full, so background toggle is not an option and I said it's less than 1% and I mean waaaay less than 1% (probably even less than 0.1%, unless you're recording BP & ECG per hour or per minute, obviously the app battery consumption will increase to 1~2%)

I hope that is clear to you about battery consumption of the app...
[Samsung Galaxy Watch 4] mikatachan:
Hello, trying to go through the instructions and have tried searching the thread, but have gotten stuck on enabling "set features" within the Samsung Health Monitor app. I've been tapping on the version # for a while now (I included a screenshot and circled where I'm tapping), but nothing pops up. I've tried installing the companion app and had it successfully Enable SetFeatures. I've also tried force stopping app, clearing cache, and restarting phone, but I can never get "set features" to show up. Not sure what I'm doing wrong?

I'm using a Pixel 6 Pro running 13.
[Samsung Galaxy Watch 4] Dante63:
SH BP sync, as in Samsung Health BP sync, thus, Samsung Health app, don't mix between Samsung Health and Samsung Health Monitor, two different apps...
[Samsung Galaxy Watch 4] Dante63:
Ok so I got watch update (GVK7) and this is where I noticed the issue of ECG not recording and screen gets locked...

This is a bug 🐛 from Samsung, as you know with every update, new bugs are released lol...

Original Stock also has the same issue, not just the mod... I suggest you raise it to Samsung so Samsung can put some logic into shm, but till they release an official fix, I will be working on doing quick patch and prevent lockscreen from being triggered when recording ECG...

This is the broken condition:

For some reason while ECG is being recorded, the watch fails to detect it's being worn and ends up locking itself and suspending the ECG record (there is a 50% chance your ECG will be saved in the phone app and 50% ECG is dropped, never saved)

So yeah, if you have that issue, please report it to Samsung, and intentions meantime, I will try to think of some solution that works (may not cover all scenarios but will allow ECG to go through and save on the phone)...