yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Watch 4] teletubbielover:
Hello everyone,

I bought my mother a Galaxy Watch 5 in combination with a RedmiNote 10.

Then I followed the steps to remove the restrictions and everything was fine.

However, today my mother wrote me that the watch had reset itself because the Galaxy Wear app could no longer connect to the watch.

My mother doesn't know about such things and I wanted to ask if anyone has ever experienced something like this?

What would you do now to achieve a permanent solution?

My mother urgently needs the watch to have at least an approximate reading during work where she cannot measure her blood pressure normally.

Many Thanks

T-Lover
[Samsung Galaxy Watch 4] Dante63:
Ask if she connected to the watch through Bluetooth settings... if so, that breaks the pairing key of galaxy wearable and hence the need of reset...

The watch rarely loses the pairing keys...
[Samsung Galaxy Watch 4] buczek0711:
Hello there.

I'm writing here, because I cannot get Galaxy watch 5 pro to full operational level. Anyway - I've bought this watch few days back, today it arrived, and maybe I'm missing something, but I cannot get blood pressure measurment and ECG operational. My smartphone is Redmi tulip (note 10 pro), it has been rooted OK (magisk 23, magisk hide, changed app name etc), I've got proper sideload door open (connecting phone into pc and typing commands works), debugging is also turned on on watch, but I've got few issues.

1. I cannot push modded apk wersion of samsung health monitor into smartwatch. Despite, as mentioned, unlocking adb sideload, using either hotspot from my smartphone or my general home wifi, adb (it is installed correctly, it worked fine until this situation without problems) managed to connect to smartwatch, however trying to sideload apk onto in results in "device not found, waiting for device" which takes forever. Debugging via wi-fi is allowed, debigging via that particular wi-fi is also set on "always allow" in smartwatch settings.

2. Because of this, samsung health monitor (which I installed OK on smartphone) does not recognise smartwatch - I cannot add it either manually or automatically. Reseting bluetooth connection, smartwatch or smartphone does not give me any good (for now). What is interesting, both galaxy wearable and samsung health sees smartwatch with no problem, allowing me to customisation and live coverage of steps, hearth ratio etc.

Bluetooth in smarphone system automatically connects both devices together - could it, somehow, be the issue here? I've paired them as smartwatch introduction on the first run told me to. I've also done latest software update, if that matters somehow (22nd of OCT is it's date, afair).

I've been following your (OP) method on enabling ECG and blood pressure log on non-galaxy phones for galaxy watch 4, available in this link Galaxy 4 ECG/BP enabling on non-galaxy phones , but as I've mentioned in first point, I did not succeed beyond installing modded wearOS on smartwatch. Tapping version in "about samsung health monitor" (the changed one) also does not give me any hidden options.

Anyway, managed to installed it this time properly, HOWEVER, despite now proper connection on all applications as well as smartwatch itself, I still cannot register ECG, because my smartwatch keeps doing nothing after pressing button "open samsung health monitor on smartphone". Could it be because I've uninstalled original SHM, using one of the possible command is adb bat file? When I left original shm, I also did not succeed with registering that, because smartwatch could not connect to SHM (I've installed that modded version, but I coulnd't get it into root directory, because that particual catalogue, despite proper root access and root permissions, seems to be in RO mode (or at least TCMD says it is so, therefore apk was located in my SD card, but installed properly).

Cheers.
[Samsung Galaxy Watch 4] Dante63:
Did you restart the watch and phone after installation the mod (as per my understanding, you have succeeded in installing the mod on the watch after many attempts)
[Samsung Galaxy Watch 4] buczek0711:
Welp, I do. I've also done it once more, this time with different source (google drive itself) of the apk for smartwatch. After first try, which ended in lack of proper communcation between smartwatch and smartphone (watch keeped telling me "download samsung health monitor or your smartphone", despite it being installed and operational, as well as these two were bond together with BT), but second attempt, succeeded with one extra try (after installing), which contained most sophisticated method in IT, known as "turn it off and on again" worked. I've successfully checked my ECG (it is logged in SHM now), samsung health works and records all stuff propertly, galaxy wearable still had good connectivity to watch, I've also managed to configure google wallet properly (despite using really old gpay on phone, because on newer versions your hands are tied due to supreme root detection), so it looked like my whole question has been asked too soon here.

Software updates on galaxy watch are ok to being installed, if I get it and the first post here correctly? I just need to NOT update SHM on smartphone, besides that everything should work just like today?
[Samsung Galaxy Watch 4] Dante63:
You can update anything normally because the mod is independant, unaffected by anything...

Mod updates are from me, you either download it manually from Google drive or download it from the companion...
[Samsung Galaxy Watch 4] steve841:
Is it possible to remove or extend the BP calibration reminder? Even just extend to 90 days before a forced recalibration?
[Samsung Galaxy Watch 4] 73sydney:
No
[Samsung Galaxy Watch 4] peanutcuber:
So I got r895f bought from Israel but on region locked to Poland Greece etc

I can't use my esim cuz of it and I'm late for updates + google support weird

Will this mode help me change the csc
[Samsung Galaxy Watch 4] Dante63:
This thread is about using BP & ECG...

Nevertheless, about the esim, you need a service provider that supports watch4 unless the watch4 you bought is locked to a service provider, then you first need to contact the service provider of the watch, they should tell you how to unlock it, then you'll be able to proceed...

If what I said isn't helping, I suggest you create a thread and ask for help...
[Samsung Galaxy Watch 4] bladez:
Ok, I just today got myself a new Galaxy Watch 5 (44mm BT) and I couldn't connect to Samsung Health Monitor app. It kept saying "no compatible watch found". It should work though because I live in an unrestricted region (Latvia).

Installed this modded SHM app, also on the watch, but it still says "No compatible watch found". Watch is connected perfectly fine to my Samsung S20 FE (Android 12) otherwise. All permissions are given to the SHM and Samsung Health apps. All battery optimizations for Samsung Health, SHM, Galaxy Wearables and Watch5 apps have been stopped.

Companion app shows SHM watch mod installed

Watch shows up on Accessories on Samsung Health app. I've tried reseting the watch multiple times now, it still won't work with SHM or SHM modded.

I have Magisk root with Shamiko and the modded Samsung Health module from first post.

Here's logcat

edit: after looking through the thread and my own logs, I can see that I have the dreaded Integrity error. I guess I'll need to install TWRP on my phone so I can find a way to flash disable the encryption.
[Samsung Galaxy Watch 4] neco222:
Could not install package Failed to install Watch.SHM. MOD.1.1.0.215.dante63.apk

I get an error saying
[Samsung Galaxy Watch 4] bladez:
Alright update, it still won't work. I wiped my phone, flashed latest OS version for S20 FE exy, flashed TWRP, ran multidisabler, wiped /data, flashed magisk and booted up my phone. Reinstalled everything and it STILL has the Integrity error.

Is there something I've missed?

edit: it seems that the only solution that worked for me unfortunately was flashing a Custom ROM. ProjectX for S20 FE Exynos makes the SHM work. Good luck.
[Samsung Galaxy Watch 4] 73sydney:
Have you rebooted both devices after install?

Did you install this (universal safetynet fix/integrity fix):

GitHub - Displax/safetynet-fix at integrity

Google SafetyNet attestation workarounds for Magisk - GitHub - Displax/safetynet-fix at integrity

github.com

the custom ROM probably includes this, or a version of it....
[Samsung Galaxy Watch 4] bladez:
Yeah, I rebooted like a million times and I always had the kdrag0n USNF installed. What's different with this fork?
[Samsung Galaxy Watch 4] 73sydney:
for one thing it actually works, Kdrag0n has yet to merge the fixes from @Displax into the official release

Theres a reason i linked it :)
[Samsung Galaxy Watch 4] SamWarner01:
Watch Looks good though, especially in a round case. Why didn't you go for square one?
[Samsung Galaxy Watch 4] Dante63:
Saying.......

I'll wait for your reply...

I am honestly not sure what you mean here...
[Samsung Galaxy Watch 4] EliPili:
Signed up here to make my first post to express my thanks & gratitude to Dante.

Easy as pie! I first read thru the entire thread and made notes for myself to get a better understanding. Followed all procedures recommended. Everything installed first time, absolutely no errors, went like clockwork. First installed the phone mod, then the watch mod. Then installed the Phone companion. Rebooted both and did an ECG that went to the phone which I Whatsapped to my doc bro. Calibrated the watch for BP, took a reading from the watch. Results showed up in the modded Health Monitor. All good.

My devices:

Samsung Galaxy S22+ Snapdragon running Android 13 & OneUI 5.0, unrooted, stock

Samsung Galaxy Watch 5 (278A) SM-R910 Running System version 11, Wear OS Version 3.5, OneUI Watch version 4.5

