- Joined
- Jul 4, 2018
- Messages
- 4,714
- Likes
- 4,122
- Points
- 248
How to modify Watchfaces files ?
(At your own risk... We aren't responsible for bricked devices and we won't help in case of other problems)
(At your own risk... We aren't responsible for bricked devices and we won't help in case of other problems)
Required
★ MiBandWFTool (By lvpokka).Description
★ PaletteImageMode :⤳ Can be used if images having 5-10 colors.
⤳ Uses picture palette, in some cases could reduce pack weight.
⤳ Create file raw.cfg with content 1,4,2,5,66 (near .json) to force raw image mode for selected image IDs in raw.cfg.
⤳ Will compress images if it's not fitting in 254 color palette.
★ RawImageMode :
⤳ Can provide more quality for image.
⤳ Normally working with 32&16bit images, raw look. Can greatly increase the size of the build.
Tutorial
⤳ Download the tool (at the beginning of the thread) and unzip it.⤳ Open PaletteImageMode or RawImageMode folder (read Description to know difference between them).
⤳ Drag and drop Watchface file (filename.bin) on "WatchFace.exe" (Terminal will open and close).
⤳ A new folder will be created in folder than contain your Watchface file, it's the decompiled Watchface.
⤳ In the decompiled Watchface folder, edit all pictures you want. You can also edit the .json file, remove and add pictures, etc...
⤳ When you have finished, drag and drop the .json file on "WatchFace.exe" (Terminal Window will open and close).
⤳ Some new files will appear, a log file, one animated preview picture, one static preview picture and the most interesting, your packed Watchface (filename_packed.bin).
You can share your Watchfaces here : Watchfaces !
FAQ
Mi Fit
⤳ In Mi Fit Application go in "Profile" -> "Mi Smart Band 4" -> "Store".⤳ In "Store" tab tap on a Watchface.
⤳ Disable Bluetooth.
⤳ Tap on "Sync watch face" button.
⤳ Open your Files Application and go in "Android" -> "data" -> "com.xiaomi.hm.health" -> "files" -> "watch_skin_local".
⤳ Open the Watchface folder (for me "3twFUMCxR5hTSN2f00GPgszD2xzOfz01MU6QlONk") and replace the .bin file by your Custom Watchface (don't forget to rename it like the Official Watchface .bin file, for me "3twFUMCxR5hTSN2f00GPgszD2xzOfz01MU6QlONk.bin" !).
⤳ Enable Bluetooth.
⤳ Return in Mi Fit Application and go again in "Profile" -> "Mi Smart Band 4" -> "Store".
⤳ In "Manager" tab tap on Watchface previously downloaded then on "Sync watch face" button.
⤳ Be happy ? !
Notify & Fitness for Mi Band
★ Install Notify & Fitness for Mi Band.★ Method 01 :
⤳ In Notify & Fitness for Mi Band tap on "Settings" button at top right.
⤳ In "Watchfaces" tab scroll at bottom and tap on "Custom watch-face (.bin)".
⤳ Find your Custom Watchface file and tap on it to select it.
⤳ Tap on "Start update" button.
⤳ Be happy ? !
★ Method 02 :
⤳ Find your Custom Watchface file and tap on it (in your file Explorer or Telegram for example).
⤳ In "Open with" menu, tap on "Update watchface" option from Notify & Fitness for Mi Band.
⤳ Tap on "Start update" button.
⤳ Be happy ? !
⤳ Open the .log file generated during compilation and scroll at the end of the file to know the error.
★ If you used RawImageMode and get this error :
⤳ Use PaletteImageMode.
★ If you used RawImageMode and get this error :
Code:
Fatal|[ERROR] Watchface is greater than 321kb, it will not be accepted by Mi Band 4, please reduce size! Current size:566kb.
Fatal|System.ArgumentException: [ERROR] Watchface is greater than 321kb, it will not be accepted by Mi Band 4, please reduce size! Current size:566kb.
Post only in English, else it will be deleted.
Attachments
-
873.2 KB Views: 151
-
23.3 MB Views: 706
Last edited: