Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Download new AGPS #31

Open
piggz opened this issue Mar 31, 2021 · 7 comments
Open

Download new AGPS #31

piggz opened this issue Mar 31, 2021 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@piggz
Copy link

piggz commented Mar 31, 2021

Hi, the cep_pak.bin file downloaded by this script, while correct for the Bip, and some older firmwares, doesnt seem to be the file used by Zepp on devices with newer firmwares.(GTS)

Could you investigate and see if there is a new download?

Thanks

@argrento argrento self-assigned this Apr 1, 2021
@argrento argrento added the enhancement New feature or request label Apr 1, 2021
@argrento
Copy link
Owner

argrento commented Apr 1, 2021

Hi.
I've already checked that there are 2 additional files to be downloaded. I'll add the ability to download them soon.

@piggz
Copy link
Author

piggz commented Apr 1, 2021

Great, thanks ... im hoping to integrate running your script with my Amazfish app.

argrento added a commit that referenced this issue Apr 30, 2021
@vanous
Copy link

vanous commented May 16, 2021

@argrento thank you. And thanks to the work of the experts (piggz and andreas), the UIHH packing now works, i did a bad translation of the original php code to python, but unfortunately i have no idea how to write pythonic code to write the binary headers, that is why i do not even want to make a PR here, because it is so ugly. But please feel free to take it and use in huami-token and if you know how to do the binary stuff nicely, it would be great :)

@piggz
Copy link
Author

piggz commented May 16, 2021

@vanous I too have worked up a version, and I too am no python programmer, feel free to comment #33

@vanous
Copy link

vanous commented May 17, 2021

Cool, i like the pattern of joining the bytes array :) . Of course, accepting this is on @argrento .

@piggz
Copy link
Author

piggz commented May 17, 2021

Ofcourse .. it took me ages to get it to work properly, with accidental mixing of strings and bytes, darn lazy typed languages :D

@argrento
Copy link
Owner

Thanks a lot for pr! I'll accept and slightly rewrite it on the nearest weekend.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants