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

How happy are you with the outcome?


  • Total voters
    1,000
Search This thread
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
Whitelist wearable and plugin, and now that you mentioned your device name, it might be the HwWifiproBqeService (not sure why but it did cause problems but I do know it was releasing or breaking the pairing)... see if that app is installed, clear its data and restart your phone and try pairing or connect to your watch normally, hopefully this resolves the problem...
 

dzumagos

Senior Member
Dec 3, 2010
388
90
When i use the companion app to upload an apk to the watch, where exactly does it go (what path) ? i uploaded the apk and now i cant really find it :eek: @Dante63 ?
 

dzumagos

Senior Member
Dec 3, 2010
388
90
Upload? You mean download, it will be in download folder inside SHM MOD Companion Folder...
so i used this button

1670276079295.png


to my understanding this sends an .apk FROM phone TO watch, is this not correct ?
 
so i did select the apk and it was sent to the watch, but now i dont know how to find it on the watch (and click it so it will install)
😅 ok I see now...
The apk is installed automatically, you can see from the logs, it will say watch received the apk and it will attempt to install, so if you open the apps drawer scroll to the bottom, you'll find the app installed there...

If logs show error then the watch didn't receive anything or it did and it failed to install...
 

dzumagos

Senior Member
Dec 3, 2010
388
90
😅 ok I see now...
The apk is installed automatically, you can see from the logs, it will say watch received the apk and it will attempt to install, so if you open the apps drawer scroll to the bottom, you'll find the app installed there...

If logs show error then the watch didn't receive anything or it did and it failed to install...
ah, i did not know it installs automatically.

ok, after the install complete is the .apk removed from the watch or do i have to do it manually (if i wanted to?)
 
Last edited:

get2easy

Senior Member
Nov 12, 2010
368
25
49
Petrinja
Hy Dante. Since I'm in the hospital, I've got time and rest now. Have managed to connect with your gemini app and companion watch and phone. Now I have both apps installed and now this error message comes
Screenshot_20221205_230105_sysui.png
 

dkearns

Member
Nov 29, 2022
26
6
Thanks for the assist! Still an issue

C:\adb>adb -s 192.168.1.207:5555 install Watch.SHM.MOD.1.1.0.221.apk
adb: failed to stat Watch.SHM.MOD.1.1.0.221.apk: No such file or directory

C:\adb> adb -s 192.168.1.207:5555 install Watch.SHM.MOD.1.1.0.221.apk
adb: failed to stat Watch.SHM.MOD.1.1.0.221.apk: No such file or directory
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,836
2,421
Thanks for the assist! Still an issue

C:\adb>adb -s 192.168.1.207:5555 install Watch.SHM.MOD.1.1.0.221.apk
adb: failed to stat Watch.SHM.MOD.1.1.0.221.apk: No such file or directory

C:\adb> adb -s 192.168.1.207:5555 install Watch.SHM.MOD.1.1.0.221.apk
adb: failed to stat Watch.SHM.MOD.1.1.0.221.apk: No such file or directory
Download the latest Android Platform Tools and try again.
You're using an old adb.
Alternately you can transfer the apk to the watch and then install it from the watch
Code:
adb -s 192.168.1.207:5555 push Watch.SHM.MOD.1.1.0.221.apk /data/local/tmp/Watch.SHM.MOD.1.1.0.221.apk
adb -s 192.168.1.207:5555 shell pm install /data/local/tmp/Watch.SHM.MOD.1.1.0.221.apk

Note: You can also download the app from my signature and use the Install APK feature to Install.
You don't need to care about other aspects of the app.
There is also a crude Package Manager in there that will get better in time.
 
ah, i did not know it installs automatically.

ok, after the install complete is the .apk removed from the watch or do i have to do it manually (if i wanted to?)
You can uninstall the apk by long pressing on it and uninstall and if you're wondering about deleting apk after install, that is handled by your watch...
Hy Dante. Since I'm in the hospital, I've got time and rest now. Have managed to connect with your gemini app and companion watch and phone. Now I have both apps installed and now this error message comesView attachment 5778205
I hope you get better truly...
The error says it's a phone app not a watch app, so uninstall shm mod, then open companion on your phone, open the watch section download the watch shm mod and install it, the name of the apk has "watch" in it and it's an indicator that it's watch app, phone app has "phone" in its name...
I was able to connect to my phone but I can't get the command to run.

View attachment 5778267

Here is my adb:
View attachment 5778265

Command:

3. Install MOD SHM, type:
adb -s <IP> install Watch4.SHM.MOD.X.X.X.XXX.apk

View attachment 5778271
what's the current path of this folder your sharing a picture of..? Is it in program files?
 

get2easy

Senior Member
Nov 12, 2010
368
25
49
Petrinja
Thank you Dante, I get the same error message at shm company.
I didn't install it via adb but via companion about my note
 

yuv78

Senior Member
Sep 3, 2009
56
7
Hi Dante. After installing latest firmware update for watch5 pro the ecg is not working properly. After the measurement is finished the screen goes off without showing the result and the watch locks itself and ask for the password as if it was removed from the hand, however the result does send to the app on the watch.
 
  • Like
Reactions: 73sydney
Hi Dante. After installing latest firmware update for watch5 pro the ecg is not working properly. After the measurement is finished the screen goes off without showing the result and the watch locks itself and ask for the password as if it was removed from the hand, however the result does send to the app on the watch.
Seems a bug in watch5 update...
Just like watch4 update has a bug killing watches, watch5 crashes shm itself, not just mod...
I found easy way to to add ecg and blood pressure in my watch 4 without sideload. we can set it with Galaxy wearable app
Do share...
 

dkearns

Member
Nov 29, 2022
26
6
You can uninstall the apk by long pressing on it and uninstall and if you're wondering about deleting apk after install, that is handled by your watch...

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

what's the current path of this folder your sharing a picture of..? Is it in program files?

Download the latest Android Platform Tools and try again.
You're using an old adb.
Alternately you can transfer the apk to the watch and then install it from the watch
Code:
adb -s 192.168.1.207:5555 push Watch.SHM.MOD.1.1.0.221.apk /data/local/tmp/Watch.SHM.MOD.1.1.0.221.apk
adb -s 192.168.1.207:5555 shell pm install /data/local/tmp/Watch.SHM.MOD.1.1.0.221.apk

Note: You can also download the app from my signature and use the Install APK feature to Install.
You don't need to care about other aspects of the app.
There is also a crude Package Manager in there that will get better in time.
Badabing, I downloaded the Android Platform Tools (thanks!)

Here are the results of the code:

1670349892976.png

Does this mean it installed?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Any idea how to make the new battery health check in Samsung members work with non Samsung phones?
    Very unlikely to work without rooting your device and it's a Longshot with rooted device, I attempted to mod and failed, didn't quit yet, just thinking about it from time to time, hopefully a light bulb would shine above my head for an approach lol...

    But at the same time, I'm thinking about making a proper battery details instead of the shallow details of galaxy wearable...
    Hi!
    I have a watch5 pro. No Samsung phone. Does it work with this watch?
    Note: JDK15 no longer works with Tizen studio 5. (Device Manager)
    Do you see any mention of Tizen Studio...?
    Kindly go through the thread, I know you came from Tizen thread, you'd see on Tizen it is mentioned (watch3 and active 2) and you have watch5, and on this thread it's mentioned (watch4, 5 and above), so your watch is supported...

    Just grab a coffee and get in the mood, watch the video, it's super short (I still haven't made written instructions yet since the video is new)...

    And you'll get it working in no time...
    2
    Hello.... Just wondering if there is any way to bypass the recalibration period each 28 days, it is really annoying and will make it useless to have BP on watch while you had to have BP measurement device at home to do recalibration each 28 days, is there any way to ignore recalibration? Or a chance to add such feature to the modded SHM?
    No, just calibrate if you want accurate results, enter dummy values if you want false positive results...

    The whole purpose of calibration is having as accurate as possible results...
    1
    Instructions are on the first page.
    1
    Hey folks!

    Sorry for asking this, but... I don't know if I drop the money on a 5 pro or not without a samsung phone. After this mod does something still doesn't work? What exactly is the "Samsung health without syncing" that is mentioned on the first page?
    Sorry if I missed something... Just wanna make sure I know where I'm going here and what I would still be losing using the watch without a Samsung phone (even after doing this mod).

    Thanks in advance for any input!
    1
    Working now, I had to calibrate BP now it's showing fine. Thanks for the mod
  • 400
    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...

    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 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 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 on Galaxy Wearables (Watch4/5 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 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/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 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 from pairing, if you can't disable it, then whitelist galaxy wearble and the watch4/5 plugin!

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

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

    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

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


    ~~~ 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
    85
    What's New:
    Changelog,
    Latest Changes:

    --- 17th Feb 2023 - Patched SHM MOD, it won't open Bluetooth settings if you tap on pair my watch...
    I have changed the youtube video Tutorial...

    Changelog History Moved to Github:
    51

    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