Xiaomi Mi Smart Clock (xiaomi-x04g)
Appearance
| This device has been tested with postmarketOS, but its device package has not yet been added to the postmarketOS repositories. This means that it cannot be selected in pmbootstrap. |
|
Xiaomi Mi Smart Clock Xiaomi Mi Smart Clock | |
| Manufacturer | Xiaomi |
|---|---|
| Name | Mi Smart Clock |
| Codename | xiaomi-x04g |
| Model | X04G |
| Released | 2021 |
| Type | watch |
| Hardware | |
| Chipset | MediaTek MT8167 |
| CPU | Quad-core Cortex-A35 @ 1.5 GHz |
| GPU | Imagination PowerVR GE8300 |
| Display | 800x480 |
| Storage | 4GB eMMC |
| Memory | 1GB DDR3 (Single channel) |
| Architecture | aarch64 |
| Software | |
Original software The software and version the device was shipped with. |
Android Things 10 |
Extended version The most recent supported version from the manufacturer. |
Android Things |
| postmarketOS | |
| Category | testing |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
pmOS kernel The kernel version that runs on the device's port. |
6.11-rc4 |
Flashing Whether it is possible to flash the device with pmbootstrap flasher. |
Works
|
|---|---|
USB Networking After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system). |
Works
|
Internal storage eMMC, SD cards, UFS... |
Works
|
Screen Whether the display works; ideally with sleep mode and brightness control. |
Untested
|
Touchscreen |
Untested
|
| Multimedia | |
3D Acceleration |
Untested
|
Audio Audio playback, microphone, headset and buttons. |
Untested
|
| Connectivity | |
WiFi |
Untested
|
Bluetooth |
Untested
|
| Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Untested
|
| Sensors | |
Ambient Light Measures the light level; used for automatic screen dimming in many interfaces. |
Untested
|
Proximity |
Untested
|
Contributors
Users owning this device
How to enter flash mode
- Start mtkclient on your host
- Hold the volume up (+) button, then plug in the micro-USB cable from your host to the clock
Installation
Use pmbootstrap to build your own installation image.
Partition layout
1: proinfo 2: nvram 3: persist 4: seccfg 5: lk 6: lk2 7: boot 8: recovery 9: para 10: logo 11: dtbo 12: expdb 13: frp 14: tee1 15: tee2 16: kb 17: dkb 18: md_udc 19: metadata 20: nvdata 21: vbmeta 22: vbmeta_system 23: vbmeta_vendor 24: super 25: cache 26: userdata
UART
The smart clock has UART pins. It uses a baud rate of 921600. The pin labelled TP30 is TX, TP29 is RX. They are located on the back of the board.
Bootloader log
Bootloader log