Whitelist ids for iPhone
awead opened this issue · 1 comments
awead commented
I was unable to whitelist my iPhone 7 on El Capitan. I did some digging. If run:
$ system_profiler SPUSBDataType
I get Vendor ID: 0x05ac (Apple Inc.)
. But, using that value in the whitelist array wasn't working. So I tried:
$ system_profiler SPUSBDataType -xml -detailLevel mini
Which is what the usbkill script is running, and the xml output for my iPhone had:
<key>vendor_id</key>
<string>apple_vendor_id</string>
Using "apple_vendor_id:[product_id]"
did the trick. So it seems the system_profiler isn't giving out consistent info for the Apple vendor id.
Deleted user commented
I left a note of my fork of USBKill with the comment added as:
For jailbroken iPhones, use "apple_vendor_id:[product_id]"
in usbkill.ini
This repo is not maintained anymore, so use other people's forks.