[Amazfit] Saratoga79:
Manual installation method

Manual installation method

Introduction

This is a guide for Windows alternative installers, Linux scripts manual installation method of the ROM using any command or terminal window. Requirements are the same as stated on OP.

Default ROM language is English (US) so if you want to set your watch in another language you need to install the ROM + change the language to install some not multilanguage apps. Later you can install/add some extra features if you want.

All files needed for installation are inside the automatic installer, in order to access them:

Unzip the installer .zip (7zip is recommended)

Unzip the .exe file

Navigate to Instalador_XX\Autoplay\Docs

Use manual installation guide as always

If you have installed an adb emulator

If you have installed an adb emulator, replace all adb commands with adb -d command.

Windows alternative installers

ROM installer

To use an alternative Windows installer, run ROM_US.bat for English interface.

Stratos 3 apps and Health installer (New)

Before installing Health app, check OP and Health app section.

Run STRATOS3_US.bat for English interface.

Linux installation scripts

Open a command or terminal window on the root of unzipped folder.

Run one of these .sh scripts depending on your watch and needs:

Stratos ROM installers:

stratos_us_new.sh for English interface and new key mapping

stratos_us_old.sh for English interface and old key mapping

sh stratos_us_xxx.sh

Pace ROM installer:

pace_us.sh for English interface.

sh pace_us.sh

Pace with Vo2max support ROM installer:

pace_vo2max_us.sh for English interface and Vo2max support

sh pace_vo2max_us.sh

Stratos3 apps installer:

Pace (New)

stratos3_apps_pace_us.sh for English interface and install Stratos 3 apps.

sh stratos3_apps_pace_us.sh

Stratos (New)

stratos3_apps_stratos_us.sh for English interface and install Stratos 3 apps.

sh stratos3_apps_stratos_us.sh

Stratos3 apps and Health installer: (New)

Pace (New)

stratos3_health_pace_us.sh for English interface and install Stratos 3 apps and Health app.

sh stratos3_health_pace_us.sh

Stratos (New)

stratos3_health_stratos_us.sh for English interface and install Stratos 3 apps and Health app.

sh stratos3_health_stratos_us.sh

If you need to Factory Reset your watch, run this .sh script. Recommended for Stratos users, MANDATORY for Pace users.

sh fct_rst.sh

USB/ADB/Fastboot drivers installation

Navigate to Instalador_XX\Autoplay\Docs\drivers and run the .exe file, reply with Y or y to all questions and accept whole installation process.

Installation using manual commands

Windows users may want to use adb.exe instead of adb and fastboot.exe instead of fastboot for a better compatibility.

Note that depending on your OS, the syntax may be different, for example: "" as "/" and others.

All users. Temporal adb root for Stock firmware

0. If you are on Stock firmware, you need to install CN or US temporal root depending on your firmware version in order to install the ROM. If you installed my adb root, init.d and SuperSU mod, you can skip this step.

# Reboot in fastboot mode
adb shell reboot bootloader
# Flash CN temp root
fastboot boot root\boot-CN-adb-root.img
# Or flash US temp root
fastboot boot root\boot-US-adb-root.img

Output (or similar)

< waiting for any device >
downloading 'boot.img'...
OKAY [ 0.396s]
booting...
FAILED (status read failed (Too many links))
finished. total time: 1.437s

The watch will reboot. When you see the bootanimation check adb connection with the watch.

adb devices

Try it until your watch gets detected.

Output (or similar)

List of devices attached
be601824 device

And after this go to next step, you will do the file copy process.

All users. ROM installation

1. Copy ROM files to your watch.

adb push rom\start_update.sh /sdcard/
adb push rom\md5s.txt /sdcard/
adb push rom\recovery.img /sdcard/
adb push rom\update-signed.zip /sdcard/
adb push icon /sdcard/.ble/

Output (or similar)

[100%] /sdcard/start_update.sh
[100%] /sdcard/md5s.txt
[100%] /sdcard/recovery.img
[100%] /sdcard/update-signed.zip
/sdcard/.ble/icon/: 86 files pushed. 0 files skipped. 0.6 MB/s (526173 bytes in 0.829s)

2. Run installation script to enter recovery mode and install the ROM.

adb root
adb shell cd /sdcard/; sh start_update.sh

or this if above doesn't work, use separated commands

adb root
adb shell

Output (or similar)

root@watch:/ #

Go to sdcard where all files are stored

cd /sdcard/

Output (or similar)

root@watch:/sdcard #

Run installation script

sh start_update.sh

Output (or similar)

============= PACEfied Installer ===============
Validating files...
start_update.sh: OK
update-signed.zip: OK
recovery.img: OK
Rebooting into recovery for installation...

