Development [RESTRICTIONS-REMOVED] Samsung Health Monitor - WearOS - 1.2.2.005 - Root, Age, Country & Device Restriction Removed - 11th November 2023

How happy are you with the outcome?


  • Total voters
    1,169
Search This thread
Hello Everyone,
I hope you all are fine...
Google_WearOS.png

~~~ WearOS WATCHES ONLY ~~~
20220106_171041.jpg20220106_164719.png
~~~ FEATURES, BUGS & FUTURE WORKS~~~
  • FEATURES: Works on Samsung Watch4 and Watch5 (as mentioned Samsung WearOS Watches), Multilanguage, no root detection, no country restriction, no device restriction, age limit lowered from 22 to 16, no lock screen restriction, No Force update to latest version) for phone, as for the watch, removed country restriction and lowered age limit from 22 to 16, both apps have additional languages translated by me...
  • BUGS: IHRN stops working after some time and Virus Total flagged stock shm as trojgen detected - false positive, PLEASE REPORT IT TO SAMSUNG...
  • BP SYNC between SHM and SH: There is an Entire Section that explains it in detail, don't miss it if you want this to work...
  • About ECG in SH: ECG has never synced to Samsung Cloud, since the first release of SHM, the ECG tile is missing in Samsung Health with SHM WearOS but rest assured that the ECG tile of Samsung Health has no use other than being a shortcut to open SHM at ECG tab...
  • SHM ChangeLog: see Post #2
  • CRASHING?: few devices crash at application start and few others crash after completing the profile, logs showed each device has a different problem, I'm not considering this as a bug but you can ask me and I'll try to help...
  • FUTURE WORKS: fix theme bugs...
  • NOTE FOR SAMSUNG ROOT USERS: Samsung has pushed its own safetynet logic, different from Google, samsung_attestation, generating public and private key will fail and make apps not work correctly, Please use the Knox Patch Module: https://github.com/BlackMesa123/KnoxPatch to make the app work!

  • IMPORTANT NOTE ABOUT POSTING: Please search the thread and read the F.A.Q first before posting your problem, PROVIDE DETAILS, SCREENSHOT, VIDEOS IF POSSIBLE, DO NOT JUST SAY "IT'S NOT WORKING" OR "IT'S CRASHING", details are important if you want me to help you and to get it fast... SHM MOD WearOS needs to be installed on both watch and phone, if the shm mod is working on the watch and phone but shows no compatible watch found, restart the phone and watch, do not post not working if you installed only one of them or haven't tried restarting both phone and watch...

If you are confused on XDA, here is a brief view on Github:

~~~ For Tizen (Active2 And Watch3), LINK BELOW~~~


~~~ SHM MOD F.A.Q ~~~
First I want to say to article authors, thank you for your efforts to publish an article on this, but please do not copy and paste into your article as content may change and please provide link to the thread so people can get help and ask questions...

Ok, now let's begin:

  1. Tizen SHM MOD and WearOS SHM MOD...?
    The watch original SHM can't communicate with the phone MOD, and it's not possible to completly remove the original SHM from the watch4, so I had to create WearOS MOD and rename the previous MOD to Tizen MOD...
  2. Do I need root...?
    No root is required...
  3. Does this void my warranty?
    No it does not void the warrenty or trip the know or damage the watch or the phone...
  4. OTA effect on MOD & MOD effects on OTA.
    No Effects, the MOD is independant...
  5. Do I need to install both phone and watch MODs?
    Yes, you need both, keep in mind, the apk with word phone is for phone and the watch4 is for the watch...
  6. Where is the IP Address?
    You can find it inside the developer options after you enable the ADB Wi-Fi, it takes time though, alternativly, you can go to connections -> wifi -> the wifi you are connected to -> scroll down and you'll find your IP...
  7. Can I do this from my phone?
    Yes, you can use my Geminiman WearOS Manager...
  8. How do I update?
    Just install the updated files I release and it will update, whether you install the phone app or the watch app...
  9. Do I need Samsung Health MOD, is there even such thing...?
    I do not encourge using Samsung Health MOD, Samsung Health is a core application, modding it will break many services, using official Samsung Health is safer and better...
  10. What is BP Sync and is there an ECG Sync...?
    BP or blood pressure data can be saved in Samsung Health Cloud, allowing you to view all of your BP to be seen on Samsung Health app and no, there is no ECG sync and never was, ECG can only be exported as PDF and Excel file...

~~~ Pairing issues with Watch4/5/6 on Galaxy Wearables (Watch4/5/6 not supported!) ~~~

Initially it was Huawei devices with Watch4 but this solution works for other devices as well as other Samsung WearOS watches...

This fix is done by Reddit u/Relative_Comparison2 & u/MelodicMaintenance


You need Galaxy Wearables & Watch4/5/6 Plugin installed, now do the following steps:
  1. Download Samsung Health.
  2. start Samsung health then go to accessories and search for your watch (scan).
  3. Samsung Health will call Galaxy Wearables to set up the connection and a normal setup is performed.
Now here is an update of mine if the above does not work and Galaxy Wearables keeps disconnecting from the watch4/5/6
It was Explained that you need to have the following apps installed:

Galaxy Wearable & Watch 4/5 plug-in

Give all permissions to Galaxy Wearables and the Watch4/5 plugin by going app info, scroll down, permission and grant all...

Now Clear the data of the following applications:

  • Google Play Services
  • Google Play Framework
  • Google Play Store
  • HwWifiproBqeService (For Huawei devices only, skip if you are not Huawei)
The phone will start acting up, that's normal, so restart your phone to allow system app to rebuild itself, when the phone starts, do not configure your google account yet, first try connecting to the Watch4/5/6 again through Samsung Health and it should work, after that you can do whatever you want for google...

One last note, disable any battery optimization, some phones have aggressive optimization, they will kill background services, this will stop the watch4/5/6 from pairing, if you can't disable it, then whitelist galaxy wearble and the watch4/5/6 plugin!
Still facing issues, it is probably the plugin and wearble version, follow these steps:
If the above does not work, it may be related to bad plugin, so follow the steps in the picture first to Downgrade everything and pair through Samsung Health as above stated, login & update everything later after pairing is successful...

Tested:
Latest plugin + latest Samsung Health + Wearable 2.2.50.22072061

Steps:
Keep your internet on, Open Samsung health, then accessories, locate your watch, disconnect from internet (Data and Wi-Fi off, only Bluetooth on) and tap on your watch, galaxy wearable will start offline and pair with the watch, after the pair, you can connect to internet and update wearable and configure anything and everything else...
IMG_20230816_172337_246.jpg

~~~ WearOS - SHM MOD - Tutorial - XDA - Dante63 ~~~

If you can't see the YouTube video, visit the YouTube link: https://youtu.be/xSjURFKQB2A

~~~~~~~~~~~~~~~~~~~~~~~~~
*** Written Guide for anyone who needs it ***
~~~~~~~~~~~~~~~~~~~~~~~~~

Just a second friendly reminder 😊 , *inhales deeply*:

!!!DON'T FORGET TO TURN OFF ADB ON THE WATCH, IT WILL DRAIN YOUR BATTERY!!!

*ehm* enjoy the SHM MOD now 😆...

If you see "no compatible watch found" or similar, please restart the watch and phone and try again, it should work...
REPORTING AN ISSUE WITH SHM MOD: Tell me your device type and Android version, provide me a screenshot or video of where it happened and how, a logcat is appreciated, these details will help me re-create the environment and try to get the issue you have so I can trace it and fix it...

~~~ FILES and Description ~~~
Here is the link to the files I am using:
I believe the folders describe themselves, the APK at the root is to be installed on your phone...

~~~ SHM MOD Companion ~~~
~~~ Get updates, Enable BP Sync and Much More ~~~

If you can't see the YouTube video, visit the YouTube link: https://youtu.be/QzYjqrgnKU0


~~~ ENABLING BP SYNC BETWEEN SHM & SH ~~~
If you can't see the YouTube video, visit the YouTube link: https://youtu.be/-4eetNuHFco

~~~ Rooted Samsung Users that want to use Latest Samsung Health ~~~
Thanks to XDA @73sydney for his help...

Samsung has pushed its own safetynet logic, different from Google, samsung_attestation, generating public and private keys will fail and make samsung apps not work correctly...

Please use the Knox Patch Module to make SHM and latest Samsung Health Work:
Thanks to XDA @BlackMesa123
You can also find a thread here:
XDA - Knox Patch

~~~ ABOUT THE ORIGINAL SHM ~~~
According to Samsung, The Samsung Health Monitor app requires a Galaxy Watch Active2 or Galaxy Watch3 and later models, alongside having Android version 7.0 and above...

SHM has device detection, country restriction and spoof location detection, the following countries were listed in the country restriction checking, I believe if you live in those countries, SHM should Work, otherwise, it wouldn't, SHM checks your GeoLocation, Sim Card, and Device CSC (if no sim or location provided)

