8 HUAMI GPS
José Rebelo edited this page 2023-12-22 17:27:55 +00:00

This page has moved

⚠ The wiki has been replaced by the new website - this page has been moved: https://gadgetbridge.org/internals/topics/huami-gps/

Some bands (Bip, Bip S...) contain a GPS receiver.

The GPS chip performs better if it has recent aGPS data.

aGPS data can be uploaded to some devices using the instructions below. Not all newer devices can be updated with aGPS data via Gadgetbridge, per https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/2253

This can be obtained via https://codeberg.org/argrento/huami-token, for example:

python ./huami_token.py -m xiaomi -e my@email -p p4ssword -g

That will download the following two files:

  • cep_7days.zip
  • cep_alm_pak.zip

From the cep_alm_pak.zip you unzip cep_pak.bin and gps_alm.bin and flash into the watch.

You can also do the same with the huami-token python script wrapped into python GUI kivi and packaged for Android as the Huafetcher https://codeberg.org/vanous/huafetcher .

It downloads and unzips the cep_pak.bin and gps_alm.bin into /storage/emulated/0.

Zepp OS

Zepp OS devices can update aGPS data by installing an EPO zip file.

This is currently enabled for the following devices:

The changes to fetch EPO files on huami-token and huafetcher are not yet merged: