Skip to content

Conversation

@github-actions
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 <kamatam@amazon.com>
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 <kamatam@amazon.com>
nikias and others added 30 commits July 1, 2025 01:06
…ssages

We do not want to write these to terminal by default.
The component is called `Ap,RestoreDCP2` and not `RestoreDCP2`
Instead of maintaining another component -> tag mapping, we use the already
existing function _img4_get_component_tag() to retrieve the corresponding tag name.
Depending on the model, a specific USB Port has to be used for a restore.
When using a different one, Port DFU fails to switch to DFU mode. We use
this fact to print a message with an official link that shows the correct
USB port to use for the restore.
The logging refactoring introduced a spelling error in the boot-args string.
This commit fixes that, and also changes the boot-args handling code to priotize
Apple Silicon/MacOS recovery path before the generic iOS path.
Newer iOS version would cause an Error message despite being able to
continue, so we just ignore it.
Also Vinyl shows up with some devices, so we handle this too.
Co-authored-by: Nikias Bassen <nikias@gmx.li>
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.