idevicerestore icon indicating copy to clipboard operation
idevicerestore copied to clipboard

Restore failed with macOS IPSW greater than 15.4 on Apple silicon Mac (M1)

Open raccoon2k opened this issue 8 months ago • 3 comments

When using idevicerestore to restore my Macbook Air M1 with a macOS build version greater than 15.4 (15.4 and 15.4.1), after sending restoreKernelCache, the MacBook restarts into DFU again, therefore the restore process fails.

If using any macOS IPSW before 15.4, the restore process proceeds normally

How should i debug this problem ?

Ubuntu 24.04.2 idevicerestore 1.0.0-231-ga5905b7 (libirecovery 1.2.1-13-g638056a, libtatsu 1.0.4-8-g7e1647b) usbmuxd 1.1.1-69-g523f700

############# ... Sending RestoreSEP (5681746 bytes)... NOTE: No path for component RestoreKernelCache in TSS, will fetch from build_identity Extracting kernelcache.release.mac13g (kernelcache.release.mac13g)... Personalizing IMG4 component RestoreKernelCache... Tag found Sending RestoreKernelCache (29455927 bytes)... DEBUG: Waiting for device to disconnect... irecv_event_cb: device 000e25ec3001e (udid: N/A) disconnected Waiting for device to enter restore mode... irecv_event_cb: device 000e25ec3001e (udid: N/A) connected in DFU mode ERROR: Device failed to enter restore mode.

raccoon2k avatar Apr 17 '25 16:04 raccoon2k

The macOS version is actually 15.4, but I can confirm that it happens for me as well. macOS 15.3.2 is the newest version I can restore.

kFYatek avatar Apr 24 '25 16:04 kFYatek

The macOS version is actually 15.4, but I can confirm that it happens for me as well. macOS 15.3.2 is the newest version I can restore.<

Yeah, I somehow mixed up the macOS version with the iOS version—sorry about that.

raccoon2k avatar Apr 25 '25 03:04 raccoon2k

Can confirm this on M1 Macbook Pro (2020) was able to install macOS 15 (Base) and upgrade to latest version. Anything after 15.4 is borked

WarrtedBubble avatar Jun 13 '25 02:06 WarrtedBubble

I am also experiencing this issue for M1 Mini. Restores on M4 Mini appear to function, though missing the restore progress screen.

zer010gic avatar Jul 22 '25 17:07 zer010gic

I have tested on an M2 Mini, and it works for the M2. So it may be isolated to the M1. I will see if I can do other tests as well.

zer010gic avatar Jul 23 '25 12:07 zer010gic

I have tested on an M2 Mini, and it works for the M2. So it may be isolated to the M1. I will see if I can do other tests as well.

What worked for you can guide please I'm stuck on failed to enter restore mode issue

#746

Abubakar-Waheed avatar Jul 25 '25 20:07 Abubakar-Waheed

I have tested on an M2 Mini, and it works for the M2. So it may be isolated to the M1. I will see if I can do other tests as well.

What worked for you can guide please I'm stuck on failed to enter restore mode issue

#746

Not sure what I am doing differently, I am running it in Arch Linux off a Raspberry Pi. I have used both the AUR install for idevicerestore, as well as compiling versions.

Here are the versions I am running. idevicerestore 1.0.0-232-g8061f08-dirty (libirecovery 1.2.1-13-g638056a, libtatsu 1.0.5) usbmuxd 1.1.1-69-g523f700

zer010gic avatar Jul 27 '25 03:07 zer010gic

I see the same behaviour with current tip of master (2914bf6) on my M1 Air 2020 - 15.3.2 works, any later version fails with the same error

rwalkr avatar Aug 16 '25 13:08 rwalkr

Please re-test with latest code, I pushed a commit that hopefully fixes this.

nikias avatar Sep 06 '25 08:09 nikias

@nikias can you confirm that the fix is related to device failing at exact kernalcache moment and restarting ? My m2 pro is literally dead tried a lot and it always fails at that point like OP here mentioned. In My case no file worked.

#746

Abubakar-Waheed avatar Sep 06 '25 09:09 Abubakar-Waheed

Please re-test with latest code, I pushed a commit that hopefully fixes this.

The error was fixed after updating to the latest commit (Tested using ipsw 15.6.1 on my M1 Mac). Thank you ~

raccoon2k avatar Sep 13 '25 06:09 raccoon2k