FM-1 XIAO Wi-Fi Recovery
Adaptation of the ESP32-S3 FM-1 unbrick tool for a battery-powered XIAO ESP32-S3 Sense that reaches the FM-1's chip ROM through its USB pads and takes commands from a Python client over Wi-Fi, to restore stock V15 on a unit that no longer shows on USB.
by SenseOfHumor

- Distribution
- Build from source yourself
- Requires stock
- V15
- License notes
- The LICENSE file is MIT with copyright lines for the adaptation and for portions taken from dag, kurogedelic's FM-1 Transporter, MvaveFM1Unbricker and jl-uboot-tool. The JieLi loader blob is fetched by script from jl-uboot-tool and checked by SHA-256; the docs call it proprietary third-party material that is not committed. No stock firmware image is committed.
- Source
- github.com https://github.com/SenseOfHumor/fm1-xiao-esp32s3-unbrick-over-wifi
- recovery
- flasher
- loader
- backup
- utility
Description
The ESP32-S3 sends the ROM boot key on the native USB pins, becomes a USB host to the FM-1 and passes JieLi loader commands that a computer script sends over an authenticated TCP link instead of a serial cable. The workflow makes two matching full reads and an independent copy before an offline plan is reviewed, then writes only the application area of V15 and verifies it. Head writes, OTA cleanup, factory reset and V16 restoration are not offered. The README reports one restoration on 2026-11-21 and says it is a single hardware case, not a guarantee, and gives wiring with no VBUS connection. It builds on dagnazty's ESP32 port, FM-1 Transporter, MvaveFM1Unbricker and jl-uboot-tool, and the repository is not a GitHub fork.
Install notes
Build with ESP-IDF 5.4.1 and flash the XIAO, wire only D+, D- and ground to a USB-C breakout, and run the Python client after reading docs/WIRING.md and docs/RECOVERY_SAFETY.md. The README tells the user to start read-only, keep two matching original reads, and to supply the stock V15 package. The tool does not write the boot head or data above the application.
Version history
| Version | Date | Notes |
|---|---|---|
| main @ 02094e2 | 2026-11-21 | No tagged releases; this is the latest commit. |