Browser-based installer

Flash CPR-vCodex

Install the latest CPR-vCodex firmware on your Xteink X4 from Chrome or Edge using Web Serial. It writes the inactive app partition and then switches boot to it.

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.

Manual PlatformIO flash

For development builds, clone the repo, set the upload port, then use PlatformIO.

git clone https://github.com/franssjz/cpr-vcodex.git
cd cpr-vcodex

pio run -e gh_release -t upload