Skip to content

FM1Kit 0.5.0

Choose a tag to compare

@ocean ocean released this 02 Nov 11:13
· 55 commits to main since this release

M-VAVE's V16, a guide to switching away from each firmware, and a fresh start that clears every firmware's saved data, all tested on an FM-1 in stage R. It also includes 0.5.0-beta.1's choice of device, which has been tested only with simulated devices so far.

Added

  • From 0.5.0-beta.1: choosing a device when more than one is connected (FM1Updater.devices(), FM1Updater(transport:timing:device:), FM1Advice.Action.chooseDevice, and fm1probe devices and --device). It's tested with simulated devices only so far.
  • LeavingGuide: how to switch away from a firmware, worked out from its package before it's installed. FwscPackage.updateCode reads how the firmware installs others (UpdateCode: M-VAVE's, Felucca's original or fixed check, V15 recognised by hash, or a loader of its own), and the guide combines it with the FM-1's bootloader (FM1BootArea) to give a LeavingRoute to V15, V16, open firmware, other custom firmwares and m-bootloader, warnings to show before installing, and step-by-step instructions(to:). It's Codable, so apps can save it with the FM-1, which also tells TransitFM1 apart from V15. refusesV15OverOtherBootloaders is now updateCode == .feluccaOriginalCheck. Stage R confirmed its routes to and from V16 on hardware.
  • OfficialFirmware.v16: M-VAVE's V16 (FM-1_016), which their downloads page has served since 21 October 2026, with FM1Identity.officialV16 and FM1Identity.isOfficial. OfficialFirmware gains identity, isRedistributable (only V15 may be included in an app; download V16 from M-VAVE) and official (V15 and V16). FM1DeviceSummary names V16, and V16 over V16 is a reinstall, as for V15. Tested on hardware in stage R.
  • FlashBackup.firmware names V16 ("V16 (FM-1_016)") by its app.bin's SHA-256, as read from a real FM-1, instead of "unknown, naming FM-1_016".
  • InstallOptions.confirmsReinstallingOfficial and InstallCheck.canReinstallOfficial: installing M-VAVE's official firmware (V15) on an FM-1 that reports its identity, once the person confirms it's running a firmware that reports it on purpose, such as TransitFM1. Without it, FM1Kit couldn't take an FM-1 from TransitFM1 back to V15. alreadyInstalled for V15 now says so, and its advice is confirm. fm1probe install --reinstall-official does the same.

Changed

  • FlashPlan.installing(_:onto:includingBootloader:erasingSettings:) is now installing(_:onto:includingBootloader:erasingSavedData:), and erases more: everything from the end of the new image up to 0xFBFFF, which covers every saved-data region firmwares declare (VM, BTIF, V15's voice banks in USR, V16's SEQ64) and what they leave outside them, so the new firmware starts from its defaults instead of meeting another firmware's leftovers. V16 leaves data in V15's USR region that makes V15 play one note at a time, which only this clears (tested on hardware, stage R). It never touches the boot area, 0xFC000 onwards or the factory data. Installing V15 this way writes its factory voices and the rest of its USR data straight back into the erased voice banks, so it's never silent and needs no voice restore. fm1probe flash-install --erase-settings is now --erase-saved-data.
  • bootloaderMismatch and refusesV15OverOtherBootloaders explain that V16 brings a different bootloader from V15, so firmwares with Felucca's original check refuse V16 on an FM-1 with V15's bootloader, and V15 once V16's is installed.
  • packageRefused says firmwares based on Felucca 1.6.1 refuse V16 as well as open firmware, whatever the bootloader (stage R). bootloaderMismatch no longer says download mode keeps the FM-1's bootloader: after V16, V15 is installed there with its own bootloader, fresh.
  • bootloaderMismatch and packageRefused name MIDIMON 0.4 as well as LOOM-8 as the firmware to install first, and put that before download mode: a firmware with Felucca's original check takes either, and they take V15 and open firmware (tested on hardware). Their advice is now chooseAnotherFirmware, not needsComputer, since the way out works from a phone.
  • fm1probe inspect suggests MIDIMON 0.4 or LOOM-8 for a firmware that refuses V15.

Fixed

  • DownloadModeError.accessRefused promised that macOS would ask to allow access to a removable volume. macOS asks only a program in the logged-in person's session; a launchd helper is refused without being asked, whatever its Full Disk Access.
  • refusesV15OverOtherBootloaders was true for Quixotic7's TransitFM1 and RemoteFM1. They install every package with a loader of their own, with no boot-area compare, so they take V15 whatever the bootloader (though not open firmware).

Using it

.package(url: "https://github.com/ocean/FM1Kit.git", .upToNextMinor(from: "0.5.0")),

Full changelog: 0.4.5...0.5.0