Was this useful and you were satisfied with the outcome...?


  • Total voters
    538
Search This thread

stakoz

Senior Member
Dec 21, 2007
51
13
Samsung Galaxy Watch 4
A member reported that SHM 189 BP syncs with SH, need confirmation on that please so I stop giving myself a headache and blame my phone being heavily modified... please lol
Hi Dante, I confirm, it indeed does sync, with the official SHM 189. I did change the CSC (to an EU one) on my phone Galaxy a70 to check it and it works. When installing the official SHM it does ask for a permission to share to SH, but apart from that I do not see in SH any such service linked, but it does sync. Hope this helps.
 
Hi Dante, I confirm, it indeed does sync, with the official SHM 189. I did change the CSC (to an EU one) on my phone Galaxy a70 to check it and it works. When installing the official SHM it does ask for a permission to share to SH, but apart from that I do not see in SH any such service linked, but it does sync. Hope this helps.
@Dante63 Mine does not sync. I guess because I changed my phone's CSC to ILO (to get call recording)... Official SHM says it's not available in my region.

Watch: GW3, SEE
Phone: S20 Ultra, original CSC was CRO
Thank you for the feedback, however, my interest is in the SHM 189 Mod that I created, the official works fine if it's in a supported country...
 
If we find SHM access code sync problem resolved.
Official SHM syncs with SH but my phone is heavily modified so I might have broken the authentication signature, a member using my modified SHM 189 reported SH syncs with no problem...

I wish people to test that and see if it works, if not, please provide me a logcat to match the log with my logs...

I want to see if the error is the same or different, I already know the location of the sync BP on SHM but an exception is being thrown breaking the sync and preventing it...

If you wish to help, please test SHM 189 and see if it syncs and if it doesn't, please record a log for me using logcat reader and share it...

Thank you and everyone that would contribute in this matter ♡...
 

stakoz

Senior Member
Dec 21, 2007
51
13
Samsung Galaxy Watch 4
Thank you for the feedback, however, my interest is in the SHM 189 Mod that I created, the official works fine if it's in a supported country...
Hi Dante, your SH 189
Official SHM syncs with SH but my phone is heavily modified so I might have broken the authentication signature, a member using my modified SHM 189 reported SH syncs with no problem...

I wish people to test that and see if it works, if not, please provide me a logcat to match the log with my logs...

I want to see if the error is the same or different, I already know the location of the sync BP on SHM but an exception is being thrown breaking the sync and preventing it...

If you wish to help, please test SHM 189 and see if it syncs and if it doesn't, please record a log for me using logcat reader and share it...

Thank you and everyone that would contribute in this matter ♡...
Hi Dante, I kept my CSC compatible on my phone Galaxy A70 and used your modded version of SHM 189 instead of the official one (as mentioned earlier the official one synced). Your modded SHM 189 does not sync and I tried a logcat- I started recording by firstly taking a BP reading with my galaxy watch 3, then opening the modded SHM and then checking if SH would sync the BP reading which it did not. I have not used before logcat so hope the attached helps. Please let me know if you wish more tests/ logcat etc. Good luck
 

Attachments

  • logcat_04-11-2021_17-13-37.txt
    37.6 KB · Views: 9
Hi Dante, your SH 189

Hi Dante, I kept my CSC compatible on my phone Galaxy A70 and used your modded version of SHM 189 instead of the official one (as mentioned earlier the official one synced). Your modded SHM 189 does not sync and I tried a logcat- I started recording by firstly taking a BP reading with my galaxy watch 3, then opening the modded SHM and then checking if SH would sync the BP reading which it did not. I have not used before logcat so hope the attached helps. Please let me know if you wish more tests/ logcat etc. Good luck
Unfortunately this log has no details about Samsung Health Monitor at all, only 289 logged, perhaps you have exported the log with a filter or missing permissions? If you don't have root, you'll need to use adb command to grant the logcat permissions to collect logs...
 

stakoz

Senior Member
Dec 21, 2007
51
13
Samsung Galaxy Watch 4
Unfortunately this log has no details about Samsung Health Monitor at all, only 289 logged, perhaps you have exported the log with a filter or missing permissions? If you don't have root, you'll need to use adb command to grant the logcat permissions to collect logs...
Apologies I have granted now adb permission to logcat. I think the newly attached log should be good now as when I search in it with "samsung health" there are entries. Mind that my GW3 had to reconnect to my phone when the logcat was being taken but the watch did sync BP to the SHM 189 modded but it did not sync further to SH. I have been also thinking if some proxy app could be used if SHM would not sync directly (like Healthsync or FitnessSync) as a proxy between SHM and then to SH. Best,
 

Attachments

  • logcat_04-11-2021_18-02-57.zip
    3.3 MB · Views: 12
  • Like
Reactions: Dante63
Apologies I have granted now adb permission to logcat. I think the newly attached log should be good now as when I search in it with "samsung health" there are entries. Mind that my GW3 had to reconnect to my phone when the logcat was being taken but the watch did sync BP to the SHM 189 modded but it did not sync further to SH. I have been also thinking if some proxy app could be used if SHM would not sync directly (like Healthsync or FitnessSync) as a proxy between SHM and then to SH. Best,
That is a great log but it didn't show any errors, rather, it showed sync success
 

stakoz

Senior Member
Dec 21, 2007
51
13
Samsung Galaxy Watch 4
That is a great log but it didn't show any errors, rather, it showed sync success
well, the BP did not sync from SHM to SH.... and earlier when uninstalling the official SHM and installing the modded SHM for the logcat I did clear the cache and data of both SH and SHM and restarted my phone... interestingly the SH when re-started kept the previous BP data already previously synced by the official SHM, maybe because it passed through the samsung cloud etc...let me know if you wish me to try again or maybe some other user can try
 
Last edited:
  • Like
Reactions: Dante63
Thanks to xda member @juljoe2021 who pointed out using developer mode on Samsung Health works and upon checking the logs, security checks on signature were ignored allowing a sync to be done between SH and SHM...

I will create an entire section to enable the BP sync between SHM and SH with explanations, it is a very simple process...

I will also place in the Google drive the latest Samsung Health (SDK 26 - Android 8) that I used to test the BP sync between SHM and SH...
 

_Tallis_

Senior Member
Dec 16, 2012
124
10
I can't get the BP to sync with SH. I activated the developer mode as described in the first post, force stopped SH, deleted the cache, but the BP is still not synced. Even restarted the phone, but to no avail. I'm using your SHM .189 together with a self signed bp.tpk after following the hard way (easy way worked only for ECG). BP works fine, despite being in english instead of german.
Did I miss anything? Phone is a Honor 9.
 
I can't get the BP to sync with SH. I activated the developer mode as described in the first post, force stopped SH, deleted the cache, but the BP is still not synced. Even restarted the phone, but to no avail. I'm using your SHM .189 together with a self signed bp.tpk after following the hard way (easy way worked only for ECG). BP works fine, despite being in english instead of german.
Did I miss anything? Phone is a Honor 9.
It's 2 things, Developer mode on and switching to DEV
 

stakoz

Senior Member
Dec 21, 2007
51
13
Samsung Galaxy Watch 4
It's 2 things, Developer mode on and switching to DEV
I also had a similar issue and when I installed the Samsung Health version from the Google drive and did the developer mode actions then it worked. My Samsung Health was an older version 16.15.xxxx though my store was saying it was the latest one available for me. The SH version on the goógle drive of Dante is 16.16xx
 
  • Like
Reactions: Dante63

vitelao

New member
Apr 12, 2021
3
0
Hey @Dante63 i cannot get through signing of apks. Keeps getting me errors and I dont know what to do anymore. Would appreciate some help. Been all day with this and bought the watch relying on you. Naturally, my fault if I can not get it to work.
 

Attachments

  • error.png
    error.png
    35.3 KB · Views: 19
Hi, I want to confirm if this method works with non samsung phone? I'm using OnePlus 6T.
Should work with all devices as mentioned in the description as long you meet the minimum android version and have the latest Samsung watches (galaxy 3 or active 2)...
Just a question, upon enabling developer option in SHM there is showing as well Blood Oxygen option. Does it mean that application is in the watch (active 2) but is not enabled?
Phone changes doesn't affect watch, the watch has its own restrictions based on CSC for the SpO2...
 
  • Like
Reactions: tekerleki

