Manual installation method and Unbrick
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.
You can copy and paste all needed commands.
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 download the
Unbrick file, copy
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
2.
OTA Installation
Download OTA installer form 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
Code:
[COLOR="Blue"]adb push update.zip /sdcard[/COLOR]
And launch the update
Code:
[COLOR="blue"]adb reboot update[/COLOR]
Wait to the end of the update, and when the watch reboots delete the update file
Code:
[COLOR="Blue"]adb shell rm /sdcard/update.zip[/COLOR]
Firmware installation
0. Check adb connection with watch
Code:
[COLOR="Blue"]adb kill-server
adb start-server
adb devices[/COLOR]
Output (or similar)
Code:
List of devices attached
be601824 device
1. Reboot in fastboot
Code:
[COLOR="blue"]adb shell reboot bootloader[/COLOR]
2. Check fastboot connection with watch
Code:
[COLOR="blue"]fastboot devices[/COLOR]
Output (or similar)
At this point, if you did not get correct outputs, stop here and check adb/fastboot drivers
3. Flash modded Amazfit Recovery
Code:
[COLOR="blue"]fastboot boot recovery-mod.img[/COLOR]
Output (or similar)
Code:
Downloading 'boot.img' OKAY [ 0.475s]
booting FAILED (status read failed (Too many links))
Finished. Total time: 1.540s
4. Wait until you see "!" symbol in your watch
5. Copy firmware files
Code:
[COLOR="Blue"]adb push boot.img.gz /data/media/0/
adb push system.img.gz /data/media/0/
adb push flash_eng_version.sh /data/media/0/
adb push md5s.txt /data/media/0/[/COLOR]
Output (or similar)
Code:
boot.img.gz: 1 file pushed. 7.3 MB/s (5578363 bytes in 0.731s)
system.img.gz: 1 file pushed. 4.9 MB/s (298686734 bytes in 57.752s)
flash_eng_version.sh: 1 file pushed. 0.2 MB/s (398 bytes in 0.002s)
md5s.txt: 1 file pushed. 0.0 MB/s (94 bytes in 0.002s)
6. Run fimware installation script
Code:
[COLOR="blue"]adb shell sh /data/media/0/flash_eng_version.sh[/COLOR]
Output (or similar)
Code:
Validating images
boot.img.gz: OK
system.img.gz: OK
Flashing boot.img
2304+0 records in
2304+0 records out
9437184 bytes (9.0MB) copied, 2.699810 seconds, 3.3MB/s
Flashing system.img
210944+0 records in
210944+0 records out
864026624 bytes (824.0MB) copied, 93.146915 seconds, 8.8MB/s
Finished
7. Firmware would be installed, now erase installation files
Code:
[COLOR="blue"]adb shell rm /data/media/0/boot.img.gz
adb shell rm /data/media/0/system.img.gz
adb shell rm /data/media/0/md5s.txt
adb shell rm /data/media/0/flash_eng_version.sh[/COLOR]
8. Reboot
Code:
[COLOR="blue"]adb reboot[/COLOR]
9. When bootanimation starts, change language to English
Code:
[COLOR="blue"]adb shell setprop persist.sys.language en
adb shell setprop persist.sys.country US[/COLOR]
Stock Recovery and Bootloader installation
10. Reboot in fastboot
Code:
[COLOR="blue"]adb shell reboot bootloader[/COLOR]
11. Flash temporal root
Code:
[COLOR="blue"]fastboot boot boot-US-adb-root.img[/COLOR]
Output (or similar)
Code:
< waiting for any device >
Downloading 'boot.img' OKAY [ 0.399s]
booting FAILED (status read failed (Too many links))
Finished. Total time: 1.449s
12. Wait to reboot and bootanimation start
13. Copy Recovery and
Bootloader files
Code:
[COLOR="blue"]adb push install_recovery.sh /data/media/0/
adb push recovery.img /data/media/0/
adb push u-boot-with-spl-mbr-gpt.bin /data/media/0/[/COLOR]
Output (or similar)
Code:
install_recovery.sh: 1 file pushed. 0.2 MB/s (687 bytes in 0.004s)
recovery.img: 1 file pushed. 1.1 MB/s (16777216 bytes in 14.611s)
u-boot-with-spl-mbr-gpt.bin: 1 file pushed. 0.5 MB/s (894164 bytes in 1.839s)
14. Run Recovery installation script
Code:
[COLOR="blue"]adb shell cd /data/media/0/; sh install_recovery.sh[/COLOR]
Output (or similar)
Code:
============= 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 the Bootloader
Code:
[COLOR="Blue"]adb shell busybox dd if=/data/media/0/u-boot-with-spl-mbr-gpt.bin of=/dev/block/mmcblk0[/COLOR]
Output (or similar)
Code:
1746+1 records in
1746+1 records out
894164 bytes (873.2KB) copied, 1.002318 seconds, 871.2KB/s
16. Erase Recovery and
Bootloader files
Code:
[COLOR="blue"]adb shell rm /data/media/0/install_recovery.sh
adb shell rm /data/media/0/recovery.img
adb shell rm /data/media/0/u-boot-with-spl-mbr-gpt.bin
adb shell rm -rf /data/dalvik-cache[/COLOR]
17. Reboot
Code:
[COLOR="blue"]adb reboot
adb kill-server
[/COLOR]
18. Finished
Factory reset
Every time you flash a new firmware, it is recommended to do a factory reset to avoid any bug
Code:
[COLOR="blue"]adb shell reboot bootloader
fastboot erase cache
fastboot erase data
fastboot reboot[/COLOR]