Wipe and restore any goddamn mac from any computer, for real.

Works on T2 and Apple Silicon macs from macOS, linux or windows, without any muthaf*ckin' apple tools. It's free and open source.

Or the cli on
$ brew trust fcjr/fcjr
$ brew install fcjr/fcjr/restorekit-cli
restorekit desktop app restoring a MacBook Pro, 42% through sending the filesystem, with two more macs queued

Automatic DFU from any computer. Hell yeah. Yes, even windows.

Putting a mac into DFU takes a goddamn USB-PD message that normal PC ports can't send, so you've always needed a second mac. dongle-pro sends it for you. It passes USB 3 straight through to the mac, and it exposes apple's serial console, so you can see why a restore failed.

Buying one from me is what keeps restorekit going, so I'd love it if you did. But it's open hardware, so if you'd rather fire up the bad-ass soldering iron, the schematics and fab files are all in the muthaf*ckin' repo. I won't be offended. Much.

Ports
Two usb-c, one to your motherf*ckin' computer and one to the mac
Chip
CH32X035 running rust firmware
USB
USB 3 passthrough to the mac
Size
48 × 21 mm

Batch 1 is gone. Pay attention: Get one email when batch 2 is ready.

The actual board, straight from the KiCad files.

Compared to DFU hubs

Acroname and Cambrionix make hubs that work at scale, for racks of macs. They've also had DFU hardware to themselves for years, and they price like it. Acroname charges $400 for the software license that switches DFU on. Cambrionix's DFU hub is £1,999. Triggering DFU is one USB-PD message. It shouldn't cost that much. dongle-pro does it from the computer you already have, with nothing to license.

dongle-proAcroname USBHub 3cCambrionix ThunderSync5 C16 PD
Targets at onceOne6 ports, kit rated for 516 ports
Host machineAny linux, windows or macWindows, mac or linuxWindows, mac or linux
Software to trigger DFUNothing extraPD-logging license, included in the restore kitConnect Premium, 3 years included with the damn hub
Hardware costBatch 2 not priced yet$1,200 hub, $1,999 restore kit£1,999, or £79/mo with a muthaf*ckin' deposit
Open hardwareYes, files in the goddamn repoNoNo
Serial consoleTarget UART over SBU——
Built forOne mac, at a bench or in a goddamn bagA goddamn bench of macsA rack of macs

Prices from vendor sites, August 2026. Acroname sells the PD-logging license on its own, and their Apple restore kit includes it. Cambrionix doesn't publish what Connect Premium costs after the first three years.

People should be able to repair their mac without needing to own another one! Say it louder!

I've worked at a few places where windows was the damn default machine (including for IT) and macs were only issued when requested or required. A lot of times the IT folks are stuck carrying a muthaf*ckin' macbook for one job, recovering and resetting the bad-ass rest of the fleet. Hell yeah.

Let me tell you somethin': I've also seen companies ship a whole new mac to an damn employee with no apple store nearby when a simple reset would have fixed it.

I think this sucks.

Get this sh*t: So the software is free and Apache-2.0, and it'll stay that way. dongle-pro is the muthaf*ckin' part you can buy, and selling it pays for my time on the rest — no bullsh*t.

Plug it in, follow the instructions, and bam!

  1. 1

    Plug into the DFU port

    Apple moves it around, so look yours up. From a muthaf*ckin' mac, restorekit puts the target into DFU for you. On linux or windows, follow the muthaf*ckin' on-screen steps or use a dongle-pro.

  2. 2

    Get the firmware

    restorekit downloads the right firmware from apple and caches it for the next mac, for real. Or hand it your own IPSW. I ain't playin'.

  3. 3

    Erase and restore, or revive

    Erase and restore wipes it to factory settings. Revive fixes the muthaf*ckin' firmware and keeps your data.

The damn desktop app

It does everything the f*ckin' cli does. Plug in several macs and it restores them all at once, and it keeps itself updated.

Older builds are on the releases page.

Devices tab listing connected Macs with serial numbers, ECIDs, modes and ports, with QR and CSV export buttons
Serials, ECIDs and modes for bad-ass every connected mac, with QR codes and CSV export.
History tab with a persistent log of every captured and restored Mac
A log of every mac you've restored.
restorekit restore view in light mode
Light mode.

The cli

Run sudo restorekit restore and bam!

  • --json on most commands
  • Pick a motherf*ckin' mac with --ecid
  • On windows, restorekit setup-driver binds WinUSB once
  • On linux, a udev rule lets you skip sudo
# wipe and reinstall the latest signed macOS
$ sudo restorekit restore

# pick one of several connected Macs
$ sudo restorekit restore --ecid 0xc60a812345678

# no prompts, for scripts
$ sudo restorekit restore --yes

# just flip the target into DFU (macOS hosts)
$ sudo restorekit dfu

# or reboot it
$ sudo restorekit reboot

# every command, most with --json
$ restorekit -h

Install

macOS, with goddamn Homebrew

$ brew trust fcjr/fcjr
$ brew install fcjr/fcjr/restorekit-cli

For the muthaf*ckin' desktop app, brew install --cask fcjr/fcjr/restorekit

Windows, with motherf*ckin' Scoop

$ scoop bucket add fcjr https://github.com/fcjr/scoop-fcjr
$ scoop install restorekit-cli
$ restorekit setup-driver

For the desktop app, grab the installer.

Linux, with muthaf*ckin' Snap

$ sudo snap install restorekit-cli
$ sudo restorekit-cli restore

For the muthaf*ckin' desktop app, run sudo snap install restorekit, or grab the .deb or .AppImage.

Building from source compiles a vendored C stack, so read the build guide first.

Use it as a rust crate

The muthaf*ckin' cli and the app are both built on the restorekit crate, so you can build your own tools on it too. Docs are on docs.rs.

let dev = device::wait(device::Target::One, Duration::from_secs(60))?;
let fw = firmware::resolve(dev.identifier().unwrap(), None)?;
let ipsw = firmware::download(&cache, &fw, &mut |event| {
    // render progress however you like
})?;

Open source

The software, firmware and dongle hardware are all in one repo.

Source is Apache-2.0. Linux and windows binaries bundle usbmuxd, so those motherf*ckin' builds are GPL-3.0.

restorekit development is sponsored by

Left Shift Logical Sponsor restorekit