Top Liked Posts

  • There are no posts matching your filters.
  • 188
    Hello Everyone,
    I hope you all are fine...


    Tizen-Lockup-On-Light-RGB.png


    ~~~ TIZEN WATCHES ONLY ~~~
    20220106_171450.jpg20220106_202449.png
    ~~~ FEATURES, BUGS & FUTURE WORKS~~~
    • FEATURES: Works on Active2 and Watch3 (as mentioned, Samsung Tizen 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, SHM multilanguage 1.1.00453...
    • BUGS: None...
    • 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 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...
    • IMPORTANT NOTE ABOUT POSTING: Please search the thread 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...
    • FUTURE WORKS: none...
    • 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 - you also need knox patched...

    • IMPORTANT NOTE ABOUT POSTING: Please read the F.A.Q and search the thread 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...

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

    ~~~ FOR WearOS (Watch4 And Above), 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. Run_me.bat Java "main" errors and JDK15.
      Open CMD and type 'Java --version', if it doesn't say Java 15, then you will struggle with such error, uninstall any JDK and reinstall JDK 15, run the command again, you should see Java 15...
    6. Connecting to the watch isn't working.
      Firewall, antivirus, defender, anything that filters the internet can block the connection of the watch, so make sure to disable all internet security, if it doesn't connect yet, reboot the pc and the watch and try again...

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

    ~~~ Tizen - Active2 & Watch3 - How to install SHM MOD - Tutorial - XDA - Dante63 ~~~

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

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

    ~~~ Special Thanks ~~~
    Thanks to the following members for sharing their solutions about the Java "main" exception error solution: @FckSamsung, @little_blaine, @uoY_redruM and @gogega ...

    BIG THANKS TO @evildog1 for the APK Easy Tool and @LeJay for the Fit2Installer that I found on his Thread...

    Thanks to @caravana for sharing version 175, found at Samsung Health Monitor - 1.1.0.175.mod4.Caravana and on XDA Samsung Health Monitor v1.1.0.167 by @JonGarrett is how I found the link...

    Thanks to @adfree for providing me SHM 1.1.0.181, SHM watch 1.1.0037 and SHM watch 1.1.0039...
    Thanks to @vadu71 for providing me the updated version of SHM 183...
    Big thanks to member @l0nax for the great catch of finding the device detection and lowering age restriction found in here...

    Thanks to @jmdomini as despite BP was hidden and inaccessible, he was able to use the BP by calling the activity through a third-party app which tells me that the restrictions were only view related and not functionality, his findings helped me dig in the right place and fix SHM...

    Thanks to @warpjavier for sharing his thread
    https://xdaforums.com/t/working-bp-tpk-for-non-samsung-phones.4184729/
    I have followed his steps and generated unsigned TPKs, you just need to sign it...
    After signing it with Tizen studio, you either push it sdb or you can use the TPK installer which you decompile, place the tpk in assets and compile it again...

    Thanks for this Guide by @xxstd (download 1 to 3, don't use 4 or 5, use mine and proceed with the rest) for how to sign TPKs

    Thanks to Mr. @m2carbine as on the journey of trying to make this work, thanks to him I found the root cause why BP failed to install...
    ~~~ 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"
    ~~~ 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:
    Sadly, the Watchfaces you see are only for WearOS, not Tizen, and I do not make Tizen Watchfaces...

    ✯ XDA: https://xdaforums.com/m/dante63.7047928/
    ✯ Reddit: https://www.reddit.com/user/XDA-Dante63/
    ✯ Telegram: https://t.me/xda_dante63
    36
    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.4.003 (Android 9 and above)
    Here is what I observed on phone SHM 1.2.4.003:
    GUI:
    - assets has country code IN - india with both BP and ECG documents, this is a clear indicator of support...
    - plenty of permissions removed, this will probably solve the issue of SHM being flagged by TotalVirus (I already checked, this apk is safe)...
    - Diagnostic added (might be for Samsung Members aka Samsung devices only)
    - backup service updated (this might be backup and restore logic activated)
    - Samsung India address added...
    - I can see Sleep duration strings, not sure what this is, I will know when I look at the code...

    CODE:
    - CSCUtil confirms India got ECG and BP but not IHRN...
    - I can confirm sleep layout and sleep tracking added but I do not see it being used anywhere nor even called - I can confirm sleep is not active from the manifest, probably future implementation...

    TIZEN WATCH SHM END OF LIFE - 1.1.0053 is the last version released...
    No version will be released after this according to Samsung Galaxy Store:

    1699706953615.png

    Enjoy...

    Previous Release:
    Changelog History Moved to Github:
    21
    Download SHM MOD Companion from here if Google Drive reaches its limit...
    13
    Update update update, a wonderful amazing update for all watch4 owners and those who ordered it
    SHM works on watch4,
    Still going through heavy tests to ensure it is at its best form and most features active...
    I will release it in 1-2 days...
    8
    I am going to start organizing the Thread for Watch4 *Excitement* lol