I live in a region where SPO2 is enabled, but BP & ECG are disabled. I'm not a spring chicken anymore, and the ability to do frequent ECG & BP checks are very important to me. Very thrilled to have it all working. In fact I made the decision to go with this platform even though BP & ECG were disabled (and not switch to the Apple ecosystem) only because this mod is available. Most grateful to you, Dante.

Made a small one-time contribution on Paypal, enough to buy a good meal. Transaction ID 7VL17243V09106520

Best Wishes!
[Samsung Galaxy Watch 4] Dante63:
Thought I'd share what I'm baking nowadays, and once this is stable, smooth and out on Playstore, I'll take small portion of the code and put it into the companion watch section...

I hope you guys would like it 😊...

Ps. It's not complete yet, bugs to fix, code to clean and a lot to translate...
[Samsung Galaxy Watch 4] blueyes:
Well that's going to be useful! Especially for my lazy a**. Beats what I currently do. Using my phone (JuiceSSH) to ssh into my desktop then run adb cmds through it.

I did say I was lazy. 😆
[Samsung Galaxy Watch 4] Dante63:
Part of me wants not to answer you because I clearly wrote "DON'T POST PICTURES OR HELP WITHOUT GIVING DETAILS"...

I'm not a mind reader and I don't think anyone is, this also breaks XDA rules...

Nevertheless, I believe this problem has been discussed so many times if it is what I think it is...

Just restart both watch and phone and mod on both should detect each other...
[Samsung Galaxy Watch 4] di10pn:
Hi, i need help. I followed all your instructions using the companion. Everything worked perfectly except the Samsung health app. I send you the screenshot. I have a samsung galaxy note 20 ultra 5g with android 11, root and magisk latest version. I hid all apps with magisk. thank you
[Samsung Galaxy Watch 4] Bob the noob:
Has anyone had an issue where the Samsung Health app suddenly stops syncing with the watch/Samsung Health Monitor app? Everything was going fine and it was showing up in the Samsung Health app along with sleep detection, heart rate, etc, but BP stopped syncing from SHM on Oct 21st out of the blue. I've updated my watch to the updated APK but it still doesn't show. Health Monitor is showing the BP fine though so I don't know what's going on.
[Samsung Galaxy Watch 4] 73sydney:
@Dante63 's mods have not a lot to do with Samsung Health, theyre only for Samsung Health Monitor

If youre having issues with Samsung Health, i suggest trying my magisk module:

GitHub - stylemessiah/SamsungHealthSecurityProps: Removes "sakv2" from ro.security.keystore.keytype to help make Samsung Health run on rooted Samsung devices

Removes "sakv2" from ro.security.keystore.keytype to help make Samsung Health run on rooted Samsung devices - GitHub - stylemessiah/SamsungHealthSecurityProps: Removes "sakv2" f...

github.com
[Samsung Galaxy Watch 4] Dante63:
If the sync stopped, check the setfeatures, it might have been reset back to default values...
[Samsung Galaxy Watch 4] Bob the noob:
That was it, thank you so much! Will make a donation later today (currently 2am for me) . :)
[Samsung Galaxy Watch 4] di10pn:
The Magisk module dosnt't work. The errore is the same. Help me plese.
[Samsung Galaxy Watch 4] 73sydney:
the module is doing what its designed to do, log shows you tried installing it twice...i trust you rebooted after installing?

currently all thats needed (for me) to have working Samsung Health is:

Base

Magisk

Universal SafetyNet fix (MOD) by Displax

Shamiko (ensure Enforce Deny List is OFF in Magisk app settings)

And

SamsungHealthSecurityProps

And the relevant apps hidden in Deny List in Magisk app settings

Make sure you have the base components installed and correctly setup
[Samsung Galaxy Watch 4] bricca:
Hi Dante63, for a few days my watch no longer connects to the smartphone.

I tried to follow the procedures you indicate in the first post without success.

How could I solve?

Thank you.
[Samsung Galaxy Watch 4] Pompeyboy66:
All done on my Galaxy 5 pro watch with Google Pixel 6 phone. Many thanks
[Samsung Galaxy Watch 4] Dante63:
If you accidentally connected to the watch through Bluetooth settings instead of wearable, you have overwritten pair keys, hence, lost the connection to the watch...

No solution but to reset the watch...
[Samsung Galaxy Watch 4] DougInBoston:
Just upgraded from a Pixel 3 -> Pixel 7 this weekend. so I had to reinstall Samsung Health on phone and app on watch. Followed the instructions carefully and everything worked great. Thanks again Dante!
[Samsung Galaxy Watch 4] di10pn:
No way. I followed all your instructions and the result and that of the screenshot attached above.

I attach the last log relating to the procedures followed.
[Samsung Galaxy Watch 4] 73sydney:
Posting the module log file isnt going to change anything as while you only installed it once this time, it again did its job. youre still either leaking root status somehow, or perhaps its a Samsung Health data issue and you could try force closing Samsung Health, clear data for it and try again
[Samsung Galaxy Watch 4] di10pn:
Sorry. Thanks
[Samsung Galaxy Watch 4] Loschrix:
Hi, I've followed your tutorial with sync and everything and I've figured it out, I can enable permissions and so on. But when I'm trying to create profile in Samsung Health Monitor it ends up not working when hitting create button. It's like it's processing something and then it suddenly stops. It got stuck on it. FYI I have a Huawei P10 Lite phone which means I had to connect my watch using Samsung Health app. Also my watch is Galaxy Watch 4..

Thanks in advance :)
[Samsung Galaxy Watch 4] Dante63:
Send me logs and I'll try tracing them...

But I have an idea on what you have which is encryption related, it throws security crypto exception (or something similar), failed to generate encryption and decryption keys...

This I can't solve because the issue isn't in the code, it's how the device works...

That is if the logs confirm my assumption on what you might have...

A screen recording would be very valuable with the logs...
[Samsung Galaxy Watch 4] lichan:
Will this work on an encrypted device? I'm aiming to get a GW4 on Black Friday and I have a Pixel 2XL with LineageOS 19.1 rooted with Magisk that is encrypted. Just wondering if I need to remove the encryption before then? Thanks.
[Samsung Galaxy Watch 4] blueyes:
This works on stock phones so that should answer your question. But to clarify I had it on a Pixel 4xl and now on a 7 Pro. One rooted, one not. Both encrypted.
[Samsung Galaxy Watch 4] Dante63:
I have only seen encryption issue on rooted Samsung devices with encryption on...
[Samsung Galaxy Watch 4] SignedAdam:
I can confirm this works on watch 5
[Samsung Galaxy Watch 4] SignedAdam:
However the watch 5 " @Dante63 companion app " never finds the phone even with Bluetooth off on the watch, yes I had the companion app installed on my phone, both couldn't see each other, even tried hotspot on my phone to watch 5
[Samsung Galaxy Watch 4] Dante63:
I'm patching the companion,

Adding something new to it...

When I release it, try it and let me know if the problem in companion still exist...
[Samsung Galaxy Watch 4] Samo187x:
Dante63, thanks a lot for setting this up!

I ran into a problem. I followed the instructions but maybe I missed something. Everything is configured and installed yet I get this message in Samsung Health Monitor. Please help.
[Samsung Galaxy Watch 4] Dante63:
If the mod is installed on watch and phone, did you restart both of them according to the instructions...?
[Samsung Galaxy Watch 4] Samo187x:
I got it to work. I reset my watch and tried again. I must've done something wrong earlier. Thanks for your quick reply.
[Samsung Galaxy Watch 4] Ricochet90:
Is the BP sync region locked by language or something? I can't make the BP sync on SH work, I've done everything on the tutorial, double checked the set features and the download folder yet it doesn't work on a Poco F3 paired with a SGW 5 on Spanish (America)

Everything else works.
[Samsung Galaxy Watch 4] Dante63:
So once you're done from configuring setfeatures, you need to force stop and clear cache of Samsung Health...

After that, record a new BP and everything should sync...

It doesn't work due to google signature verification, Samsung Health rejects the data coming from SHM MOD...
[Samsung Galaxy Watch 4] webwhizkid:
Replaced my watch 4 with watch 5 pro and pixel 6 pro with 7 pro..

Shall I follow this or wait for the new release .. thank you for the great work..
[Samsung Galaxy Watch 4] Dante63:
Have a look at the guide again, look at the features & tags and tell me whether to wait or follow...
[Samsung Galaxy Watch 4] rodrigofd:
Confirmed to work on:

S22 Ultra - Rooted - Android 13 latest fw - Galaxy Watch 5 latest fw as of today
[Samsung Galaxy Watch 4] Dante63:
Ok so the WearOS manager which is avaliable for the first 1000 user for testing - English language only...

If you will install it, please test it as much as you can and suggest what can be done to improve it, also report any bugs you see...

