Working BP.TPK for Non-Samsung Phones

Search This thread
Hi, and thanks for responding.

It simply will not install. Fails with a -12 error as I noted in my post. Getting into the watch using the Tizen shell as noted also verifies it is not installing. It also shows that the factory BP is already there. I'm using a non-Samsung phone so the factory BP apparently won't show up as being installed on the watch when you look via the Gear app on the phone.

Part of what I'm questioning is the -12 error during install -- it seems to indicate a bad cert but ecg.tpk installed fine on the same cert.
It doesn't show up because Samsung is controlling BP roll-out and it's very slow because of FDA approval...

You need a modified BP for it to work
 
Last edited:
It doesn't shop up because Samsung is controlling BP roll-out and it's very slow because of FDA approval...

You need a modified BP for it to work

Yes, which is why I came to this thread in the first place. I'm sorry but I get the impression you've not actually read my first post. I used the modified BP from earlier in this thread to sign and try to install. I've read the vast majority of this thread, so you're simply telling me what has already been stated here many times -- though I appreciate your trying to help.

Anyone else have any ideas?

To recap: signed and tried to install the MODIFIED BP and got a -12 error and a failure to install. None of the solutions presented so far address this.
 
Yes, which is why I came to this thread in the first place. I'm sorry but I get the impression you've not actually read my first post. I used the modified BP from earlier in this thread to sign and try to install. I've read the vast majority of this thread, so you're simply telling me what has already been stated here many times -- though I appreciate your trying to help.

Anyone else have any ideas?

To recap: signed and tried to install the MODIFIED BP and got a -12 error and a failure to install. None of the solutions presented so far address this.
Which modified BP did you use?

And sorry for missing your post, I'm jumping from several threads aside my main to provide assistance to those who need the BP & ECG working...
 
Which modified BP did you use?

And sorry for missing your post, I'm jumping from several threads aside my main to provide assistance to those who need the BP & ECG working...
No worries. I'm familiar with forum life from other forums. It's a good part of the reason I don't moderate any nowadays -- keeping up can drive you mad!

I used the one from post #37 in this thread. Is there a better one?

That one already had the internal naming references changed to .bb from .bp. I verified that using AstroGrep before using it. However, I used the original download and I didn't try to repack the unzipped files. I did a subsequent experiment with trying to repack them must have done something wrong as then the file couldn't even be signed.

I do appreciate your help! My wife has MS as well as some circulatory issues and the idea of easy BP monitoring for her watch is what's driving me. Don't need absolute accuracy there -- just need to know when it's really dropping.

For me, I'm the opposite: hypertensive. So, I'd like it to work as well. We're not young, lol.

And no rush on any suggestions for sure -- I'll get back here to check on answers if they come. Don't burden yourself!
 
No worries. I'm familiar with forum life from other forums. It's a good part of the reason I don't moderate any nowadays -- keeping up can drive you mad!

I used the one from post #37 in this thread. Is there a better one?

That one already had the internal naming references changed to .bb from .bp. I verified that using AstroGrep before using it. However, I used the original download and I didn't try to repack the unzipped files. I did a subsequent experiment with trying to repack them must have done something wrong as then the file couldn't even be signed.

I do appreciate your help! My wife has MS as well as some circulatory issues and the idea of easy BP monitoring for her watch is what's driving me. Don't need absolute accuracy there -- just need to know when it's really dropping.

For me, I'm the opposite: hypertensive. So, I'd like it to work as well. We're not young, lol.

And no rush on any suggestions for sure -- I'll get back here to check on answers if they come. Don't burden yourself!
So from my understanding, you failed to sign the file you downloaded? Any specific errors showed up?

I'll try my best to help...
 
  • Like
Reactions: n3elz
So from my understanding, you failed to sign the file you downloaded? Any specific errors showed up?

I'll try my best to help...
Ha ha! No, sorry -- I reread what I just wrote and it was confusing.
  • I was able to sign the original file from post 37 using the same credentials as the ECG file that installed successfully. The BP file though failed to install ang gave a -12 error. So, yes, I did sign it.
  • I did a side experiment after the file failed to install and unpacked the BP.tpk just to see what was in it. I found that it did have the modifications to the name that were needed to make it a "modified BP" -- changinge ".bp" to ".bb".
  • And then, as mentioned in my earlier posts, I used the Tizen Shell to view the watch's file structure and found that the watch already had a BP.TPK installed but that it was not the modified one. That was the point that I began to think I might have to do something with the one already installed before the modified one could install, but that was speculation.
I hope that better describes the sequence of events.

I'm confused at the error message: -12. I get that despite re-downloading the file and re-signing it. It seems like the wrong error message and just leaves me clueless how to proceed... although clueless is where I live sometimes, lol.

Thanks!
 
  • Like
Reactions: Dante63
It's clear now, yes, much better thank you lol...

So I ad a look at post 37 and I believe that BP is unmodified so you cannot install it since there is an existing hidden BP on the watch, thus you're required to install the modified BP, you can grab the modified BP that I have done which basically changing bp to sbp (I didn't like bb lol, I mean it stands for nothing and sbp stands for Samsung blood pressure)...

If you modified the BP and installed it and got an error, most likely the tpk is invalid as in you forgot to modify something else...

You can grab my modified BP, just sign it and install it:

It should work just fine...
 
It's clear now, yes, much better thank you lol...

So I ad a look at post 37 and I believe that BP is unmodified so you cannot install it since there is an existing hidden BP on the watch, thus you're required to install the modified BP, you can grab the modified BP that I have done which basically changing bp to sbp (I didn't like bb lol, I mean it stands for nothing and sbp stands for Samsung blood pressure)...

If you modified the BP and installed it and got an error, most likely the tpk is invalid as in you forgot to modify something else...

You can grab my modified BP, just sign it and install it:

It should work just fine...
Excellent. Thank you, my friend, and I will return with results when I have time to execute. Much appreciated and thanks for hanging in there through the confusion. Did give you a "Like" as requested.
 
  • Like
Reactions: Dante63
It's clear now, yes, much better thank you lol...

So I ad a look at post 37 and I believe that BP is unmodified so you cannot install it since there is an existing hidden BP on the watch, thus you're required to install the modified BP, you can grab the modified BP that I have done which basically changing bp to sbp (I didn't like bb lol, I mean it stands for nothing and sbp stands for Samsung blood pressure)...

If you modified the BP and installed it and got an error, most likely the tpk is invalid as in you forgot to modify something else...

You can grab my modified BP, just sign it and install it:

It should work just fine...
Ah yes, success! But guess what? Something was broken in my certificate. Here's what happened.

I used your file (and thank you again) and had the same -12 error! Well, as Sherlock Holmes famously suggested: if you have eliminated the impossible, what's left, however unlikely, is the truth.

I began to believe my certificate had gotten corrupted somehow. So I deleted my other certificate in the Tizen Certificate Manager and created a new one -- and this time I was able to install the BP app in the watch.

Had I simply taken a cue from the -12 error which suggested a certificate problem, I might not have had to waste your time here, Dante. It was great to talk to you though and having a "known good" BP.tpk from you definitely helped me troubleshoot it.

Call it "user error", lol.
 
  • Like
Reactions: Dante63
Ah yes, success! But guess what? Something was broken in my certificate. Here's what happened.

I used your file (and thank you again) and had the same -12 error! Well, as Sherlock Holmes famously suggested: if you have eliminated the impossible, what's left, however unlikely, is the truth.

I began to believe my certificate had gotten corrupted somehow. So I deleted my other certificate in the Tizen Certificate Manager and created a new one -- and this time I was able to install the BP app in the watch.

Had I simply taken a cue from the -12 error which suggested a certificate problem, I might not have had to waste your time here, Dante. It was great to talk to you though and having a "known good" BP.tpk from you definitely helped me troubleshoot it.

Call it "user error", lol.
Glad I could help lol...
 

hotcarver1

Member
Jun 13, 2010
26
4
Hello to all,i m about to get my GW3 in a while.I use a poco f2 pro phone.Is there any guide so i can have both Bp and ecg in my watch easy?Thank you in advance.
 
Hello to all,i m about to get my GW3 in a while.I use a poco f2 pro phone.Is there any guide so i can have both Bp and ecg in my watch easy?Thank you in advance.
There are several guides which you can read, my guide is a video tutorial, if you want to read steps, go with reading, if you want to follow steps, watch my video...
 

hotcarver1

Member
Jun 13, 2010
26
4
Thank you for your answer.I did everything that you said,im connected to my watch however i cannot sign the bp.apk to install it..
 

FARSHOOD

Senior Member
Jun 4, 2009
194
14
Its all ok!!Thank you Dante!
Dear Dante63
Thanks for all your efforts would you pls write down a complete procedure for those who have no samsung device like me as i have xiaomi mi 9t pro. really I am so confused as from where should i start.
my Active 2 is on tizen 5.5.0.2 R820XXU1DUD1 . CSC IS BTU
 
Last edited:
Dear Dante63
Thanks for all your efforts would you pls write down a complete procedure for those who have no samsung device like me as i have xiaomi mi 9t pro. really I am so confused as from where should i start.
my Active 2 is on tizen 5.5.0.2 R820XXU1DUD1 . CSC IS BTU
I have an entire thread that covers all aspects with a youtube video tutorial and you can find it in my signature
 
  • Like
Reactions: FARSHOOD

u/Business-Ad7304

New member
Jul 21, 2021
1
0
I can't thank you enough man , I been struggling a lot to downgrade install and update again your method saved me a lot of time thanks
Hi man could you explain to me how you did it ?
I don't quite understand what I have to do, could you send me the file of BP direct and then I will just install it to my phone (pixel 3XL) and then hopefully it will push it to my watch.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Thanks a lot for DMing me the file. I'll post your link here in the meantime.

    https://drive.google.com/file/d/1TDvDCkruVFWE-h2Ysr4Hc_CXIhkop7dq/view

    ---------- Post added at 01:16 PM ---------- Previous post was at 12:57 PM ----------



    I really want to thank you. The app installed just fine and it is working beautifully!
    All I had to do was signing the tpk file and then install through sdb.

    You're awesome, man!
    :fingers-crossed:

    Ok, so anybody who need: current working BP.tpk you can download here https://drive.google.com/file/d/1TDvDCkruVFWE-h2Ysr4Hc_CXIhkop7dq/view
    Upon new updates for BP app here is instruction how to fix it:

    1) Unpack content of tpk(regular zip archive) to some folder.
    2) Go to this folder and find all files in which include bundle id: com.samsung.health.samd.bp... (I used AstroGrep to find all occurrences). Not only xml, but also binary files (bin folder)!
    3) Replace all occurrences you found with some different id by changing of 1 character(etc to com.samsung.health.samd.bb).
    4) Go bin folder and rename correspondently to your renaming name of the files.
    For example:
    health-samd-bp-home -> health-samd-bb-home,
    health-samd-bp-service->health-samd-bb-service,
    health-samd-bp-widget->health-samd-bb-widget
    5) Go to root folder again and find all occurrences of health-samd-bp... inside of all files. Replace it with health-samd-bb....
    6) Pack all modified files back
    7) Sign and install.
    3
    It's clear now, yes, much better thank you lol...

    So I ad a look at post 37 and I believe that BP is unmodified so you cannot install it since there is an existing hidden BP on the watch, thus you're required to install the modified BP, you can grab the modified BP that I have done which basically changing bp to sbp (I didn't like bb lol, I mean it stands for nothing and sbp stands for Samsung blood pressure)...

    If you modified the BP and installed it and got an error, most likely the tpk is invalid as in you forgot to modify something else...

    You can grab my modified BP, just sign it and install it:

    It should work just fine...
    3
    Thanks a lot for DMing me the file. I'll post your link here in the meantime.

    https://drive.google.com/file/d/1TDvDCkruVFWE-h2Ysr4Hc_CXIhkop7dq/view

    ---------- Post added at 01:16 PM ---------- Previous post was at 12:57 PM ----------

    I have sent to everyone who ask now. I cannot attach to post here (I need 3 more posts on this forum to do this). As for how I did it : I unpacked tpk, renamed files inside of bin folder by changing 1 character, and references to them inside of them (with grep and notepad++). And also in xml.

    I really want to thank you. The app installed just fine and it is working beautifully!
    All I had to do was signing the tpk file and then install through sdb.

    You're awesome, man!
    2
    Hi, I managed to fix bp.tpk, so it seems to be working for case when you get -1 error, when try to uninstall it. The solution was to rename bundle everywhere (even in binary). So no need to uninstall anything. I think it will work for any case of problem. I cannot share link here (need 10 posts), so if somebody wants to share it - let me know, I will send and you will post it here.
    2
    I have sent to everyone who ask now. I cannot attach to post here (I need 3 more posts on this forum to do this). As for how I did it : I unpacked tpk, renamed files inside of bin folder by changing 1 character, and references to them inside of them (with grep and notepad++). And also in xml.