py_amazfit_tools
py_amazfit_tools copied to clipboard
Help on GT2-mini
Hi @ghtalpo thank you so much for your contributions.
I was trying to extend this existing fork for GTS2 (https://github.com/Tnxec2/py_amazfit_tools/tree/GTS2) to GTS2-mini. But so far, I can't understand how to deals with bin and the HEX editors in order to know the internal structure of the binaries.
For the time being I'm using the provided Huami web tool to create some watchfaces but I really would like to contribute here.
Any suggestion will be appreciated! Thanks
PS: I was looking at this file: https://github.com/ghtalpo/py_amazfit_tools/blob/master/analysis.md but not sure how to start with the gts2-min bin files.
Hi. @fedecarpi. I don't know about GTS2-mini's situation. Is there any working forks for GTS2-mini?
Anyway, here's suggestion.
- Unpacking - GTR2_Packer.exe is used for GTS2/GTR2 and respacker/resunpacker is for GTS/GTR. How about for GTS2-mini?
- Binary analysis - if you know the file structure of unpacked GTS2-mini's .bin file, it's quite easy, definitely. Unless, you need help from others or hacking firmware by yourself. If I were you, -if you can unpack them- I would compare lots of unpacked .bin files and try to find header structures first. that's all I can say now.
Good luck.
@fedecarpi have you made any progress here? I'm new to this but I find quite surprising that we have unpacker for all GTR/GTS watches except for the GTS 2 mini. I'm willing to help too
@fedecarpi Some initial support of GTS 2 Mini has been pushed here: https://github.com/JulienMaille/py_amazfit_tools/tree/GTS2 bin parsing works, so does image export, but now we need to complete the look up table of parameter descriptors.
@Tnxec2 is there anything I can do to contribute?
As said in PM, when looking at the network requests issued by the official editor, one can see some intermediate json, this may help speeding up the json mapping.