Installation
Web Installer
- Download the
firmware-*.binfile for the build variant of your choosing from the releases page. - Connect your Xteink X4 or X3 to your computer via USB-C and wake/unlock the device.
- Go to https://crosspointreader.com/#flash-tools and choose your device.
- Select Custom .bin from the options.
- Choose the
firmware-*.binfile you downloaded and click Flash.
To revert back to the official firmware, flash the latest official firmware from https://crosspointreader.com/#flash-tools.
Command Line
These instructions are for macOS and Linux. Windows users should use the web installer.
Install esptool:
pip3 install esptool
Download the firmware-*.bin file from the releases page, then connect your device with USB-C.
Find the device port:
# Linux
dmesg | grep tty
# macOS
ls /dev/cu.*
Flash the firmware:
# Linux
esptool.py --chip esp32c3 --port /dev/ttyACM0 --baud 921600 write_flash 0x10000 /path/to/firmware.bin
# macOS
esptool.py --chip esp32c3 --port /dev/cu.usbmodem2101 --baud 921600 write_flash 0x10000 /path/to/firmware.bin
Replace the port and firmware path with your actual values.