-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
ipsw dyld extract --all fails with optimization failure #467
Comments
simple |
Hi. I'm running into this issue as well. Here are some more details: Device: Macbook Pro M1 Max Sonoma 14.5 Result:
I've tried restarting my Mac, using Note: Doesn't happen with https://updates.cdn-apple.com/2023FallFCS/fullrestores/042-49415/A6D69931-A729-44D2-AC2A-EB3ED7E20EBB/iPhone11,8_17.0_21A329_Restore.ipsw. Seems to be happening on all of the newer iOS versions that just came out Any suggestions or workarounds? |
ipsw dyld extract ".\private\preboot\Cryptexes\OS\System\Library\Caches\com.apple.dyld\dyld_shared_cache_arm64e" --all -o out Aliases: Flags: Global Flags: ⨯ failed to extract dylib /System/Library/PrivateFrameworks/CoreALD.framework/CoreALD: failed to optimize load commands: failed to remap offset in LC_ENCRYPTION_INFO_64: failed to remap offset 0x4000 |
Sorry for the slow response, the I'm planning on spending the time to fix this and add proper KEXT-traction as well when I can. However, people should not be using it now. |
What happened?
Trying to extract dylibs from ipsw with the command
ipsw dyld extract -a --objc --slide --stubs ./21E237__iPhone16,1/dyld_shared_cache_arm64e
on iOS 17.4.1 iPhone16,1
returns an error:
failed to extract dylib /System/Library/PrivateFrameworks/CoreALD.framework/CoreALD: failed to optimize load commands: failed to remap offset in LC_ENCRYPTION_INFO_64: failed to remap offset 0x4000
Seems that running just with -a--all gives the same result, but would be nice to not fail the whole process just say which one failed and continue with the extraction.
My setup:
MBP M3 Sonoma 14.4.1
How can we reproduce this?
run
ipsw dyld extract -a --objc --slide --stubs ./21E237__iPhone16,1/dyld_shared_cache_arm64e
on the extracted dyld from iPhone16,1_17.4.1_21E237_Restore.ipsw
ipsw version
Search
Code of Conduct
Additional context
No response
The text was updated successfully, but these errors were encountered: