Development [RESTRICTIONS-REMOVED] Samsung Health Monitor - WearOS - 1.1.1.227 - Root, Age, Country & Device Restriction Removed - 24th Jan 2023

How happy are you with the outcome?


  • Total voters
    968
Search This thread
Bare with me, my knowledge in this area is limited. I installed the shm on my phone by downloading the file to my PC, plugging my phone into the PC and copied the files over. But how do I get the shm on my watch? Is it the same downloaded I installed on my phone?
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...
Yeah i Installed for wear OS too. But the app dont find my compatible watch 4
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...
 
  • Like
Reactions: 73sydney

get2easy

Senior Member
Nov 12, 2010
367
24
49
Petrinja
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...
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
 

get2easy

Senior Member
Nov 12, 2010
367
24
49
Petrinja
Could you please share a screenshot of the app icons for watch and phone just to confirm you have the right apps
Screenshot_20221204-173055_Nova Launcher.jpg
Screenshot_20221204-173406_Samsung Health Monitor.jpg
Screenshot_20221204-173721_Samsung Health Monitor.jpg
 

get2easy

Senior Member
Nov 12, 2010
367
24
49
Petrinja
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
 
How install your mod app on my watch??
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...
 
  • Like
Reactions: get2easy

get2easy

Senior Member
Nov 12, 2010
367
24
49
Petrinja
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...
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
 
  • Like
Reactions: Dante63

dkearns

Member
Nov 29, 2022
26
6
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...
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?
1670175951472.png


Once I have it on my watch do I need to turn on ADB debugging on my watch before installing?
 
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?
View attachment 5777279

Once I have it on my watch do I need to turn on ADB debugging on my watch before installing?
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)
 
  • Like
Reactions: 73sydney

dkearns

Member
Nov 29, 2022
26
6
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)
That would be awesome! I look forward to the new tutorial video (for those challenged like me) :)
 
  • Like
Reactions: Dante63

Takeoo111111

Member
May 12, 2010
24
2
Once is disconnected seems to be unpaired from Bluetooth also. Even I'm trying to reconnect it via Bluetooth and is successfully connected, still the Galaxy app can't reconnect back to watch.
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.
 

73sydney

Senior Member
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.


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:


p.s. Dont ask me.....
 
  • Like
Reactions: Dante63

Takeoo111111

Member
May 12, 2010
24
2
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:


p.s. Dont ask me.....
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
 

73sydney

Senior Member
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

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:

Screenshot_20221202-070916 (1).jpg


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
 

Top Liked Posts

  • 1
    Dante,
    I installed Mods on Watch 4 and Zfold 4 successfully. Everything synced. But once compleated 100% it's not showing readings . Keep tryed many times, no luck. Here attaching video.
    because you are calibrating it.
    My main question is how and why are you ignoring everything that was written in the recording you sent. Did you make blood pressure test with external device? if yes, press "yes, enter now" and enter what external device reported to continue. Watch took the reading to compare it & calibrate with that you are ought to enter.
    1
    Dante,
    I installed Mods on Watch 4 and Zfold 4 successfully. Everything synced. But once compleated 100% it's not showing readings . Keep tryed many times, no luck. Here attaching video.
    You need to calibrate the watch before using and as the other member said, why did you skip reading the requirements, even the video in front of you is telling you to use a medical device...

    One last thing, thanks for the video because without it, your comment threw me off as I had no clue what the issue was and after watching the video, everything is working fine for you...

    Just calibrate it every 28 days and all good...
    Well I have gone through this via README's and the video, unfortunately I have no success.
    I have a Pixel 5 phone and a Galaxy Watch 5 PRO.

    The app on the phone works but the Samsung Health intigration does not appear to work where it says..
    "Allow this app to read and write Samsung health data.". There is an "All permissions" toggle that simply won't toggle to the right. I just click "Done". It searches but can't find the watch.

    The new health app with the purple icon is installed on the watch, when executed via button press, it shows the splash screen (the logo) for a few seconds, then that image just pans to the right and the app appears to stop.

    So no dice :(

    Thx....
    1. Read "Samsung Health BP Sync" and how to enable it or use the companion...
    2. I have no clue what purple icon health app and honestly, I think everyone here would say "what purple app...?" So share a picture of what you mean...
    Does anyone have a link to download the security props module? OP took it down off GitHub...
    Try this:

    I will update the thread link, this module is an alternative...
  • 8
    I have just started looking into phone shm (version 227) and here is what I observed on UI:
    * Malaysia & Thailand having BP & ECG enabled...
    * Luxembourg & Philippines both having privacy policy and terms of use but nothing obvious about BP or ECG...
    * more works on the icon to support shadows and so (and dropping static round icon)...
    * polishing to UI code (removing useless elements from elements) and seems BP & ECG ISO have their own container...
    * Added 2 Descriptions for BP & ECG (not sure where it will be visible till I patch and make it runnable):
    """Samsung Health Monitor Model Blood Pressure App is a mobile medical application operating on a compatible Samsung Galaxy phone and Samsung Galaxy Watch that can transfer the measurements to the app on the Galaxy phone, allowing the user to view blood pressure data and trends."""
    """Samsung Health Monitor Model ECG App is a mobile medical application operating on a compatible Samsung Galaxy Watch (ECG-Tizen/WearOS) and Samsung Galaxy phone (ECG-Android). This app captures bioelectric signals from the user. It's used to measure ECG, and data can be transferred to the Samsung Galaxy phone, allowing users to store and share PDF data with healthcare professionals."""
    * Samsung has an address in Thailand...
    * Malaysia language is English, they did not translate the app...


    As for the functionality (Code), here is what I observed:
    * Message handler that was absent before, failed to sync to watch try again later (I think this is where the layout seems to spinning forever and after a restart, the app connects to the watch)...
    * New countries visible in CSCUtil, Macao (MO), Malaysia (MY), Thailand (TH), Philippines (PH), Norfolk Island (NF), Malta (MT), Luxembourg (LU)...

    OK so,
    NF is checked as isAUModel (Australia)
    MO is checked alongsiide HK in a new method called isHongKongRegion (China)
    TH has its own method isTHModel

    Nothing about the PH or MT or LU but it is possible to say they got partial support if not fully...

    what next:
    * they are changing font programmatically ("sec-roboto-light")...
    * BP and ECG results may look different as I spotted method fromHtml (used to add styling to text, such as color, bold, etc) in a TextView...
    * BP History Compare...? worth checking this one out...
    * BP is heavily modified (Code gone poof lol and new code replacing it or nothing at all)
    * ECG is modified same as BP...
    * I don't think there is a significant change in the UI (at least by just looking at the code)...

    And that's all...
    I don't see any change that is worrying me, so I should be able to apply the latest patch of 221 and it should work fine...

    I will try my best to patch and release this version whenever I get the time to work on...
    7
    Out of frustration, I'll say this and i hope no one gets offended...

    I keep mentioning when you ask for help, to please provide details, screenshots or videi, what has been done, walk me through what you did, so I can understand where things gone wrong...

    I even put it in large bold font but still, same help requests and for each I have to ask for details 😩...

    I'm no wizard, I just can't chant "hocus-pocus sim sala bim" and magically understand the issue and help you...

    I will update the thread and put another notice, from now and onwards, I will not provide an immediate help to anyone that doesn't provide details, it's not because I don't want to help, it's to deliver a message that when asking for help, ask with details...

    Sorry for the long post...
    Good day...
    6
    Rolled-out SHM MOD 1.1.1.227 for the phone (WearOS & Tizen)...

    I'll upload a video about "what's new" later...

    Update through the companion or simply download it from Google drive...
    5
    @Dante63 I wanted to thank you for the support of these device and making the app compatible for other devices besides Samsung. Recently I suffered heart issues and ended up in the emergency room. I was able to know that I was having an acute heart issues ( not heart attack) only because of your mod that I have installed and the Galaxy watch 4 I own. Truly it's what made me go to the hospital as I have high blood pressure and the for me keeping track of my blood pressure is very important . I was feeling some chest pain last night and decide to use the ECG future on the watch. I regularly check both my blood pressure and the EcG to see if things are going normal and the result are usually very consistent for the ECG normally sinus rhythm and for my BP the normal range. I keep the watch well calibrated all the time since o have a manual and an electronic BP cuff at home. Last night during the episode I was having the watch started to gave a result of artrial fibrillation and inconsistent reading for which I said ok it not normal check my BP and was high compared with the other BP and effectively it was very high. Ended up in the emergency room and the doctors where able to help me out all thanks to the fact that o was able to use my device a point of reference. The doctor told me that it was a smart thing to do since the result at the hospital with the BP and the ECG where consistent with their findings. I know the device is not medical graded but give a good point of reference and the fact that you have a mod for to be use with other phones ( I have a P7p) is what perhaps saved my life. I had never experienced heart issues in my life as o only have BP issues which I keep in check with my medicine and was the reason I got the watch in the first place. Thank you for the mod in my opinion it saved my life. May the universe bless you for what you do . Again thank you so much for this. 🙏🙏🙏🙏🙏🙏
    4
    I have just started looking into phone shm (version 227) and here is what I observed on UI:
    * Malaysia & Thailand having BP & ECG enabled...
    * Luxembourg & Philippines both having privacy policy and terms of use but nothing obvious about BP or ECG...
    * more works on the icon to support shadows and so (and dropping static round icon)...
    * polishing to UI code (removing useless elements from elements) and seems BP & ECG ISO have their own container...
    * Added 2 Descriptions for BP & ECG (not sure where it will be visible till I patch and make it runnable):
    """Samsung Health Monitor Model Blood Pressure App is a mobile medical application operating on a compatible Samsung Galaxy phone and Samsung Galaxy Watch that can transfer the measurements to the app on the Galaxy phone, allowing the user to view blood pressure data and trends."""
    """Samsung Health Monitor Model ECG App is a mobile medical application operating on a compatible Samsung Galaxy Watch (ECG-Tizen/WearOS) and Samsung Galaxy phone (ECG-Android). This app captures bioelectric signals from the user. It's used to measure ECG, and data can be transferred to the Samsung Galaxy phone, allowing users to store and share PDF data with healthcare professionals."""
    * Samsung has an address in Thailand...
    * Malaysia language is English, they did not translate the app...


    As for the functionality (Code), here is what I observed:
    * Message handler that was absent before, failed to sync to watch try again later (I think this is where the layout seems to spinning forever and after a restart, the app connects to the watch)...
    * New countries visible in CSCUtil, Macao (MO), Malaysia (MY), Thailand (TH), Philippines (PH), Norfolk Island (NF), Malta (MT), Luxembourg (LU)...

    OK so,
    NF is checked as isAUModel (Australia)
    MO is checked alongsiide HK in a new method called isHongKongRegion (China)
    TH has its own method isTHModel

    Nothing about the PH or MT or LU but it is possible to say they got partial support if not fully...

    what next:
    * they are changing font programmatically ("sec-roboto-light")...
    * BP and ECG results may look different as I spotted method fromHtml (used to add styling to text, such as color, bold, etc) in a TextView...
    * BP History Compare...? worth checking this one out...
    * BP is heavily modified (Code gone poof lol and new code replacing it or nothing at all)
    * ECG is modified same as BP...
    * I don't think there is a significant change in the UI (at least by just looking at the code)...

    And that's all...
    I don't see any change that is worrying me, so I should be able to apply the latest patch of 221 and it should work fine...

    I will try my best to patch and release this version whenever I get the time to work on...
    Thank you so much🙏🙏🙏
  • 386
    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: (BUG from Samsung Watch Update, if you have Lockscreen enabled, Lockscreen is triggered after ECG record, results may or may not be stored, 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: Device encryption will play a big role if you leave it, you most likely will end up with error ERR_INTEGRITY which makes shm refuse to communicate with the watch... the solution would be flashing encryption disabled...

    • 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...
    ~~~ 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 watch4 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 Bugjeager if you don't like to type commands or Remote ADB Shell if you want to type the commands...
    8. How do I update?
      Just install it again 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...?
      There is no Samsung Health MOD, Samsung Health is a core application, modding it will break many services, using official Samsung Health works fine...

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

    Initially it was Huawei devices but this solution works for other devices as well...

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


    You need Galaxy Wearables & Watch4 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
    It was Explained that you need to have the following apps installed:

    Galaxy Wearable & Watch 4 plug-in

    Give all permissions to Galaxy Wearables and the Watch4 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 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 from pairing, if you can't disable it, then whitelist galaxy wearble and the watch4 plugin!

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

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

    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, the file at the root of folder "ADB Watch4" is to be installed on the Watch4, you have instructions for ADB in different Languages and you have the Original SHM for the watch4 and there will be a history of the Watch4 SHM MOD...

    ~~~ 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/Qx6Jorgbj0k

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

    InShot_20220106_203513211.jpg20220106_203225.jpg20220106_203023.jpg

    IMPORTANT NOTE: Updating Samsung Health may reset "set features" back to original values and this disables the sync, change them again to enable the sync and check the permissions of SHM MOD, it should be enabled as well...

    The steps are easy to follow, first, let's enable the set features on Samsung Health,
    1. Download from my Google Drive "SamsungHealth.zip" on your phone from inside the folder "Enable BP Sync"...
    2. Extract it inside the Download folder on your phone internal Storage...
    3. Check the extracted Folder and its contents on your phone, the path should look like "/Internal Storage/Download/SamsungHealth/FeatureManagerOn"
    or "/storage/emulated/0/Download/SamsungHealth/FeatureManagerOn"...
    Screenshot_20211216-140353_My Files.jpg
    4. Never delete this folder...
    5. Force stop Samsung Health, then open it, go to settings, then scroll down to about Samsung Health, now tap on the version till set features is enabled...

    to enable the developer mode on Samsung Health:
    InShot_20210411_200934172.jpgInShot_20210411_201048449.jpgInShot_20210411_232542732.jpgInShot_20210411_232636295.jpgInShot_20210411_201440606.jpgScreenshot_20210412-021338_Samsung Health.jpg
    Instructions in words, you will open Samsung health and go to settings then about, tap on the version till features and developers are visible. You will go inside the features and expand the "Health Analytics" set it to "DEV", then expand "DataPlatform" and turn On the "Developer Mode", when you hit back, Samsung Health will ask you to force stop the application and take you to the app info screen, you will force stop and clear the cache, this will allow Samsung Health to reinitiate a connection without security checks for SHM to sync BP with it...

    On SHM MOD, open the side menu -> Data -> Data Permissions and tap on Samsung Health, Make sure permissions are enabled so it would start syncing...!

    ~~~ Using latest Samsung Health on Rooted Device ~~~
    Thanks to XDA @73sydney , quoting the solution for bypassing Samsung Health root detection, no more using Samsung Health MOD...

    Samsung Health Security Props

    Removes "sakv2" from ro.security.keystore.keytype to help make Samsung Health run on rooted devices. This doesnt mean its a universal "fix" and works on every device every time, so ymmv....

    Disclaimer: The changes made by this module may have ramifications/consequences beyond what you may be using it for (Samsung Health). I have tested it for several days and havent found any personally, but this doesnt mean they dont exist. You use this at your own risk
    This module:

    • looks for /vendor/build.prop
    • if found, it copies the ro.security.keystore.keytype line (in case not everyone has the same keytypes in the line - i hate using static files, i write modules to use whats on each device) to a new system.prop file in the modules folder
    • removes sakv2 from the line in system.prop (it will remove sakv2 from the line (hopefully) wherever it exists, beginning, end or middle)
    I had planned to test this new "fix" for a while before releasing the module to stop people from manually editing the existing file, as using magisk is preferable as its easily reversible, but once i saw posts on XDA about it, i figured id release this now

    As mentioned above, there may be side effects to this "fix", ymmv

    Note: You still need to make sure you have Samsung Health added to Magisk's Deny List, ideally with Shamiko installed (if using Shamiko dont forget to disable Enforce Deny List)
    Please use the Knox Patch Module:

    ~~~ 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...


    ~~~ 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://forum.xda-developers.com/m/dante63.7047928/
    ✯ Reddit: https://www.reddit.com/user/XDA-Dante63/
    ✯ Telegram: https://t.me/xda_dante63
    84
    What's New:
    Changelog,
    Latest Changes:

    --- 24th Jan 2023 - Patched WearOS SHM MOD 1.1.1.227 for phone, I will update the video changelog later...

    --- 25th Oct 2022 - Patched WearOS SHM MOD 1.1.1.221 for phone & 1.1.0.221 for the watch...
    --- 18th Sept 2022 - Patched Tizen & WearOS SHM MOD 1.1.1.209 for phone... I also patched the shm mod companion, you can read more in the companion what's new section...
    --- 17th Aug 2022 - Released WearOS SHM MOD 1.1.1.209 for phone, added to Description of the thread Watch5 supported (according to users) and released watch shm mod 1.1.0.215...
    --- 28th May 2022 - Patched phone SHM MOD adding Theme selector and created SHM MOD Companion that would assist you in getting updates, BP sync enabler, reaching me and so...
    --- 4th May 2022 - Patched phone SHM MOD changing the icon from static to adaptive icon, bye bye ugly white frame...
    --- 26th April 2022 - I have released Watch SHM MOD 1.1.0.203, it has the new list of countries support, seems like they have optimized the BP and ECG logic on the watch as well, nothing else that is new...
    --- 23rd March 2022 - Patched SHM "Age 16 and above" bug...
    --- 22nd March 2022 - Released WearOS SHM MOD 1.1.1.191 for phone...
    --- 11th February 2022 - Patched WearOS SHM MOD 1.1.1.181, it has DarkMode (98% completed) and I fixed PDF sharing and exporting for Turkish language... I have released Watch SHM MOD 1.1.0.193 which has the orientation for the new watch4 update...
    --- 29th January 2022 - Patched WearOS SHM MOD 1.1.1.181, sharing and viewing PDF files had an issue, sorry about that, it's working now, just refresh Google drive and grab the new file and install it to overwrite what you have...
    --- 19th January 2022 - Released WearOS SHM MOD 1.1.1.181 for phone...
    --- 22nd November 2021 - Patched WearOS SHM MOD 1.1.1.171 and WearOS SHM MOD 1.1.0.185 for Watch4 by adding 3 languages (Turkish, Persian and Filipino), changed the design of the logo for phone and watch, changed the naming of the phone MOD in Google Drive...
    --- 16th November 2021 - Released WearOS SHM MOD 1.1.1.171 for Phone...
    --- 14th November 2021 - Released WearOS SHM MOD 1.1.1.169 for phone and WearOS SHM MOD 1.1.0.185 for Watch4...
    --- 17th October 2021 - testing complete - introducing 4 new languages, Hindi, Punjabi, Japanese and Malay...
    --- 12th October 2021 - I have done some changes in my drive, now there are 2 READ ME folders for ADB commands "READ ME - ADB Auto instructions" (this is new) & "READ ME - ADB Manual instructions" (this is the old READ ME), the idea is to have a bat file that will do all adb commands, so no need to install or type anything, all you need to do is run the bat file and select what you want to do...
    --- 27th September 2021 - some users reported that sync stopped in new Samsung Health, when investigated, the new update was a major update and it reset set features back to original values, it did not break the sync, do the required changes again in set features of Samsung Health and check that SHM permissions are still enabled and the sync will work again...
    --- 26th September 2021 - Added Vietnamese Language support to the phone and watch4 SHM MOD, so now the app won't be shown in the English Language, if there are any mistakes, please let me know, it would be nice to support languages that are unavailable, I also added in Chinese and Vietnamese "Google Translated by XDA-Dante63" as it's an unofficial translation + fixed age 22, I never thought Samsung would add a 4th age check...
    --- 24th September 2021 - Added Chinese Simplified Language to the watch and phone SHM MOD, so now the app won't be shown in the English Language, if there are any mistakes, please let me know, it would be nice to support languages that are unavailable, I also updated the F.A.Q Section...
    --- 21st September 2021 - Added a video showing how to enable set features on Samsung Health to enable the BP sync between Samsung Health and Samsung Health Monitor...
    --- 20th September 2021 - Thanks to XDA @pavanmaverick for his great finding that the method used in Tizen thread for BP sync between Samsung Health and Samsung Health Monitor actually works for WearOS, I have added that section on this thread with slight modification and extra steps... Big Thanks to @Zacharee1 for going a step further and finding how to enable set features...
    --- 13th September 2021 - Patched and fixed the share PDF problem in the Phone SHM MOD 1.1.1.157, you should be able to share and export reports with no problems, have a great day 😁...
    --- 9th September 2021 - Patched and released WearOS SHM MOD 1.1.1.157, support for AU and heavy code optimization + seems like there is BP cuff feature being implemented but hasn't been released yet... I have also patched and released the watch4 SHM MOD 1.1.0.175, update shows heavy code optimization and support for AU as well, i also did a patch for low battery, now you can use SHM even if you have low battery...
    --- 4th September 2021 - Updated thread, added a F.A.Q section for a video I made that should answer questions for those who are new to the SHM MOD...
    --- 2nd September 2021 - Patched some new restrictions I bumped into, removed the following "low ram", "low storage" and "low battery" errors, they prevent launching SHM...
    --- 31st August 2021 - updated instructions for Huawei Devices connectivity issues again and removed the Galaxy Wearable MOD, Some users followed the Reddit instructions and faced disconnect issue, I read the logs and added the solution for the disconnect problem...
    --- 29th August 2021 - updated instructions for creating Galaxy Wearables MOD for Huawei devices according to the Reddit instructions and uploaded a modded galaxy wearables apk with test-keys so you guys can update it till Samsung or Huawei fix this problem...
    --- 28th August 2021 - updated instructions, turned out that the Patch I applied on the Watch4 SHM MOD made it independent, no need for the Original SHM to be installed anymore...
    --- 27th August 2021 - patched the watch4 shm update 171 and released it, simply adb install it and it will update the mod, you don't need to update the original SHM...
    --- 26th Aug 2021 - Patched the watch4 SHM MOD, I never thought it would have restrictions, oh well, patch include (country restrictions removed, BP disable removed, force update removed and Age changed from 22 to 16), simply install and it will update, no need to uninstall the previous MOD... Oh and Canada does not have SHM on the watch, probably some countries won't have it too, I updated the thread to include a section for "Missing Original SHM" and I updated the ADB instructions and I removed port since ADB connects to defalt by itself, you just need the IP of the watch...
    --- 25th Aug 2021 - Another patch I have done on 153, since the link between Samsung Health and SHM is broken, I decided to remove the pop-up dialog that asks to sync, it's confusing some people... Also, after some tests done by a telegram member, it is possible to disable and hide the Original SHM on the Watch by doing Connection the watch to ADB and going into adb shell and typing pm disable-user --user 0 com.samsung.android.shealthmonitor and exiting the shell and disconnecting... instructions updated...
    --- 23rd Aug 2021 - patched SHM 153, added a WearOS logo to the phone app and changed app version label included wearos, this is just to ensure that you don't use WearOS SHM with Watch3 or Active2 because it's not compatible, patched Watch4 MOD 169 to have a ring on the widget to make it more friendly to the eye (there is a bug in galaxy wearable if you add tiles, you will see the widgets not displaying correctly, so set it from the watch if you can't tell which is the original and which is the MOD and organize it on the phone later if you want), I also patched SHM 153 for Watch4 in way that it can work with SHM 153 for Tizen, users that have both watches connected to the same phone can enjoy using both SHMs and finally, on my google drive, I decided to add "Phone.WearOS." at the beginning of every phone application, this will help users that have both Tizen and WearOs watches in knowing what each apk is for...
    I added a section of watch4 pairing with Huawei issues and possible fix, it's done by reddit user, with small collab with me..
    --- 22nd August 2021 - Initial release of SHM MOD for Watch4...
    50

    PHOTOS HERE ARE OUTDATED, BUT THIS IS JUST TO SHOW YOU THE DIFFERENCE IN LOGO LOOK BETWEEN MOD AND STOCK SHM...

    These are photos from the Telegram group that members have done the tests:​

    photo1629567761.jpegphoto1629567694 (1).jpegphoto1629567694.jpegIMG_20210821_174554-min.jpgIMG_20210821_174703-min.jpg

    The SHM MOD on the WearOS Watch Has an M Heartbeat as a logo to distinguish it from the Original SHM. Also, SHM MOD Widgets on the watch Have a Ring to make it very friendly to the eye...​


    Set Features avaliable on latest Samsung Health:
    Screenshot_20211222-092518_Samsung Health.jpg
    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