Before you flash
Back up first
Skip this step if you have flashed before. If this is your first time, keep a "Save Full Flash" backup from https://xteink.dve.al/.
Use a data USB-C cable
Connect the Xteink X4 to your computer. If no serial port appears, wake and unlock the device, then reconnect it.
Use Chrome or Edge on desktop
Firefox and Safari do not support Web Serial. The browser will ask you to choose the ESP32-C3 USB serial port.
Do not unplug while flashing
The page validates the partition table, writes the inactive OTA app slot, updates otadata, and resets the device when it finishes.