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


  • Total voters
    170
Search This thread

aj7400

Senior Member
  • May 25, 2013
    705
    180
    Samsung Galaxy S21 Ultra
    Changelog,
    Latest Changes:

    --- 11th April 2021 - Thanks to @juljoe2021 for the tip of using Developer mode on Samsung Health, it allows to bypass signature checks and Sync BP between Samsung Health and Samsung Health monitor, also thanks to @adfree, I uploaded the SHM version 43 for the watch and added the installer which has 3 countries support (CY, RU and HK) and some minor optimization, I also uploaded the latest Samsung Health that I used for the BP sync in SHM...

    --- 3rd April 2021 - Successfully Modified and uploaded SHM1.1.0.189 - still investigating what has been added aside from 3 countries (CY, RU and HK)...
    --- 28th March 2021 - I have gathered different solutions of members for the annoying Exception in thread "main" JAVA problem in a section so people can use one of the them to fix it and proceed signing the tpks...
    --- 14th March 2021 - I forgot to post about the SHM 39 apk installer, Thanks to @adfree, I believe it patches the SHM 37 for bugs in the interface...
    --- 10th March 2021 - the issue of hidden ECG and hidden BP was still shown for few users and now I am confident to say with more patches, I think SHM 181 & 183 is at its best, thanks to @jmdomini as despite BP was hidden, he was able to use the BP by calling the activity which tells me that the restrictions was view related and not functionality...
    --- 8th March 2021 - very few users reported that SHM still hides BP or ECG showing either "The blood pressure features require a Galaxy Watch Active 2 or later to work" or "The ECG features require a Galaxy Watch Active 2 or later to work", so I dag very deep hoping to find what I missed and I believe I found it & I patched the logic, now you should be able to see "The blood pressure and ECG features require a Galaxy Watch Active 2 or later to work." And to be able to use both BP and ECG on the app...
    --- 3rd March 2021 - Organized the Thread, Patched 181 and 183, removed BP restriction for USA, Removed lock screen requirement, changed the message of age restriction from 22 to 16 and applied the check logic...
    --- 1st March 2021 - Updated SHM1.1.0.181 & SHM1.1.0.183 removing device restriction and lowered age restriction from 22 to 16, special thanks to @l0nax, I also removed version detection, it shouldn't ask you to update to the latest version anymore...
    --- 11th Feb 2021 - Successfully Modified and uploaded SHM1.1.0.183 root detection & country restriction removed...
    --- 10th Feb 2021 - Successfully Modified and uploaded SHM1.1.0.181 root detection & country restriction removed + Added official SMH tpk installer for the watch...
    --- 14th Jan 2021 - Uploaded a tutorial video, hope it helps...
    --- 13th Jan 2021 - Fixed the Modified TPKs - the current ones are working 100% as they have been tested, please sign it and enjoy using it...
    --- 10th Jan 2021 - Added Modified BP.tpk, ECG.tpk to be signed, those who fail to install any widget, check for SMH on your watch, if it's installed, it will prevent you from pushing original widgets, sign the modified widgets and push them either sdb or the tpk installer I added and it will work (Note, you need to add the tpk inside the TPKinstaller, decompile, add it and recompile and sign)...
    --- 5th Jan 2021 - Added BP.tpk, ECG.tpk and TPK installer apk for editing and pushing if original tpk fail to install, check the Alternative way in the post...
    --- 24th Dec 2020 - Added individual widget installers, BP standalone & ECG standalone, if the watch has one of the widgets already, both widgets installer will fail to install...
    --- 20th Dec 2020 - Added photos in post #3...
    --- 14th Dec 2020 - Removed root detection from latest Samsung Health Monitor Mod (1.1.0.175.mod4) by @caravana
    Thanks for your hardwork .

    The easy method just installs the ecg and bp widgets to the watch .

    How to install the whole shm app to the watch that includes bp and ecg ?

    The way of simply installing the shm .189 and the installing the tpk file will not work now ?
     

    Dante63

    Senior Member
  • Nov 1, 2015
    1,710
    1,479
    27
    the Clouds
    none of the SHM works with my huawei p smart phone. I can't get pass the name/dob registration screen. Is there any other version that could work with the huawei phones?
    Did you try the older version? 175?
    I am not sure what Huawei is flagged as, all android phones are flagged as Google, so if Huawei is different, then I have to create an SHM for Huawei phones but I am not sure what Huawei really is...
    Hello! i have tried the simple method. The ecg has work to install but BP apk i get failed installation.The ECG works and synchronize without issue. Why i cant install BP?Thank You!
    Samsung controls BP since it didn't get FDA approval worldwide, so it rolls out BP slowly and it would take time, Samsung flagged BP to not be installed on some watched after the watch update, so you have to use a modified BP so it would work...
    cant understand it at all....
    How may I help?
    Thanks for your hardwork .

    The easy method just installs the ecg and bp widgets to the watch .

    How to install the whole shm app to the watch that includes bp and ecg ?

    The way of simply installing the shm .189 and the installing the tpk file will not work now ?
    There is SHM installer, like the BP and ECG, uninstall the BP & ECG first then install the SHM...
    I am from india with watch active 2,
    Can you guide on how to change the csc , i would like to have ecg, bp and samsung pay on my watch active 2
    Search XDA for that as I'm unfamiliar with CSC change, sorry, I hope someone else can help, but I can say UAE has Samsung pay, should also have BP & ECG...
     
    • Like
    Reactions: lambik333

    muschiu35bv

    Senior Member
    Oct 19, 2013
    234
    29
    Hello! i was able to instal SHM and push ECG.apk to active 2 but i can push BP.apk to watch. i get failed to install.
    I Also tried to use sign option but i get fatal error when use sign.bat. And the link to jdk 15 is not working because the JDK was update to 16.1 and even with this version i cant sign any tpk. The only problem thet i have is that i get failed to push or install on watch
     

    Dante63

    Senior Member
  • Nov 1, 2015
    1,710
    1,479
    27
    the Clouds
    Hello! i was able to instal SHM and push ECG.apk to active 2 but i can push BP.apk to watch. i get failed to install.
    I Also tried to use sign option but i get fatal error when use sign.bat. And the link to jdk 15 is not working because the JDK was update to 16.1 and even with this version i cant sign any tpk. The only problem thet i have is that i get failed to push or install on watch
    You could've googled jdk 15 and you will find it, I updated the link again but oracle may change the links again, I have no control over that...
    Can you share the link ?

    Also what is the difference between Installing SHM vs ecg and bp widgets?
    It's in Google drive, official installers,
    Samsung-ECG-BP-Official-installer-SMH-1.1.0043

    Samsung merged BP and ECG into SHM making it more stable and supporting different languages...

    BP & ECG standalone haven't gotten update since they came out...
     
    • Like
    Reactions: muschiu35bv

    muschiu35bv

    Senior Member
    Oct 19, 2013
    234
    29
    You could've googled jdk 15 and you will find it, I updated the link again but oracle may change the links again, I have no control over that...

    It's in Google drive, official installers,
    Samsung-ECG-BP-Official-installer-SMH-1.1.0043

    Samsung merged BP and ECG into SHM making it more stable and supporting different languages...

    BP & ECG standalone haven't gotten update since they came out...
    I was googled but i couldn't find jdk 15. I have instead jdk 16 installed. Why jdk 16 is not working? Do you know why i can't push BP.apk to active 2?Thank you 😀
     
    You could've googled jdk 15 and you will find it, I updated the link again but oracle may change the links again, I have no control over that...

    It's in Google drive, official installers,
    Samsung-ECG-BP-Official-installer-SMH-1.1.0043

    Samsung merged BP and ECG into SHM making it more stable and supporting different languages...

    BP & ECG standalone haven't gotten update since they came out...
    Hi Dante!

    Thank you for your work. @adfree directed me to your thread and I'm really impressed with all the work you've put into this project. Using your tutorial and files, I used the easy method and got BP and ECG working on my S21 Ultra.

    But after reading the last few posts, I have a doubt which i hope you can answer:

    Q: Is there any advantage to installing SHM on the watch vs ECG and BP apks separately on the watch?

    I installed BP and ECG apks on the watch and they are working well. Just wanted to ask if it's better to uninstall them and install SHM. Any advantage or extra features that the SHM has when compared to the standalone BP and ECG apks?
     
    • Like
    Reactions: Dante63

    lambik333

    Senior Member
  • Nov 22, 2011
    1,259
    266
    vlissingen
    Did you try the older version? 175?
    I am not sure what Huawei is flagged as, all android phones are flagged as Google, so if Huawei is different, then I have to create an SHM for Huawei phones but I am not sure what Huawei really is...

    Samsung controls BP since it didn't get FDA approval worldwide, so it rolls out BP slowly and it would take time, Samsung flagged BP to not be installed on some watched after the watch update, so you have to use a modified BP so it would work...

    How may I help?

    There is SHM installer, like the BP and ECG, uninstall the BP & ECG first then install the SHM...

    Search XDA for that as I'm unfamiliar with CSC change, sorry, I hope someone else can help, but I can say UAE has Samsung pay, should also have BP & ECG...
    i never tought it was so easy with the .apk.....everything work, many thnxs!!!! for your work!!!
     
    • Like
    Reactions: Dante63

    Dante63

    Senior Member
  • Nov 1, 2015
    1,710
    1,479
    27
    the Clouds
    I was googled but i couldn't find jdk 15. I have instead jdk 16 installed. Why jdk 16 is not working? Do you know why i can't push BP.apk to active 2?Thank you 😀
    It's ok, JDK 16 is Unstable, has some issues with setting PATH environment... I updated the links, so uninstall 16 & install 15, otherwise feel free if you love fixing the issue, there is an Entire Section in my thread talking about the issue & how it can be solved ...
    Hi Dante!

    Thank you for your work. @adfree directed me to your thread and I'm really impressed with all the work you've put into this project. Using your tutorial and files, I used the easy method and got BP and ECG working on my S21 Ultra.

    But after reading the last few posts, I have a doubt which i hope you can answer:

    Q: Is there any advantage to installing SHM on the watch vs ECG and BP apks separately on the watch?

    I installed BP and ECG apks on the watch and they are working well. Just wanted to ask if it's better to uninstall them and install SHM. Any advantage or extra features that the SHM has when compared to the standalone BP and ECG apks?
    SHM for watch has language support for sure but there are some changes in the written user interface script and my guess is optimization for better performance which is barely noticeable, also, both BP & ECG will be inside 1 app on the watch instead of 2 independent apps...

    That's all & they all work in the end, but I'd go for the updated version, and when the watch recieves an update, there is a possibility it will disable BP from SHM and you will need to install a modified BP...
     
    • Like
    Reactions: lambik333
    It's ok, JDK 16 is Unstable, has some issues with setting PATH environment... I updated the links, so uninstall 16 & install 15, otherwise feel free if you love fixing the issue, there is an Entire Section in my thread talking about the issue & how it can be solved ...

    SHM for watch has language support for sure but there are some changes in the written user interface script and my guess is optimization for better performance which is barely noticeable, also, both BP & ECG will be inside 1 app on the watch instead of 2 independent apps...

    That's all & they all work in the end, but I'd go for the updated version, and when the watch recieves an update, there is a possibility it will disable BP from SHM and you will need to install a modified BP...
    Thank you for the clear explanation. I will un-install standalone BP and ECG and load up the SHM.

    Thanks for making it so easy to get both features working. It's almost funny how easy it is to get the BP function activated, as compared to sitting and calibrating it with a BP machine 😂
     
    There's a new firmware available now for the watch. Don't know if SHM has been updated.

    @Dante63 maybe you'd like to take a look?
     

    Attachments

    • Screenshot_20210504-212322_Watch Active2 Plugin.jpg
      Screenshot_20210504-212322_Watch Active2 Plugin.jpg
      331.8 KB · Views: 12

    lucifaru

    Member
    Nov 29, 2010
    30
    0
    Macao

    Thank you so much for your great work Dante!​

    I am using Samsung note 10+, and my watch 3 was updated to version SM-R840NZKATGY and got SHM as a system app :eek:. Hence, I went through your alternative way I got the BP to work but not ECG (ECG asked for installing update and nothing happens after i clicked my watch). I have tried different versions of your SHM from 175 to 189 but it didn't resolve the issue. Please help and thank you sooo much again for your wonderful work
     

    Dante63

    Senior Member
  • Nov 1, 2015
    1,710
    1,479
    27
    the Clouds
    I'm sorry I don't understand what you mean.

    I just wanted to give a heads up in case it was helpful. Please disregard if this information is not useful.
    You asked if the watch version update has SHM, usually it would show in "what's new" that SHM is installed but from my experience, if a version is skipped and later one is shown, it won't mention SHM, so the update may have SHM or not, I can't be sure 100% about that...

    Thank you so much for your great work Dante!​

    I am using Samsung note 10+, and my watch 3 was updated to version SM-R840NZKATGY and got SHM as a system app :eek:. Hence, I went through your alternative way I got the BP to work but not ECG (ECG asked for installing update and nothing happens after i clicked my watch). I have tried different versions of your SHM from 175 to 189 but it didn't resolve the issue. Please help and thank you sooo much again for your wonderful work
    SHM itself has ECG, you don't need the ECG Standalone, also, I don't understand what your problem is?
     
    • Like
    Reactions: enigmaamit

    Top Liked Posts

    • 1
      I have Uninstall jdk 16 and replaced with jdk 15 and I was able to sign the tpk and use apk easy tool. Now everything is working and no problems occurred. Thank you for your support and great work 😀
    • 3
      Never got signed...

      I will look into the errors and google search them and suggest what things you can do but no guarantees because I don't have the error, it's difficult for me to say the solution will work
      @Dante63 I figure it out the issue. It was occurring because of JDK 16. This process needs JDK 15. So i create new Windows VM and setup it accordingly. It works and you doesn't need that workaround where you have to replace binary files within tizen folder.

      Those exception that i was posting and @nik_stud is also facing it. It should resolve by uninstalling every JDK and install JDK 15. You should see some gibberish but in the end, it should be signed and i just install it on my watch.

      @Dante63 Thanks for your support!
      3
      @Vuska thanks to you...
      Screenshot_20210408-151600_Logcat Reader.jpg

      This is the cause of BP sync failure...
      I will try today disabling this security check and syncing should work between SHM and SH...
      3
      It's ok, JDK 16 is Unstable, has some issues with setting PATH environment... I updated the links, so uninstall 16 & install 15, otherwise feel free if you love fixing the issue, there is an Entire Section in my thread talking about the issue & how it can be solved ...

      SHM for watch has language support for sure but there are some changes in the written user interface script and my guess is optimization for better performance which is barely noticeable, also, both BP & ECG will be inside 1 app on the watch instead of 2 independent apps...

      That's all & they all work in the end, but I'd go for the updated version, and when the watch recieves an update, there is a possibility it will disable BP from SHM and you will need to install a modified BP...
      Thank you for the clear explanation. I will un-install standalone BP and ECG and load up the SHM.

      Thanks for making it so easy to get both features working. It's almost funny how easy it is to get the BP function activated, as compared to sitting and calibrating it with a BP machine 😂
      3
      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...
      2
      if you read some post above... Java 15 is recommended
      It's great! I did it when downgrade java to 15, thank you so much for your help
    • 74
      Hello Everyone,
      I hope you all are fine...


      ~~~ FEATURES, BUGS & FUTURE WORKS~~~
      • FEATURES: 175 (no root detection, No Force update to the latest version, English language Only), 181, 183 & 189 (Multilanguage, no root detection, no country restriction, no device restriction (works on all devices, however, some Huawei devices are facing issues), 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.0043, BP and ECG Standalone English Only...
      • BUGS: Nothing that I know so far...
      • FUTURE WORKS: investigate the possibility of having Standalone BP and ECG Multilangual Support and I am open to suggestions 😊 ...
      • 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...

      ~~~ ECG + BP - Easy Way & Alternative Way - Tutorial - XDA - Dante63 ~~~

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

      ~~~ Exception in thread "main" ~~~
      This is a very common error for many members, and I will share what members shared, thanks to them:
      Use JDK 15 to fix this issue. This process doesn't work on JDK 16 for now. It gives you this error.
      If JDK 15 didn't fix it, try other suggestions below:
      Thanks everybody.
      It was indeed a problem with the path on the JDK.
      It must to be added to the windows path.
      Everything works wonderfully.
      Big thanks Dante.


      View attachment 5254249
      Thanks @Dante63 - I followed the alternate (long) path and got BP installed successfully. I did run into a couple of issues that others have also pointed out, which you may want to add to your instructions:

      1) JDK path needs to be added to the Path system environment variables, otherwise fit2installer fails to sign the TPKs. That Path addition looks like C:\Users\myuserID\AppData\Local\.package-manager\jdk\bin
      2) APK Easy Tool installation should be added to Exclusions in Windows Security or any other antivirus. APK compilation was not working for me until this was done,.

      Again thanks for putting this all together and letting us enable functionality that we paid for!
      This is what I used by the way, in case it helps anyone else, for setting the path system.

      PATH Environment can be fixed according to Java website guide like:
      Alternatively, a member managed to make it work by doing the following:
      finally found the solution:

      you have to replace the "sdk.info" and "sdk.version"-files within the "Fit2Installer\tizen\tizen-studio"-folder with copied ones from the tizen-studio-folder under C:\tizen-studio
      then copy all the files from the subfolder tools\ide to the corrospondent folders under C:\Fit2Installer\tizen\tizen-studio

      then run the sign.bat ... there will be some strange lines, but at the end it runs through.

      hope it helps!
      It is not neccesorcly it would work as some tried the method and failed to make it work, so remember, in this case, google is your best friend lol and he will be of a great help if these solutions did not work (hopefully they work though), And more to that, I will share this link which I found interesting for those who want to read more about different the "main" exceptions:

      ~~~ FILES and Description ~~~
      Here is the link to the files I am using:
      Google Drive - Samsung Health Monitor No Root, Country, Device, Update Detection + ECG-BP-installer / BP-installer / ECG-installer

      • MinSDK24-SHM1.1.0.175.root.detection.removed.dante63.apk -> "installs Samsung Health Monitor @caravana Mod with no root detection, most stable version..."
      • MinSDK24-SHM1.1.0.181.root.detection.country.restriction.removed.dante63.apk -> "installs Official Samsung Health Monitor, Modified by Me, removed device restriction, country restriction and root detection, lowered age restriction from 22 to 16..."
      • MinSDK24-SHM1.1.0.183.root.detection.country.restriction.removed.dante63.apk -> "updated version of 181, improved ECG..."
      • MinSDK24-SHM1.1.0.189.root.detection.country.restriction.removed.dante63.apk -> "updated version of 183, optimizations done..."
      • Samsung Accessory Service 3.1.94 (min SDK15).apk -> "This app should be installed with galaxy wearables but if you don't have it, then install it, this app transfer files from the phone and push them to the watch..."
      • Samsung Health 6.16.0.047 (min SDK26).apk ->"Latest Samsung Health that worked for BP sync, if your current Samsung Health doesn't sync BP even after switching to DEV with developer mode on then install this..."
      • Original SMH ("Official from Galaxy Store, unmodified"):
        • ORIGINAL.SHM1.1.0.181
        • ORIGINAL.SHM1.1.0.183
        • ORIGINAL.SHM1.1.0.189
      • Original Installers:
          • Samsung-ECG-BP-Retailmode-installer-SMH-1.1.0023.apk -> "installs on your phone and pushes ECG and BP widgets to your watch after allowing installation from unknown sources for your watch, it might fail to install if you have one of the widgets already installed..."
          • Samsung-ECG-BP-Official-installer-SMH-1.1.0037 -> "installs on your phone and pushes the official SMH app to your watch containing ECG and BP widgets, however, it is controlled by Samsung, BP or ECG might not visible till your country is approved, use alternative way in this case to get the missing widget"
          • Samsung-ECG-BP-Official-installer-SMH-1.1.0039 -> "updated version of 37, enhanced ECG and improved UI"
          [*][*][*][*][*][*][*][*][*][*][*][*][*][*][*][*][*][*][*][*][*][*][*][*]
        • Samsung-ECG-BP-Official-installer-SMH-1.1.0043 -> "installs on your phone and pushes the official SMH app to your watch containing ECG and BP widgets, more improvements on 1.1.0039, however, it is controlled by Samsung, BP or ECG might not visible till your country is approved, use alternative way in this case to get the missing widget"
        • Samsung.ECG.installer.apk -> "installs on the phone and pushes ECG widget to your watch..."
        • Samsung.BP.installer.apk -> "installs on the phone and pushes BP widget to your watch..."
      • Original & Modified Tpks:
        • Original TPKs - Samsung Originally Signed TPKs
          • BP.tpk -> "Blood pressure watch widget..."
          • ECG.tpk -> "ElectroCardioGram watch widget"
          • shm37_international.tpk -> "Samsung Health Monitor version 1.1.0037, rolled-out as a system app on watches when updated"
          • shm39_international.tpk -> "bugs fixed in version 1.1.0037"
          • shm43_international.wgt -> "bugs fixed in version 1.1.0039"
        • Modified Unsigned TPKs - Modified Samsung TPKs, need to be signed in order to work...
          • Unsigned_SBP.tpk -> "Blood pressure watch widget..."
          • Unsigned_SECG.tpk -> "ElectroCardioGram watch widget"
        • Samsung.TPK.installer.apk -> "installs on the phone and pushes whatever tpk widget to your watch..."
        • READ ME.txt -> "information about how to use the TPK installer"

      Note: If you install the widgets from the APK and you changed your mind and no longer wish to use them, uninstall the apk and the widgets will be uninstalled as well, in other words, the widgets are affected by the apk on your phone...

      ~~~ What You Need For Alternative Way To Sign TPKs~~~
      Java RE: https://www.java.com/en/download/
      Java JDK 15 (recommended): https://www.oracle.com/java/technologies/javase/jdk15-archive-downloads.html
      Tizen Studio: https://developer.tizen.org/development/tizen-studio/download
      Fit2Installer: https://forum.xda-developers.com/attachments/fit2installer-zip.4218341/
      APK Easy Tool: XDA - Apk Easy Tool

      ~~~ ENABLING BP SYNC BETWEEN SHM & SH ~~~
      SHM has security checks related to signature which breaks the BP sync between SHM and SH and I struggled to disable that check... Thanks to xda member @juljoe2021, he suggested and advised the use of developer mode in Samsung Health makes it work, I have tested and seen in the logs no security checks were called and the BP syncs between SHM and SH with no issues... The steps are easy 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...

      I have also uploaded the latest Samsung Health that worked for me but it should work with previous Samsung Health (latest version on the galaxy store is different in every country)...

      Important Note: you need to switch to DEV and turn On the Developer Mode whenever you update Samsung Health, the update reset those settings back to default...

      ~~~ 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 SMH 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 SMH 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://forum.xda-developers.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... The picture below shows SMH installed on the watch:
      20210110_012035.png

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

      From Version 181 and onwards, Samsung device detection added, country restriction and spoof location detection, the following countries were listed in the country restriction checking, I believe if you live in those countries, SMH should Work, otherwise, it wouldn't, SMH checks your GeoLocation, Sim Card, and Device CSC (why so complex, it's just BP & ECG):
      • EU_CSC: <-- FULL SUPPORT
        1. AT
        2. BE
        3. BG
        4. CZ
        5. DE
        6. DK
        7. EE
        8. ES
        9. FI
        10. FR
        11. GR
        12. HR
        13. HU
        14. IE
        15. IT
        16. LT
        17. LV
        18. NL
        19. PL
        20. PT
        21. RO
        22. SE
        23. SI
        24. SK
        25. CY
        26. LU
        27. MT
        28. GB
        29. CH
        30. IS
        31. NO
        32. LI
        33. TR
        34. RS
      • EU_MNC: <-- PARTIAL SUPPORT?
        1. AT
        2. BE
        3. BG
        4. CH
        5. CZ
        6. DE
        7. DK
        8. EE
        9. ES
        10. FI
        11. FR
        12. GB
        13. GR
        14. HR
        15. HU
        16. IE
        17. IS
        18. IT
        19. LT
        20. LV
        21. NL
        22. NO
        23. PL
        24. PT
        25. RO
        26. SE
        27. SI
        28. SK
      • Ungrouped:
        1. KR <-- NO ACTION
        2. US <-- BP DISABLED
        3. BR <-- NO ACTION
        4. CL <-- NO ACTION
        5. AE <-- NO ACTION
        6. ID <-- NO ACTION
      SMH 189 listed 3 more countries CY, RU and HK which add restrictions to them aside of the language support...

      The original app will work only if you are not rooted, have no busybox and have none of the following apps installed,
      in addition to living in the countries above:
      • 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
      How do I know all that you ask?
      Well, I have decompiled the apk and removed the detection method, and recompiled it...
      So if you want to keep using the original mod apk or perhaps the original Samsung Health Monitor when it's released, make sure you have none of what I stated and you should be fine...

      ~~~ Don't forget to ~~~
      Bump into the thread when a newer version is released and I will update it...
      or Bump into the thread if you need an older version, share it and I will remove the root detection...
      BUT KEEP IN MIND, I WILL NOT MODIFY ANY OTHER APKS, SO PLEASE DO NOT BUMP FOR THAT...

      Now, it doesn't make sense 🤦‍♂️ why Samsung considers the blood pressure and ecg very critical that it needs lockscreen to be medium and no root :rolleyes: but oh well...

      I am using my Samsung Galaxy Note 20 Ultra Rooted with my Galaxy Watch 3...
      Also, I have tested these apps on BlueStacks, rooted, different types of devices to ensure device and update detection is removed and that the application is running, but please, if you encounter any issues, @ me for a faster response and I will do my best...


      ~~~ Finally ~~~
      Don't forget to smash the (y)THANKS (y)
      PS. if you are super happy and want to thank me, a cup of coffee will do great 😊
      12
      Changelog,
      Latest Changes:

      --- 11th April 2021 - Thanks to @juljoe2021 for the tip of using Developer mode on Samsung Health, it allows to bypass signature checks and Sync BP between Samsung Health and Samsung Health monitor, also thanks to @adfree, I uploaded the SHM version 43 for the watch and added the installer which has 3 countries support (CY, RU and HK) and some minor optimization, I also uploaded the latest Samsung Health that I used for the BP sync in SHM...

      --- 3rd April 2021 - Successfully Modified and uploaded SHM1.1.0.189 - still investigating what has been added aside from 3 countries (CY, RU and HK)...
      --- 28th March 2021 - I have gathered different solutions of members for the annoying Exception in thread "main" JAVA problem in a section so people can use one of the them to fix it and proceed signing the tpks...
      --- 14th March 2021 - I forgot to post about the SHM 39 apk installer, Thanks to @adfree, I believe it patches the SHM 37 for bugs in the interface...
      --- 10th March 2021 - the issue of hidden ECG and hidden BP was still shown for few users and now I am confident to say with more patches, I think SHM 181 & 183 is at its best, thanks to @jmdomini as despite BP was hidden, he was able to use the BP by calling the activity which tells me that the restrictions was view related and not functionality...
      --- 8th March 2021 - very few users reported that SHM still hides BP or ECG showing either "The blood pressure features require a Galaxy Watch Active 2 or later to work" or "The ECG features require a Galaxy Watch Active 2 or later to work", so I dag very deep hoping to find what I missed and I believe I found it & I patched the logic, now you should be able to see "The blood pressure and ECG features require a Galaxy Watch Active 2 or later to work." And to be able to use both BP and ECG on the app...
      --- 3rd March 2021 - Organized the Thread, Patched 181 and 183, removed BP restriction for USA, Removed lock screen requirement, changed the message of age restriction from 22 to 16 and applied the check logic...
      --- 1st March 2021 - Updated SHM1.1.0.181 & SHM1.1.0.183 removing device restriction and lowered age restriction from 22 to 16, special thanks to @l0nax, I also removed version detection, it shouldn't ask you to update to the latest version anymore...
      --- 11th Feb 2021 - Successfully Modified and uploaded SHM1.1.0.183 root detection & country restriction removed...
      --- 10th Feb 2021 - Successfully Modified and uploaded SHM1.1.0.181 root detection & country restriction removed + Added official SMH tpk installer for the watch...
      --- 14th Jan 2021 - Uploaded a tutorial video, hope it helps...
      --- 13th Jan 2021 - Fixed the Modified TPKs - the current ones are working 100% as they have been tested, please sign it and enjoy using it...
      --- 10th Jan 2021 - Added Modified BP.tpk, ECG.tpk to be signed, those who fail to install any widget, check for SMH on your watch, if it's installed, it will prevent you from pushing original widgets, sign the modified widgets and push them either sdb or the tpk installer I added and it will work (Note, you need to add the tpk inside the TPKinstaller, decompile, add it and recompile and sign)...
      --- 5th Jan 2021 - Added BP.tpk, ECG.tpk and TPK installer apk for editing and pushing if original tpk fail to install, check the Alternative way in the post...
      --- 24th Dec 2020 - Added individual widget installers, BP standalone & ECG standalone, if the watch has one of the widgets already, both widgets installer will fail to install...
      --- 20th Dec 2020 - Added photos in post #3...
      --- 14th Dec 2020 - Removed root detection from latest Samsung Health Monitor Mod (1.1.0.175.mod4) by @caravana
      5
      DANTE, you've created these tools and replied to this many messages to help people??? You're awesome man thanks so much, I'm gonna buy you a coffee ❤️
      5
      I need to rewrite my thread soon so it wouldn't be confusing to everyone when I update the MOD and thread...

      So today I am very happy to say that things look very promising now with the latest SMH and I may have thanked member @l0nax a lot, might look like I am spamming him LOL, I also liked the idea of lowering the age restriction, so I lowered it from 22 to 16 years old...

      The device restriction that I missed was why some of you were struggling to run the latest SMH and lately in my tests for all versions, I saw that Samsung wants to force the latest version only... *tsk tsk tsk* Not Anymore, I removed the version check, so now all version 175, 181 and 183 should work fine, just in 175 you may notice the start screen acting up (no device found, found device, no device found and so on) so just continue and ignore it, and inside the app you should see your watch connected already...

      Enjoy 😊 ... That is a wonderful feeling that I have... feel like victory lol...

      Oh and one last thing:
      Many of you are talking about the possibility of fixing the BP sync between SMH and SH which I am not sure...
      Dear @adfree, I hope you are fine, as I remember, you have played a lot with the BP and tried to push it to SH, have you seen any versions that actually sync the BP?
      I don't mind looking into the SMH, I believe I saw something about UUID or something in SMH but I was too tired to focus...
      So if you know something about it, let me know and I'll see what I can do to push it...
      5
      Hello Dante, today too I received an update OTA for the Samsung Health app on the GW3 and installed it. Since I last charged the SW3 battery, about 22 hours ago, I now have left an 27% and the Samsung Health app has consumed 25% of the total battery.
      I don't think it is related to my previous installation of SHM 183 and to discard it and continue with my troubleshooting, I ask you if you have any suggestions in this regard? Should I reset the SW3?
      Thanks!
      Yeah, Samsung Health does consume a lot on the watch, SHM has nothing to do with it, it can be seen in galaxy wearables, about watch then battery, Samsung Health ha many running services, such as Heart Beat, Steps, Auto-workout detect, stress, sleeping time, stairs and so on...
      I managed to install the modified Health Monitor app 1.1.0.183 and it works.
      I tried to install both the ECG as well as the BP installers but only the ECG managed to install.
      I don't have the Health Monitor app on my watch, according to your video tutorial.
      did you try the alternative way?
      Thanks for your help!
      I have not either SHM installed on watch.
      I will try...
      Let me know if you need help...
      Yeah, I know, I'm going to alternative way but only ecg is installed, not BP.. Don't know why.
      Perhaps you are trying to install the unsigned bp... after signing the BP, go to folder install me... I made that mistake and thought something is wrong till I realized I have been using the same unsigned bp inside the sign me folder...
      I have a watch with a pre-installed SHM like yours. On a nearby branch, a respected I0nax has developed an alternative solution. To be installed as a separate application on the watch without affecting the installed one. Works normally. Yesterday he rebuilt the latest 0.39 version.
      p.s Installation via signature
      First, Credit him by adding @ and typing his name like @l0nax ...
      Second, mention the thread link...
      He modified the SHM for the phone which is brilliant how he caught the device restriction that I missed
      but patched SHM for watch...?
      It's only renaming package name just like I did with the BP and ECG, nothing is patched...
      When a tpk is modified, they will need to sign it because Samsung Signature is broken...
      Now on the watch, they'll see 2 SHMs and multiple widgets...
      Having 2 SHM services, luckily they don't run in the background, would drain the battery...
      Kindly asking you from now and onwards, you can suggest, you can assist
      BUT I do not wish to see you posting anything on your own to:
      Claim it as your own or list it to others randomly or whatever that is you are doing...
      I have worked hard to create this simple guide, I dedicated my time,
      I have listed Thanks to members for their work and effort and listed their guides as well...
      I do not wish to see you posting files from other threads and outside XDA community...
      Read the 📚 XDA Developers Forum Rules 📚 since you are a new member...
      Show some respect when you are on other threads and credit others properly...
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone