Skip to content

FM1Kit 0.2.0

Choose a tag to compare

@ocean ocean released this 19 Oct 03:46
· 78 commits to main since this release

Custom firmwares can now be reinstalled, or updated to another release that keeps the same identity.

Changed

  • Installing the identity a custom firmware already reports is no longer refused. Felucca's update code, which Estampie inherits, doesn't compare identities, and firmwares that keep one identity across releases are updated this way. The new InstallKind.sameIdentity needs confirming with InstallOptions.confirmsSameIdentity (otherwise FM1UpdateError.sameIdentityNotConfirmed).
  • Only V15 over itself is still refused as reinstall (alreadyInstalled), and open firmware still compares builds.
  • SimulatedFM1.Options.refusesRunningFirmware now applies only to V15.

Source-breaking: the new InstallKind case means exhaustive switches over it need updating.

Tested on hardware

Estampie 0.1 (FM-1_378001) installed over V15 (a firmware switch, 37 s), then over itself (sameIdentity, 31 s). See HARDWARE_TESTING.md.

Using it

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

Full changelog: 0.1.0...0.2.0