Your watch will check the copied files, install a modded Recovery (If needed) and then will flash the ROM in recovery mode.

When the ROM installs, the watch will reboot and optimize all apps. Once full boot is completed, you will have your watch in English (US) language.

Stratos users only

Do this only for Stratos, if you do this on your Pace, you will re-lock the bootloader.

2.1 Flash bootloader for Stratos

adb push stratos\u-boot-with-spl-mbr-gpt.bin /sdcard/
adb shell busybox dd if=/sdcard/u-boot-with-spl-mbr-gpt.bin of=/dev/block/mmcblk0
adb shell rm /sdcard/u-boot-with-spl-mbr-gpt.bin

All users

3. Remove ROM files from watch

adb shell rm /sdcard/md5s.txt
adb shell rm /sdcard/start_update.sh
adb shell rm /sdcard/recovery.img
adb shell rm /sdcard/update-signed.zip

Pace users only

4. Configure some stuff por Pace

# Mount the system
adb root
adb remount rw
# Push a file to know that this is a Pace Hybrid ROM
adb push pace\.pace_hybrid /system/
# Push some files and scripts to enable or disable Vo2max feature from phone or PC
adb shell mkdir /system/hybrid
adb push pace\sensorhub.bin /system/hybrid/sensorhub_pace.bin
adb push stratos\sensorhub.bin /system/hybrid/sensorhub_stratos.bin
adb push pace\gpio-keys.kl /system/hybrid/gpio-keys_pace.kl
adb push stratos\gpio-keys.kl /system/hybrid/gpio-keys_stratos.kl
adb push hybrid\. /system/xbin/
adb shell chmod -R 0755 /system/xbin/.
adb shell chmod -R 0644 /system/hybrid/.
adb shell chmod 0755 /system/hybrid

5. Copy and Flash boot.img, recovery.img and bootloader for Pace

# Copy the files
adb push pace\boot.img /sdcard/
adb push pace\recovery.img /sdcard/
adb push pace\u-boot-with-spl-mbr-gpt.bin /sdcard/
# Flash the files
# boot.img
adb shell busybox dd if=/sdcard/boot.img of=/dev/block/platform/jzmmc_v1.2.0/by-name/boot bs=4096
# recovery.img
adb shell busybox dd if=/sdcard/recovery.img of=/dev/block/platform/jzmmc_v1.2.0/by-name/recovery bs=4096
# bootloader
adb shell busybox dd if=/sdcard/u-boot-with-spl-mbr-gpt.bin of=/dev/block/mmcblk0

6. Copy some other files and libraries for Pace (New)

# If you want to ENABLE Vo2max feature, don't use the commands marked in red.
# To DISABLE Vo2max feature, just use all the commands.
adb push pace\sensorhub.bin /system/etc/firmware (Use this to ENABLE Vo2max)
adb push pace\gpio-keys.kl /system/usr/keylayout
adb push pace\libslpt-linux.so /system/lib
adb push pace\slpt.pipe.so /system/lib
adb push pace\libcoded2-jni.so /system/lib
adb push pace\libopus-jni.so /system/lib
adb push pace\libopus-share.so /system/lib
adb push pace\libvadstdaln.so /system/lib
adb push pace\bluetooth.default.so /system/lib/hw
adb push pace\sensors.sensorHub.so /system/lib/hw
adb push pace\WearSettings.odex /system/priv-app/WearSettings/mips
adb shell chmod 0644 /system/etc/firmware/sensorhub.bin (Use this to ENABLE Vo2max)
adb shell chmod 0644 /system/usr/keylayout/gpio-keys.kl
adb shell chmod 0644 /system/lib/libslpt-linux.so (New)
adb shell chmod 0644 /system/lib/slpt.pipe.so (New)
adb shell chmod 0644 /system/lib/libcoded2-jni.so
adb shell chmod 0644 /system/lib/libopus-jni.so
adb shell chmod 0644 /system/lib/libopus-share.so
adb shell chmod 0644 /system/lib/libvadstdaln.so
adb shell chmod 0644 /system/lib/hw/bluetooth.default.so
adb shell chmod 0644 /system/lib/hw/sensors.sensorHub.so
adb shell rm /data/dalvik-cache/mips/system@priv-app@WearSettings@WearSettings.apk@classes.dex

7. Delete copied files for Pace from watch

adb shell rm /sdcard/boot.img
adb shell rm /sdcard/recovery.img
adb shell rm /sdcard/u-boot-with-spl-mbr-gpt.bin

All users. Change language

This will set the watch on your language and will also copy some not multilanguage apps. The ROM supports 6 languages, so you need to localize your language folder, in order to push correct apps to you watch. This step is not needed if you just want US English. Note that from the name format "tra_XY", XY is your language. Those are folder and language relationships:

10. Set your language (XY) as default even if Factory Reset your watch

adb root
adb remount rw
adb shell busybox "sed -i 's:ro.product.locale.region=.*:ro.product.locale.region=XY:' /system/build.prop
adb shell setprop persist.sys.country XY
adb shell setprop persist.sys.language en

11. Push apps to your watch from your language folder

adb push tra_XY\HuamiWatchFaces.apk system/app/HuamiWatchFaces
adb push tra_XY\NewWearSport.apk system/app/NewWearSport

Output (or similar)

[100%] system/app/HuamiWatchFaces/HuamiWatchFaces.apk
[100%] system/app/NewWearSport/NewWearSport.apk

12. Set permissions to the apps

adb shell chmod 644 system/app/HuamiWatchFaces/HuamiWatchFaces.apk
adb shell chmod 644 system/app/NewWearSport/NewWearSport.apk

13. Reboot your watch

adb remount ro
adb reboot

Now your watch is set permanently in your language

All users

Extra Features

Enable non market apps installation + SuperSU root

This will install enable the installation of non market apps on watch, one of Watch Droid feature, and will install SuperSU root on watch.

20. Enable non market apps support (Watch needs to be full booted)

adb shell settings put secure install_non_market_apps 1

21. Copy SuperSU folder to your watch

adb root
adb remount rw
adb push supersu\supersu /sdcard/

Output (or similar)

/sdcard/supersu/: 6 files pushed. 0 files skipped. 4.0 MB/s (710149 bytes in 0.169s)

22. Install SuperSU installer script

If you want to enable and disable Vo2max feature for Pace from Phone, you have to install this (and AmazMod).

SuperSU needs to be installed on a very early system boot stage.

# Reboot your watch
adb reboot
# When you see that the bootanimation starts, mount the system quickly and run the installer
adb root
adb remount rw
adb shell cd /sdcard/supersu/; sh root_amazfit.sh

or this if above doesn't work, use separated commands

adb reboot
# When you see that the bootanimation starts, mount the system quickly and run the installer
adb root
adb root
adb remount rw
adb shell

Output (or similar)

root@watch:/ #

Go to SuperSU folder on your watch where all files are stored

cd /sdcard/supersu

Output (or similar)

root@watch:/sdcard/supersu #

Run installation script

sh root_amazfit.sh

Output (or similar)

============= INSTALLING SuperSU v2.82-SR5 ===============
============= SuperSU v2.82-SR5 INSTALLED ===============

Reboot your watch

adb reboot

23. Remove SuperSU folder from your watch

adb shell rm -r /sdcard/supersu/

Install the firmware for your GPS

30. To install the new/stock Stratos GPS firmware

This is only needed if you previously installed Old GPS firmware.

adb root
adb remount rw
adb push gps\stock\sony_gps_fw_e.bin /system/etc/firmware
adb shell chmod 644 /system/etc/firmware/sony_gps_fw_e.bin
adb remount ro
adb reboot

Install Old firmware for your GPS

31. And to install the old/previous Stratos GPS firmware:

adb root
adb remount rw
adb push gps\old\sony_gps_fw_e.bin /system/etc/firmware
adb shell chmod 644 /system/etc/firmware/sony_gps_fw_e.bin
adb remount ro
adb reboot

For me, there is no significant difference between the old and the new one.

Enable launcher App list

You can enable launcher App List to see a list of installed apps (like and app drawer) and get access to BLE app where you can pop-up QR code for pairing.

40. Enable App List

adb push lista\launcher_config.ini /sdcard/launcher_config.ini
adb shell am force-stop com.huami.watch.launcher

Output (or similar)

[ ?] /sdcard/launcher_config.ini: 0/?

41. Disable App list

adb shell rm sdcard/launcher_config.ini
adb shell am force-stop com.huami.watch.launcher

Enable Bluetooth volume boost

50. Enable Bluetooth volume boost

adb shell btVolBoost

Output (or similar)

============= PACEfied Bluetooth Volume Boost ===============
Done, now rebooting

Delete old battery stats

60. This will delete old battery stats from previous ROM and will help to properly calibrate the battery.

adb shell rm data/system/batterystats.bin

Reboot your watch to apply.

Install more fonts

70. You can install 3 different fonts in this ROM. The location of each font is "fuentes/xyz" where xyz depends on the font you want to install:

To install a font, navigate on your command window to "fuentes/xyz".

And push the font to your watch

adb root
adb remount rw
adb push DroidSansFallback.ttf /system/fonts

Set correct permissions

adb shell chmod 644 system/fonts/DroidSansFallback.ttf
adb remount ro

And reboot to apply

adb reboot

System animations

71. Faster system animations

This will make watch interface/menu go faster

adb shell settings put global window_animation_scale AB
adb shell settings put global transition_animation_scale AB
adb shell settings put global animator_duration_scale AB
adb reboot

Where AB can be any value from 0.1 (value in this ROM) and 1.0 (Stock ROM original value)

Pairing QR code

73. Launch pairing QR code

adb shell am start -n com.huami.watch.setupwizard/.InitPairQRActivity

Install a notifications manager

Install only one, WatchDroid or AmazMod

73. WatchDroid

Uninstall first all related to AmazMod if you installed it before. To do this, you have to Revoke Administrator Privileges to AmazMod on phone's app or from AmazMod settings on watch widget.

adb uninstall com.amazmod.service
adb uninstall com.dinodevs.pacecalendarwidget

Install WatchDroid Assistant

adb install -r wd\watch.apk

Install WatchDroid widget

adb install -r wd\Widget.apk

74. AmazMod and PaceCalendar

Uninstall first all related to WatchDroid if you installed it before.

adb uninstall com.lumaticsoft.watchdroidassistant
adb uninstall com.lumaticsoft.amazfitwatchdroid

Install AmazMod

adb install -r amazmod\service-release.apk

Install PaceCalendar

adb install -r amazmod\PaceCalendarWidget.apk

After that reboot your watch

adb reboot

Watchface date format Mod

75. Modded watchface date format

If you want to set watchface date format to a 31/12/2019.

adb root
adb remount
adb push date\mod\HuamiWatchFaces.odex system/app/HuamiWatchFaces/mips
adb shell chmod 644 system/app/HuamiWatchFaces/mips/HuamiWatchFaces.odex
adb shell rm /data/dalvik-cache/mips/system@app@HuamiWatchFaces@HuamiWatchFaces.apk@classes.dex
adb reboot

and if you want to set it to stock format 2019/12/31.

adb root
adb remount
adb push date\stock\HuamiWatchFaces.odex system/app/HuamiWatchFaces/mips
adb shell chmod 644 system/app/HuamiWatchFaces/mips/HuamiWatchFaces.odex
adb shell rm /data/dalvik-cache/mips/system@app@HuamiWatchFaces@HuamiWatchFaces.apk@classes.dex
adb reboot

All users

Install Stratos 3 Settings app with DT2W support (New)

Depending on your device, install appropriate Settings app:

adb root
adb remount rw
adb shell rm /system/priv-app/WearSettings/mips/WearSettings.odex
adb shell rm /system/priv-app/WearSettings/WearSettings.apk
adb push stratos3\varios\dev\WearSettings.apk system/priv-app/WearSettings

Where dev is your device:

Stratos for Stratos users

Pace for Pace users

Install Stratos 3 apps and Health app

Check OP before installing Health app. You can install Stratos 3 apps and Health app or just Stratos 3 apps without Health app.

76. To install Health app, first delete old files and copy the new ones.

adb -d root
adb -d remount rw
adb -d shell rm -r /system/app/WearHealth/
adb -d push stratos3\varios\WearHealth\. /system/app/WearHealth
adb -d reboot

77. Install Stratos 3 apps.

adb -d push stratos3\update.zip /sdcard
adb -d reboot update
adb -d shell rm /sdcard/update.zip

Bootanimation (New)

78. Bootanimation

You can choose between 4 bootanimations:

stock

everest

starwars

wearos

nexus (New)

Replace boot_name with one of above names:

adb push boots\boot_name\bootanimation.zip /system/media
adb shell chmod 644 /system/media/bootanimation.zip
adb reboot

Factory Reset

80. If you need to do a factory reset on your watch, you can run FCT_RST.bat if you are on Windows. or use these commands, which are only valid for unlocked bootloader.

adb shell reboot bootloader
fastboot erase data
fastboot erase cache
fastboot reboot

Another command to do a factory reset in locked bootloader and which also works for Stock ROM is

adb reboot wipe

When it finishes, the watch will power off.

You are done with ROM installation, enjoy!

All users

How to go back to Stock Firmware

Just install the firmware as always. You have links in Post #4.

Pace users

How to install WOS ROM

Before you install the ROM, you have to convert your watch model back to Pace again.

Use these commands

adb root
adb remount rw
adb shell busybox "sed -i 's:ro.build.huami.model=.*:ro.build.huami.model=A1602:' /system/build.prop
adb remount ro
adb reboot

When the watch is fully booted, just install the ROM as always, and do a Factory Reset.

How to Enable or Disable Vo2max

Check Installation section in OP.

How to Enable or Disable Manual Laps

Check Installation section in OP.