CLEANSWEEP
Flashable repair utility that erases what other firmwares saved in the FM-1's flash and restores V15's factory voices, so the next firmware starts clean. It makes no sound. Tested on a unit by its author; no release yet.

- Distribution
- Build from source yourself
- License notes
- LICENSE is the MPL-2.0 text. It builds on felucca-bsp and fm1-base (MPL-2.0). Every package carries V15's factory voice and settings data from assets/m-vave/FM-1_015.fwsc, which is M-VAVE's licensed file (git blob ce49cc1595b67347c68a3ac7463017f9fa8c19dd, 699,956 bytes, Apache-2.0 in m-vave/fm1_open) and matches it exactly. The Cooper Hewitt font is SIL OFL 1.1.
- Source
- github.com https://github.com/ocean/cleansweep
- utility
- flasher
- recovery
- platform
Description
Meant for a unit that misbehaves after switching firmware, such as V15 playing one note at a time after M-VAVE's V16, which writes over V15's settings record. On every start it compares the flash from 0x93000 to 0xFBFFF with V15's factory data and erases and rewrites only the sectors that differ, reading each back, while the screen and lights show progress. A power cut is safe because the next start repeats the comparison. It leaves the boot area, its own image and Felucca's store at 0xFC000 and 0xFF000 alone, and clears Bluetooth pairing records, so devices need pairing again. The factory data is taken at build time from M-VAVE's V15 package. The repository's HARDWARE_TESTING.md records runs on a unit from V15, V16 and MIDIMON, through power cuts, and back to V15 and V16. On USB it presents the same IDs as V15. Units with the newer UC25HQ80 flash chip are accepted as well as the first chip. It is a flashable image in its own right, so it is listed as firmware.
Install notes
Not released. uv sync and tools/build.py produce build/cleansweep.fwsc, which any FM-1 installer can write over USB. Run it once, wait for the done screen, then install the firmware you want next. There is no undo for the erase, and it removes sounds, patterns and Bluetooth pairings, so use it only when a firmware misbehaves. The development identity is FM-1_257000.
Version history
| Version | Date | Notes |
|---|---|---|
| main @ 9b5c5c0 | 2026-11-22 | No tagged releases; this is the latest commit. It accepts three more findings in the build image (two in openssl, one in glibc) until 2027-01-15 and does not touch the firmware sources. |
| main @ 8e5eebf | 2026-11-19 | No tagged releases; this is the latest commit. It accepts two more openssl findings in the build image (out-of-sequence DTLS fragments and a DANE client null dereference) and does not touch the firmware sources. |
| main @ b4f5ad0 | 2026-11-18 | No tagged releases; this is the latest commit. It accepts seven more findings in the build image (glibc, openssl and libstdc++) until 2027-01-15 and does not touch the firmware sources. |
| main @ 61d1184 | 2026-11-13 | No tagged releases; this is the latest commit. It accepts two glibc findings in the build image so the supply-chain scan passes, and does not touch the firmware. |
| main @ 041617d | 2026-11-10 | No tagged releases; this is the latest commit. It moves the build image to a newer base image, and the commit message says CLEANSWEEP and its update loader build byte for byte the same with it, so the firmware does not change. |
| main @ 5bb5a33 | 2026-11-10 | No tagged releases; this is the latest commit, which also resets FM-1s with the newer UC25HQ80 flash chip. Since the previous row, the install screen shows at once and stays up while the firmware is written, and the build image tolerates a gcc-14 warning. |