Reformat modern Apple products from any platform.

Wipe, revive or obliterate T2 and Apple Silicon macs, iPhones and iPads from macOS, linux or windows, without Apple Configurator or iTunes. 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 No second mac for DFU. dongle-pro puts a mac into DFU from any computer, even windows. Join the batch 2 list

Automatic DFU for macs from any computer. Yes, even windows.

Putting a mac into DFU takes a USB-PD message that normal PC ports can't send, so you've always needed a second mac. dongle-pro sends it for you, passes USB 3 straight through to the mac, and exposes apple's serial console so you can see why a restore failed. (iPhones and iPads don't need one, they enter recovery over regular USB.)

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 soldering iron, the schematics and fab files are all in the repo. I won't be offended. Much.

Ports
Two usb-c, one to your 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. 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 hub
Hardware costBatch 2 not priced yet$1,200 hub, $1,999 restore kit£1,999, or £79/mo with a deposit
Open hardwareYes, files in the repoNoNo
Serial consoleTarget UART over SBU——
Built forOne mac, at a bench or in a bagA 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.

What it works with

Everything runs on a self-contained stack built with rust, libirecovery and idevicerestore, straight over USB from macOS, linux or windows.

Devices

Apple Silicon macs
Every M1 through M6 model, including MacBook Air, MacBook Pro, MacBook Neo, iMac, Mac mini, Mac Studio and Mac Pro. Full macOS erase and restore, revive and obliterate.
T2 Intel macs
Every Intel mac with an Apple T2 chip. Restores and revives bridgeOS over DFU.
iPhones and iPads
Every Lightning and USB-C model apple still signs iOS or iPadOS firmware for. Restores from recovery or DFU, and takes running devices into recovery over USB.
Host platforms
macOS, linux and windows, with no Apple Configurator, iTunes or Finder. Windows sets up WinUSB automatically; linux ships a udev rule and bundles usbmuxd.

Restore modes

  • Erase and restore. Wipes the device back to factory settings and installs the latest signed macOS, iOS or iPadOS, a pinned version, or a local IPSW.
  • Revive. Reinstalls firmware without erasing user data, to recover a device stuck after a failed update.
  • Obliterate. Destroys the Secure Enclave encryption key and stops without reinstalling the OS. Takes about 30 seconds instead of 15 to 30 minutes, for fast decommissioning wipes.
  • Verified wipe logs. Checks the device's format_effaceable_storage checkpoint on every erase or obliterate, logs the verdict and checkpoints to history, and exports CSV.

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

I've worked at a few places where windows was the 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 macbook for one job, recovering and resetting the rest of the fleet.

I've also seen companies ship a whole new mac to an employee with no apple store nearby when a simple reset would have fixed it.

I think this sucks.

It started with macs, and now it handles iPhones and iPads too, without Apple Configurator or iTunes. The software is free and Apache-2.0, and it'll stay that way. dongle-pro is the part you can buy, and selling it pays for my time on the rest.

Plug it in, follow the instructions, and bam!

  1. 1

    Put it in DFU or recovery

    For a mac, plug into its DFU port. A mac host triggers DFU automatically; on linux or windows, follow the on-screen combo or use a dongle-pro. For an iPhone or iPad, plug into any port and restorekit puts a running device into recovery for you (tap Trust once, or pass a supervision identity to skip it).

  2. 2

    Get the firmware

    restorekit downloads the latest signed macOS, bridgeOS, iOS or iPadOS firmware from apple and caches it locally so you only pull each IPSW once. You can also pin an OS version or pass a local IPSW.

  3. 3

    Erase, revive or obliterate

    Erase and restore wipes it to factory settings. Revive reinstalls firmware and keeps your data. Obliterate shreds the encryption key in about 30 seconds without reinstalling the OS.

The desktop app

It wraps everything the cli does in one standalone macOS, linux and windows app. Connect macs, iPhones and iPads, restore several at once in parallel against one shared firmware cache, manage dongles and update their firmware over USB, and let the app update itself.

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 every connected mac, iPhone and iPad, with inline QR codes, all-seen history and CSV export.
History tab with a persistent log of every captured and restored Mac
A persistent log of every restore and wipe, with encryption-key checkpoints.
restorekit restore view in light mode
Light mode.

The cli

Run sudo restorekit restore and bam!

  • --json on most commands, plus list --watch for live monitoring
  • Pick any device with --ecid, pin firmware with --os-version or --ipsw
  • Take a running iPhone or iPad to recovery with recovery, or skip Trust with --supervisor
  • Stream a mac's debug UART with serial, or manage dongles with dongle update and replug
  • On windows, restorekit setup-driver binds WinUSB once. On linux, a udev rule lets you skip sudo.
# wipe and reinstall the latest signed OS
$ sudo restorekit restore

# revive without erasing user data
$ sudo restorekit revive

# shred the encryption key in ~30s without reinstalling the OS
$ sudo restorekit obliterate --yes

# restore a specific mac, iPhone or iPad by ECID
$ sudo restorekit restore --ecid 0xc60a812345678

# take a supervised iPhone or iPad to recovery without tapping Trust
$ restorekit recovery --supervisor identity.p12

# watch connected devices, or trigger mac DFU (mac host or dongle)
$ restorekit list --watch
$ sudo restorekit dfu

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

Install

macOS, with Homebrew

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

For the desktop app, brew install --cask fcjr/fcjr/restorekit or grab the .dmg.

Windows, with Scoop

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

No iTunes or Apple Devices needed. For the desktop app, grab the installer.

Linux, with Snap

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

For the 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 desktop app and cli are thin shells over the restorekit crate. Device discovery, DFU triggering, iOS recovery entry, firmware caching and restore, revive and obliterate are all exposed through a callback API. 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| {
    // download progress, cache hits, checksum verification
})?;
restore::restore(&ipsw, dev.ecid.unwrap(), Some(&cache), Mode::Erase, false, &mut |event| {
    // restore steps, wipe checkpoints, obliteration verdict
})?;

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 builds are GPL-3.0.

restorekit development is sponsored by

Left Shift Logical Sponsor restorekit