List of Country Codes Alpha-2:
EU_CSC (Total 35):
"AT"
"BE"
"BG"
"CZ"
"DE"
"DK"
"EE"
"ES"
"FI"
"FR"
"GR"
"HR"
"HU"
"IE"
"IT"
"LT"
"LV"
"NL"
"PL"
"PT"
"RO"
"SE"
"SI"
"SK"
"CY"
"LU"
"MT"
"GB"
"CH"
"IS"
"NO"
"LI"
"TR"
"RS"
"CY"
EU_MNC (Total 29):
"AT"
"BE"
"BG"
"CH"
"CZ"
"DE"
"DK"
"EE"
"ES"
"FI"
"FR"
"GB"
"GR"
"HR"
"HU"
"IE"
"IS"
"IT"
"LT"
"LV"
"NL"
"NO"
"PL"
"PT"
"RO"
"SE"
"SI"
"SK"
"CY"
NON-EU (Total 14):
"KR"
"US"
"BR"
"CL"
"AE"
"ID"
"HK"
"RU"
"SG"
"AZ"
"GE"
"PY"
"AU"
"TW"

SHM will work only if the following is not detected on your Samsung Device:
Paths:
"/data/local/"
"/data/local/bin/"
"/data/local/xbin/"
"/sbin/"
"/su/bin/"
"/system/bin/"
"/system/bin/.ext/"
"/system/bin/failsafe/"
"/system/sd/xbin/"
"/system/usr/we-need-root/"
"/system/xbin/"
"/system/app/Superuser.apk"
"/cache"
"/data"
"/dev"
Apps:
"com.noshufou.android.su"
"com.noshufou.android.su.elite"
"eu.chainfire.supersu"
"com.koushikdutta.superuser"
"com.thirdparty.superuser"
"com.yellowes.su"
"com.devadvance.rootcloak"
"com.devadvance.rootcloakplus"
"de.robv.android.xposed.installer"
"com.saurik.substrate"
"com.zachspong.temprootremovejb"
"com.amphoras.hidemyroot"
"com.amphoras.hidemyrootadfree"
"com.formyhm.hiderootPremium"
"com.formyhm.hideroot"
"com.koushikdutta.rommanager"
"com.koushikdutta.rommanager.license"
"com.dimonvideo.luckypatcher"
"com.chelpus.lackypatch"
"com.ramdroid.appquarantine"
"com.ramdroid.appquarantinepro"
Binary:
"su"
"busybox"
SU:
"/system/xbin/which"
"su"
Test-Keys:
"test-keys"

~~~ Special Thanks ~~~

Thanks to the amazing people on my Telegram group and Reddit users that reached me, thanks to everyone that tested the MOD and making it happen before I got my watch...

Thanks to @pavanmaverick he found out about the Tizen sync working for WearOS...
Big Thanks to XDA @Zacharee1 for decompiling and diving into Samsung Health code to find a way to enable set features on any Samsung Health version, no more downgrading...

Big thanks to XDA @BlackMesa123 for his help that allowed me patch knox in SHM to work for rooted Samsung users...


~~~ Don't forget to ~~~
Don't forget to smash the (y)THANKS (y)
PS. if you are super happy and want to thank me, It is highly appreciated if you'd consider supporting me through my Patreon Page ❤️ 😊monthly or one time through PayPal ...


You can also support me through Google Play by installing:
And you can Enjoy some Amazing Watchfaces I published
while you are at it...


✯ XDA: https://xdaforums.com/m/dante63.7047928/
✯ Reddit: https://www.reddit.com/user/XDA-Dante63/
✯ Telegram: https://t.me/xda_dante63
 
Last edited:
What's New:
Latest Changes:

SHM MOD Companion Phone 4.6.0
  • Paid CDN servers for hosting files for Companion to use...
Phone (TIZEN & WEAROS) SHM MOD 1.2.2.005
Here is what I observed on phone SHM 1.2.2.005:
* I don't see much of changes in UI...
* They added several policy changes and users have to accept them stating they are 22 years old, but odd, this string tag is for china (example home_setup_cn_age_check) and not the world? or maybe they are lazy to fix it and decided to use china tag for the world?
* They added Device ID Service, probably to get the Device ID and not generate it randomly...
* They added a version check for phone and watch, if outdated, force update or close app...
* BR (Brazil) got IHRN...
* looky here, they changed the CSC logic, it will be bad news too those who changed watch CSC to get and use stock, now they are calling build.prop "ro.csc.sales_code" and I am betting this CSC is fixed to country of Sale and not the CSC we change (do correct me if I am wrong)
* they are enforcing age check to be 22 and above, not sure how if calendrer is set by the user...?
* BP Alarm i spoke of turns out to be scheduled for BP sensor...

As for Watch SHM 1.2.2.005, here is what I observed:
* a new layout added "BP not supported", this means BP will be controlled from the watch as well...
* They added several messages "need a samsung device to uuse SHM", and "BP not approved in your region", also for calibratiion, they changed the message into "Wear your watch snugly, away from the wrist bone. Also, relax your hands and arms."
* They added Device ID Service, probably to get the Device ID and not generate it randomly...
* Well, the code i removed in SHM MOD 1.2.1.009, they have removed it in 1.2.2.005, this code was causing random crashes, this means my decision was correct...
* IHRN on watch is heavily patched, hopefully it will stop IHRN suspending because the code looks promising now but I don't see any fix for the messages, vibrations and sounds...
* Chinese simplified has a custom icon for BP and ECG tiles...
* Watch detects phone model, if not Samsung, show message "Samsung device required for using shm"

I still had to apply same patches for IHRN in Watch SHM:
* Samsung IHRN auto-measurements were using wrong display messages (showing afib detected instead of auto measurement) and triggers sound + vibration notification every 10 minutes, I have fixed this by putting approprite message and set the notification as silent...
Enjoy...

Previous Release:
Changelog History Moved to Github:
 
Last edited:
can't check the blood pressure, because I don't have enough to calibrate the watch, but ECG work fine, all tested with a rooted Xiaomi mi 9T pro and rom custom. thank's for the mod :)
You have pushed the wrong app to the watch, kindly remove the error so no one would be confused,
Because it is written instructions, people may mix up what to push to the watch...
 
You have pushed the wrong app to the watch, kindly remove the error so no one would be confused,
Because it is written instructions, people may mix up what to push to the watch...
Edited, yes, little confused for which file go for the phone, and witch one go for the watch, the tutorial doesn't say anything about the phone part, so, not easy for everyone ^^ '
 

102percent

Member
Aug 16, 2021
8
3
Installed .169 on my watch via PC and App. Installed .153 on my phone and it does recognize the watch. But it still wants me to install SHM on my phone. I cant seem to get it to work right now.

Edit: Nvm, it works. You have to add the correct ECG and BP Widget from your smartwatch. I guess the original and modded version are installed at the same time.
 
Last edited:

thijshero

New member
Aug 21, 2021
1
1
Fixed it with the tutorial you provided, works like a charm. Tested only the ECG tho, because i don't have a blood pressure tester. Thank you for all of this work. This non-samsung user is very grateful :D
 
  • Like
Reactions: Dante63
Edited, yes, little confused for which file go for the phone, and witch one go for the watch, the tutorial doesn't say anything about the phone part, so, not easy for everyone ^^ '
I will add files on the drive, i already put 2 files that says install on watch4
Installed .169 on my watch via PC and App. Installed .153 on my phone and it does recognize the watch. But it still wants me to install SHM on my phone. I cant seem to get it to work right now.

Edit: Nvm, it works. You have to add the correct ECG and BP Widget from your smartwatch. I guess the original and modded version are installed at the same time.
You can tell the difference with the M on the logo, the original SHM doesn't work with the MOD...
 
  • Like
Reactions: Michael "k1eane"

Awake78

Member
Aug 21, 2021
16
8
Hi, I cannot connect adb to the watch with the IP recorded on the watch. "adb connect IP:myIPwatch"
"Daemon started successfully" For that it's ok.
Must insert the complete IP for the Port? "192.168.1.21" or "192.168.1.21:5555" ?
Thanks
 
Hi, I cannot connect adb to the watch with the IP recorded on the watch. "adb connect IP:myIPwatch"
"Daemon started successfully" For that it's ok.
Must insert the complete IP for the Port? "192.168.1.21" or "192.168.1.21:5555" ?
Thanks
For you, IP is 192.168.1.21, PORT is 5555 so IP PORT is the complete 192.168.1.21:5555
 
  • Like
Reactions: Awake78 and Dante63

Awake78

Member
Aug 21, 2021
16
8
Both should be on same bandwidth, the new watch supports 5Ghz... make sure both are connected to the same bandwidth...
I have connected the watch well but now the installation of the apk does not work. lol
"adb: failet to install watch4.SHM.1.1.0.169.apk: Failure [-3001 INSTALL_FAILED_REJECTED_BY_BUILDTYPE]"
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    I have not made a summary for watch shm (1.2.2.005), so here it is...

    - a new layout added "BP not supported", this means BP will be controlled from the watch as well...
    - They added several messages "need a samsung device to use SHM", and "BP not approved in your region", also for calibratiion, they changed the message into "Wear your watch snugly, away from the wrist bone. Also, relax your hands and arms."
    - They added Device ID Service, probably to get the Device ID and not generate it randomly...
    - Well, the code i removed in SHM MOD 1.2.1.009, they have removed it in 1.2.2.005, this code was causing random crashes, this means my decision was correct...
    - IHRN on watch is heavily patched, hopefully it will stop IHRN suspending because the code looks promising now but I don't see any fix for the messages, vibrations and sounds...
    - Chinese simplified has a custom icon for BP and ECG tiles...
    - The watch checks if the phone is Samsung or not, if not Samsung, it will show a message Samsung device needed for shm...

    The watch shm mod has been patched and currently in beta test, the phone shm mod is work in progress, I will release it to beta in few days, if all goes well, I will move both to public...
    7
    I have 2 updates to announce...
    * First:
    I have released a patch for phone WearOS SHM, this should fix installation issues that conflict with Stock SHM..

    * Second:
    1700127013624.png
    Users reported Virus Total detecting something in SHM MOD, I decided to scan Stock SHM with Virus Total because I wanted to be sure where the issue is at, and it was flagged, this means the issue isn't in my MOD but from Samsung, Nevertheless, I without hesitation decided to investigate further, I created a sandbox and started scanning the application in 3 forms, Apk, Smali and JavaI got no threats from Norton and windows TrendMicro-House Cell (according to Virus Total)...

    I kept digging deeper and checking the new things and I understood why it's being flagged, Samsung is obtaining more sensitive information such as Device ID, and setting permission Execute on boot complete, this means when Device is rebooted, some code will Execute related to BP and IHRN...

    Conclusion and a summary, for you guy's sake of comfort, this is false-positive and it is triggered because of many permissions requested by Samsung, you can report to Samsung that SHM is flagged Trojgen in Virus Total, I believe they can clear the flag somehow...

    That's all everyone, have a good day...
    If you have any concerns or find any issues, feel free to reach me...
    6
    On the other hand, I pushed Another update to the website SHM ECG Excel to PDF...


    Screenshot_20231120-233335_Chrome.jpg

    It is now possible to see the PDF report of SHM Excel file on your phone, I tried my best to make as friendly as possible, and you can also export and save the PDF on your phone, it should not show any issues (Previously, you need to use PC Browser)...

    If you notice any issues, do let me know and I'll fix them...

    But this website tool may have reached the best stable form...

    I hope this would be of use to you all ♡
    5
    Just to be clear in case it wasn't, it's a two step process, first you pair, and then you connect.
    And the port changes between the two operations.
    But once you pair, future connection don't require pairing again.
    I can't wait to release the network discovery, it will help greatly automating things, it wouldn't be as fast as manually entering IP, Port and pairing... but it guarantees the connection to happen...
    4
    I'm going to post here what shm mod companion will be getting as another major feature (which will be included in the GeminiMan WearOS Manager as well)


    It's being tested for bugs and stability, although I feel confident about it, I should be patient and only release it when I have many testers saying it worked as Wi-Fi and hotspot...
  • 451
    Hello Everyone,
    I hope you all are fine...
    Google_WearOS.png

    ~~~ WearOS WATCHES ONLY ~~~
    20220106_171041.jpg20220106_164719.png
    ~~~ FEATURES, BUGS & FUTURE WORKS~~~
    • FEATURES: Works on Samsung Watch4 and Watch5 (as mentioned Samsung WearOS Watches), Multilanguage, no root detection, no country restriction, no device restriction, age limit lowered from 22 to 16, no lock screen restriction, No Force update to latest version) for phone, as for the watch, removed country restriction and lowered age limit from 22 to 16, both apps have additional languages translated by me...
    • BUGS: IHRN stops working after some time and Virus Total flagged stock shm as trojgen detected - false positive, PLEASE REPORT IT TO SAMSUNG...
    • BP SYNC between SHM and SH: There is an Entire Section that explains it in detail, don't miss it if you want this to work...
    • About ECG in SH: ECG has never synced to Samsung Cloud, since the first release of SHM, the ECG tile is missing in Samsung Health with SHM WearOS but rest assured that the ECG tile of Samsung Health has no use other than being a shortcut to open SHM at ECG tab...
    • SHM ChangeLog: see Post #2
    • CRASHING?: few devices crash at application start and few others crash after completing the profile, logs showed each device has a different problem, I'm not considering this as a bug but you can ask me and I'll try to help...
    • FUTURE WORKS: fix theme bugs...
    • NOTE FOR SAMSUNG ROOT USERS: Samsung has pushed its own safetynet logic, different from Google, samsung_attestation, generating public and private key will fail and make apps not work correctly, Please use the Knox Patch Module: https://github.com/BlackMesa123/KnoxPatch to make the app work!

    • IMPORTANT NOTE ABOUT POSTING: Please search the thread and read the F.A.Q first before posting your problem, PROVIDE DETAILS, SCREENSHOT, VIDEOS IF POSSIBLE, DO NOT JUST SAY "IT'S NOT WORKING" OR "IT'S CRASHING", details are important if you want me to help you and to get it fast... SHM MOD WearOS needs to be installed on both watch and phone, if the shm mod is working on the watch and phone but shows no compatible watch found, restart the phone and watch, do not post not working if you installed only one of them or haven't tried restarting both phone and watch...

    If you are confused on XDA, here is a brief view on Github:

    ~~~ For Tizen (Active2 And Watch3), LINK BELOW~~~


    ~~~ SHM MOD F.A.Q ~~~
    First I want to say to article authors, thank you for your efforts to publish an article on this, but please do not copy and paste into your article as content may change and please provide link to the thread so people can get help and ask questions...

    Ok, now let's begin:

    1. Tizen SHM MOD and WearOS SHM MOD...?
      The watch original SHM can't communicate with the phone MOD, and it's not possible to completly remove the original SHM from the watch4, so I had to create WearOS MOD and rename the previous MOD to Tizen MOD...
    2. Do I need root...?
      No root is required...
    3. Does this void my warranty?
      No it does not void the warrenty or trip the know or damage the watch or the phone...
    4. OTA effect on MOD & MOD effects on OTA.
      No Effects, the MOD is independant...
    5. Do I need to install both phone and watch MODs?
      Yes, you need both, keep in mind, the apk with word phone is for phone and the watch4 is for the watch...
    6. Where is the IP Address?
      You can find it inside the developer options after you enable the ADB Wi-Fi, it takes time though, alternativly, you can go to connections -> wifi -> the wifi you are connected to -> scroll down and you'll find your IP...
    7. Can I do this from my phone?
      Yes, you can use my Geminiman WearOS Manager...
    8. How do I update?
      Just install the updated files I release and it will update, whether you install the phone app or the watch app...
    9. Do I need Samsung Health MOD, is there even such thing...?
      I do not encourge using Samsung Health MOD, Samsung Health is a core application, modding it will break many services, using official Samsung Health is safer and better...
    10. What is BP Sync and is there an ECG Sync...?
      BP or blood pressure data can be saved in Samsung Health Cloud, allowing you to view all of your BP to be seen on Samsung Health app and no, there is no ECG sync and never was, ECG can only be exported as PDF and Excel file...

    ~~~ Pairing issues with Watch4/5/6 on Galaxy Wearables (Watch4/5/6 not supported!) ~~~

    Initially it was Huawei devices with Watch4 but this solution works for other devices as well as other Samsung WearOS watches...

    This fix is done by Reddit u/Relative_Comparison2 & u/MelodicMaintenance


    You need Galaxy Wearables & Watch4/5/6 Plugin installed, now do the following steps:
    1. Download Samsung Health.
    2. start Samsung health then go to accessories and search for your watch (scan).
    3. Samsung Health will call Galaxy Wearables to set up the connection and a normal setup is performed.
    Now here is an update of mine if the above does not work and Galaxy Wearables keeps disconnecting from the watch4/5/6
    It was Explained that you need to have the following apps installed:

    Galaxy Wearable & Watch 4/5 plug-in

    Give all permissions to Galaxy Wearables and the Watch4/5 plugin by going app info, scroll down, permission and grant all...

    Now Clear the data of the following applications:

    • Google Play Services
    • Google Play Framework
    • Google Play Store
    • HwWifiproBqeService (For Huawei devices only, skip if you are not Huawei)
    The phone will start acting up, that's normal, so restart your phone to allow system app to rebuild itself, when the phone starts, do not configure your google account yet, first try connecting to the Watch4/5/6 again through Samsung Health and it should work, after that you can do whatever you want for google...

    One last note, disable any battery optimization, some phones have aggressive optimization, they will kill background services, this will stop the watch4/5/6 from pairing, if you can't disable it, then whitelist galaxy wearble and the watch4/5/6 plugin!
    Still facing issues, it is probably the plugin and wearble version, follow these steps:
    If the above does not work, it may be related to bad plugin, so follow the steps in the picture first to Downgrade everything and pair through Samsung Health as above stated, login & update everything later after pairing is successful...

    Tested:
    Latest plugin + latest Samsung Health + Wearable 2.2.50.22072061

    Steps:
    Keep your internet on, Open Samsung health, then accessories, locate your watch, disconnect from internet (Data and Wi-Fi off, only Bluetooth on) and tap on your watch, galaxy wearable will start offline and pair with the watch, after the pair, you can connect to internet and update wearable and configure anything and everything else...
    IMG_20230816_172337_246.jpg

    ~~~ WearOS - SHM MOD - Tutorial - XDA - Dante63 ~~~

    If you can't see the YouTube video, visit the YouTube link: https://youtu.be/xSjURFKQB2A

    ~~~~~~~~~~~~~~~~~~~~~~~~~
    *** Written Guide for anyone who needs it ***
    ~~~~~~~~~~~~~~~~~~~~~~~~~

    Just a second friendly reminder 😊 , *inhales deeply*:

    !!!DON'T FORGET TO TURN OFF ADB ON THE WATCH, IT WILL DRAIN YOUR BATTERY!!!

    *ehm* enjoy the SHM MOD now 😆...

    If you see "no compatible watch found" or similar, please restart the watch and phone and try again, it should work...
    REPORTING AN ISSUE WITH SHM MOD: Tell me your device type and Android version, provide me a screenshot or video of where it happened and how, a logcat is appreciated, these details will help me re-create the environment and try to get the issue you have so I can trace it and fix it...

    ~~~ FILES and Description ~~~
    Here is the link to the files I am using:
    I believe the folders describe themselves, the APK at the root is to be installed on your phone...

    ~~~ SHM MOD Companion ~~~
    ~~~ Get updates, Enable BP Sync and Much More ~~~

    If you can't see the YouTube video, visit the YouTube link: https://youtu.be/QzYjqrgnKU0


    ~~~ ENABLING BP SYNC BETWEEN SHM & SH ~~~
    If you can't see the YouTube video, visit the YouTube link: https://youtu.be/-4eetNuHFco

    ~~~ Rooted Samsung Users that want to use Latest Samsung Health ~~~
    Thanks to XDA @73sydney for his help...

    Samsung has pushed its own safetynet logic, different from Google, samsung_attestation, generating public and private keys will fail and make samsung apps not work correctly...

    Please use the Knox Patch Module to make SHM and latest Samsung Health Work:
    Thanks to XDA @BlackMesa123
    You can also find a thread here:
    XDA - Knox Patch

    ~~~ ABOUT THE ORIGINAL SHM ~~~
    According to Samsung, The Samsung Health Monitor app requires a Galaxy Watch Active2 or Galaxy Watch3 and later models, alongside having Android version 7.0 and above...

    SHM has device detection, country restriction and spoof location detection, the following countries were listed in the country restriction checking, I believe if you live in those countries, SHM should Work, otherwise, it wouldn't, SHM checks your GeoLocation, Sim Card, and Device CSC (if no sim or location provided)

    List of Country Codes Alpha-2:
    EU_CSC (Total 35):
    "AT"
    "BE"
    "BG"
    "CZ"
    "DE"
    "DK"
    "EE"
    "ES"
    "FI"
    "FR"
    "GR"
    "HR"
    "HU"
    "IE"
    "IT"
    "LT"
    "LV"
    "NL"
    "PL"
    "PT"
    "RO"
    "SE"
    "SI"
    "SK"
    "CY"
    "LU"
    "MT"
    "GB"
    "CH"
    "IS"
    "NO"
    "LI"
    "TR"
    "RS"
    "CY"
    EU_MNC (Total 29):
    "AT"
    "BE"
    "BG"
    "CH"
    "CZ"
    "DE"
    "DK"
    "EE"
    "ES"
    "FI"
    "FR"
    "GB"
    "GR"
    "HR"
    "HU"
    "IE"
    "IS"
    "IT"
    "LT"
    "LV"
    "NL"
    "NO"
    "PL"
    "PT"
    "RO"
    "SE"
    "SI"
    "SK"
    "CY"
    NON-EU (Total 14):
    "KR"
    "US"
    "BR"
    "CL"
    "AE"
    "ID"
    "HK"
    "RU"
    "SG"
    "AZ"
    "GE"
    "PY"
    "AU"
    "TW"

    SHM will work only if the following is not detected on your Samsung Device:
    Paths:
    "/data/local/"
    "/data/local/bin/"
    "/data/local/xbin/"
    "/sbin/"
    "/su/bin/"
    "/system/bin/"
    "/system/bin/.ext/"
    "/system/bin/failsafe/"
    "/system/sd/xbin/"
    "/system/usr/we-need-root/"
    "/system/xbin/"
    "/system/app/Superuser.apk"
    "/cache"
    "/data"
    "/dev"
    Apps:
    "com.noshufou.android.su"
    "com.noshufou.android.su.elite"
    "eu.chainfire.supersu"
    "com.koushikdutta.superuser"
    "com.thirdparty.superuser"
    "com.yellowes.su"
    "com.devadvance.rootcloak"
    "com.devadvance.rootcloakplus"
    "de.robv.android.xposed.installer"
    "com.saurik.substrate"
    "com.zachspong.temprootremovejb"
    "com.amphoras.hidemyroot"
    "com.amphoras.hidemyrootadfree"
    "com.formyhm.hiderootPremium"
    "com.formyhm.hideroot"
    "com.koushikdutta.rommanager"
    "com.koushikdutta.rommanager.license"
    "com.dimonvideo.luckypatcher"
    "com.chelpus.lackypatch"
    "com.ramdroid.appquarantine"
    "com.ramdroid.appquarantinepro"
    Binary:
    "su"
    "busybox"
    SU:
    "/system/xbin/which"
    "su"
    Test-Keys:
    "test-keys"

    ~~~ Special Thanks ~~~

    Thanks to the amazing people on my Telegram group and Reddit users that reached me, thanks to everyone that tested the MOD and making it happen before I got my watch...

    Thanks to @pavanmaverick he found out about the Tizen sync working for WearOS...
    Big Thanks to XDA @Zacharee1 for decompiling and diving into Samsung Health code to find a way to enable set features on any Samsung Health version, no more downgrading...

    Big thanks to XDA @BlackMesa123 for his help that allowed me patch knox in SHM to work for rooted Samsung users...


    ~~~ Don't forget to ~~~
    Don't forget to smash the (y)THANKS (y)
    PS. if you are super happy and want to thank me, It is highly appreciated if you'd consider supporting me through my Patreon Page ❤️ 😊monthly or one time through PayPal ...


    You can also support me through Google Play by installing:
    And you can Enjoy some Amazing Watchfaces I published
    while you are at it...


    ✯ XDA: https://xdaforums.com/m/dante63.7047928/
    ✯ Reddit: https://www.reddit.com/user/XDA-Dante63/
    ✯ Telegram: https://t.me/xda_dante63
    97
    What's New:
    Latest Changes:

    SHM MOD Companion Phone 4.6.0
    • Paid CDN servers for hosting files for Companion to use...
    Phone (TIZEN & WEAROS) SHM MOD 1.2.2.005
    Here is what I observed on phone SHM 1.2.2.005:
    * I don't see much of changes in UI...
    * They added several policy changes and users have to accept them stating they are 22 years old, but odd, this string tag is for china (example home_setup_cn_age_check) and not the world? or maybe they are lazy to fix it and decided to use china tag for the world?
    * They added Device ID Service, probably to get the Device ID and not generate it randomly...
    * They added a version check for phone and watch, if outdated, force update or close app...
    * BR (Brazil) got IHRN...
    * looky here, they changed the CSC logic, it will be bad news too those who changed watch CSC to get and use stock, now they are calling build.prop "ro.csc.sales_code" and I am betting this CSC is fixed to country of Sale and not the CSC we change (do correct me if I am wrong)
    * they are enforcing age check to be 22 and above, not sure how if calendrer is set by the user...?
    * BP Alarm i spoke of turns out to be scheduled for BP sensor...

    As for Watch SHM 1.2.2.005, here is what I observed:
    * a new layout added "BP not supported", this means BP will be controlled from the watch as well...
    * They added several messages "need a samsung device to uuse SHM", and "BP not approved in your region", also for calibratiion, they changed the message into "Wear your watch snugly, away from the wrist bone. Also, relax your hands and arms."
    * They added Device ID Service, probably to get the Device ID and not generate it randomly...
    * Well, the code i removed in SHM MOD 1.2.1.009, they have removed it in 1.2.2.005, this code was causing random crashes, this means my decision was correct...
    * IHRN on watch is heavily patched, hopefully it will stop IHRN suspending because the code looks promising now but I don't see any fix for the messages, vibrations and sounds...
    * Chinese simplified has a custom icon for BP and ECG tiles...
    * Watch detects phone model, if not Samsung, show message "Samsung device required for using shm"

    I still had to apply same patches for IHRN in Watch SHM:
    * Samsung IHRN auto-measurements were using wrong display messages (showing afib detected instead of auto measurement) and triggers sound + vibration notification every 10 minutes, I have fixed this by putting approprite message and set the notification as silent...
    Enjoy...

    Previous Release:
    Changelog History Moved to Github:
    56
    Download SHM MOD Companion from here if Google Drive reaches its limit...
    18
    Happy one year anniversary to my SHM MOD, it's been a great journey and joy to help everyone and hopefully for more to come...

    And happy holidays to everyone in advance, stay safe all, god bless you all and Godspeed...

    Regards,
    Dante
    16
    So what's new in SHM 1.1.1.191:
    • New layout BP ISO activity - probably details about BP
    • Canada BP & ECG Support
    • Israel BP & ECG Support
    • Taiwan got BP Support now
    • Ukraine BP & ECG Support
    • Vietnam BP & ECG Support
    • Latin America BP & ECG Support
    • South Africa BP & ECG Support
    • BP Calibration Code changed
    • checkUpdateInterfaceWithLocation method, you will hate this very much, according to the logic of the code, BP & ECG is now enabled and locked based on location, so if you travel, brace yourself for "service not avaliable"
    • About section has isNoneApproveCountry which tells you whether country is approved or not, what's the point of this since the app doesn't run in none supported country you ask...? I have no clue...
    • CSC check sim card on Latin American and Caribbean (SELA)

    And th.. th... th... that's all folks...

    Due to the major changes, here is my plan:
    • Release the MOD without Darkmode in beta test...
    • If all goes well, it goes public and I start working on Darkmode and it goes into beta test...
    • If all goes well too, it goes live...

    I will do this on Weekend where I grab a big cup of coffee and go through Samsung Messy Code, wish me luck lol