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

Add Apple Silicon restore support #165

Merged
merged 2 commits into from
May 8, 2021
Merged

Conversation

sywesk
Copy link

@sywesk sywesk commented Apr 30, 2021

Hello !

The M1 mac mini presents itself with PID 0x1901 when in restore mode.

This MR adds support for it in:

  • The udev rules
  • usb.c for usbmuxd to recognize it when triggered

If you don't like the constant name, i'd be happy to change it. Couldn't find anything better :/

@nikias
Copy link
Member

nikias commented Apr 30, 2021

Thanks for the PR. I should be ok like this, but good point on the constant name... it depends on wether Apple changes this for future generations, or if M2 etc will still have the same PID. I can't think of a better name at the moment. Maybe we need to also find out about the new iMacs, if they use the same PID or not.

@sywesk sywesk changed the title Add M1 restore support Add Apple Silicon restore support May 8, 2021
@nikias nikias merged commit 5e484e1 into libimobiledevice:master May 8, 2021
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

Successfully merging this pull request may close these issues.

2 participants