Open awead opened 7 years ago
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:
Vendor ID: 0x05ac (Apple Inc.)
$ 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.
"apple_vendor_id:[product_id]"
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
For jailbroken iPhones, use "apple_vendor_id:[product_id]"
This repo is not maintained anymore, so use other people's forks.
I was unable to whitelist my iPhone 7 on El Capitan. I did some digging. If run:
I get
Vendor ID: 0x05ac (Apple Inc.)
. But, using that value in the whitelist array wasn't working. So I tried:Which is what the usbkill script is running, and the xml output for my iPhone had:
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.