Skip to content

Instantly share code, notes, and snippets.

@tstromberg
Created January 9, 2026 19:41
Show Gist options
  • Select an option

  • Save tstromberg/40c334314b5e814132f69d68120243ac to your computer and use it in GitHub Desktop.

Select an option

Save tstromberg/40c334314b5e814132f69d68120243ac to your computer and use it in GitHub Desktop.
Mac Mini M1 - DFU recovery, libusbrestore error:21
default 14:39:12.235748-0500 com.apple.configurator.xpc.DeviceService amai: _CFDictionaryGetBoolean: dict is NULL
default 14:39:12.239752-0500 com.apple.configurator.xpc.DeviceService amai: _CFDictionaryGetBoolean: dict is NULL
default 14:39:12.243392-0500 kernel wlan0:com.apple.p2p: isInfraRealtimePacketThresholdAllowed allowed:1 option:32 threshold:50 noRegistrations:1 cachedPeerCount:0 fastDiscoveryInactive:1 fastDiscoveryOnSince:71552827
default 14:39:12.243427-0500 kernel wlan0:com.apple.p2p: currentInfraTrafficType:9234 checking if realtime upgrade required with inputPackets:54 outputPackets:35 packetThreshold:50
default 14:39:12.244019-0500 com.apple.configurator.xpc.DeviceService amai: _CFDictionaryGetBoolean: dict is NULL
default 14:39:12.248017-0500 com.apple.configurator.xpc.DeviceService amai: _CFDictionaryGetBoolean: dict is NULL
default 14:39:12.251439-0500 com.apple.configurator.xpc.DeviceService amai: _CFDictionaryGetBoolean: dict is NULL
default 14:39:12.254610-0500 com.apple.configurator.xpc.DeviceService amai: _CFDictionaryGetBoolean: dict is NULL
default 14:39:12.257364-0500 com.apple.configurator.xpc.DeviceService amai: _CFDictionaryGetBoolean: dict is NULL
default 14:39:12.260895-0500 com.apple.configurator.xpc.DeviceService DeviceRequest failed: 0xe000404f (IOKit return code). DeviceRequest was index: 0, direction: 0, requestType: 2, recipient: 0, request: 0, value: 0, length: 16, noDataTO: 60000, completionTO: 60000
default 14:39:12.260930-0500 com.apple.configurator.xpc.DeviceService Data was : getenv ota-uuid
default 14:39:12.260983-0500 com.apple.configurator.xpc.DeviceService _AMRUSBDeviceSendDeviceRequestTO_block_invoke: AMRUSBDevice error (-536854449): {
"Error message" = "DeviceRequest failed: 0xe000404f (IOKit return code). DeviceRequest was index: 0, direction: 0, requestType: 2, recipient: 0, request: 0, value: 0, length: 16, noDataTO: 60000, completionTO: 60000";
}
error 14:39:12.260834-0500 kernel AppleUSBIORequest: AppleUSBIORequest::complete: device 1 (Apple Mobile Device (Recovery Mode)@02100000) endpoint 0x00: status 0xe0005000 (pipe stalled): 16 bytes transferred
default 14:39:12.261008-0500 com.apple.configurator.xpc.DeviceService command device request for 'getenv ota-uuid' failed: 2008
default 14:39:12.261029-0500 com.apple.configurator.xpc.DeviceService Failed to copy env variable, error:21
default 14:39:12.261086-0500 com.apple.configurator.xpc.DeviceService DeviceRequest failed: 0xe00002cd (IOKit return code). DeviceRequest was index: 1, direction: 0, requestType: 0, recipient: 1, request: 11, value: 0, length: 0, noDataTO: 5000, completionTO: 0
default 14:39:12.261102-0500 com.apple.configurator.xpc.DeviceService USB device not open
default 14:39:12.261127-0500 com.apple.configurator.xpc.DeviceService _AMRUSBDeviceSendDeviceRequestTO_block_invoke: AMRUSBDevice error (-536870195): {
"Error message" = "DeviceRequest failed: 0xe00002cd (IOKit return code). DeviceRequest was index: 1, direction: 0, requestType: 0, recipient: 1, request: 11, value: 0, length: 0, noDataTO: 5000, completionTO: 0";
}
default 14:39:12.261149-0500 com.apple.configurator.xpc.DeviceService error setting interface's alternate setting: 2001 (expected, not fatal).
default 14:39:12.261054-0500 kernel com.apple.configurator.xpc.Devic@(null): AppleUSBHostUserClient::ControlRequest: intercepting manually crafted SET_INTERFACE request
default 14:39:12.263343-0500 com.apple.configurator.xpc.DeviceService unable to open device_map.txt: No such file or directory
default 14:39:12.263709-0500 com.apple.configurator.xpc.DeviceService _AMRestoreCopyDeviceMapPlistEntryForHardware: firmwareDirectory not in options
default 14:39:12.269517-0500 com.apple.configurator.xpc.DeviceService unable to open device_map.txt: No such file or directory
default 14:39:12.269756-0500 com.apple.configurator.xpc.DeviceService _AMRestoreCopyDeviceMapPlistEntryForHardware: firmwareDirectory not in options
default 14:39:12.269995-0500 com.apple.configurator.xpc.DeviceService DeviceRequest failed: 0xe000404f (IOKit return code). DeviceRequest was index: 0, direction: 0, requestType: 2, recipient: 0, request: 0, value: 0, length: 19, noDataTO: 60000, completionTO: 60000
default 14:39:12.270014-0500 com.apple.configurator.xpc.DeviceService Data was : getenv radio-error
default 14:39:12.270040-0500 com.apple.configurator.xpc.DeviceService _AMRUSBDeviceSendDeviceRequestTO_block_invoke: AMRUSBDevice error (-536854449): {
"Error message" = "DeviceRequest failed: 0xe000404f (IOKit return code). DeviceRequest was index: 0, direction: 0, requestType: 2, recipient: 0, request: 0, value: 0, length: 19, noDataTO: 60000, completionTO: 60000";
}
default 14:39:12.270057-0500 com.apple.configurator.xpc.DeviceService command device request for 'getenv radio-error' failed: 2008
error 14:39:12.269954-0500 kernel AppleUSBIORequest: AppleUSBIORequest::complete: device 1 (Apple Mobile Device (Recovery Mode)@02100000) endpoint 0x00: status 0xe0005000 (pipe stalled): 19 bytes transferred
default 14:39:12.270148-0500 com.apple.configurator.xpc.DeviceService unable to open device_map.txt: No such file or directory
default 14:39:12.270359-0500 com.apple.configurator.xpc.DeviceService <Recovery Mode Device 0x7330a8700>: production fused device
default 14:39:12.270426-0500 com.apple.configurator.xpc.DeviceService unable to open device_map.txt: No such file or directory
default 14:39:12.270642-0500 com.apple.configurator.xpc.DeviceService _AMRestoreCopyDeviceMapPlistEntryForHardware: firmwareDirectory not in options
error 14:39:12.276546-0500 kernel AppleUSBIORequest: AppleUSBIORequest::complete: device 1 (Apple Mobile Device (Recovery Mode)@02100000) endpoint 0x00: status 0xe0005000 (pipe stalled): 12 bytes transferred
default 14:39:12.276587-0500 com.apple.configurator.xpc.DeviceService DeviceRequest failed: 0xe000404f (IOKit return code). DeviceRequest was index: 0, direction: 0, requestType: 2, recipient: 0, request: 0, value: 0, length: 12, noDataTO: 60000, completionTO: 60000
default 14:39:12.276612-0500 com.apple.configurator.xpc.DeviceService Data was : lpolrestore
default 14:39:12.276640-0500 com.apple.configurator.xpc.DeviceService _AMRUSBDeviceSendDeviceRequestTO_block_invoke: AMRUSBDevice error (-536854449): {
"Error message" = "DeviceRequest failed: 0xe000404f (IOKit return code). DeviceRequest was index: 0, direction: 0, requestType: 2, recipient: 0, request: 0, value: 0, length: 12, noDataTO: 60000, completionTO: 60000";
}
default 14:39:12.276655-0500 com.apple.configurator.xpc.DeviceService command device request for 'lpolrestore' failed: 2008
default 14:39:12.276671-0500 com.apple.configurator.xpc.DeviceService device rejected local policy (21)
default 14:39:12.276854-0500 com.apple.configurator.xpc.DeviceService <Recovery Mode Device 0x7330a8700>: Recovery mode failed (result = 21)
default 14:39:12.276878-0500 com.apple.configurator.xpc.DeviceService Failed to restore device in recovery mode, libusbrestore error:21
default 14:39:12.276993-0500 com.apple.configurator.xpc.DeviceService State Machine Dump, status:ERROR - [state:Recovery remaining-cycles:1 (current state)] -> [state:RestoreOS remaining-cycles:1]
default 14:39:12.277071-0500 com.apple.configurator.xpc.DeviceService State is now set to error: Failed to restore device in recovery mode, libusbrestore error:21
default 14:39:12.277090-0500 com.apple.configurator.xpc.DeviceService Device isn't booted but USB is up.
default 14:39:12.277251-0500 com.apple.configurator.xpc.DeviceService Can't set NULL log URL for log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment