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


  • Total voters
    538
Search This thread

indiana71

Member
Jan 13, 2011
5
0
@Dante63

Into SHM Tizen / Original & Modified Tpks / Original TPKs / Modified Unsigned TPKs
I found only two files: modified_BP.tpk and modified_ECG.tpk

Maybe the other aren't visible?

Or the file you mentioned is here?
SHM Tizen / Original & Modified Tpks / Original TPKs / shm49_international.wgt


After signed it, deleted from the watch ECG.tpk and BP.tpk , I try to install shm49 via Fit2Install and I receive an error

WARNING: Your data is to be sent over an unencrypted connection and could be read by others.
pushed shm49_international.wgt 100% 4088KB 0KB/s
1 file(s) pushed. 0 file(s) skipped.
.\install_me\shm49_international.wgt 3050KB/s (4186753 bytes in 1.340s)
path is /home/owner/share/tmp/sdk_tools/shm49_international.wgt
__return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health.samd.bp] key[start] val[update]
__return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health.samd.bp] key[install_percent] val[10]
__return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health.samd.bp] key[error] val[-1]
__return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health.samd.bp] key[end] val[fail]
processing result : General error [-1] failed
spend time for pkgcmd is [2518]ms
 
After signed it, deleted from the watch ECG.tpk and BP.tpk , I try to install shm49 via Fit2Install and I receive an error

WARNING: Your data is to be sent over an unencrypted connection and could be read by others.
pushed shm49_international.wgt 100% 4088KB 0KB/s
1 file(s) pushed. 0 file(s) skipped.
.\install_me\shm49_international.wgt 3050KB/s (4186753 bytes in 1.340s)
path is /home/owner/share/tmp/sdk_tools/shm49_international.wgt
__return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health.samd.bp] key[start] val[update]
__return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health.samd.bp] key[install_percent] val[10]
__return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health.samd.bp] key[error] val[-1]
__return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health.samd.bp] key[end] val[fail]
processing result : General error [-1] failed
spend time for pkgcmd is [2518]ms
It will fail to install because you signed it, it has Samsung signature, you should be able to install it directly
 

indiana71

Member
Jan 13, 2011
5
0
It will fail to install because you signed it, it has Samsung signature, you should be able to install it directly
Tryed also with the version you release into GDrive. Same problem: I cannot install, with and without BP.tpk/ECG.tpk standalone installed. (I use Fit2Install)

In attach photo from where I taken files.
I'm thinking ... Do you have a directory not shared with other user?

I used, in the past, shm39 patched version in my smartwatch.
 

Attachments

  • IMG_20210918_103929.jpg
    IMG_20210918_103929.jpg
    8.4 MB · Views: 27
  • IMG_20210918_103916.jpg
    IMG_20210918_103916.jpg
    6.7 MB · Views: 27
  • IMG_20210918_103905.jpg
    IMG_20210918_103905.jpg
    7.5 MB · Views: 25
Tryed also with the version you release into GDrive. Same problem: I cannot install, with and without BP.tpk/ECG.tpk standalone installed. (I use Fit2Install)

In attach photo from where I taken files.
I'm thinking ... Do you have a directory not shared with other user?

I used, in the past, shm39 patched version in my smartwatch.
I never patched SHM, perhaps I should do that and let go of ECG and BP, I'll do it today...
 

MOTOR HEAD

New member
Sep 18, 2021
2
1
Dante,
Thanks so much for your help ,
I would like to ask question,

I have bought galaxy watch 4 from a country that Samsung allow ecg and bp in it , the one who bought it for me tried the ECG And BP and it worked on his samsungphone , when I get it in my country that is not allowed to use ECG and my phone is also from my country , I will install the MOD SHM you have created ,

Will it work 🤔?
 
Dante,
Thanks so much for your help ,
I would like to ask question,

I have bought galaxy watch 4 from a country that Samsung allow ecg and bp in it , the one who bought it for me tried the ECG And BP and it worked on his samsungphone , when I get it in my country that is not allowed to use ECG and my phone is also from my country , I will install the MOD SHM you have created ,

Will it work 🤔?
For a moment, I thought I was having a deja vu, but you asked that question on Telegram, didn't you?
 
I decided to remove the standalone BP and ECG, due to being outdated and not English, I will patch the SHM and it will be the tpk/wgt you sign and install on your watch...

Unless someone lends me a hand to see if I can actually enable BP and ECG from the original SHM, it will save a lot of time when you install it, it will be more direct and as simple as installing the phone SHM MOD only, Stay tuned...
 
Oct 2, 2020
15
13
Dante,
I used your alternative method to install your modded SHM and bp tpk on my Samsung fold 3 and it worked like a charm. I had compiled both tpk files but only installed the bp since the ECG tab was already in the app. I'm in the U.S. so bp is not available yet. Just wanted to try it since I had installed them on my OnePlus phone.
Thank you so much for the tutorial.
 
  • Like
Reactions: Dante63

73sydney

Account currently disabled
I have removed BP and ECG now and uploaded the latest SHM MOD for Tizen, this is how it looks and how you can differentiate between them:


View attachment 5413781View attachment 5413783View attachment 5413785

so this is instead of the 2 separate ECG and BP apps?

