[Amazfit] Saratoga79:
Manual method installation

Manual installation method

Introduction

Here I will explain how to install the firmware using a command window or any other terminal.

The requirements are the ones stated in first post.

On your terminal, go to the path where all the files were unzipped, or if you are running a Windows OS, just run terminal_cmd.bat and you are good to go.

How to Unbrick your watch

If your device is bricked, stuck at initial Amazfit logo, and no adb connection with PC, you have to reboot your watch into fastboot mode using the button and USB plug trick with this tutorial, and then you can run UNBRICK_US.bat to the root of the stock Firmware folder with all the other files, and run it.

Or you can install the firmware using manual commands and starting at Point 3.

OTA Installation

Download OTA installer from Post #1 and if you are running a Windows PC, run terminal_cmd.bat, or any other command/terminal window on your PC in the root of the unzipped folder.

Copy the update to the watch

[COLOR="Blue"]adb push update.zip /sdcard
[/COLOR]

And launch the update

[COLOR="blue"]adb reboot update[/COLOR]

Wait to the end of the update, and when the watch reboots delete the update file

[COLOR="blue"]adb shell rm /sdcard/update.zip[/COLOR]

Firmware installation

On your terminal, go to the path where all the Firmware files were unzipped.

You can copy and paste all needed commands.

1. Connect the watch to the PC and check the connection with the watch

[COLOR="Blue"]adb devices[/COLOR]

Output (or similar)

List of devices attached
9dee1d33 device

2. Reboot in fastboot mode

[COLOR="blue"]adb shell reboot bootloader[/COLOR]

3. When the watch reboots in fastboot mode, check the connection with the watch

[COLOR="blue"]fastboot devices[/COLOR]

Output (or similar)

0123456789 fastboot

4. Boot the old modded recovery

[COLOR="blue"]fastboot boot recovery-mod.img[/COLOR]

or the new modded recovery

[COLOR="blue"]fastboot boot recovery-mod[B][COLOR="red"]2[/COLOR][/B].img[/COLOR]

Output (or similar)

downloading 'boot.img'...
OKAY [ 0.426s]
booting...
FAILED (status read failed (Too many links))
finished. total time: 1.303s

5. Wait until you get a triangle with an exclamation mark in your watch

6. Copy the files to the watch (it may take up to a minute)

[COLOR="blue"]adb push boot.img /data/media/0/
adb push system.img.gz /data/media/0/
adb push md5s.txt /data/media/0/
adb push flash_rom.sh /data/media/0/[/COLOR]

Output (or similar)

adb push boot.img /data/media/0/
7546 KB/s (9437184 bytes in 1.221s)

adb push system.img.gz /data/media/0/
7194 KB/s (228153632 bytes in 30.969s)

adb push md5s.txt /data/media/0/
88 KB/s (91 bytes in 0.001s)

adb push flash_rom.sh /data/media/0/
297 KB/s (458 bytes in 0.001s)

7. Start Firmware installation (it may take up to 2 minutes)

[COLOR="blue"]adb shell sh /data/media/0/flash_rom.sh[/COLOR]

Output (or similar)

Validating images
boot.img: OK
system.img.gz: OK
Starting to flash now. DO NOT TURN OFF OR REMOVE THE USB CABLE!
Flashing boot.img
2304+0 records in
2304+0 records out
9437184 bytes (9.0MB) copied, 0.953804 seconds, 9.4MB/s
Flashing system.img
210944+0 records in
210944+0 records out
864026624 bytes (824.0MB) copied, 89.945101 seconds, 9.2MB/s
Finished

8. We have already installed the firmware, now delete installation files form the watch

[COLOR="blue"]adb shell rm /data/media/0/boot.img
adb shell rm /data/media/0/system.img.gz
adb shell rm /data/media/0/md5s.txt
adb shell rm /data/media/0/flash_rom.sh[/COLOR]

9. Reboot the watch

[COLOR="blue"]adb reboot[/COLOR]

10. When the splash screen is passed and the bootanimation starts, set your watch to English language

[COLOR="blue"]adb shell setprop persist.sys.language en
adb shell setprop persist.sys.country US[/COLOR]

Stock Recovery and Bootloader installation process

11. Reboot in fastboot mode

[COLOR="blue"]adb shell reboot bootloader[/COLOR]

12. Boot old temporal root

[COLOR="blue"]fastboot boot boot-US-adb-root.img[/COLOR]

or new temporal root

[COLOR="blue"]fastboot boot boot[B][COLOR="Red"]2[/COLOR][/B]-US-adb-root.img[/COLOR]

Output (or similar)

downloading 'boot.img'...
OKAY [ 0.349s]
booting...
FAILED (status read failed (Too many links))
finished. total time: 1.206s

13. Copy stock Recovery and Bootloader files to the watch

[COLOR="blue"]adb push install_recovery.sh /data/media/0/
adb push recovery.img /data/media/0/[/COLOR]
[COLOR="red"]adb push u-boot-with-spl-mbr-gpt.bin /data/media/0/[/COLOR]

Output (or similar)

[100%] /data/media/0/install_recovery.sh
[100%] /data/media/0/recovery.img

14. Run the recovery installation script

[COLOR="blue"]adb shell cd /data/media/0/; sh install_recovery.sh[/COLOR]

Output (or similar)

============= STOCK Installer ===============
Flashing recovery...
4096+0 records in
4096+0 records out
16777216 bytes (16.0MB) copied, 2.461221 seconds, 6.5MB/s
Done. OTA updates should now work.

15. Flash Bootloader

[COLOR="red"]adb shell busybox dd if=/data/media/0/u-boot-with-spl-mbr-gpt.bin of=/dev/block/mmcblk0[/COLOR]

16 . Delete stock recovery installation files

[COLOR="blue"]adb shell rm /data/media/0/install_recovery.sh
adb shell rm /data/media/0/recovery.img
[COLOR="red"]adb shell rm /data/media/0/u-boot-with-spl-mbr-gpt.bin[/COLOR]
[/COLOR]

17. Reboot the watch

[COLOR="blue"]adb reboot[/COLOR]

18. Finish.

Go to Amazfit app and update to latest version.

Some extra useful commands

Wipe davik/cache

[COLOR="blue"]adb shell reboot bootloader
fastboot erase cache
fastboot reboot[/COLOR]

Do a Factory Reset (You will lose all the data in your watch. Unpair the watch from Amazfit app while doing this?

[COLOR="Blue"]adb shell reboot bootloader
fastboot erase data
fastboot erase cache
fastboot reboot[/COLOR]