#2043 Amazfit Band 5 Support

Open
opened 1 week ago by halop · 20 comments
halop commented 1 week ago

Please add “Amazfit Band 5” to supported Devices.
I would be very happy if I could take it out of the cloud.

And if possible at some point, please support the reading of SpO2 data.

Please add "Amazfit Band 5" to supported Devices. I would be very happy if I could take it out of the cloud. And if possible at some point, please support the reading of SpO2 data.
vanous commented 1 week ago
Collaborator

@halop support is coming with next release, thanks to all the work of @ashimokawa . There is still an issue where watchfaces cannot be installed ( #2036 ) and we are looking for someone to provide the hci log - bluetooth communication log while watchface is being installed. Here is how to collect it: https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Log-Files#user-content-android-s-bluetooth-logging-bt-snoop . Any chance to provide it? Thank you

@halop support is coming with next release, thanks to all the work of @ashimokawa . There is still an issue where watchfaces cannot be installed ( https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/2036 ) and we are looking for someone to provide the hci log - bluetooth communication log while watchface is being installed. Here is how to collect it: https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Log-Files#user-content-android-s-bluetooth-logging-bt-snoop . Any chance to provide it? Thank you
halop commented 1 week ago
Poster

That’s great!

Shure, is it possible to send you a PM?
I don’t like to post the link public, because i don’t know witch private data i share with this log.

edit:
I just noticed that #2036 refers to the “Mi Band 5”, but I mean the “Amazfit Band 5”.

That's great! Shure, is it possible to send you a PM? I don't like to post the link public, because i don't know witch private data i share with this log. edit: I just noticed that #2036 refers to the "Mi Band 5", but I mean the "Amazfit Band 5".
vanous commented 1 week ago
Collaborator

You are right, i am very sorry to have missed this distinction and have let you believe this is the same.

You are right, i am very sorry to have missed this distinction and have let you believe this is the same.
ashimokawa commented 1 week ago
Owner

@halop

You can send the log to me via the gadgetbridge chat on matrix or to my email address (this is containted in the git logs).

That could also help with Mi Band 5.

Also I could just “unlock” the Amazfit Band and run it as a Mi Band 5 for now and then we fix bugs. We would need your support then, because I cannot test anything without the band. If you could compile Gadgetbridge yourself, we can do that fast probably.

@vanous
Mi Band 5 is already supported since a while, it was not my work. What I was dealing with on the Amazfit front was the completely new firmware update code for Bip S, maybe you mixed that up ;)

@halop You can send the log to me via the gadgetbridge chat on matrix or to my email address (this is containted in the git logs). That could also help with Mi Band 5. Also I could just "unlock" the Amazfit Band and run it as a Mi Band 5 for now and then we fix bugs. We would need your support then, because I cannot test anything without the band. If you could compile Gadgetbridge yourself, we can do that fast probably. @vanous Mi Band 5 is already supported since a while, it was not my work. What I was dealing with on the Amazfit front was the completely new firmware update code for Bip S, maybe you mixed that up ;)
ashimokawa commented 1 week ago
Owner

@halop
You could try master now if you can compile yourself

@halop You could try master now if you can compile yourself
vanous added the
device request
label 5 days ago
vanous added the
device amazfit band 5
label 5 days ago

Hi, I am also having trouble with the watchfaces and am willing to support you. Do you still need a log @ashimokawa

Hi, I am also having trouble with the watchfaces and am willing to support you. Do you still need a log @ashimokawa
boredgb commented 4 days ago

Hello, is my first days since i discover gadget bridge, i have a amazfit band 5 recently bought, someone can tell me where i can follow any install steps? Ty its currently working in 0.48 or i should wait till next release?

Hello, is my first days since i discover gadget bridge, i have a amazfit band 5 recently bought, someone can tell me where i can follow any install steps? Ty its currently working in 0.48 or i should wait till next release?
ashimokawa commented 4 days ago
Owner

Gadgetbridge 0.48.0 has just been tagged and will be in F-Droid soon. It does have some initial support for the Amazfit Band 5.

I did get a log but I still do not understand why watchfaces do not install (apart from the changed header which I fixed in my local branch).

My assumption is that the files with UUIH to be preprocessed somehow before installing (the log I got seems to have a more complete header than the watchface I got).

What would be helpful is to get a watchface and a log from installing this very watchface with Mi Fit/Zepp.

Then I could see if the headers get really changed before flashing.

Gadgetbridge 0.48.0 has just been tagged and will be in F-Droid soon. It does have some initial support for the Amazfit Band 5. I did get a log but I still do not understand why watchfaces do not install (apart from the changed header which I fixed in my local branch). My assumption is that the files with UUIH to be preprocessed somehow before installing (the log I got seems to have a more complete header than the watchface I got). What would be helpful is to get a watchface and a log from installing this very watchface with Mi Fit/Zepp. Then I could see if the headers get really changed before flashing.

What would be helpful is to get a watchface and a log from installing this very watchface with Mi Fit/Zepp.

Please provide me with exact steps to replicate. Will do tonight.

> What would be helpful is to get a watchface and a log from installing this very watchface with Mi Fit/Zepp. Please provide me with exact steps to replicate. Will do tonight.
boredgb commented 4 days ago

he is asking about logs of installation of zepp i think? i can do if you tell me how to get logs of installation, i have mi xiaomi pocophone f1 with bootloader unlocked and i can ge root if needed

i did my installation with Zepp btw didnt know was possible with Mi Fit too. In the installation manual comes with mi band it says to download Zepp(with a QR Code to play store url)

he is asking about logs of installation of zepp i think? i can do if you tell me how to get logs of installation, i have mi xiaomi pocophone f1 with bootloader unlocked and i can ge root if needed i did my installation with Zepp btw didnt know was possible with Mi Fit too. In the installation manual comes with mi band it says to download Zepp(with a QR Code to play store url)
ashimokawa commented 4 days ago
Owner

@boredgb

No I am not asking avout the installation of Zepp.
And you are right, only Zepp should work. Not Mi Fit.

@montagsmodell

Our wiki has instruction on how to do bluetooth logs.
The problem here is (and I do not know anything about how to do this because I never use those official apps at home):

I would need to have the bluetooth hci log of a watchface installation AND have access to the watchface file itself. Watchfaces can be cat on amazfitwatchfaces.com for example.

I want to check if what is installed is exactly the file contents or if headers are written prior to flashing the data.

@boredgb No I am not asking avout the installation of Zepp. And you are right, only Zepp should work. Not Mi Fit. @montagsmodell Our wiki has instruction on how to do bluetooth logs. The problem here is (and I do not know anything about how to do this because I never use those official apps at home): I would need to have the bluetooth hci log of a watchface installation AND have access to the watchface file itself. Watchfaces can be cat on amazfitwatchfaces.com for example. I want to check if what is installed is exactly the file contents or if headers are written prior to flashing the data.
boredgb commented 4 days ago

im not someone experienced, i used adb while ago and i can get the logs that isnt the problem, can you sumarize me what you need me to do?
connec adb to my my phone and send you those logs? i have my amazfit paired to phone with zepp installed

the second part about watchface didnt get what you mean/how to get the file.

I get the blueetooth part not the rest.

im not someone experienced, i used adb while ago and i can get the logs that isnt the problem, can you sumarize me what you need me to do? connec adb to my my phone and send you those logs? i have my amazfit paired to phone with zepp installed the second part about watchface didnt get what you mean/how to get the file. I get the blueetooth part not the rest.
ashimokawa commented 4 days ago
Owner

@boredgb

I got a bluetooth log already, and that looked pretty normal from what I expected. Still if I try to flash something downloaded from amazfitwatchfaces.com, I get an error.

That is why I want to compare the two things:

  • a file containing a watchface
  • the bluetooth log of that particular file being flashed
@boredgb I got a bluetooth log already, and that looked pretty normal from what I expected. Still if I try to flash something downloaded from amazfitwatchfaces.com, I get an error. That is why I want to compare the two things: - a file containing a watchface - the bluetooth log of that particular file being flashed
halop commented 4 days ago
Poster

@ashimokawa

I have sent you new btsnoop logs with corresponding watchfaces.

@ashimokawa I have sent you new btsnoop logs with corresponding watchfaces.
ashimokawa commented 4 days ago
Owner

@halop

I have sent you new btsnoop logs with corresponding watchfaces.

Thanks!

I thiink I do not need more for now!

@halop > >I have sent you new btsnoop logs with corresponding watchfaces. Thanks! I thiink I do not need more for now!

@ashimokawa you seem familiar with all of that, so thanks for your help. btw do you know how I can set the frequency of how often the device tracks heart beat? is that only possible in the official app?

@ashimokawa you seem familiar with all of that, so thanks for your help. btw do you know how I can set the frequency of how often the device tracks heart beat? is that only possible in the official app?
vanous commented 2 days ago
Collaborator

@montagsmodell this is in Gadgetbridge global settings → MiBand/Amazfit → Whole Day HR measurement:

  • off
  • once a minute
  • every 5 minutes
  • every 10 minutes
  • every 30 minutes
  • once an hour

and also:

Use HR sensor to improve sleep detection.

@montagsmodell this is in Gadgetbridge global settings → MiBand/Amazfit → Whole Day HR measurement: - off - once a minute - every 5 minutes - every 10 minutes - every 30 minutes - once an hour and also: Use HR sensor to improve sleep detection.

@vanous thanks man!

@vanous thanks man!
boredgb commented 23 hours ago

how is current support for amazfit band 5 any news?

how is current support for amazfit band 5 any news?

sorry, I was going offtopic. This ticket is about the buggin watchface flashing feature for mi band 5

sorry, I was going offtopic. This ticket is about the buggin watchface flashing feature for mi band 5
Sign in to join this conversation.
No Milestone
No Assignees
5 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.