You can message me directly here on Telegram or through other platforms...

if everything is working well, I will translate it with Google Translation service and officially release it, removing the 1K limit...

GeminiMan WearOS Manager - Apps on Google Play

GeminiMan WearOS Manager - Perform ADB Over Wi-Fi Commands at Ease & Comfort...

play.google.com

If the app is crashing, please do report the feedback using Google feedback, it will take a day or so, if you wish to escalate things, then please do record a video of how it is crashing so I can investigate quickly and tell me what your device brand and Android version + watch used...

I will patch any issues you guys find asap, don't worry...

Happy testing, your contribution is appreciated 😊...

If all is well, this will ensure that the companion will be stable as well:

So your help is appreciated...
[Samsung Galaxy Watch 4] badabing2003:
Thanks for sharing this great tool.

When pulling a package from the Watch

The Request does not do anything

Probably because the Permission is not part of the app's manifest.

Update:

Another thing.

Perhaps by design, when connected to the watch, the Support and Permissions tabs are not clickable.

Phone: Pixel 6

Watch: 5 Pro
[Samsung Galaxy Watch 4] Dante63:
Android 13...?

Manifest has permissions,

But I'm struggling to handle permissions from Android version to another...

I'll patch it asap...
[Samsung Galaxy Watch 4] badabing2003:
Yes Android 13, November release.

Thanks
[Samsung Galaxy Watch 4] pbhs2022:
Hi @Dante63 thanks for your great instructions. I am trying to add the blood pressure functionality to my Samsung 4 classic watch using a Google pixl 2XL (I know, time for an upgrade). I have been following your instructions and got to the point in Samsung Health Settings and selected "About Samsung Health" this brings me to the page which is supposed to display "Developer Mode" and "Set Features". When I tap on the versions there are only 2 options, "Version 6.22.6.005" which displays no options and "Version 6.22.6.005 prodfinal" which only displays "Developer Mode". There are no other version options so I do not see the "Set Features" option. I have to tap on the versions many times to get them to change, but there only seems to be two available versions. can you please help? Thank You!!
[Samsung Galaxy Watch 4] Dante63:
Install the shm mod companion and enable it from there
[Samsung Galaxy Watch 4] 73sydney:
Nice work

Though i currently cant test, as i upgraded my S20+ 5G to Android 13 yesterday and cannot connect my Watch 4 to it at all. From the moment you turn the device on with Android 13 and its bootloader is unlocked it plagues you with "unauthorised changes were made to your device" messages. Yes, and i CHOSE to make those changes

Do i come into your life Samsung and tell you how to use things you bought? No....

Even with everything hidden via root hiding its a brick as far as the Watch is concerned

The failure to connect apparently is random, but its a thing....

This is one time too many for me. Samsung can get $%^&#$!

Sure i could revert to Android 12, but ive just had enough of Samsung's bs and turning your expensive devices that YOU PAID FOR into bricks because you dare use them the way you choose to, and should be your RIGHT

So im shortly off to buy a Pixel and Samsung can stick their devices where the sun doesnt shine from now on...shi77y company....

Samsung is the new Apple, and i didnt think any other company could be as big of an a$$h013

I was wrong
[Samsung Galaxy Watch 4] Dante63:
To be honest,

Us as root users,

It's time to have a second unrooted device, whenever there is an app or something that wants to play tom and Jerry, throw it in the unrooted phone...

That is what I feel to be the best in my opinion because no one is going to stop and new anti-root companies are showing up, take for example LIAPP, root can't be hidden from it, and when devs beat the root detection, another company will rise and detect the root...

It's pity that we can't enjoy the freedom of root like we used to do, but 2 devices is the best option I could think of...
[Samsung Galaxy Watch 4] Daniel O.:
Hi, Dante!

it's possible to make same thing for Samsung Health app? I have an S22 SM-S9010, with TGY firmware (Hong Kong), international Snapdragon variant paired with a Samsung Watch 4 Classic LTE purchased in Romania (Europe). It connects with Galaxy Wearables and even I have right to make ECG and BP.

The problem: I have problems with Samsung Health app, it crashes and not sync anything on the phone. I called at Samsung and they told me that the problem occurs because of the region limits.

The partial solution (why partial, because it's working with an outdated version): Last known version of Samsung Health which works in the same setup is Samsung Health 6.19.5.017. From the next version stopped working, which is Samsung Health 6.19.6.009. So, what differences are between these two? It must be something related to location restrictions. Can you help me, please?