yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Watch 4] Dante63:
ADB keys created only once and if they are corrupted, they wouldn't succeed to prompt on your watch to accept or revoke an incoming connection RSA fingerprint, you'd just keep getting unauthorized and sorry that my info was wrong, you can't run a command to delete it as far as I know, so just delete these two files in your .android folder
[Samsung Galaxy Watch 4] black7:
Thanks! Unfortunately I'm not even getting an "unauthorized" message on either device. I just keep getting operation timed out on my laptop and no prompt on the watch to accept the RSA. Just to be sure, I deleted the rsakey and rsakey.pub files again but the same issue persists.
[Samsung Galaxy Watch 4] znel52:
Dumb question probably but you are turning on the necessary toggles in developer settings on the watch before attempting this correct? I'm assuming you are just didn't see it specifically mentioned.

Maybe try the bugjaeger phone app in the OP instead of going through your laptop? May not help but worth a shot it's super easy to use.
[Samsung Galaxy Watch 4] Dante63:
Unauthorized is seen only on pc, your watch just gets promoted or never gets promoted...

Anyway, tell me if you did what I'll say, adb and debug over Wi-Fi both turned on on your watch, watch and laptop are connected to the same network (doesn't matter bandwidth)

You run adb and you typed adb start-server, then adb connect and typed the IP of the watch seen inside Wi-Fi connections or debug over Wi-Fi, while doing that, your watch screen is turned on and not locked

Alternatively if pc fails, try phone method
[Samsung Galaxy Watch 4] black7:
@Dante63 @znel52

Thanks for the suggestions!

Turns out the issue was there was a process running on my laptop that was bound to port 5555. Quick netstat found it. Killed the process and ADB connected right up.

@Dante63 Everything working great now, thanks for your hard work and sharing with the community!
[Samsung Galaxy Watch 4] znel52:
Nice! Glad you got it figured out.
[Samsung Galaxy Watch 4] b0uncyfr0:
@Dante63 Just wanted to pop in and say thanks - Ive got most of the functions working on my S9.

With the exception of one - the ECG app on the watch keeps telling me to 'download the app'. This is after i've successfully side loaded the apk via your automated script and had no issues. On my phone - your SMH is installed but clicking on the 'Download' button on the watch takes me to the Galaxy Store where it says its not installed.

Not sure whats going on there - i also tried a restart and also removing the original SMH as well. Has not helped.
[Samsung Galaxy Watch 4] Dante63:
You either installed the original shm or you opened the original shm on the watch...

To know you have the mod...

The logo of the watch shm mod has been redesigned as an M heartbeat and when you hit download (if the phone doesn't have the mod) it would take you to my Google drive and not galaxy store...
[Samsung Galaxy Watch 4] b0uncyfr0:
Nope - i definitely installed the right file (Watch4.SHM.MOD.1.1.0.185.dante63). But 'Yes' i did open the app on the Phone. I decided to remove the original and install the modded version manually via ADB and this seem's to have worked. In the automated attempts, i did try to remove the original smh on the second try, still didint work. But it's working now. Maybe check the script there... ?

Thanks anyway mate - i wil be keeping the watch4 instead of selling it now. Im sure alot of rooted galaxy owner's feel the same :)
[Samsung Galaxy Watch 4] Dante63:
I will check it when I have time for sure, no problem and glad it works for you now
[Samsung Galaxy Watch 4] akxak:
Worked like a charm, thanks for the great work.
[Samsung Galaxy Watch 4] Googole:
Nevermind
[Samsung Galaxy Watch 4] salwan.hemant:
@Dante63 I was trying to follow the steps but stuck at step 4 below:

adb -s <IP> install Watch4.SHM.MOD.X.X.X.XXX.apk

This command does not complete and gives the message "Device not authorized: blah blah".

The step 3 completed successfully with message "Device connected successfully" but there was no popup on the watch to authorize.

Can you suggest me what could be the problem here?

I have the watch4 SM-R875F and have already enabled adb debugging.
[Samsung Galaxy Watch 4] Dante63:
Just authorize it, the authorization doesn't happen always at connection, it can happen at installation or shell stage as well but it happen only once...

Good to know you have adb debugging and debug over wifi turned on, just run the command again and check your watch while doing so and allow it
[Samsung Galaxy Watch 4] salwan.hemant:
Thanks for quick reply. I got my answer from your previous post. I had to delete .adbkey files users folder.
[Samsung Galaxy Watch 4] dagreyt:
It works!

here in the US, only ECG is enabled.

Now I am able to use the BLOOD PRESSURE feature.

and thanks to all the hard work @Dante63 and all others who contributed for this to work

now Samsung Health Monitor and can sync data to Samsung Health app. (Blood Pressure Data).

Instructions are clear and easy to understand. Thanks to you all.
[Samsung Galaxy Watch 4] razvan11malancus:
Hi, guys! Thank you so much for your great work! Everything works as expected except for the uninstall of the original app from the watch. Could you please help me uninstall it as I cannot get past the 3rd step succesfully:

OPTIONAL STEP: if you have original SHM and want to uninstall it, do the following:

adb shell

then type

pm uninstall -k --user 0 com.samsung.android.shealthmonitor

finally type:

exit

This is the result I get from mac terminal:

"Last login: Thu Dec 2 12:01:25 on ttys000

razvanmalancus@MacBook-Pro-Razvan ~ % cd Downloads/platform-tools

razvanmalancus@MacBook-Pro-Razvan platform-tools % ./adb connect 10.0.16.25

already connected to 10.0.16.25:5555

razvanmalancus@MacBook-Pro-Razvan platform-tools % ./adb shell

wisebl:/ $ ./pm uninstall -k --user 0 com.samsung.android.shealthmonitor

/system/bin/sh: ./pm: inaccessible or not found

127|wisebl:/ $ "

Thank you again!
[Samsung Galaxy Watch 4] Dante63:
Your watch doesn't have SHM installed
[Samsung Galaxy Watch 4] razvan11malancus:
Ok, so the original Samsung Health Monitor app with original widgets are supposed to stay in the watch if I understand it correctly? I have the modded version in the watch, also the modded widgets and everything works like a charm. Just that I do not know if the original app in the watch should be removed or not.

Thank you for your fast reply!
[Samsung Galaxy Watch 4] Dante63:
Ok I had a second look at your command, you typed

./pm uninstall -k --user 0 com.samsung.android.shealthmonitor

And it's written for you

pm uninstall -k --user 0 com.samsung.android.shealthmonitor

This is a shell command, not adb command
[Samsung Galaxy Watch 4] soenderm:
Do the health mod works on the new watch update? And do I have to installed the mod again after updating the watch?

Most important Thank you for the mod 🙂
[Samsung Galaxy Watch 4] Dante63:
Yes it works and it will always will work without the need to install it again after updating the watch...

This mod is independant, unaffected by updates...

But you do need to install it again when I release a patch or update which updates the version you have logically...
[Samsung Galaxy Watch 4] razvan11malancus:
Thank you again! Just tried again today and worked. Great work!
[Samsung Galaxy Watch 4] hamooz92:
Thank you so much!
[Samsung Galaxy Watch 4] Thomas123456:
Can you please tell me where (and how) to downlaod this? Thanks!
[Samsung Galaxy Watch 4] Dante63:
Refresh Google drive link and you'll see it at the root of the drive, download and install
[Samsung Galaxy Watch 4] Thomas123456:
OK. Where is / how to access the Google drive link?
[Samsung Galaxy Watch 4] Dante63:
Look at the main post again for the link and you'll find it large, bold and orange...
[Samsung Galaxy Watch 4] maquille:
Hi, first of all thank you for your work. I have a problem with setting up this app.

I followed the method with BugJaeger, I conclued all the steps well. The SHM mod app is well installed on my phone , same on my watch.

The app on the phone doesn't recognize my watch and cannot start ECG or blood pressure.

With SHM mod on my watch, I manage to launch the application, to enter my first and last name but not my date of birth. However, I manage to validate the registration but once in the menus I can not do anything. I have no shortcuts either.

Samsung health (after change ro.config.tima = 0) and galaxy watch 4 plugin work perfectly.

Any ideas ?

Thanks
[Samsung Galaxy Watch 4] Dante63:
I am not sure if u understood you correctly but from my understanding, the watch and the phone can't see each other and for that I want you to confirm you are opening the right apps, MOD has a custom logo, the heartbeat looks like M but the phone has an additional logo of WearOS
[Samsung Galaxy Watch 4] maquille:
Yes exactly

I use the mod with an additional logo, on the phone and on the watch.
[Samsung Galaxy Watch 4] Dante63:
Watch4 is connected to the phone...

The phone SHM has M and WearOS logo and the watch SHM has M and you have opened them both to allow them to communicate...

Yes? If yes, I'll need photos as confirmation because you must've done something wrong...
[Samsung Galaxy Watch 4] maquille:
Ah. I use the Wear OS classic on my phone. Not with a special logo.

Edit : sorry, I used the same app SHM for phone and watch. I didn't download the SHM for watch so it was not optimized. Yesterday i didn't have acces to this folder on your drive.

Edit 2 : All works perfectly. Thanks a lot for your time.
[Samsung Galaxy Watch 4] enebro77:
@Dante63 , sir,

Thanks for your job.

72900263M4740890H

People like you, really deserve this small contributions via Paypal ...

Hope all the people are reading this, just consider my words ....
[Samsung Galaxy Watch 4] Thomas123456:
All, I got the files now and tried to get the data to the watch. I can see the watch on the WLAN and ping it,

but when I try to connect to the watch via ADB, it tells me that no connection is possible ,as the target computer refused the connection. Any idea how to fix this?
[Samsung Galaxy Watch 4] Dante63:
Got ADB debugging and debug over Wi-Fi done already?
[Samsung Galaxy Watch 4] mmeidl78:
Is a calibration for the blood pressure every x weeks needed with this mod?
[Samsung Galaxy Watch 4] Dante63:
Mod and original both have 30 days period... I have not changed it and I don't plan on changing it for medical purposes that were set by Samsung devs...
[Samsung Galaxy Watch 4] solo786:
Worked with my phone and bugjeager, no pc. Thank you.

I also uninstalled the old app.

However, I mislick on Auto rotate the screen in Bugjeager, and now my watch keeps rotating. How can I stop that please?

Galaxy watch 4 44mm Bluetooth
[Samsung Galaxy Watch 4] tiho5:
Bought a galaxy watch 4 yesterday.

Found that I can't measure my blood pressure as I'm rooted. Got disappointed as that's one of the main reasons I bought this watch for.

I found this thread 10 min later. Another 15 min later I had everything working.

Perfect thread and work here. Nice set prepared on Google Drive with information and the apk files prepared. Thanks a bunch.

The only thing that slowed me down is the fact that I have a MAC filter on my rooter. I found that the MAC address that the watch gives in its settings/about is not correct. Every time I connect the watch to different network, its MAC is different. Don't know why. Had to use some tools to establish with which MAC address it gets connected.

Thanks again, mate.
[Samsung Galaxy Watch 4] Dante63:
You probably accidentally ran one of the commands, you could on Bugjaeger use one of the following rotate commands:

Or (which i recommend) click on the bottom right, the floating blue button and type each command separately:

settings put system accelerometer_rotation 0

settings put system user_rotation 0

If you will use your PC with adb tools, write "adb shell " before both commands...
[Samsung Galaxy Watch 4] apacatia:
Thank you so much! :love:

xiaomi mi10t pro
[Samsung Galaxy Watch 4] Limakos:
In watch settings there is an option to disable random MAC.
[Samsung Galaxy Watch 4] tiho5:
I was unable to find it. Could you give me some pointers where to find it. I am very interested in this option. Thanks.
[Samsung Galaxy Watch 4] Limakos:
In wifi setting when you click on network which you are not connected to, click advanced and this setting should be at the bottom. Note that it's specific to each network so I suggest untick it for your home networks and leave enabled for any other.
[Samsung Galaxy Watch 4] tiho5:
Tank you!

I wish there was a general way to disable randomizing or ability to set it for a Wi-Fi network already connected as my passwords are so long and I will have to set up Wi-Fi connection again...

Thanks again.
[Samsung Galaxy Watch 4] solo786:
Thank you very much (y)
[Samsung Galaxy Watch 4] chrisbee75:
Can this be done without the use of a Pc?
[Samsung Galaxy Watch 4] Dante63:
Use bugjeager (as simple as selecting the operation but it has a bug, for me that is), remote adb shell (you enter the adb commands) or other phone apps to install shm mod...
[Samsung Galaxy Watch 4] chrisbee75:
Ok thank you what is the bug if you don't mind me asking?
[Samsung Galaxy Watch 4] Dante63:
Automated command uninstall doesn't execute for me, so to uninstall original shm, i had to type and run the command in a terminal

It worked for others though
[Samsung Galaxy Watch 4] chrisbee75:
Do you need to uninstall the original one? Is it needed for it to work? Sorry for all the questions I'm just an amateur when it comes to all the technical side
[Samsung Galaxy Watch 4] Dante63:
Not needed, my video is very outdated, I will update it hopefully this week, it will be very proper and straightforward video Tutorial...
[Samsung Galaxy Watch 4] chrisbee75:
Ok thank you for the information. Hopefully it will work on my pixel 6 pro as I've heard it doesn't work on that device.
[Samsung Galaxy Watch 4] Dante63:
As far as I know, works on any device, I only had one case with someone that decided to sell the phone, it was Chinese device
[Samsung Galaxy Watch 4] Maxrunner:
Hi all,

Just bought a Galaxy watch4, and after reading the initial process to install these, i assume you still need galaxy wearable before doing all of this right?

Any info on whether this works on a Poco F3?
[Samsung Galaxy Watch 4] Dante63:
You need that to pair and connect to your watch4
[Samsung Galaxy Watch 4] Maxrunner:
Also whats the difference between samsung health monitor vs samsung health?
[Samsung Galaxy Watch 4] Pichulec:
Working great, Xiaomi 11T Pro, MIUI12.5 android 11
[Samsung Galaxy Watch 4] Dante63:
Two different applications,

SHM measures BP & ECG only,

SH measures other fitness and health things (HR, SpO2, Sleep, etc)
[Samsung Galaxy Watch 4] Thomas123456:
It's working now. Thanks!
[Samsung Galaxy Watch 4] Tissoto:
Thanks Dante63.

VIVO Iqoo 7 China Version !
[Samsung Galaxy Watch 4] Achille1170:
Hi, the SHM MOD is working well on my One Plus 9 pro (thanks about that) but I am blocked with the sync between SHM & SH.

I have followed all the steps in the video but I can't enable the permissions (see screenshot - sorry it's in French).

Do you have an idea?
[Samsung Galaxy Watch 4] Danny17va:
Hi Dante, did u delete text instructions for SHM installation? I couldn´t find them anymore and can´t consume video bc no speakears :(
[Samsung Galaxy Watch 4] DroidRC1:
so it's been a while since I've did adb but after trying to adb instill I get device unauthorized. I never did get the prompt to authorized device. How can I do this?
[Samsung Galaxy Watch 4] ted presley:
Turn off the adb debugging on watch and turn on again, the next time you start debugging the prompt will appear again.
[Samsung Galaxy Watch 4] Dante63:
Screenshot of SHM isn't going to help at all, set features is important, so if you have done the set features properly and have force stopped and cleared cache of Samsung Health then you should be able to toggle it on...

The instructions are in the Google drive, I was cleaning the thread and uploading a new YouTube video, making both Tizen and WearOs threads the same, it would be easier for me to update instructions in one place instead of multiple...

The moment you type adb connect, your watch will ask you to allow debugging from this device? Yes (for once), always allow from this computer, cancel and no (and this will never prompt you again, you'll need to revoke all connections to be prompted again)
[Samsung Galaxy Watch 4] Achille1170:
The set features was ok and I had force stopped and cleared cache of Samsung Health. Anyway I did it again and It's OK now. Thks
[Samsung Galaxy Watch 4] Dante63:
New video released, I hope it's more clear and less hectic...
[Samsung Galaxy Watch 4] DroidRC1:
I've done this but the prompt isn't showing up. I Believe I'm doing everything else right? This is for my first times doing adb via wifi.
[Samsung Galaxy Watch 4] Dante63:
On your watch, in developer mode, there is revoke debugging authorizations (in case somehow the watch decided the answer is no and refuse to connect), this will release all connections and ask you again if you want to allow any connection, keep in mind, prompt is visible as soon as you enter adb connect, even if it says connected on adb, your watch is waiting for confirmation, after that there will be a timeout and rejection
[Samsung Galaxy Watch 4] DroidRC1:
Okay I'll try that.

Could it maybe be my router since it auto chooses between 2.4 GHz and 5?
[Samsung Galaxy Watch 4] Dante63:
shouldn't be a problem, watch4 connects to both, as long it connects to one of them, you should be able to connect to it...
[Samsung Galaxy Watch 4] Pomonabill220:
Hello Dante! WOW you did a WONDERFUL job with this!

This ability for the watch4 was the reason I bought it, but was disappointed that BP didn't function in the US.

When I saw your mod, I bought the watch and applied the mod, and GREAT...

BUT....

I ran the calibration fine (all 3 steps), but when I measure my BP, the numbers are WAY off (like ~30 systolic and 15 diastolic).

Is this typical for the watch or are the calibration values not being applied, OR am I missing a step somewhere?

ver. 1.1.1.153 on a Sammy S8.

ver. 1.1.0.171 on the watch.

Thanks again for your effort!
[Samsung Galaxy Watch 4] Dante63:
Update both, phone and watch shm mos, and then recalibrate by going into view history on BP and then 3 dots, clean the back of the watch, make sure strap isn't very loose, don't move much and try and see if it makes any difference
[Samsung Galaxy Watch 4] Harkmaster:
WearOs shm 1.1.1.175 please
[Samsung Galaxy Watch 4] kabirjedi:
Sorry guys .My last device "hacked" my hand HTC Desire HD ....

So thanks samsung again here :D

My question.What the name original SHM on watch safe to delete?

com.samsung.android.wear.shealth?

Thank you

P30 pro bpand alll stuff working fantastic job guys thank you!
[Samsung Galaxy Watch 4] Dante63:
Galaxy store shows 1.1.1.171 for phone as latest, I don't see 1.1.1.175...

Everything is mentioned in the instructions of how to remove the original SHM, the one you mentioned shealth is Samsung Health...

Also, sorry to hear your device got hacked, how did it get hacked? Perhaps people can learn and be more cautious...
[Samsung Galaxy Watch 4] kabirjedi:
Just look the apostrophe heheheh ( "Hacked")

Your irony/joke detector battery is low. Thanks anyway your hard work.
[Samsung Galaxy Watch 4] Dante63:
Oh I just noticed 😂, whoops
[Samsung Galaxy Watch 4] Chef_Keboy:
Thank you @Dante63 , Just bought a galaxy watch 4 classic 46mm synced with my s10+ and it was seamless. Props to "SMARTWATCH SERIES" for sharing this in YT. Hopefully we could sync it soon with Samsung Health.
[Samsung Galaxy Watch 4] Dante63:
Sync is working since a long time, there is a section for it and a short youtube video
[Samsung Galaxy Watch 4] dumbdeniz:
Hey, i was just wondering if there could be an option placed somewhere in the app to skip the warning/how to part after pressing the measure button. I could cope with it at first but having to go through that before each measurement (i take lots) is annoying. I really wonder why samsung made it this way.

(Basically an option for going straight to measuring like any other tile)
[Samsung Galaxy Watch 4] shaggyskunk:
It's just plain pathetic that Samsung can't get it done! Having to use the US firmware to get Heart Rate - O² - BP is a failure by Samsung! Other Canadian manufacturers have been able to get certified by Health Canada..
[Samsung Galaxy Watch 4] drivel2787:
Attached the video as well so you can see that I have the modded app and screen shot the app on the phone which shows BP isn't working. I followed directions exactly as you had them written. I'm an IT dude for 20+ years doing networking stuff and this stuff is second nature.

@Dante63
[Samsung Galaxy Watch 4] rwoodr:
I can report I am seeing a similar issue as reported above. I have installed the modded APK on my pixel 4 XL and the watch4 apk on the watch. I have the SHM with the m icon on watch. I launch the app on my phone, run through the setup. Shows that Blood pressure has no compatible watch found. ECG is working properly and was able to record with no issue. After taking ECG it showed results on phone as expected. Can't get the blood pressure to work at this point though.

I will note that my watch did an update after getting it today that provided some bug fixes and optimizations from the change log. not sure if that has made any difference in why this isn't working.

Any information I can provide, please let me know.
[Samsung Galaxy Watch 4] Dante63:
I will investigate that, probably it's the watch app I need to patch, @spart0n is in my Telegram group already, if you two like to join the group to help in tests, you're welcome to do so...

Someone from Canada posted about not having official SHM installed on the watch, if you have the same issues and wish to test as well, please let me know...
[Samsung Galaxy Watch 4] Juxto2010:
I'm curious, could a modified SHM be made that has bp enabled as the only modification? I have a Galaxy S21 Ultra 5g here in the USA. I can't root and I have ECG. Would it still not sync?
[Samsung Galaxy Watch 4] Dante63:
My mod doesn't require root at all, many misunderstood that root in SHM, SHM doesn't run on rooted devices and this restriction has been removed...

I didn't touch the watch4 app functionality, I only made it compatible for the phone app, seems like I need to do some patches on the watch too...

I'll be working on it, if you'd like to volunteer to test, join my Telegram...
[Samsung Galaxy Watch 4] Dante63:
UPDATE:

isUSModel() found in the watch app...

it removes the BP, I guess I have to do patches on the watch app...

Hopefully I will release it end of the day, midnight maybe if not earlier...
[Samsung Galaxy Watch 4] Dante63:
I have patched the watch app, testing it in telegram before I release it, this will fix problems with BP not available
[Samsung Galaxy Watch 4] t.kijas:
I would like to ask question about Huawei phones:

I use Huawei P40 Pro with EMUI11 and Google services.

I sucessfully connected watches using Samsung Health app, but I am unable to send any google account to the watches. Do you know if there is some kind of woarkaround for this? Or what is causing it?

Thx
[Samsung Galaxy Watch 4] Dante63:
Rolled out a Patch for the watch4 SHM MOD, patch include (country restrictions removed, BP disable removed, force update removed and Age changed from 22 to 16)...

Simply install it through adb again and it will update the installed MOD, no need to uninstall the previous MOD...

I noticed that Canada does not have SHM on the watch4, probably some countries won't have it too, so I updated the thread to include a section for "Missing Original SHM" to install SHM, hopefully it fixes the problem...
[Samsung Galaxy Watch 4] Dante63:
please do explain more because I didn't understand the question...
[Samsung Galaxy Watch 4] peterzorro:
I will receive 3 watches tomorrow for friends and me. So happy to see that a solution is here already. Just wanted to say THANK YOU for the effort and restless optimization @Dante63 :)

edit: your Patreon link in YT is not working ;-)