Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2020 M1 Macbook Air fails to enter restore mode #684

Closed
bms-1984 opened this issue Sep 30, 2024 · 1 comment
Closed

2020 M1 Macbook Air fails to enter restore mode #684

bms-1984 opened this issue Sep 30, 2024 · 1 comment

Comments

@bms-1984
Copy link

I noticed in the latest commit you started calling this an image personalization error, which is eerily reminding me of the original reason I'm trying to do a restore (image personalization error in software update) Anyway, does anyone actually know what this means/what I might be able to do about it?

/usr/local/bin/idevicerestore -e -d UniversalMac_15.0_24A335_Restore.ipsw 
idevicerestore 1.0.0-219-g511261e (libirecovery 1.2.0-6-gd55c5f8, libtatsu 1.0.3-6-g263f3b3)
irecv_event_cb: device 001c541236d2001e (udid: N/A) connected in DFU mode
Found device in DFU mode
ECID: 7973736553775134
Identified device as j313ap, MacBookAir10,1
Device Product Version: N/A
Device Product Build: N/A
Extracting BuildManifest from IPSW
IPSW Product Version: 15.0
IPSW Product Build: 24A335 Major: 24
Device supports Image4: true
Variant: Customer Erase Install (IPSW)
This restore will erase all device data.
Performing macOS restore
################################ [ WARNING ] #################################
# You are about to perform an *ERASE* restore. ALL DATA on the target device #
# will be IRREVERSIBLY DESTROYED. If you want to update your device without  #
# erasing the user data, hit CTRL+C now and restart without -e or --erase    #
# command line switch.                                                       #
# If you want to continue with the ERASE, please type YES and press ENTER.   #
##############################################################################
> YES
Checking IPSW for required components...
All required components found in IPSW
Getting ApNonce in dfu mode... 79 56 83 f8 3c 4e 80 75 cc 65 9a f3 b5 63 cb b6 1e 4c 54 19 f9 10 54 db a4 6d 6c 2c bd 25 ef 1c 
Trying to fetch new SHSH blob
Getting SepNonce in dfu mode... 23 75 ba 86 05 18 c3 14 df 13 8c 0f 63 de 1b 96 be f2 6f 05 
Received SHSH blobs
Getting SepNonce in dfu mode... 23 75 ba 86 05 18 c3 14 df 13 8c 0f 63 de 1b 96 be f2 6f 05 
Received SHSH blobs
Getting SepNonce in dfu mode... 23 75 ba 86 05 18 c3 14 df 13 8c 0f 63 de 1b 96 be f2 6f 05 
Received SHSH blobs
NOTE: No path for component iBSS in TSS, will fetch from build_identity
Extracting iBSS.j313.RELEASE.im4p (Firmware/dfu/iBSS.j313.RELEASE.im4p)...
Personalizing IMG4 component iBSS...
Tag found
Sending iBSS (736479 bytes)...
[==================================================] 100.0%
Waiting for device to disconnect...
irecv_event_cb: device 001c541236d2001e (udid: N/A) disconnected
Waiting for device to reconnect...
irecv_event_cb: device 001c541236d2001e (udid: N/A) connected in Recovery mode
Nonce: 79 56 83 f8 3c 4e 80 75 cc 65 9a f3 b5 63 cb b6 1e 4c 54 19 f9 10 54 db a4 6d 6c 2c bd 25 ef 1c 
Personalizing IMG4 component Ap,LocalPolicy...
Tag found
Sending Ap,LocalPolicy (3041 bytes)...
[==================================================] 100.0%
INFO: executing command: lpolrestore
iBoot boot-stage=1
DEBUG: Ap,RestoreCIO is loaded by iBoot Stage 1 and iBoot.
NOTE: No path for component Ap,RestoreCIO in TSS, will fetch from build_identity
Extracting t8103ciofw.im4p (Firmware/t8103ciofw.im4p)...
Personalizing IMG4 component Ap,RestoreCIO...
Tag found
Sending Ap,RestoreCIO (173306 bytes)...
[==================================================] 100.0%
INFO: executing command: firmware
DEBUG: Ap,RestoreTMU is loaded by iBoot Stage 1 and iBoot.
NOTE: No path for component Ap,RestoreTMU in TSS, will fetch from build_identity
Extracting t8103tmufw.im4p (Firmware/t8103tmufw.im4p)...
Personalizing IMG4 component Ap,RestoreTMU...
Tag found
Sending Ap,RestoreTMU (21487 bytes)...
[==================================================] 100.0%
INFO: executing command: firmware
DEBUG: RestoreANS is loaded by iBoot Stage 1 and iBoot.
NOTE: No path for component RestoreANS in TSS, will fetch from build_identity
Extracting rans.t8103.release.im4p (Firmware/rans.t8103.release.im4p)...
Personalizing IMG4 component RestoreANS...
Tag found
Sending RestoreANS (1001341 bytes)...
[==================================================] 100.0%
INFO: executing command: firmware
DEBUG: RestoreDCP is loaded by iBoot Stage 1 and iBoot.
NOTE: No path for component RestoreDCP in TSS, will fetch from build_identity
Extracting ipad13dcp_restore.im4p (Firmware/dcp/ipad13dcp_restore.im4p)...
Personalizing IMG4 component RestoreDCP...
Tag found
Sending RestoreDCP (3790846 bytes)...
[==================================================] 100.0%
INFO: executing command: firmware
INFO: executing command: setenv auto-boot false
INFO: executing command: saveenv
INFO: executing command: setenvnp boot-args rd=md0 nand-enable-reformat=1 -progress -restore
NOTE: No path for component RestoreLogo in TSS, will fetch from build_identity
Extracting applelogo@2x~mac-USBc.im4p (Firmware/all_flash/applelogo@2x~mac-USBc.im4p)...
Personalizing IMG4 component RestoreLogo...
Tag found
Sending RestoreLogo (18928 bytes)...
[==================================================] 100.0%
INFO: executing command: setpicture 4
INFO: executing command: bgcolor 0 0 0
NOTE: No path for component iBEC in TSS, will fetch from build_identity
Extracting iBEC.j313.RELEASE.im4p (Firmware/dfu/iBEC.j313.RELEASE.im4p)...
Personalizing IMG4 component iBEC...
Tag found
Sending iBEC (556380 bytes)...
[==================================================] 100.0%
Waiting for device to disconnect...
irecv_event_cb: device 001c541236d2001e (udid: N/A) disconnected
Waiting for device to reconnect in recovery mode...
irecv_event_cb: device 001c541236d2001e (udid: N/A) connected in Recovery mode
INFO: device serial number is FVFDWA59Q6L5
Recovery Mode Environment:
iBoot build-version=iBoot-11881.1.1
iBoot build-style=RELEASE
iBoot boot-stage=2
radio-error=2
radio-error-string=2
Sending RestoreLogo...
NOTE: No path for component RestoreLogo in TSS, will fetch from build_identity
Extracting applelogo@2x~mac-USBc.im4p (Firmware/all_flash/applelogo@2x~mac-USBc.im4p)...
Personalizing IMG4 component RestoreLogo...
Tag found
Sending RestoreLogo (18928 bytes)...
DEBUG: ANE is loaded by iBoot.
NOTE: No path for component ANE in TSS, will fetch from build_identity
Extracting h13_ane_fw_styx_j5x.im4p (Firmware/ane/h13_ane_fw_styx_j5x.im4p)...
Personalizing IMG4 component ANE...
Tag found
Sending ANE (4991218 bytes)...
DEBUG: AOP is loaded by iBoot.
NOTE: No path for component AOP in TSS, will fetch from build_identity
Extracting aopfw-mac13gaop.RELEASE.im4p (Firmware/AOP/aopfw-mac13gaop.RELEASE.im4p)...
Personalizing IMG4 component AOP...
Tag found
Sending AOP (1329394 bytes)...
DEBUG: AVE is loaded by iBoot.
NOTE: No path for component AVE in TSS, will fetch from build_identity
Extracting AppleAVE2FW_H13G.im4p (Firmware/ave/AppleAVE2FW_H13G.im4p)...
Personalizing IMG4 component AVE...
Tag found
Sending AVE (1440538 bytes)...
DEBUG: Ap,DCP2 is loaded by iBoot.
NOTE: No path for component Ap,DCP2 in TSS, will fetch from build_identity
Extracting ipad13dcp.im4p (Firmware/dcp/ipad13dcp.im4p)...
Personalizing IMG4 component Ap,DCP2...
Tag found
Sending Ap,DCP2 (3790856 bytes)...
DEBUG: GFX is loaded by iBoot.
NOTE: No path for component GFX in TSS, will fetch from build_identity
Extracting armfw_g13g.im4p (Firmware/agx/armfw_g13g.im4p)...
Personalizing IMG4 component GFX...
Tag found
Sending GFX (3671058 bytes)...
DEBUG: ISP is loaded by iBoot.
NOTE: No path for component ISP in TSS, will fetch from build_identity
Extracting adc-pallas-j129.im4p (Firmware/isp_bni/adc-pallas-j129.im4p)...
Personalizing IMG4 component ISP...
Tag found
Sending ISP (13904114 bytes)...
DEBUG: PMP is loaded by iBoot.
NOTE: No path for component PMP in TSS, will fetch from build_identity
Extracting t8103pmp.im4p (Firmware/pmp/t8103pmp.im4p)...
Personalizing IMG4 component PMP...
Tag found
Sending PMP (415986 bytes)...
DEBUG: RestoreTrustCache is loaded by iBoot.
NOTE: No path for component RestoreTrustCache in TSS, will fetch from build_identity
Extracting 096-29370-680.dmg.trustcache (Firmware/096-29370-680.dmg.trustcache)...
Personalizing IMG4 component RestoreTrustCache...
Tag found
Sending RestoreTrustCache (21459 bytes)...
DEBUG: SIO is loaded by iBoot.
NOTE: No path for component SIO in TSS, will fetch from build_identity
Extracting SmartIOFirmware_ASCv4.im4p (Firmware/SmartIOFirmware_ASCv4.im4p)...
Personalizing IMG4 component SIO...
Tag found
Sending SIO (1163662 bytes)...
DEBUG: iBootData is loaded by iBoot.
NOTE: No path for component iBootData in TSS, will fetch from build_identity
Extracting iBootData.j313.RELEASE.im4p (Firmware/all_flash/iBootData.j313.RELEASE.im4p)...
Personalizing IMG4 component iBootData...
Tag found
Sending iBootData (20217 bytes)...
ramdisk-size=0x20000000
NOTE: No path for component RestoreRamDisk in TSS, will fetch from build_identity
Extracting 096-29370-680.dmg (096-29370-680.dmg)...
Personalizing IMG4 component RestoreRamDisk...
Tag found
Sending RestoreRamDisk (180365557 bytes)...
NOTE: No path for component RestoreDeviceTree in TSS, will fetch from build_identity
Extracting DeviceTree.j313ap.im4p (Firmware/all_flash/DeviceTree.j313ap.im4p)...
Personalizing IMG4 component RestoreDeviceTree...
Tag found
Sending RestoreDeviceTree (53069 bytes)...
NOTE: No path for component RestoreSEP in TSS, will fetch from build_identity
Extracting sep-firmware.j313.RELEASE.im4p (Firmware/all_flash/sep-firmware.j313.RELEASE.im4p)...
Personalizing IMG4 component RestoreSEP...
Tag found
Sending RestoreSEP (5484999 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 (28589691 bytes)...
DEBUG: Waiting for device to disconnect...
irecv_event_cb: device 001c541236d2001e (udid: N/A) disconnected
Waiting for device to enter restore mode...
irecv_event_cb: device 001c541236d2001e (udid: N/A) connected in Recovery mode
ERROR: Device failed to enter restore mode.
Device reconnected in recovery mode, most likely image personalization failed.
@bms-1984
Copy link
Author

bms-1984 commented Oct 4, 2024

I must have accidentally had library leakage between Debian packages and source-built ones because I rebuilt every package from Git on a fresh live USB and this runs perfectly. Closing issue now!

@bms-1984 bms-1984 closed this as completed Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant