[Amazfit] Saratoga79:
Manual installation method

Manual installation method

Introduction

This is a guide for manual installation 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.

Manual installation method

Since installer v0.8 all files for manual installation are built-in 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 installer

To use an alternative Windows installer, run ROM_US.bat for a English interface or ROM_ES.bat for a Spanish interface.

This is the example of the output running ROM_US.bat

Linux installation script

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

Run the .sh for installation

sh rom_[B][COLOR="Red"]xy[/COLOR][/B].sh

Where

rom_[B][COLOR="red"]es[/COLOR][/B].sh (Spanish text interface)
rom_[B][COLOR="red"]us[/COLOR][/B].sh (English text interface)

A1811 users (New)

A1811 support (since v0.5)

sh boot_us.sh

If you need to Factory Reset your watch, run this .sh script

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 commands

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

Temporal root for Stock ROM

0. If you are on Stock Chinese firmware, you need to use the Chinese version of temporal root, and if you are on US/Global/International firmware version you need to use the US temporal root.

0.1 Reboot into fastboot mode

adb shell reboot bootloader

0.2a Boot Chinese temporal root

fastboot boot root\boot-CN-adb-root.img

0.2b Boot US/Global/International temporal 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 and you will able to gain adb root access.

When the watch reboots, go for the next step, but don't reboot again your watch as you will lose temporal root.

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/ (Notification icons for iOS)

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.

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

4. A1811 model support

4.1 You need to install a library from latest US/Global/International firmware in order to make your watch work with this ROM and fix double tap to wake feature.

[STRIKE]adb root
adb remount rw
adb push uboot\A1811\libslpt-linux.so /system/lib/
adb shell chmod 0644 /system/lib/libslpt-linux.so[/STRIKE]

4.2 Flash boot.img for A1811 model

adb push root\boot-US-adb-root.img /sdcard/
adb shell busybox dd if=/sdcard/boot-US-adb-root.img of=/dev/block/platform/jzmmc_v1.2.0/by-name/boot bs=4096
adb shell rm /sdcard/boot-US-adb-root.img

4.3 Delete all related NFC files for A1811 model

adb shell rm -rf /system/app/NfcNci
adb shell rm -rf /system/app/SmartcardService
adb shell rm -rf /system/priv-app/HmWallet
adb shell rm -rf /system/priv-app/Tag
adb shell busybox find ./system -type f -name '*nfc*' -delete
adb shell busybox find ./system -type f -name '*nxp*' -delete
adb shell rm /system/framework/org.simalliance.openmobileapi.jar
adb shell rm /system/lib/libp61-jcop-kit.so
adb shell rm /system/vendor/firmware/libpn553_fw.so

5. Update the Bootloader

It's important to update the Bootloader depending on your watch model, where MOD is:

A1811 if your watch originally is US/International/Global model

A1801 if your watch originally is US/International/Global model​

adb root
adb remount rw
adb push uboot\[B][COLOR="red"]MOD[/COLOR][/B]\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
adb remount ro
adb reboot

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=[B][COLOR="Red"]XY[/COLOR][/B]:' /system/build.prop
adb shell setprop persist.sys.country [B][COLOR="Red"]XY[/COLOR][/B]
adb shell setprop persist.sys.language [B][COLOR="SeaGreen"]en[/COLOR][/B]

11. Push apps to your watch from your language folder

adb push tra_[B][COLOR="Red"]XY[/COLOR][/B]\HuamiWatchFaces3.apk system/app/HuamiWatchFaces3
adb push tra_[B][COLOR="Red"]XY[/COLOR][/B]\NewWearSport.apk system/app/NewWearSport

Output (or similar)

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

12. Set permissions to the apps

adb shell chmod 644 system/app/HuamiWatchFaces3/HuamiWatchFaces3.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

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. Run SueprSU installer script

adb shell cd /sdcard/supersu/; sh root_amazfit.sh

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

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 GPS Firmware

30. To install the Stock GPS firmware: (Only needed if you previously installed the old firmware from Stratos)

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

And to install the old GPS firmware from Stratos:

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

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 all apps.

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

Outout (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

It needs a reboot 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 [B][COLOR="Blue"]AB[/COLOR][/B]
adb shell settings put global transition_animation_scale [B][COLOR="Blue"]AB[/COLOR][/B]
adb shell settings put global animator_duration_scale [B][COLOR="Blue"]AB[/COLOR][/B]
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

72. Launch pairing QR code

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

Install a notitications 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 telephone'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 and set Administrator privileges

adb install -r amazmod\service-release.apk
adb shell dpm set-device-owner com.amazmod.service/.AdminReceiver

Install PaceCalendar

adb install -r amazmod\PaceCalendarWidget.apk

After that reboot your watch

adb reboot

Date format for Watchfaces

75. Modded date format 31-12-2019

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

76. Stock date format 2019-12-31

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

77. Modded date format 31-12-2019

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

Bootanimation (New)

78. Bootanimation

You can choose between 4 bootanimations:

stock

verge

starwars

wearos

Replace boot_name with one of above names:

adb push boots\[B][COLOR="purple"]boot_name[/COLOR][/B]\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 and which also works for Stock ROM is

adb reboot wipe

When it finished, the watch will power off.

You are done with this, enjoy!