msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.24k stars 1.21k forks source link

[idevicerestore] #9269

Open fsinnes opened 3 years ago

fsinnes commented 3 years ago

I used a freshly installed copy of msys64 and ran "pacman -S mingw-w64-x86_64-idevicerestore"

everything seems to have installed correctly but I continuously get this when I try to restore any phone, I understand this might be an issue with their library but I figured this is a link in the chain of me obtaining the binary for windows so thought I might ask

Verifying 'iPhone_5.5_P3_14.7_18G69_Restore.ipsw'... Checksum matches. Extracting BuildManifest from IPSW Product Version: 14.7 Product Build: 18G69 Major: 18 Device supports Image4: true Variant: Customer Upgrade Install (IPSW) This restore will update your device without erasing user data. Checking IPSW for required components... All required components found in IPSW Extracting filesystem from IPSW: 018-60090-003.dmg Found ECID 8505993830985646 Checking if device requires stashbag... ERROR: img4_create_local_manifest: Unhandled component 'Ap,SystemVolumeCanonicalMetadata' - can't create manifest ERROR: Unable to create preboard manifest.

Someone on another forum suggested maybe libzip might be the culprit but I have no clue, would appreciate any help

Biswa96 commented 3 years ago

@neheb, the maintainer of the idevicerestore package, may provide some information.

neheb commented 3 years ago

No real clue. It works on Linux just fine. I'll look into it later

neheb commented 3 years ago

Sounds like a patch similar to https://github.com/libimobiledevice/idevicerestore/commit/a777c657c956d6a350a8d089fe6e9e1e8f6e9bde#diff-77bbe838b39adef6dfeea41740108f0566b7095df8421438f47b68c4ad2753fc is needed.

Does this only happen with iOS 14.7?

neheb commented 3 years ago

Nvm it's this: https://github.com/libimobiledevice/idevicerestore/commit/536acd3dffeb8bd5b53c1d98a60f26c8a71ccd93

Probably easier to just use a git version...