Home / Blog / FujiKit – Open-source Fujifilm X-series protocol spec,…
Tech News

FujiKit – Open-source Fujifilm X-series protocol spec, Swift SDK, and CLI

Photographers can inspect every slot with fuji show, take a timestamped backup with fuji backup, and load recipes from JSON files with fuji load.

By Dillip Chowdary • Nov 30, 2026 • Source: github.com

FujiKit – Open-source Fujifilm X-series protocol spec, Swift SDK, and CLI
Image: github.com

At a glance

Product
FujiKit (macOS CLI fuji, Swift SDK)
Version
0.1.0
Price
Free, MIT license
Platform
iOS 18+, macOS 15+
Slot support
C1–C7 custom film simulation slots
Test suite
360+ offline tests, no camera required

A developer going by maam00 has published FujiKit on GitHub, an open-source Swift SDK, macOS command-line tool, and wire protocol reference for Fujifilm X-series cameras. The project lets photographers manage custom film simulation slots, pull photos over Wi-Fi, and drive in-camera RAW conversion — all without installing Fujifilm's own XApp or any third-party dependencies.

This piece covers everything FujiKit can do, how its safety architecture works, which camera bodies are supported, how developers can embed it in their own Swift apps, and what the bundled wire protocol spec offers to anyone building Fujifilm tooling in any language.

01Backup, write, and preview seven custom film slots

FujiKit's headline feature is full control over the C1–C7 custom film simulation slots on compatible Fujifilm cameras over USB. Photographers can inspect every slot with fuji show, take a timestamped backup with fuji backup, and load recipes from JSON files with fuji load. The tool backs up all seven slots before every write and reads back every property afterward to confirm the camera accepted the change.

The fuji look-live command applies a recipe to the camera's live state without touching any saved C1–C7 slot, making it safe to preview looks before committing them. A paired fuji look-restore command returns the camera to a snapshot taken before the preview. This non-destructive preview path is entirely separate from the slot-write path.

Wireless photo import works through a BLE wake followed by a camera Wi-Fi session. Running fuji import-wifi --last 10 pulls the ten most recent full-size images without requiring Fujifilm's XApp or any proprietary companion software.

02In-camera RAW conversion using the hardware X-Processor

FujiKit can render a RAF file by sending it through the camera's own X-Processor over USB rather than relying on a software demosaicing library. The command fuji rawconv DSCF0001.RAF --recipe examples/recipes/classic-chrome-day.json submits the file and recipe to the camera's on-board hardware engine and retrieves the result. The conversion never touches C1–C7 slots.

The D185 profile module (FujiRawConverter, D185Profile) handles the PTP opcodes needed to initiate and complete the USB conversion session. Because the render happens inside the camera, the film simulation output is identical to what the body would produce natively.

A secondary read-only command, fuji settings-probe backup.dat, lets users inspect any FUJIFILMX-BACKUP .dat file offline without connecting a camera. This covers situations where someone wants to audit a settings file before restoring it.

03Four non-negotiable safety invariants enforced in code

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

FujiKit's author describes writing to camera settings as carrying real risk if done carelessly, so four safety rules are enforced architecturally rather than relying on documentation alone. All import transports are wrapped in a ReadOnlyPTP layer that throws an exception before transmitting any destructive opcode — DeleteObject, FormatStore, SendObject, and similar commands are blocked outright.

Every write operation — load and qualify-usb both — snapshots all seven slots first and refuses to continue if any single slot fails to read. A byte-level RestoreGuard checks that only the targeted slot bytes and the 16-bit checksum at offset 0x108 changed relative to a fresh backup taken from the same camera serial number.

The fourth invariant addresses a specific hardware quirk: a 0x2001 OK PTP response from the camera is never accepted as confirmation. Every written property is read back independently, with explicit handling for cases like the Grain Off setting returning values 6 or 7 instead of the value that was written.

04Verified hardware support and a community qualification path

Slot writes are allowlisted by exact model and firmware version; FujiKit does not guess wire encodings on untested hardware. On firmware 1.10, the X100VI is fully verified for USB reads, USB slot writes with exact restore and restart, and basic BLE plus Wi-Fi JPEG pull. BLE-modified writes on the X100VI are marked experimental and limited to a lab environment.

BodyFirmwareUSB Read / BackupUSB Slot WritesBLE / Wi-Fi Import
X100VI1.10VerifiedVerifiedVerified
X100VI1.30+SupportedReady to qualifySecure BLE implemented, untested
X-T5, X-T50, X-E5, X-M5, GFXAnyRead-only probeCommunity PRs welcome—

Owners of an X100VI on firmware 1.30+, an X-T5, X-T50, X-E5, X-M5, or GFX body can submit qualification data by running fuji qualify-usb --qualify-unverified-firmware --out my-camera-record.json. The command tests C7 only, backs up first, verifies the readback, and restores the original slot before exiting — the two-minute process produces a JSON record suitable for opening a compatibility issue on GitHub.

05Pure Swift 6 SDK and a full wire protocol reference for toolmakers

Developers can add FujiKit as a Swift Package Manager dependency starting at version 0.1.0. The package requires iOS 18 or macOS 15, uses only Apple frameworks — ImageCaptureCore, CoreBluetooth, Network, and Foundation — and carries no .unsafeFlags. A MockCameraLink() class mirrors the full CameraLink API so unit tests and Xcode Previews work without physical hardware, and the full offline test suite covers 360-plus tests.

The bundled docs/FUJIFILM-PROTOCOL.md documents USB PTP registers D18C through D1A4, Bluetooth LE GATT tables including basic four-byte key pairing and the 1.30+ secure bonding flow with its f557d96b status echo, the FUJIFILMX-BACKUP binary layout from 0xF800 to 0x11000, and the Wi-Fi PTP/IP gallery session handshake. Every fact in the spec carries one of four evidence tags: VERIFIED-HW, CODE, CITED, or HYPOTHESIS.

The project is MIT licensed and credits several prior open-source efforts — FilmKit, fuji-bridge, libfuji, furble, fffw, and helios — with full upstream licenses in THIRD_PARTY_NOTICES.md. FujiKit is an independent project and is not affiliated with or endorsed by FUJIFILM Corporation.

Frequently asked questions

What cameras does FujiKit support for slot writes?

USB slot writes are fully verified on the X100VI running firmware 1.10. The X100VI on firmware 1.30+ is ready to qualify via fuji qualify-usb. The X-T5, X-T50, X-E5, X-M5, and GFX bodies are limited to read-only probe operations until community PRs add write support.

Does FujiKit require Fujifilm's XApp to import photos over Wi-Fi?

No. FujiKit wakes the camera over Bluetooth LE and then pulls full-size images directly over the camera's Wi-Fi using its own PTP/IP transport, with no dependency on XApp or any other third-party software.

Is it safe to use FujiKit for slot writes — can it brick a camera?

FujiKit enforces four code-level safety invariants: all imports are read-only, every write is preceded by a full seven-slot backup, a byte-level RestoreGuard checks that only targeted bytes changed, and every written property is read back and verified before the operation is considered complete.

What programming languages can use the wire protocol reference?

The docs/FUJIFILM-PROTOCOL.md spec is language-agnostic and is explicitly aimed at developers working in Swift, Rust, Python, Go, or C++.

How do I install FujiKit on macOS?

Clone the repository and run make install, or use the included Homebrew formula at Formula/fuji.rb for tap distribution.

Sources

Dillip Chowdary

Author

Dillip Chowdary

Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.

Related on Tech Bytes

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →