libimobiledevice / idevicerestore

Restore/upgrade firmware of iOS devices
https://libimobiledevice.org
GNU Lesser General Public License v3.0
1.35k stars 396 forks source link

Unable to restore MacBookPro18,1 M1 Pro 2021 #636

Closed VladCreator closed 5 months ago

VladCreator commented 5 months ago

MacBookPro18,1.txt

This error happens when I'm trying to restore the M1 MacBookPro18,1

I'm using the next command: _sudo idevicerestore UniversalMac_14.5_23F79Restore.ipsw --debug

Sending RestoreKernelCache (27784805 bytes)... DEBUG: Waiting for device to disconnect... irecv_event_cb: device 001c103a2206801e (udid: N/A) disconnected Waiting for device to enter restore mode... irecv_event_cb: device 001c103a2206801e (udid: N/A) connected in Recovery mode ERROR: Device failed to enter restore mode. Please make sure that usbmuxd is running.

Before a ran on another console: sudo usbmuxd -f

Could you help me?

VladCreator commented 5 months ago

It was my mistake.

I was compiling https://github.com/libimobiledevice/libusbmuxd instead of https://github.com/libimobiledevice/usbmuxd

When I compile https://github.com/libimobiledevice/usbmuxd, it works.

Now can restore correctly.