Skip to content

Xiaomi Watch Windows based emulator, for watchfaces and apps

Notifications You must be signed in to change notification settings

m0tral/MiWatchEmulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

MiWatchEmulator

Description

Xiaomi Watch Windows based emulator, for watchfaces and apps

This emulator allows test and debug as ready watchfaces as ready apps.
All is prepared, so just unpack and run.
Tested under Windows 10 and 11.

Ready sizes are:

  • Redmi Watch 4
  • Redmi WAtch 5
  • Xiaomi Watch S3 (S1, S2, S4 compatible)

Will add Mb8Pro/Mb9Pro soon

emulator RedmiWatch4

Steps how to install a watchface automatically

Run the emulator, and make build in Easyface
Latest compiler push it automatically

Steps how to install a watchface manually

To interact with emulator system inside you should use adb command, provided in pack

1. Validate a list of installed watchfaces

adb shell ls -l /data/app/watchface/market

2. Create a dir for new watchface

adb shell mkdir /data/app/watchface/market/362700xxx

where should be ID of watchface, make it unique to avoid conflicts

3. Upload a watchface file

adb push d:\faces\resource.bin /data/app/watchface/market/362700xxx

you have to change it in watchface file header too, in any hex editor ID,
or take it from admin panel with ready ID

4. Delete a watchfaces description

adb shell rm /data/app/watchface/watchface_list.json

5. Reboot watch to force create a new watchfaces list

adb shell reboot

Additional commands

Set a desired system language

It has CN by default, I switchded all images on EN,
once switched it say stored forever, setprop command use internal Key/Value storage

adb shell setprop persist.locale ru_RU
adb shell setprop persist.locale es_ES

the watch emulator supports 30 locales

Set a desired date and time

adb shell reboot

Take a generated watchface preview from emulator

adb pull /data/app/watchface/market/362700xxx/preview.bin d:\faces\face_preview.bin

Take a screenshot

adb shell dd if=/dev/fb0 of=/data/fb_dump.bin
adb pull /data/fb_dump.bin d:\faces\screenshot.bin

I've created a CLI util which makes it automatically and create ready .bmp file MiWatchEmuScreenshot

About

Xiaomi Watch Windows based emulator, for watchfaces and apps

Resources

Stars

Watchers

Forks

Packages

No packages published