i tried installing via your installer and its seems to install, the icon shows on watch briefly, and then immediately offers to uninstall

trying again shows a "failed to install" and then immediate offer to uninstall

rebooting both fails to ever allow it to even get as far as the first attempt again...

heading back to the separate apps again i guess :)

p.s. i removed the BP and ECG first....


@Dante63

Umm slight (huge) problem, i now cant reinstall the BP and ECG apps on the watch, any ideas, because this is not good....its giving me the same "failed to install" error as with SHM

Update got ECG back on, but BP (which was the first i tried) still refuses to install...not having fun here :)
 
Last edited:
so this is instead of the 2 separate ECG and BP apps?

i tried installing via your installer and its seems to install, the icon shows on watch briefly, and then immediately offers to uninstall

trying again shows a "failed to install" and then immediate offer to uninstall

p.s. i removed the BP and ECG first....
The installer will install original SHM, I'll tidy the Google drive later, grab the mod from modified tpk folder, you'll see only SHM 49 international mod
 

73sydney

Account currently disabled
The installer will install original SHM, I'll tidy the Google drive later, grab the mod from modified tpk folder, you'll see only SHM 49 international mod

Nope, all i see is shm49_international_mod.wgt

Wont install....because Samsung.TPK.installer.apk wont install to install it

I'd really rather not have to reset both my phone and watch at 10:30PM :) Its a super hassle to get Samsung Pay etc set back up again without it detecting root...

Again, im just trying to get back to where i was before i made the mistake of trying the SHM watch app....ECG is back on, but BP refuses to install...never seen this before, ive installed it many times
 
Last edited:
Nope, all i see is shm49_international_mod.wgt

Wont install....because Samsung.TPK.installer.apk wont install to install it

I'd really rather not have to reset both my phone and watch at 10:30PM :) Its a super hassle to get Samsung Pay etc set back up again without it detecting root...

Again, im just trying to get back to where i was before i made the mistake of trying the SHM watch app....ECG is back on, but BP refuses to install...never seen this before, ive installed it many times
That's the one "shm49_international_mod.wgt", sign it and then install it with either installer or direct from Tizen studio or Fit2Installer...

I'll make a video today hopefully it won't be long or complicated as the first one, a quick step by step straightforward guide...
 

73sydney

Account currently disabled
That's the one "shm49_international_mod.wgt", sign it and then install it with either installer or direct from Tizen studio or Fit2Installer...

I'll make a video today hopefully it won't be long or complicated as the first one, a quick step by step straightforward guide...
yeah, i dont have tizen studio installed, ive reinstalled windows since then, as the ECG and BP apk i have have never failed...

as mentioned earlier installer wont even install on my device to push the .wgt (never used those before)

i just tried fit2install and it wont even connect to the watch...no surprise, its never worked here

This is a nightmare

im just going to reset my watch and install the BP and ECG as it has always been, it will be a miracle if i dont also have to reset my phone to get Samsung Pay working again

Don't ask me why, even though that SHM watch app failed to install (wrong version or not), it completely hosed my watch...

It wasnt clear to me that that SHM .apk wasnt the right one, as it was the only .apk i could see where the version matched your screenshot, i went through every folder ...ive NEVER installed anything as a .wgt file...which is why i thought that cant be right....

Lesson learned, the hard way
 
yeah, i dont have tizen studio installed, ive reinstalled windows since then, as the ECG and BP apk i have have never failed...

as mentioned earlier installer wont even install on my device to push the .wgt (never used those before)

i just tried fit2install and it wont even connect to the watch...no surprise, its never worked here

This is a nightmare

im just going to reset my watch and install the BP and ECG as it has always been, it will be a miracle if i dont also have to reset my phone to get Samsung Pay working again

Don't ask me why, even though that SHM watch app failed to install (wrong version or not), it completely hosed my watch...

It wasnt clear to me that that SHM .apk wasnt the right one, as it was the only .apk i could see where the version matched your screenshot, i went through every folder ...ive NEVER installed anything as a .wgt file...which is why i thought that cant be right....

Lesson learned, the hard way
Sorry for the confusion, maybe I rushed into releasing the update and should've released a video...

You don't need to reset the watch though, let me help you though it and out of it in one piece
 

73sydney

Account currently disabled
Sorry for the confusion, maybe I rushed into releasing the update and should've released a video...

You don't need to reset the watch though, let me help you though it and out of it in one piece

Ive tried everything i and you have thought of....im going to reset it and move on

update:

reset...reconnecting, restoring

just realised i will also have to uninstall SH 6.18, install 6.16 enable features, calibrate, install 6.18 again on my phone

lesson learnt to pay attention :)

update #2:

ECG and BP back on watch from my signed apk installers (pushing the tpks) stored on phone

update #3:

Samsung Pay back, without having to do a lot of fiddling :)
 
Last edited:
  • Like
Reactions: Dante63

73sydney

Account currently disabled
Check your inbox please

cheers, yes, i just noticed all your messages, and replied, thanks

But want to say here same thing as i signed off with in private:

NOT your fault, i didnt realise it would be a .wgt as ive never used one before

My mistake to go and try what was the official SHM installer and bork things...

p.s. Maybe worth renaming the folders Official rather than Original - some people can take Original to mean your original work?
 
  • Like
Reactions: Dante63

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