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

Fork Sync #3

Open
wants to merge 117 commits into
base: master
Choose a base branch
from
Open

Conversation

github-actions[bot]
Copy link

No description provided.

kamatam9 and others added 2 commits August 29, 2022 01:44
macOS 13 introduced a new global manifest for Cryptex1 and it requires
tickets found in Firmware/Manifests/restore/cryptex1/macOS Customer/
inside an IPSW, but we currently do not use the tickets and end up
unexpected behavior on a Mac device after restoring, e.g. bputil
fails to downgrade security mode due to "Cryptex1 manifest verification
failed". This adds a proper handling to use the appropriate tickets.

Signed-off-by: Munehisa Kamata <[email protected]>
Copy link
Author

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved

nikias and others added 10 commits September 16, 2022 15:57
... as well as eUICC,ApProductionMode which was missing before.
In macOS 13 beta 8 or newer release, bootx seems to fail if bRequest
is 0 in the control transfer setup. Then, the device fails to enter
restore mode. Seems like something has changed in iBEC since beta 8 and
Apple Configurator 2 has set it to 1, so do the same thing.

While this could be applied for all *OS variants, it's limited to macOS
for now just to be safe.

Signed-off-by: Munehisa Kamata <[email protected]>
nikias and others added 14 commits June 26, 2024 16:21
With the new AsyncDataRequestMsg we have the problem that
multiple threads would access the .ipsw, however we were
only using one struct zip* handle for the entire procedure,
resulting in read errors when concurrent access occurs.
This commit fixes it by opening the zip file for every access
separately.
… be started

When passing --ignore-errors, it would not fail when the async data request
handler thread cannot be started, and might end up waiting forever for something
to happen.
When the updated behavior is not triggered, the legacy behavior must be correctly executed. Thus, always correctly fall back to old behavior instead of aborting here.

For example message can be NULL when restoring iOS 1.0 (in my fork).
First observed in iBridgeOS 9.0. The first Initiate ASR packet (checksum_chunks = false)
requests 64 bytes of the IPSW at offset 0, after which another Initiate follows requesting
a switch to (checksum_chunks = true) and additional OOBData.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

8 participants