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.
$ brew trust fcjr/fcjr $ brew install fcjr/fcjr/restorekit-cli
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.
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-pro | Acroname USBHub 3c | Cambrionix ThunderSync5 C16 PD | |
|---|---|---|---|
| Targets at once | One | 6 ports, kit rated for 5 | 16 ports |
| Host machine | Any linux, windows or mac | Windows, mac or linux | Windows, mac or linux |
| Software to trigger DFU | Nothing extra | PD-logging license, included in the restore kit | Connect Premium, 3 years included with the hub |
| Hardware cost | Batch 2 not priced yet | $1,200 hub, $1,999 restore kit | £1,999, or £79/mo with a deposit |
| Open hardware | Yes, files in the repo | No | No |
| Serial console | Target UART over SBU | — | — |
| Built for | One mac, at a bench or in a bag | A bench of macs | A 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_storagecheckpoint 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
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
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
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.
The cli
Run sudo restorekit restore and bam!
--jsonon most commands, pluslist --watchfor live monitoring- Pick any device with
--ecid, pin firmware with--os-versionor--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 withdongle updateandreplug - On windows,
restorekit setup-driverbinds WinUSB once. On linux, a udev rule lets you skipsudo.
# 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.
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.
Sponsor a certified erasure report
Erase and obliterate already shred the Secure Enclave encryption key and log the device's format_effaceable_storage checkpoint, but certifications like ADISA need paid lab time. If your org needs certified erasure, sponsor the lab time and the report is public for everyone.
