piggz / harbour-amazfish

Amazfit Bip support for SailfishOS
GNU General Public License v3.0
103 stars 52 forks source link

Can't send latin fw file to Amazfit Bip #67

Closed Jojonintendo closed 5 years ago

Jojonintendo commented 5 years ago

I have an Amazfit Bip since a few days ago, and so far so good, except I can't send the latin fw file. I am trying to send:

All the files are detected correctly by Amazfish, except the fw.latin one, that is "invalid". I have tried with previous releases, and the same happens, I could flash (but have not tried) all the files except the fw. I will try to flash once I know every file is detected correctly so that I can send all of them in one go.

The log from when I try to send the fw.latin file:

[D] unknown:0 - is firmware operation running: 0
[D] unknown:0 - is miband operation running: 0
[D] unknown:0 - Sending file  "/home/nemo/Downloads/mail_attachments/27/37-1.3/Mili_chaohu.fw.latin"
[D] unknown:0 - Determining firmware type
[D] unknown:0 - Version: "" CRC: 43876
[D] unknown:0 - -1 "" 43876

I'm not sure if this is normal, to prevent a non-working firmware to be flashed.

Thanks again for your time.

piggz commented 5 years ago

Yes, I havnt white-listed the latin fw files. I will look to add that in the next version, atleast for this version, I dont fancy going through all the fw versions and working out the CRCs!

Jojonintendo commented 5 years ago

Ok, good then. I understand it can be tedious, I could give you the CRCs if you prefer. Thanks for your time anyway!

piggz commented 5 years ago

What is the version number for that firmware?

Jojonintendo commented 5 years ago

This is the latest one: 1.1.5.16, from 3.5.9 Mi Fit apk.

piggz commented 5 years ago

Does the resource file get detected ok?

Jojonintendo commented 5 years ago

Yes, every other file, even from older apks are detected correctly. Only the fw ones are flagged as invalid.

piggz commented 5 years ago

Added to release 0.8.8