Repository navigation
FM1Kit 0.5.0
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, andfm1probe devicesand--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.updateCodereads 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 aLeavingRouteto V15, V16, open firmware, other custom firmwares and m-bootloader,warningsto show before installing, and step-by-stepinstructions(to:). It'sCodable, so apps can save it with the FM-1, which also tells TransitFM1 apart from V15.refusesV15OverOtherBootloadersis nowupdateCode == .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, withFM1Identity.officialV16andFM1Identity.isOfficial.OfficialFirmwaregainsidentity,isRedistributable(only V15 may be included in an app; download V16 from M-VAVE) andofficial(V15 and V16).FM1DeviceSummarynames V16, and V16 over V16 is areinstall, as for V15. Tested on hardware in stage R.FlashBackup.firmwarenames V16 ("V16 (FM-1_016)") by itsapp.bin's SHA-256, as read from a real FM-1, instead of "unknown, naming FM-1_016".InstallOptions.confirmsReinstallingOfficialandInstallCheck.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.alreadyInstalledfor V15 now says so, and its advice isconfirm.fm1probe install --reinstall-officialdoes the same.
Changed
FlashPlan.installing(_:onto:includingBootloader:erasingSettings:)is nowinstalling(_:onto:includingBootloader:erasingSavedData:), and erases more: everything from the end of the new image up to0xFBFFF, which covers every saved-data region firmwares declare (VM,BTIF, V15's voice banks inUSR, V16'sSEQ64) 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'sUSRregion that makes V15 play one note at a time, which only this clears (tested on hardware, stage R). It never touches the boot area,0xFC000onwards or the factory data. Installing V15 this way writes its factory voices and the rest of itsUSRdata straight back into the erased voice banks, so it's never silent and needs no voice restore.fm1probe flash-install --erase-settingsis now--erase-saved-data.bootloaderMismatchandrefusesV15OverOtherBootloadersexplain 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.packageRefusedsays firmwares based on Felucca 1.6.1 refuse V16 as well as open firmware, whatever the bootloader (stage R).bootloaderMismatchno longer says download mode keeps the FM-1's bootloader: after V16, V15 is installed there with its own bootloader, fresh.bootloaderMismatchandpackageRefusedname 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 nowchooseAnotherFirmware, notneedsComputer, since the way out works from a phone.fm1probe inspectsuggests MIDIMON 0.4 or LOOM-8 for a firmware that refuses V15.
Fixed
DownloadModeError.accessRefusedpromised 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.refusesV15OverOtherBootloaderswas 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