FORUMS

[TOOL][WINDOWS] GTR/VL BIN Watchfaces converter for Stratos 3/Verge v0.3 (2020/06/22)

2,115 posts
Thanks Meter: 2,161
 
By Saratoga79, Senior Member on 26th May 2020, 02:49 PM
Post Reply Email Thread

GTR/VL BIN Watchfaces converter for Stratos 3/Verge
Quote:

This is a Windows tool which will make most (hopefully) of GTR47/GTR42/VL (VergeLite)* BIN watchfaces compatible with Stratos 3 and Verge converting BIN files into WFZ flles
You can convert more than one BIN each time
Use this tool just for personal usage otherwise you will have to ask for permission to watchfaces devs

* The few VL BINs I have tested could be converted but they freeze in screen lock/SLPT mode

Requirements
Quote:

  • Windows OS (Tested on Widows 10 x64)
  • Stratos 3 or Verge watch
  • ADB drivers
  • Phone running on Android (For AmazMod)
  • AmazMod and Openweather API Key for weather data in Stratos 3

    Some watchfaces may not work if this is not correctly set

Supported firmwares/ROMs
Quote:

Those firmwares which have WearStore watchface support

  • Stratos 3:
A1929 running latest US firmware
A1928 running latest CN firmware
  • Verge:
A1801 running latest CN firmware
A1811 running latest US 3.2.7.5 firmware is now supported. Check Post #2

Tool Scripts
Quote:

  • GTR_VL_BINs_Converter_Stratos3_Verge-vX.Y.bat = Run this to convert the watchfaces
  • Clean.bat = This will delete ALL files and folders of the tool. So be aware of this as you will lose ALL your WFZs

How to use the tool
Quote:

  1. Download the tool
  2. Unzip it
  3. Connect your watch to PC
  4. Put all BIN watchfaces you want to convert in wfs folder
    ENSURE all of them are the same type, GTR47/GTR42 or VergeLite

    ENSURE there is no spaces or "." or "(" or ")" symbols in BIN watchface name, if so, replace them with "_" or "-" and
    avoid long text names
  5. Run GTR_VL_BINs_Converter_Stratos3_Verge-vX.Y.bat to start conversion
  6. Converted WFZs will be copied to conv folder and pushed to watch when conversion process is done with "-S3" or "-Verge" string in WFZ name
  7. Disconnect your watch from PC
  8. Select the new WFZs from your watch or Amazfit app

Some notes
Quote:

  • Some converted WFZs may not contain any preview pic
  • Note that the tool will convert all the BINs in wfs folder each time you run conversion script
  • Conversion time will be different depending on the BIN amount and type (GTR42 BINs don't need rescaling neither GTR47 for Verge) to be converted, your CPU and your HDD speed
  • Before converting the WFZs I recommend you to set up AmazMod and Openweather data in Stratos 3
  • Some features supported on GTR/VL may not be supported on Stratos 3/Verge like arch overlay and others, and you may face some glitches or not correctly scaled data

Downloads
Credits
Quote:

  • @GreatApo
  • @renzetti.s
  • imagemagick.org for PNG files rescaling software
  • @dbenham from dostips.com for JREPL.BAT replacement batch file
  • To lordmulder for colored echo for Windows
  • Hexdump for Windows
  • To all watchfaces devs
  • Maybe others I forget

Donate
Quote:

  • If you like my work, you can buy me a beer here

The Following 2 Users Say Thank You to Saratoga79 For This Useful Post: [ View ] Gift Saratoga79 Ad-Free
26th May 2020, 02:50 PM |#2  
Saratoga79's Avatar
OP Senior Member
Flag Ordizia Capital
Thanks Meter: 2,161
 
More
Prompt Stock Verge US support
Verge US 3.2.7.5 support v0.2
If you already installed first mod version, you MUST install this version too in order to use converter v0.3
This mod will add support for Stock Verge US 3.2.7.5 firmware version copying some CN firmware files.
Installing this mod will BREAK future OTA updates, so when you receive an update, before accepting the update, you have to revert this mod to stock using the provided script.


Requirements
  • ADB/fastboot drivers
  • Unlocked bootloader or already rooted Verge
  • Stock US 3.2.7.5 firmware

Mod installation (Windows)
  1. Download the zip file and unzip it somewhere in your PC
  2. Connect your Verge to PC
  3. Run mod.bat to install the mod files

Revert to stock (Windows)
  1. Download the zip file and unzip it somewhere in your PC
  2. Connect your Verge to PC
  3. Run stock.bat to revert to disable the mod and install stock files for OTA updates
NOTE: If you are rooted, you need to flash full firmware to go back to stock and make OTA updates work

Manual installation of the mod
Run terminal_cmd.bat in Windows to open CMD.exe or a terminal window if your are in another OS.
# Connect the watch to PC and restart adb server
Code:
adb -d kill-server
adb -d start-server
# Reboot into fastboot mode and boot temporal root. If your watch is already rooted, skip this step
Code:
adb -d shell reboot bootloader
fastboot boot root\boot-US-adb-root.img
# When the watch reboots and the bootanimation starts, delete some files
Code:
adb -d root
adb -d remount rw
adb -d shell rm /system/app/HuamiWatchFaces3/HuamiWatchFaces3.apk
adb -d shell rm /system/app/HuamiWatchFaces3/mips/HuamiWatchFaces3.odex
adb -d shell rm /system/app/WearServices/WearServices.apk
adb -d shell rm /system/app/WearServices/mips/WearServices.odex
adb -d shell rm /system/lib/libslpt-linux.so
# Copy mod files
Code:
adb -d push mod\system\. /system
# Set permissions
Code:
adb -d shell chmod 0644 /system/app/HuamiWatchFaces3/HuamiWatchFaces3.apk
adb -d shell chmod 0644 /system/app/WearServices/WearServices.apk
adb -d shell chmod 0755 /system/bin/GTR New
adb -d shell chmod 0755 /system/bin/GTRV New
adb -d shell chmod 0644 /system/lib/libslpt-linux.so
# Wipe cache and reboot
Code:
adb -d shell rm -rf /data/dalvik-cache
adb -d remount ro
adb -d reboot
# When the watch reboots and the bootanimation starts, kill adb server
Code:
adb -d kill-server
# You are done. Now you should be able to use OP's tools and enjoy BIN converted WFZs

Manual installation to revert to stock
Run terminal_cmd.bat in Windows to open CMD.exe or a terminal window if your are in another OS.
# Connect the watch to PC and restart adb server
Code:
adb -d kill-server
adb -d start-server
# Reboot into fastboot mode and boot temporal root. If your watch is already rooted, skip this step
Code:
adb -d shell reboot bootloader
fastboot boot root\boot-US-adb-root.img
# When the watch reboots and the bootanimation starts, delete some files
Code:
adb -d root
adb -d remount rw
adb -d shell rm /system/app/HuamiWatchFaces3/HuamiWatchFaces3.apk
adb -d shell rm /system/app/WearServices/WearServices.apk
adb -d shell rm /system/bin/GTR New
adb -d shell rm /system/bin/GTRV New
adb -d shell rm /system/lib/libslpt-linux.so
# Copy stock files
Code:
adb -d push stock\system\. /system
# Set permissions
Code:
adb -d shell chmod 0644 /system/app/HuamiWatchFaces3/HuamiWatchFaces3.apk
adb -d shell chmod 0644 /system/app/HuamiWatchFaces3/mips/HuamiWatchFaces3.odex
adb -d shell chmod 0644 /system/app/WearServices/WearServices.apk
adb -d shell chmod 0644 /system/app/WearServices/mips/WearServices.odex
adb -d shell chmod 0644 /system/lib/libslpt-linux.so
# Wipe cache and reboot
Code:
adb -d shell rm -rf /data/dalvik-cache
adb -d remount ro
adb -d reboot
# When the watch reboots and the bootanimation starts, kill adb server
Code:
adb -d kill-server
# You are done. Now you should have everything stock and OTA updates may (hopefully) work

Bugs
This mod will introduce a bug during sport activities, if you enable auto lap alert to receive an alert every km/mi, the watch will vibrate for ever during the alert until to press power button to unlock the screen. It's a bug related to stock CN firmware.

Downloads
Verge US 3.2.7.5 bin WFZ support v0.2
26th May 2020, 02:50 PM |#3  
Saratoga79's Avatar
OP Senior Member
Flag Ordizia Capital
Thanks Meter: 2,161
 
More
Mio2
Mio2
11th June 2020, 08:52 PM |#5  
Junior Member
Thanks Meter: 0
 
More
Hi, thank you, it works!
But where are the files stored in the watch?
The folder "Watchface" has no those files, but the watchfaces are still available to choose from the watch. How to delete them from the watch?
I have Stratos 3
12th June 2020, 07:18 AM |#6  
Saratoga79's Avatar
OP Senior Member
Flag Ordizia Capital
Thanks Meter: 2,161
 
More
Quote:
Originally Posted by Slav2020

Hi, thank you, it works!
But where are the files stored in the watch?
The folder "Watchface" has no those files, but the watchfaces are still available to choose from the watch. How to delete them from the watch?
I have Stratos 3

Converted WFs are copied to /sdcard/WatchFace folder. I think there is some kind of issue with Windows and the way watch's internal memory is being mounted or something.
You can use PowerShell or CMD, to list all .wfz files in the watch:
Code:
adb shell ls /sdcard/WatchFace
To delete a .wfz file:
Code:
adb shell rm /sdcard/WatchFace/watchface_name.wfz
To delete all the files:
Code:
adb shell rm /sdcard/Watchface/*
15th June 2020, 08:11 AM |#7  
Saratoga79's Avatar
OP Senior Member
Flag Ordizia Capital
Thanks Meter: 2,161
 
More
Tool updated to v0.2
Tool updated to v0.2
Changelog v0.1 -> v0.2 (2020/06/13)
  • Added Verge US 3.2.7.5 support (Check Post #2)
  • Added custom preview for those converted WFZs without it
  • Added custom background detection
  • Added custom watchface id

Downloads
Check OP.
The Following 2 Users Say Thank You to Saratoga79 For This Useful Post: [ View ] Gift Saratoga79 Ad-Free
15th June 2020, 08:29 AM |#8  
renzetti.s's Avatar
Senior Member
Thanks Meter: 2,329
 
More
You giving so much fun to people with these mods
Congrats
The Following User Says Thank You to renzetti.s For This Useful Post: [ View ] Gift renzetti.s Ad-Free
16th June 2020, 12:34 PM |#9  
Junior Member
Thanks Meter: 0
 
More
Hello. Is it somehow possible to use Watchface "Marathon Life" which is default one for Stratos and use it in Stratos 3? I was trying to find this watchface in various sources/stores but without success. The problem is that there is no apk nor wfz file, as it is default in Stratos, at least I haven't found it. I have both watch available. Thx a lot for help.
21st June 2020, 08:05 PM |#10  
Junior Member
Thanks Meter: 0
 
More
Is there a way to convert GTR/VL BIN wahtchfaces for Stratos 2?
22nd June 2020, 07:29 AM |#11  
Saratoga79's Avatar
OP Senior Member
Flag Ordizia Capital
Thanks Meter: 2,161
 
More
Quote:
Originally Posted by Niarbar62

Is there a way to convert GTR/VL BIN wahtchfaces for Stratos 2?

No...
Post Reply Subscribe to Thread

Tags
bin, stratos 3, verge, watchface, wfz

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes