The first Xiaomi Mi Band 7 custom dial tutorial
The overall idea of customizing the dial is the same as before, divided into the following steps:
1. Unpack:
After downloading the .bin file, modify the suffix to zip and unzip it
浏览附件12659
浏览附件12660
浏览附件12661
2. Modify the resource image file:
There are many image resource files in the decompressed assets directory. Although it ends with png, it is actually a tga format file. You need to use the ImageToGTR3-mi7 repair version to convert the picture into a normal png and then modify it. After the modification, it is converted into the format required by the bracelet through the above tools.
The image resources are all in the decompressed assets directory.
浏览附件12662
浏览附件12663
After the image is processed, you can directly replace the original image in the assets directory
2. Modify the number and location of components:
There are several ways to do this:
(1) If you have a certain js foundation, you can directly modify the js file
Mihuan 7 now uses js engine rendering, so modifying the number and position of components is achieved by modifying the js code
浏览附件12664
There is a watchface directory under the instance dial, and the index.js in it
Just talking about the key code, the following is the core code for adding components:
浏览附件12665
If you need to add components, add them according to the above logic!
For example, line 180 actually adds a time component, and the related configuration of the time component is actually objTime, look up this variable
浏览附件12666
The relevant configuration starts at line 56, which has an hour_startX and hour_startX, which is actually the xy coordinate position, continue to find nHourX nHourY
浏览附件12667
It is actually defined on lines 15 and 16, so if you need to modify the position, you need to modify the values of the two parameters here.
For example, modify it to let nHourX = 70
For specific component categories, please refer to the official documentation for parameter descriptions.
(2) It can also be done through Huami's official dial tool, but it is not suitable for Mi Huan 7 at present, so it needs to be adjusted after finishing. I'll talk about it later
3. Repackage and install:
After all files are modified, recompress them into zip. Then modify the suffix to .bin and install it on the bracelet using the replacement method.
Here is how to install
Dial custom APP installation
【5.19】v4.5.7版本更新日志 1. 【ALL】添加表盘文件大小的提示(旧表盘逐步添加) 2. 【ALL】表盘下载时添加下载进度提示 3. 【8】支持指针表盘的制作,添加大量底包 4. 【7Pro】添加7Pro板块,支持7Pro表盘制作, 支持7Pro表盘安装 https://wwlx.lanzoul.com/i6XYH0wmffwh 表盘自定义工具安卓APP最新版v3.0.1 2023.4.27更新:蓝牙安装支持手动输入蓝牙地址进行连接设备 https://wwlx.lanzoul.com/iaNZm0u3xpna 表盘自定义工具安卓APP最新版v2.7.2...
www.bandbbs.cn
zeppLife replacement method steps
1. First install the Mars dial with zepplife synchronously
2. Then delete this file Android/data/com.xiaomi.hm.health/files/watch_skin_local/BbWEpsCCfyhIZcBWkfbGlGkRTskWxqYZ/BbWEpsCCfyhIZcBWkfbGlGkRTskWxqYZ.bin
3. Move the downloaded bin file to the Android/data/com.xiaomi.hm.health/files/watch_skin_local/BbWEpsCCfyhIZcBWkfbGlGkRTskWxqYZ/ directory and rename it to BbWEpsCCfyhIZcBWkfbGlGkRTskWxqYZ.bin
4. Go to zepplife to install the Mars dial synchronously
END
The attachments put related tools and instance dials!