FM-1 Mac Recovery
Command-line recovery for a bricked FM-1 on macOS: it backs up the whole flash through the chip's USB download mode, then writes M-VAVE's official firmware and boot area from a package you supply, and verifies every write.
by HuskiePJN

- Distribution
- Build from source yourself
- Source
- github.com https://github.com/HuskiePJN/fm1-mac-recovery
- flasher
- loader
- utility
- backup
Description
The tool uses JieLi's own flash loader, fetched by its setup script from jl-uboot-tool and checked by hash, so a Mac needs only a USB-C data cable. The install command reads the flash twice and compares the reads, builds the image over the backup so settings and the unit's factory sector are kept, writes the differing sectors with the boot area last, and checks the whole flash again. It recognises M-VAVE's V15 and V16 packages and refuses other files unless told otherwise, and it accepts the two flash chips found in FM-1 units. The author reports a recovery of a UC25HQ80 unit with V16. The repository has offline tests and notes on the flash layout, and holds no firmware.
Install notes
Needs macOS 12 or newer, Python 3.8 or newer, libusb from Homebrew or MacPorts and a data cable. Download the repository, run setup.sh, put your own FM-1.fwsc from M-VAVE in the folder, put the unit in download mode and run the install command as root. It asks for a typed word before writing and warns that cutting power during the short boot-area write can leave the chip needing hardware recovery. Keep the backups private.
Version history
| Version | Date | Notes |
|---|---|---|
| 1.2.1 | 2026-11-04 | Review pass with clearer error messages, root-owned backups fixed and MacPorts libusb support; the data written is unchanged. |
| 1.2.0 | 2026-11-04 | One install command that backs up, builds the image, writes and verifies in a single connection. |
| 1.1.0 | 2026-11-03 | V16 written and tested on a UC25HQ80 unit, with notes on the two flash chips. |
| 1.0.0 | 2026-11-03 | First public release. |