You do know this thread isn't maintained and that the files here are year old...? If you've seen the latest comments, you'd see me navigating users to the proper thread that is up-to-date...When I try to install bp.tpk. I'm getting this error, org.tizen.exception.SdbCommandRejectedException: error: target offline .
Is there a fix for this? I managed to install the ecg.tpk, but the Tizen device manager ended up looping
I found your thread, thanks! I actually been using your SHM mod app on my phone. Now I've managed to install the SHM mod on my watch active 2You do know this thread isn't maintained and that the files here are year old...? If you've seen the latest comments, you'd see me navigating users to the proper thread that is up-to-date...
Which firmware do you have now on your watch?I found your thread, thanks! I actually been using your SHM mod app on my phone. Now I've managed to install the SHM mod on my watch active 2
It would've been great if you posted on my thread instead of here, nevertheless, updates don't affect the installed modHi @dante!
I made the second method and finally it works! My P30 Pro and Samsung Galaxy 3 working togheter.Big thanks for you for sharing your knowlegde. Really thank you.
But, in last Sunday I got a message, that my watch is ready to update. And I dont know, what I should do. How do you think, what will happened? Will I lost my BP and ECG?
1. If you will use this guide, everything is outdated...uhh i faced this error while trying to install extension sdk, any suggestions
View attachment 5478405
Ciao
Posseggo un Samsung Galaxy Watch attivo 2 e un cellulare oppo
VVolevo provare a fare la procedura ma molti link per il download dei file necessari sono offline
Dove posso recuperare i file
Grazie 1000
Thread is no longer maintained as you can see from the dates...I'm unable to download these 2 links:
1. Download ecg.tpk, BP.tpk, Fit2Installer from here(ecg_downloads)2. Download Samsung Health Monitor Version 1..1.0.167.Caravana (Thanks Caravana for the Mod) from here (See update 09/29/20 from the top of the thread to download the latest version)
Use jdk15Why does it happen ? I downloaded java and restarted the pc
[Fatal Error] :1:1: Premature end of file.
Loaded in 'C:\Users\ricardo\Desktop\Fit2Installer\tizen\profiles.xml'.
author path: C:\Users\ricardo\Desktop\Fit2Installer\tizen\tizen-studio\tools\ide\bin\..\..\..\..\..\cert\author.p12
author password: ***********
distributor1 path: C:\Users\ricardo\Desktop\Fit2Installer\tizen\tizen-studio\tools\ide\bin\..\..\..\..\..\cert\distributor.p12
distributor1 password: ***********
Exception in thread "main" java.lang.IllegalAccessError: class org.tizen.common.util.CipherUtil (in unnamed module @0x153f5a29) cannot access class com.sun.org.apache.xerces.internal.impl.dv.util.Base64 (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.impl.dv.util to unnamed module @0x153f5a29
at org.tizen.common.util.CipherUtil.getEncryptedString(CipherUtil.java:117)
at org.tizen.common.sign.preferences.SigningProfile.writeProfileItem(SigningProfile.java:290)
at org.tizen.common.sign.preferences.SigningProfileContainer.writeProfile(SigningProfileContainer.java:346)
at org.tizen.common.sign.preferences.SigningProfileContainer.writeProfileXML(SigningProfileContainer.java:315)
at org.tizen.ncli.ide.shell.AbstractSecurityProfileCLI.writeXML(AbstractSecurityProfileCLI.java:114)
at org.tizen.ncli.subcommands.sign.SecurityProfileAddCLI.execute(SecurityProfileAddCLI.java:147)
at org.tizen.ncli.ide.shell.SecurityProfilesCLI.execute(SecurityProfilesCLI.java:60)
at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:92)
at org.tizen.ncli.ide.shell.Main.run(Main.java:144)
at org.tizen.ncli.ide.shell.Main.main(Main.java:78)
[Fatal Error] :1:1: Premature end of file.
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/osgi/util/NLS
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1013)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at org.tizen.ncli.subcommands.sign.SignCLICommand.call(SignCLICommand.java:74)
at org.tizen.ncli.subcommands.sign.SignCLICommand.call(SignCLICommand.java:48)
at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:85)
at org.tizen.ncli.ide.shell.PackageCLI.doRepackageForTpk(PackageCLI.java:694)
at org.tizen.ncli.ide.shell.PackageCLI.doPackageForTpk(PackageCLI.java:887)
at org.tizen.ncli.ide.shell.PackageCLI.execute(PackageCLI.java:1058)
at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:92)
at org.tizen.ncli.ide.shell.Main.run(Main.java:144)
at org.tizen.ncli.ide.shell.Main.main(Main.java:78)
Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.util.NLS
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 18 more
[Fatal Error] :1:1: Premature end of file.
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/osgi/util/NLS
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1013)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at org.tizen.ncli.subcommands.sign.SignCLICommand.call(SignCLICommand.java:74)
at org.tizen.ncli.subcommands.sign.SignCLICommand.call(SignCLICommand.java:48)
at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:85)
at org.tizen.ncli.ide.shell.PackageCLI.doRepackageForTpk(PackageCLI.java:694)
at org.tizen.ncli.ide.shell.PackageCLI.doPackageForTpk(PackageCLI.java:887)
at org.tizen.ncli.ide.shell.PackageCLI.execute(PackageCLI.java:1058)
at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:92)
at org.tizen.ncli.ide.shell.Main.run(Main.java:144)
at org.tizen.ncli.ide.shell.Main.main(Main.java:78)
Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.util.NLS
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 18 more
My bp app will nor install on P30 lite Android 10! Can you state which Shm versionandbp install you are running on P 30 lite please ?Hi, i have a Problem with Samsung Health Monitor from the first post. Both Versions.
I setup 3 Watches and 3 different Phones. P30 and P30 lite (both on Android 10) work, but one P8lite (Android 8) i can't finish the first steps in the monitor app.
I input name, gender and age, but if i push accept it work a little time, but nothing go on.
Anyone else such problems?
Probably my files since the comment you quoted is answered by meMy bp app will nor install on P30 lite Android 10! Can you state which Shm versionandbp install you are running on P 30 lite please ?
Unable to download ecg.tpk, BP.tpk, Fit2Installer from here(ecg_downloads) and Samsung Health Monitor Version 1..1.0.167.CaravanaUpdate 09/29/20:
1. The latest Samsung Health Monitor Version 1..1.0.175.Caravana (Thanks Caravana for the Mod) Download
This tutorial should work on all Android Phones to enable ECG for your Galaxy Watch 3 and Active 2. BP might also work the same way when it is released in the US.
Basic idea is to create your own certificate to sign ECG.tpk application and install it on your watch, then install the Samsung Health Monitor Mod app on your phone.
I have read lots of threads on XDA and can't find a complete tutorial about how to do it for Galaxy Watch 3 or Active 2. Hope this step-by-step tutorial will help. The whole process took me around 30 mins, it shouldn't be very hard. Make sure you back-up your watch first, just in case anything goes wrong and you need to restore data.
You will need an Android Phone, a Windows PC and Galaxy Watch 3/Active 2 watch for this tutorial. And a wireless network.
Downloads:
1. Download Java for Windows offline (64 bit) https://www.java.com/en/download/manual.jsp and install it.
2. Download JavaSE/Oracle JDK https://www.oracle.com/technetwork/java/javase/downloads/index.html Click "JDK Download" from the top the latest version, then it will direct you to a new page, find "Windows x64 Installer" click the download page from the page and install it.
3. Download Tizen SDK https://developer.tizen.org/development/tizen-studio/download Download Latest Tizen Studio with IDE installer, click "64 Bit" to download and install it.
4. Download ecg.tpk, BP.tpk, Fit2Installer from here(ecg_downloads)
5. Download Samsung Health Monitor Version 1..1.0.167.Caravana (Thanks Caravana for the Mod) from here (See update 09/29/20 from the top of the thread to download the latest version)
On Your Phone:
1. Install Samsung Health Monitor Version 1..1.0.167.Caravana on your phone. Open the app enter your name, BOD and etc to finish the setup.
On Your Watch:
1. From your watch, Go to "Settings"->"About Watch"->"Software"->Click On "Software Versio" 5 times until it shows "Developer mode turned on"
2. Go back to "About Watch", make sure it shows "Debugging is turned on", it not click "Debugging" and turn it on.
3. Go to Wifi settings on the watch, change wifi setting to always On, and connect it to the same wireless network with your PC.
4. Reboot the watch. Make sure wifi is connected after the reboot.
From Your PC:
1. Launch Tizen Package Manager and Navigate to 5.5 wearable(It depends on your watch's software version, eg mine shows Tizen Version 5.5.0.1, so I navigate to 5.5 wearable), then click Install icon
2. Scroll down to the Tizen SDK tool and click the install icon
3. Click on the Extension SDK tab
3.1 Click the arrow on Extras
3.2 Install Samsung Certificate Extension and Samsung Wearable Extension
4. Check the Progress tab, once it shows 100%, you can close Tizen Package Manger and do not launch Tizen Studio(we don't need to use Tizen Studio)
5. Open up "Certificate Manager"
6. Click on the "+" icon and from the pop-up window click Samsung Logo.
6.1 Device Type -> Mobile/Wearable, Click Next
6.2 Certificate Profile(Give it whatever name you like), Click Next
6.3 Author Certificate -> Create a new author certificate, Click Next
6.4 Author Certificate -> Enter Author name, Password, Confirm Password as required(Remember the password,. you will need it when you sign the TPK file) and click next
6.5 A pop up will ask you to sign in to your Samsung account, enter your account information and sign in
6.6 Now it will show your certificate has been saved at C:/Users/USERNAME/SamsungCertificate/cert_name and click next.
6.7 Create a new distributor certificate and click next
6.8 Do not change Privilege and password information, do not close these windows, just leave it there, we need to enable debug mode from the watch and connect it to PC now.
7. Open Tizen "Device Manager" from the PC.
8. Click the "Remote Device Manager" icon from top right corner.
9. From pop-up windows, click the "Scan Devices" icon from the top right corner.
10. Once it find your watch turn the connection switch to on. and close pop-up windows. At this time, you should able to see lots of debugging information from Device Manager. (If you don't see debug information, try these steps: 1. Turn off your windows firewall 2. turn off bluetooth&GPS on your watch 3. reboot your watch )
11. Go back to Tizen Certificate Manager, step 9.8, we can see one DUID has been added automatically. Click next.
12. It will show your certificate has been saved at C:/Users/USERNAME/SamsungCertificate/cert_name, Click Finish.
13. Download Fit2installer.zip unzip the whole folder to your desktop.
14. Go to the certificate(C:/Users/USERNAME/SamsungCertificate/cert_name) you just created and copy all files. inside the folder
15. Go to C:\Users\USERNAME\Desktop\Fit2Installer\cert Paste all the certificate file you just copied.
16. Copy ecg.tpk file and paste it at C:\Users\USERNAME\Desktop\Fit2Installer\sign_me
17. Click sign.bat from the Fit2Installer folder. Enter your certificate password.
18. It will show "Package( C:\Users\USERNAME\Desktop\Fit2Installer\install_me\ecg.tpk ) is created successfully." and enter any key to close the window.
19. Now go to "Device Manager", right-click your device, choose "install app", Select ecg.tpk file from C:\Users\USERNAME\Desktop\Fit2Installer\install_me.
20. Wait a few seconds, you should see ECG app has been installed on your watch. Open it.
21. Open the "Samsung Health Monitor" app from your phone, you should be able to read the ECG data from your watch now.
As Blood Pressure has not been released in the U.S, once it released, you should be able to activate for Non-Samsung phone the same way. You can disable debug mode if you want now.
Enjoy!
Reference:
1. https://forum.xda-developers.com/showpost.php?p=83574519&postcount=6
2. https://www.reddit.com/r/GearS3/comments/aljplu 3. https://forum.xda-developers.com/smartwatch/gear-fit/howto-sign-sideload-tizen-applications-t3639793
Pretty sure i responded to you few posts back saying the thread is no longer maintained, and to use my threadUnable to download ecg.tpk, BP.tpk, Fit2Installer from here(ecg_downloads) and Samsung Health Monitor Version 1..1.0.167.Caravana
It's already done, I have 175, 181 & 183, but for those who can't get it running, I'm willing to play around with the SHM apk, hopefully I find what is stopping the app from running...Dante63, thanks for your help and comments earlier.
My head is spinning - I haven't done stuff like this since the days of Windows Mobile!
Could you just tell me whether, as I now have 5.5.0.2 on the watch, with ECG and BP in the update, although not available to my Huawei P20 Pro, should I still install the apks?
Or do I understand that the next SHM you modify might just work with the 5.5.0.2 and the P20 as-is?
Really sorry, and grateful for any help.
(The watch is from UAE, but I'm in the UK)
Many thanks!
You can try with SDB or decompile the TPK installer, add the signed tpk file inside the assets and compile it and then install it and it will push the file inside your watch... I hope you get right and at the first attempt...I successfully installed the ECG tpk, Dante - works perfectly with SHM 175 - thank you so much!
To install the BP tpk, do I just add it using Device Manager?
Because it doesn't want to do it.
I don't need to repeat any other steps, do I? Just install the tpk using Device Manager?
Sorry - I've been doing it for ages, and now I'm too tired to think straight... Would like to do it while everything is set up to go.
Many thanks, as always.
That member used the BP.tpk in my thread...
I will make 1 more version of the SMH...I have tested all the versions in you drive link, none work.
I think it's time to upgrade the hardware.