Heimdall
Heimdall copied to clipboard
Heimdall v1.4.0 fails setting up interaface when libusbx fails to build endpoint table
OS: OS X 10.8.4 Mountain Lion Heimdall suite version: v1.4.0 Device: Galaxy S2 LTE GT-i9210T Other relevant information: Kies has never been installed on my computer, so the problem isn't related to that specific issue.
Steps to the error:
- Installed the suite
- Restarted the computer as advised
- Put device into Download mode
- Heimdall detects the device but I get a error produced from libusbx telling me it can't build a endpoint table.
Could it be that it fails iterating through all endpoints, hence not creating the endpoints table?
Thanks in advance for any help and for creating an option for us OS X users rather than installing Windows on a VM and using Odin!
Verbose output of the error:
$ sudo heimdall print-pit --verbose --stdout-errors
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Manufacturer: "Sasmsung"
Product: "MSM8x60"
length: 18
device class: 2
S/N: 0
VID:PID: 04E8:685D
bcdDevice: 0100
iMan:iProd:iSer: 1:2:0
nb confs: 1
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 82
max packet size: 0010
polling interval: 09
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 01
max packet size: 0200
polling interval: 00
Claiming interface...
Setting up interface...
libusbx: error [get_endpoints] error getting pipe information for pipe 1: unknown error
libusbx: error [darwin_set_interface_altsetting] could not build endpoint table
ERROR: Setting up interface failed!
ERROR: Setting up interface failed!
Releasing device interface...
@behnaam This looks like a bug in libusbx. You've somehow executed the following code excerpt:
/* update list of endpoints */
kresult = get_endpoints (dev_handle, iface);
if (kresult) {
/* this should not happen */
darwin_release_interface (dev_handle, iface);
usbi_err (HANDLE_CTX (dev_handle), "could not build endpoint table");
return kresult;
}
It's probably worth reporting this issue to the libusbx developers, although I doubt they'll be able to make much of the problem. Unfortunately in order to resolve this issue it looks like some debugging with your exact setup would be required.
Same happened to me (with a galaxy 5):
✘ ⮀ ~ ⮀ heimdall flash --verbose --recovery ~/Downloads/recovery-clockwork-5.0.2.8-galaxy5
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Manufacturer: "Sasmsung"
Product: "MSM7x27"
length: 18
device class: 2
S/N: 0
VID:PID: 04E8:6601
bcdDevice: 0100
iMan:iProd:iSer: 1:2:0
nb confs: 1
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 82
max packet size: 0010
polling interval: 09
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 01
max packet size: 0200
polling interval: 00
Claiming interface...
Setting up interface...
libusbx: error [get_endpoints] error getting pipe information for pipe 1: unknown error
libusbx: error [darwin_set_interface_altsetting] could not build endpoint table
ERROR: Setting up interface failed!
Releasing device interface...
Also seeing this issue on 10.8.5
Yes I'm seeing the same issue with 1.4 on OSX 10.8.4.
Any update on this? I am trying to get around this problem as well.
I have same exact issue too trying to flash recovery for Galaxy Note 3. I have no idea how to get around the issue. Can anybody provide some kind of input?
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Manufacturer: "SAMSUNG"
Product: "SAMSUNG USB"
Serial No: "SAMSUNG USB SERIAL"
length: 18
device class: 2
S/N: 3
VID:PID: 04E8:685D
bcdDevice: 0000
iMan:iProd:iSer: 1:2:3
nb confs: 1
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 83
max packet size: 0010
polling interval: 09
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 02
max packet size: 0200
polling interval: 00
Claiming interface...
Setting up interface...
libusbx: error [get_endpoints] error getting pipe information for pipe 1: unknown error
libusbx: error [darwin_set_interface_altsetting] could not build endpoint table
ERROR: Setting up interface failed!
Releasing device interface...
This might be something that affects older phones. I get the same error on a GT-I5500 but it works perfectly on a Galaxy Note 2 (GT-N7100)
I'm experiencing this issue with a Samsung GT-i9210 and OSX 10.9.1. Still no fix or workaround available?
Here's my output with USB debug logging:
$ heimdall print-pit --verbose --usb-log-level debug
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.000500] [00000507] libusbx: debug [libusb_get_device_list]
[ 0.027133] [00000507] libusbx: debug [process_new_device] allocating new device for location 0xfa000000
[ 0.027183] [00000507] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.027196] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.027206] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.027215] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09
[ 0.027224] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00
[ 0.027235] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x01
[ 0.027243] [00000507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40
[ 0.027253] [00000507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac
[ 0.027261] [00000507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x8006
[ 0.027269] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0200
[ 0.027277] [00000507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x02
[ 0.027284] [00000507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x01
[ 0.027291] [00000507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.027299] [00000507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.027343] [00000507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.027367] [00000507] libusbx: debug [process_new_device] found device with address 1 port = 0 parent = 0x7fb7fa703458 at 0x0
[ 0.027998] [00000507] libusbx: debug [process_new_device] allocating new device for location 0xfd000000
[ 0.028077] [00000507] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.028121] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.028133] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.028143] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09
[ 0.028224] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00
[ 0.028239] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x01
[ 0.028249] [00000507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40
[ 0.028258] [00000507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac
[ 0.028268] [00000507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x8006
[ 0.028348] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0200
[ 0.028358] [00000507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x02
[ 0.028368] [00000507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x01
[ 0.028378] [00000507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.028422] [00000507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.028535] [00000507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.028589] [00000507] libusbx: debug [process_new_device] found device with address 1 port = 0 parent = 0x7fb7fa702628 at 0x0
[ 0.029414] [00000507] libusbx: debug [process_new_device] allocating new device for location 0xfd100000
[ 0.030567] [00000507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again
[ 0.061436] [00000507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again
[ 0.093150] [00000507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again
[ 0.124570] [00000507] libusbx: debug [darwin_cache_device_descriptor] could not retrieve device descriptor 0424:2513: device not responding. skipping device
[ 0.124612] [00000507] libusbx: debug [libusb_unref_device] destroy device 0.0
[ 0.125401] [00000507] libusbx: debug [process_new_device] allocating new device for location 0xfa100000
[ 0.125604] [00000507] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.125623] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.125634] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.125644] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09
[ 0.125655] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00
[ 0.125665] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x02
[ 0.125674] [00000507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40
[ 0.125685] [00000507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x0424
[ 0.125695] [00000507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x2513
[ 0.125704] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0bb3
[ 0.125713] [00000507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x00
[ 0.125723] [00000507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x00
[ 0.125733] [00000507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.125743] [00000507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.125788] [00000507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.125805] [00000507] libusbx: debug [process_new_device] found device with address 2 port = 1 parent = 0x7fb7fa6017f8 at 0x0
[ 0.126471] [00000507] libusbx: debug [process_new_device] allocating new device for location 0xfa110000
[ 0.127093] [00000507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again
[ 0.161601] [00000507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe000404f. sleeping for 30 ms before trying again
[ 0.192831] [00000507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again
[ 0.223699] [00000507] libusbx: debug [darwin_cache_device_descriptor] could not retrieve device descriptor 0a5c:4500: device not responding. skipping device
[ 0.223735] [00000507] libusbx: debug [libusb_unref_device] destroy device 0.0
[ 0.224537] [00000507] libusbx: debug [process_new_device] allocating new device for location 0xfa200000
[ 0.224849] [00000507] libusbx: warning [darwin_cache_device_descriptor] could not retrieve device descriptor 05ac:8509: device not responding. skipping device
[ 0.224871] [00000507] libusbx: debug [libusb_unref_device] destroy device 0.0
[ 0.225490] [00000507] libusbx: debug [process_new_device] allocating new device for location 0xfd110000
[ 0.226480] [00000507] libusbx: warning [darwin_cache_device_descriptor] could not retrieve device descriptor 05ac:8242: unknown error. skipping device
[ 0.226504] [00000507] libusbx: debug [libusb_unref_device] destroy device 0.0
[ 0.228348] [00000507] libusbx: debug [process_new_device] allocating new device for location 0xfa120000
[ 0.229216] [00000507] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.229243] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.229254] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.229263] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x00
[ 0.229272] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00
[ 0.229282] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x00
[ 0.229290] [00000507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x08
[ 0.229299] [00000507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac
[ 0.229308] [00000507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x0253
[ 0.229317] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0118
[ 0.229326] [00000507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01
[ 0.229335] [00000507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02
[ 0.229345] [00000507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.229354] [00000507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.229401] [00000507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.229418] [00000507] libusbx: debug [process_new_device] found device with address 4 port = 2 parent = 0x7fb7fa5004f8 at 0x7fb7fa601760
[ 0.230116] [00000507] libusbx: debug [process_new_device] allocating new device for location 0xfa113000
[ 0.230359] [00000507] libusbx: warning [darwin_cache_device_descriptor] could not retrieve device descriptor 05ac:821a: device not responding. skipping device
[ 0.230380] [00000507] libusbx: debug [libusb_unref_device] destroy device 0.0
[ 0.231017] [00000507] libusbx: debug [process_new_device] allocating new device for location 0xfa130000
[ 0.231705] [00000507] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.231727] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.231737] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.231745] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x02
[ 0.231754] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x02
[ 0.231763] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x00
[ 0.231771] [00000507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40
[ 0.231779] [00000507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x04e8
[ 0.231787] [00000507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x685d
[ 0.231796] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0100
[ 0.231805] [00000507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01
[ 0.231813] [00000507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02
[ 0.231821] [00000507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.231829] [00000507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.231860] [00000507] libusbx: debug [darwin_check_configuration] active config: 0, first config: 2
[ 0.231951] [00000507] libusbx: debug [process_new_device] found device with address 6 port = 3 parent = 0x7fb7fa6015d8 at 0x7fb7fa601760
[ 0.232259] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.232348] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.232359] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.232367] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.232375] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.232382] [00000507] libusbx: debug [libusb_unref_device] destroy device 250.1
[ 0.232394] [00000507] libusbx: debug [libusb_unref_device] destroy device 253.1
[ 0.232406] [00000507] libusbx: debug [libusb_unref_device] destroy device 250.2
[ 0.232417] [00000507] libusbx: debug [libusb_unref_device] destroy device 250.4
[ 0.232429] [00000507] libusbx: debug [libusb_open] open 250.6
[ 0.233206] [00000507] libusbx: debug [usbi_add_pollfd] add fd 6 events 1
[ 0.233226] [00000507] libusbx: debug [darwin_open] device open for access
[ 0.233261] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.233338] [00000507] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.233356] [00000507] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.233368] [00000507] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.233961] [00001007] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.234059] [00000507] libusbx: debug [handle_events] poll() returned 1
[ 0.234077] [00000507] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.234087] [00000507] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.234102] [00000507] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.234112] [00000507] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7fb7fa407b00 has callback 0x10c57b260
[ 0.234121] [00000507] libusbx: debug [ctrl_transfer_cb] actual_length=4
[ 0.234197] [00000507] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.234213] [00000507] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.234223] [00000507] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.234816] [00001007] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.235303] [00000507] libusbx: debug [handle_events] poll() returned 1
[ 0.235611] [00000507] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.235627] [00000507] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.235675] [00000507] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.235689] [00000507] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7fb7fa703590 has callback 0x10c57b260
[ 0.235699] [00000507] libusbx: debug [ctrl_transfer_cb] actual_length=18
Manufacturer: "Sasmsung"
[ 0.235887] [00000507] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.235996] [00000507] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.236038] [00000507] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.236425] [00001007] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.236470] [00000507] libusbx: debug [handle_events] poll() returned 1
[ 0.236510] [00000507] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.236521] [00000507] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.236534] [00000507] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.236576] [00000507] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7fb7fa407b00 has callback 0x10c57b260
[ 0.236631] [00000507] libusbx: debug [ctrl_transfer_cb] actual_length=4
[ 0.236782] [00000507] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.236816] [00000507] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.236827] [00000507] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.237303] [00001007] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.237349] [00000507] libusbx: debug [handle_events] poll() returned 1
[ 0.237366] [00000507] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.237376] [00000507] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.237389] [00000507] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.237399] [00000507] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7fb7fa500590 has callback 0x10c57b260
[ 0.237409] [00000507] libusbx: debug [ctrl_transfer_cb] actual_length=16
Product: "MSM8x60"
length: 18
device class: 2
S/N: 0
VID:PID: 04E8:685D
bcdDevice: 0100
iMan:iProd:iSer: 1:2:0
nb confs: 1
[ 0.237451] [00000507] libusbx: debug [libusb_get_config_descriptor] index 0
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 82
max packet size: 0010
polling interval: 09
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 01
max packet size: 0200
polling interval: 00
Claiming interface...
[ 0.237572] [00000507] libusbx: debug [libusb_claim_interface] interface 1
[ 0.237619] [00000507] libusbx: info [darwin_claim_interface] no interface found; setting configuration: 2
[ 1.584898] [00000507] libusbx: debug [get_endpoints] building table of endpoints.
[ 1.584945] [00000507] libusbx: debug [get_endpoints] interface: 1 pipe 1: dir: 1 number: 1
[ 1.584966] [00000507] libusbx: debug [get_endpoints] interface: 1 pipe 2: dir: 0 number: 1
[ 1.585022] [00000507] libusbx: debug [darwin_claim_interface] interface opened
Setting up interface...
[ 1.585042] [00000507] libusbx: debug [libusb_set_interface_alt_setting] interface 1 altsetting 0
[ 1.638344] [00000507] libusbx: debug [get_endpoints] building table of endpoints.
[ 1.638902] [00000507] libusbx: error [get_endpoints] error getting pipe information for pipe 1: unknown error
[ 1.639446] [00000507] libusbx: error [darwin_set_interface_altsetting] could not build endpoint table
ERROR: Setting up interface failed!
Releasing device interface...
[ 1.639685] [00000507] libusbx: debug [libusb_release_interface] interface 1
[ 1.639700] [00000507] libusbx: debug [libusb_close]
[ 1.640002] [00000507] libusbx: debug [usbi_remove_pollfd] remove fd 6
[ 1.640163] [00000507] libusbx: debug [libusb_unref_device] destroy device 250.6
[ 1.640183] [00000507] libusbx: debug [libusb_exit]
[ 1.640191] [00000507] libusbx: debug [libusb_exit] destroying default context
I'm on 10.7.5 and dealing with the same thing. Being that I had to unload some kernel extensions just to pass go I can't help but think something is still loaded and holding up the show.
Out of curiosity, for those that work and those that don't, what do you guys see in your kernels via; kextstat |grep -i usb? % kextstat |grep -i usb 30 13 0xffffff7f8078e000 0x56000 0x56000 com.apple.iokit.IOUSBFamily (5.1.0) <9 7 5 4 3 1> 32 0 0xffffff7f80bf5000 0x18000 0x18000 com.apple.driver.AppleUSBEHCI (5.1.0) <30 9 7 5 4 3 1> 45 0 0xffffff7f80b04000 0x3000 0x3000 com.apple.iokit.IOUSBUserClient (5.0.0) <30 7 5 4 3 1> 46 0 0xffffff7f80bdd000 0x14000 0x14000 com.apple.driver.AppleUSBHub (5.1.0) <30 5 4 3 1> 62 1 0xffffff7f80b86000 0x6000 0x6000 com.apple.driver.AppleUSBComposite (5.0.0) <30 4 3 1> 63 0 0xffffff7f80bd7000 0x6000 0x6000 com.apple.driver.AppleUSBMergeNub (5.1.0) <62 30 4 3 1> 64 5 0xffffff7f80b7e000 0x8000 0x8000 com.apple.iokit.IOUSBHIDDriver (5.0.0) <30 27 5 4 3 1> 65 0 0xffffff7f81bed000 0x4000 0x4000 com.apple.driver.AppleUSBTCKeyboard (227.6) <64 30 27 7 6 5 4 3 1> 67 0 0xffffff7f81bf6000 0x13000 0x13000 com.apple.driver.AppleUSBMultitouch (230.5) <64 30 27 6 5 4 3 1> 72 0 0xffffff7f81bf2000 0x3000 0x3000 com.apple.driver.AppleUSBTCButtons (227.6) <64 30 27 7 6 5 4 3 1> 74 1 0xffffff7f80f1a000 0xb000 0xb000 com.apple.driver.AppleUSBBluetoothHCIController (4.0.8f17) <73 30 7 5 4 3> 75 0 0xffffff7f80f2d000 0xb000 0xb000 com.apple.driver.BroadcomUSBBluetoothHCIController (4.0.8f17) <74 73 30 5 4 3>
I currently see the following and would like to see some base comparison before I start this process
Here are my results:
$ kextstat | grep -i usb
36 13 0xffffff7f80e10000 0x5f000 0x5f000 com.apple.iokit.IOUSBFamily (650.4.4) <11 7 5 4 3 1>
38 0 0xffffff7f80fae000 0x18000 0x18000 com.apple.driver.AppleUSBEHCI (650.4.1) <36 11 7 5 4 3 1>
46 0 0xffffff7f80e8f000 0x3000 0x3000 com.apple.iokit.IOUSBUserClient (650.4.4) <36 7 5 4 3 1>
49 0 0xffffff7f80f90000 0x17000 0x17000 com.apple.driver.AppleUSBHub (650.4.4) <36 5 4 3 1>
68 1 0xffffff7f80f2b000 0x7000 0x7000 com.apple.driver.AppleUSBComposite (650.4.0) <36 4 3 1>
69 0 0xffffff7f80f89000 0x7000 0x7000 com.apple.driver.AppleUSBMergeNub (650.4.0) <68 36 4 3 1>
70 4 0xffffff7f80f22000 0x9000 0x9000 com.apple.iokit.IOUSBHIDDriver (650.4.4) <36 31 5 4 3 1>
72 0 0xffffff7f81978000 0x4000 0x4000 com.apple.driver.AppleUSBTCKeyboard (240.2) <70 36 31 7 6 5 4 3 1>
74 0 0xffffff7f81983000 0x13000 0x13000 com.apple.driver.AppleUSBMultitouch (240.6) <70 36 31 6 5 4 3 1>
78 0 0xffffff7f8197e000 0x3000 0x3000 com.apple.driver.AppleUSBTCButtons (240.2) <70 36 31 7 6 5 4 3 1>
89 1 0xffffff7f81309000 0x1d000 0x1d000 com.apple.iokit.IOBluetoothHostControllerUSBTransport (4.2.0f6) <36 11 10 7 5 4 3 1>
90 0 0xffffff7f81326000 0x7000 0x7000 com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport (4.2.0f6) <89 36 11 10 7 5 4 3>
After going into download mode this gets loaded in too; 233 0 0xffffff7f807fe000 0x5000 0x5000 com.apple.driver.AppleUSBCDCECMData (4.1.22) <37 30 5 4 3 1>
Unloading this one and retrying does nothing. I'm not quite ready to start inducing kernel panics just yet - but soon.
What do folks see with;
ldd which heimdall
?
It would be nice to get someone who is fully functional (on any osx flavor) to post what their kextstat and ldd (or otool) results are.
ldd and list of libusb;
ldd which heimdall
/usr/local/bin/heimdall:
/opt/local/lib/libusb-1.0.0.dylib (compatibility version 2.0.0, current version 2.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
-rwxr-xr-x 1 root admin 73924 Jan 21 11:24 /opt/local/lib/libusb-1.0.0.dylib
A lot of folks seem to be having the issue so, right or wrong, I'm still leaning more towards the kernel than libusb but.. some functional comparisons would be nice.
I'm sorry to say that I went into a tail spin for several hours and couldn't poke this thing through to success. I ended up pulling an old laptop out of the closet with some old windows on it and did what I needed to do.
Not helpful, I know, but after several different libusb builds and kernel extension manipulations and two flavors of osx I'm fairly convinced heimdall and my older skyrocket are not destined for each other.
Hi guys! I'm having the same trouble with my Samsung Galaxy S Duos
I just run the command: sudo heimdall flash --RECOVERY ~/Desktop/recovery.img --verbose
it throws the error:
Initialising connection...
Detecting device...
Manufacturer: "Sasmsung"
Product: "MSM7x27"
length: 18
device class: 2
S/N: 0
VID:PID: 04E8:685D
bcdDevice: 0100
iMan:iProd:iSer: 1:2:0
nb confs: 1
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 82
max packet size: 0010
polling interval: 09
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 01
max packet size: 0200
polling interval: 00
Claiming interface...
Setting up interface...
libusbx: error [get_endpoints] error getting pipe information for pipe 1: unknown error
libusbx: error [darwin_set_interface_altsetting] could not build endpoint table
ERROR: Setting up interface failed!
Releasing device interface...
By the way I'm using MacOSX Mavericks v10.9.2
I'm stuck with this too, 10.9.2.
Just tried to do the same on a old Samsung S2 and I get the same error as all of you in OSX v10.9.2.
On the same machine, using a ubuntu 14.04 VM I get the following:
Initialising connection...
Detecting device...
Manufacturer: "Sasmsung"
Product: "MSM8x60"
length: 18
device class: 2
S/N: 0
VID:PID: 04E8:685D
bcdDevice: 0100
iMan:iProd:iSer: 1:2:0
nb confs: 1
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 82
max packet size: 0010
polling interval: 09
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 01
max packet size: 0200
polling interval: 00
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...
Initialising protocol...
WARNING: Control transfer #1 failed. Result: -9
WARNING: Control transfer #2 failed. Result: -9
WARNING: Control transfer #3 failed. Result: -9
WARNING: Control transfer #4 failed. Result: -9
WARNING: Control transfer #5 failed. Result: -9
WARNING: Control transfer #6 failed. Result: -9
ERROR: Failed to receive handshake response. Retrying...
ERROR: Failed to receive handshake response. Retrying...
ERROR: Failed to receive handshake response. Retrying...
ERROR: Failed to receive handshake response. Retrying...
ERROR: Failed to receive handshake response.
ERROR: Protocol initialisation failed!
Releasing device interface...
Re-attaching kernel driver...
I had the same issue, I solved it by removing Xposed Module
How could anything installed in Android affect ODIN Download mode? They're entirely separate.
On August 12, 2014 7:17:46 AM PDT, Iito [email protected] wrote:
I had the same issue, I solved it by removing Xposed Module
Reply to this email directly or view it on GitHub: https://github.com/Benjamin-Dobell/Heimdall/issues/137#issuecomment-51919777
Sent from my 2014 Galaxy Note 10.1
Oups sorry it's seems to be an error, my bad, I'm actually working on a script shell that make easier the installation of a Ubuntu Touch/Android dualboot and when I tried my script yesterday it froze because of that, I have also remove heimdall and install it again so it could be a right problem :/
Here too. Mac OSX 10.10 (Yosemite). Samsung S5 GT-I5500B.
$ heimdall flash --RECOVERY recovery-clockwork-5.0.2.8-galaxy5.zip --no-reboot --verbose
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Manufacturer: "Sasmsung"
Product: "MSM7x27"
length: 18
device class: 2
S/N: 0
VID:PID: 04E8:6601
bcdDevice: 0100
iMan:iProd:iSer: 1:2:0
nb confs: 1
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 82
max packet size: 0010
polling interval: 09
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 01
max packet size: 0200
polling interval: 00
Claiming interface...
Setting up interface...
libusbx: error [get_endpoints] error getting pipe information for pipe 1: unknown error
libusbx: error [darwin_set_interface_altsetting] could not build endpoint table
ERROR: Setting up interface failed!
Releasing device interface...
I have the same problem with Galaxy Tab 4 7.0 with heimdall 1.4.0 and OSX 10.9.5
libusbx: error [get_endpoints] error getting pipe information for pipe 1: unknown error
libusbx: error [darwin_set_interface_altsetting] could not build endpoint table
Same issue here too. running as root.
OSX 10.9.5 on MBP Retina (Mid 2012)
Samsung Galaxy S2 Skyrocket (AT&T) - i727 in Download mode.
bash-3.2# heimdall flash --recovery openrecovery-twrp-2.8.1.0-sgh-i727.img && heimdall close-pc-screen
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
libusbx: error [get_endpoints] error getting pipe information for pipe 1: unknown error
libusbx: error [darwin_set_interface_altsetting] could not build endpoint table
ERROR: Setting up interface failed!
Releasing device interface...
bash-3.2# heimdall print-pit --verbose --usb-log-level debug
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.000565] [00000507] libusbx: debug [libusb_get_device_list]
[ 0.003989] [00000507] libusbx: debug [process_new_device] allocating new device for location 0x15000000
[ 0.004025] [00000507] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.004032] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.004038] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0300
[ 0.004043] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09
[ 0.004048] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00
[ 0.004054] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x03
[ 0.004059] [00000507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x09
[ 0.004063] [00000507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac
[ 0.004069] [00000507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x8007
[ 0.004074] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0300
[ 0.004079] [00000507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x02
[ 0.004084] [00000507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x01
[ 0.004089] [00000507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.004097] [00000507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.004123] [00000507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.004138] [00000507] libusbx: debug [process_new_device] found device with address 128 port = 0 parent = 0x7f9e13f08c58 at 0x0
[ 0.004536] [00000507] libusbx: debug [process_new_device] allocating new device for location 0x1d000000
[ 0.004566] [00000507] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.004573] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.004578] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.004584] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09
[ 0.004589] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00
[ 0.004594] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x01
[ 0.004599] [00000507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40
[ 0.004604] [00000507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac
[ 0.004612] [00000507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x8006
[ 0.004617] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0200
[ 0.004622] [00000507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x02
[ 0.004627] [00000507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x01
[ 0.004632] [00000507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.004637] [00000507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.004660] [00000507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.004668] [00000507] libusbx: debug [process_new_device] found device with address 1 port = 0 parent = 0x7f9e13f08718 at 0x0
[ 0.005012] [00000507] libusbx: debug [process_new_device] allocating new device for location 0x1a000000
[ 0.005040] [00000507] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.005047] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.005052] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.005058] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09
[ 0.005063] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00
[ 0.005068] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x01
[ 0.005073] [00000507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40
[ 0.005080] [00000507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac
[ 0.005086] [00000507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x8006
[ 0.005091] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0200
[ 0.005096] [00000507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x02
[ 0.005101] [00000507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x01
[ 0.005106] [00000507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.005110] [00000507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.005133] [00000507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.005141] [00000507] libusbx: debug [process_new_device] found device with address 1 port = 0 parent = 0x7f9e13f087d8 at 0x0
[ 0.005489] [00000507] libusbx: debug [process_new_device] allocating new device for location 0x14000000
[ 0.005517] [00000507] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.005523] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.005529] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.005534] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09
[ 0.005539] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00
[ 0.005544] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x01
[ 0.005552] [00000507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x09
[ 0.005557] [00000507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac
[ 0.005562] [00000507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x8007
[ 0.005567] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0300
[ 0.005572] [00000507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x02
[ 0.005577] [00000507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x01
[ 0.005582] [00000507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.005586] [00000507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.005608] [00000507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.005616] [00000507] libusbx: debug [process_new_device] found device with address 129 port = 0 parent = 0x7f9e13f08898 at 0x0
[ 0.005983] [00000507] libusbx: debug [process_new_device] allocating new device for location 0x1d100000
[ 0.006108] [00000507] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.006125] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.006131] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.006137] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09
[ 0.006142] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00
[ 0.006147] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x01
[ 0.006152] [00000507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40
[ 0.006157] [00000507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x8087
[ 0.006163] [00000507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x0024
[ 0.006168] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0000
[ 0.006173] [00000507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x00
[ 0.006178] [00000507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x00
[ 0.006183] [00000507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.006188] [00000507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.006216] [00000507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.006225] [00000507] libusbx: debug [process_new_device] found device with address 2 port = 1 parent = 0x7f9e13f08958 at 0x0
[ 0.006672] [00000507] libusbx: debug [process_new_device] allocating new device for location 0x1a100000
[ 0.007264] [00000507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again
[ 0.039269] [00000507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again
[ 0.070319] [00000507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again
[ 0.101355] [00000507] libusbx: debug [darwin_cache_device_descriptor] could not retrieve device descriptor 8087:0024: device not responding. skipping device
[ 0.101424] [00000507] libusbx: debug [libusb_unref_device] destroy device 0.0
[ 0.102183] [00000507] libusbx: debug [process_new_device] allocating new device for location 0x1d180000
[ 0.102462] [00000507] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.102480] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.102488] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.102495] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09
[ 0.102501] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00
[ 0.102507] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x02
[ 0.102512] [00000507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40
[ 0.102518] [00000507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x0424
[ 0.102524] [00000507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x2512
[ 0.102530] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0bb3
[ 0.102536] [00000507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x00
[ 0.102542] [00000507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x00
[ 0.102548] [00000507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.102554] [00000507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.102592] [00000507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.102605] [00000507] libusbx: debug [process_new_device] found device with address 3 port = 8 parent = 0x7f9e13e006c8 at 0x7f9e13f088c0
[ 0.103132] [00000507] libusbx: debug [process_new_device] allocating new device for location 0x1d181000
[ 0.103322] [00000507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again
[ 0.134878] [00000507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe000404f. sleeping for 30 ms before trying again
[ 0.166248] [00000507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again
[ 0.197110] [00000507] libusbx: debug [darwin_cache_device_descriptor] could not retrieve device descriptor 0a5c:4500: device not responding. skipping device
[ 0.197177] [00000507] libusbx: debug [libusb_unref_device] destroy device 0.0
[ 0.197962] [00000507] libusbx: debug [process_new_device] allocating new device for location 0x1a110000
[ 0.198372] [00000507] libusbx: warning [darwin_cache_device_descriptor] could not retrieve device descriptor 05ac:8510: device not responding. skipping device
[ 0.198390] [00000507] libusbx: debug [libusb_unref_device] destroy device 0.0
[ 0.198912] [00000507] libusbx: debug [process_new_device] allocating new device for location 0x1d182000
[ 0.199603] [00000507] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.199621] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.199629] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.199635] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x00
[ 0.199641] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00
[ 0.199649] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x00
[ 0.199655] [00000507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x08
[ 0.199661] [00000507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac
[ 0.199667] [00000507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x0262
[ 0.199673] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0222
[ 0.199679] [00000507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01
[ 0.199685] [00000507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02
[ 0.199691] [00000507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.199696] [00000507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.199728] [00000507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.199739] [00000507] libusbx: debug [process_new_device] found device with address 5 port = 2 parent = 0x7f9e13d00348 at 0x7f9e13e00630
[ 0.200217] [00000507] libusbx: debug [process_new_device] allocating new device for location 0x1d181300
[ 0.200442] [00000507] libusbx: warning [darwin_cache_device_descriptor] could not retrieve device descriptor 05ac:8286: device not responding. skipping device
[ 0.200459] [00000507] libusbx: debug [libusb_unref_device] destroy device 0.0
[ 0.200969] [00000507] libusbx: debug [process_new_device] allocating new device for location 0x1d110000
[ 0.201575] [00000507] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.201589] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.201596] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.201602] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x02
[ 0.201608] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x02
[ 0.201614] [00000507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x00
[ 0.201620] [00000507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40
[ 0.201629] [00000507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x04e8
[ 0.201635] [00000507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x685d
[ 0.201641] [00000507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0100
[ 0.201647] [00000507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01
[ 0.201653] [00000507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02
[ 0.201659] [00000507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.201665] [00000507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.201689] [00000507] libusbx: debug [darwin_check_configuration] active config: 0, first config: 2
[ 0.201700] [00000507] libusbx: debug [process_new_device] found device with address 6 port = 1 parent = 0x7f9e13c091c8 at 0x7f9e13f088c0
[ 0.201812] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.201821] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.201826] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.201831] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.201835] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.201840] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.201845] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.201850] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.201857] [00000507] libusbx: debug [libusb_unref_device] destroy device 21.128
[ 0.201869] [00000507] libusbx: debug [libusb_unref_device] destroy device 29.1
[ 0.201880] [00000507] libusbx: debug [libusb_unref_device] destroy device 26.1
[ 0.201892] [00000507] libusbx: debug [libusb_unref_device] destroy device 20.129
[ 0.201901] [00000507] libusbx: debug [libusb_unref_device] destroy device 29.2
[ 0.201913] [00000507] libusbx: debug [libusb_unref_device] destroy device 29.3
[ 0.201925] [00000507] libusbx: debug [libusb_unref_device] destroy device 29.5
[ 0.201932] [00000507] libusbx: debug [libusb_open] open 29.6
[ 0.202648] [00000507] libusbx: debug [usbi_add_pollfd] add fd 6 events 1
[ 0.202663] [00000507] libusbx: debug [darwin_open] device open for access
[ 0.202687] [00000507] libusbx: debug [libusb_get_device_descriptor]
[ 0.202751] [00000507] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.202762] [00000507] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.202769] [00000507] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.203322] [00001307] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.203353] [00000507] libusbx: debug [handle_events] poll() returned 1
[ 0.203368] [00000507] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.203376] [00000507] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.203385] [00000507] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.203391] [00000507] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7f9e13c093b0 has callback 0x101f60260
[ 0.203397] [00000507] libusbx: debug [ctrl_transfer_cb] actual_length=4
[ 0.203472] [00000507] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.203485] [00000507] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.203494] [00000507] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.204211] [00001307] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.204243] [00000507] libusbx: debug [handle_events] poll() returned 1
[ 0.204261] [00000507] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.204269] [00000507] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.204279] [00000507] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.204286] [00000507] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7f9e15800070 has callback 0x101f60260
[ 0.204292] [00000507] libusbx: debug [ctrl_transfer_cb] actual_length=18
Manufacturer: "Sasmsung"
[ 0.204347] [00000507] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.204356] [00000507] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.204362] [00000507] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.204927] [00001307] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.204957] [00000507] libusbx: debug [handle_events] poll() returned 1
[ 0.204975] [00000507] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.204983] [00000507] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.204993] [00000507] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.205000] [00000507] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7f9e13c093b0 has callback 0x101f60260
[ 0.205006] [00000507] libusbx: debug [ctrl_transfer_cb] actual_length=4
[ 0.205060] [00000507] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.205068] [00000507] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.205074] [00000507] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.205686] [00001307] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.205714] [00000507] libusbx: debug [handle_events] poll() returned 1
[ 0.205726] [00000507] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.205732] [00000507] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.205740] [00000507] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.205746] [00000507] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7f9e13c093b0 has callback 0x101f60260
[ 0.205752] [00000507] libusbx: debug [ctrl_transfer_cb] actual_length=16
Product: "MSM8x60"
length: 18
device class: 2
S/N: 0
VID:PID: 04E8:685D
bcdDevice: 0100
iMan:iProd:iSer: 1:2:0
nb confs: 1
[ 0.205775] [00000507] libusbx: debug [libusb_get_config_descriptor] index 0
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 82
max packet size: 0010
polling interval: 09
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 01
max packet size: 0200
polling interval: 00
Claiming interface...
[ 0.205824] [00000507] libusbx: debug [libusb_claim_interface] interface 1
[ 0.205851] [00000507] libusbx: info [darwin_claim_interface] no interface found; setting configuration: 2
[ 0.631161] [00000507] libusbx: debug [get_endpoints] building table of endpoints.
[ 0.631194] [00000507] libusbx: debug [get_endpoints] interface: 1 pipe 1: dir: 1 number: 1
[ 0.631202] [00000507] libusbx: debug [get_endpoints] interface: 1 pipe 2: dir: 0 number: 1
[ 0.631229] [00000507] libusbx: debug [darwin_claim_interface] interface opened
Setting up interface...
[ 0.631238] [00000507] libusbx: debug [libusb_set_interface_alt_setting] interface 1 altsetting 0
[ 0.686479] [00000507] libusbx: debug [get_endpoints] building table of endpoints.
[ 0.686525] [00000507] libusbx: error [get_endpoints] error getting pipe information for pipe 1: unknown error
[ 0.686739] [00000507] libusbx: error [darwin_set_interface_altsetting] could not build endpoint table
ERROR: Setting up interface failed!
Releasing device interface...
[ 0.686761] [00000507] libusbx: debug [libusb_release_interface] interface 1
[ 0.686768] [00000507] libusbx: debug [libusb_close]
[ 0.686856] [00000507] libusbx: debug [usbi_remove_pollfd] remove fd 6
[ 0.686879] [00000507] libusbx: debug [libusb_unref_device] destroy device 29.6
[ 0.686884] [00000507] libusbx: debug [libusb_exit]
[ 0.686887] [00000507] libusbx: debug [libusb_exit] destroying default context
bash-3.2# kextstat |grep -i usb
36 17 0xffffff7f81153000 0x61000 0x61000 com.apple.iokit.IOUSBFamily (686.4.1) <11 7 5 4 3 1>
37 0 0xffffff7f812be000 0x1d000 0x1d000 com.apple.driver.AppleUSBXHCI (683.4.0) <36 11 7 5 4 3 1>
38 0 0xffffff7f8133b000 0x18000 0x18000 com.apple.driver.AppleUSBEHCI (660.4.0) <36 11 7 5 4 3 1>
41 0 0xffffff7f811d4000 0x3000 0x3000 com.apple.iokit.IOUSBUserClient (660.4.2) <36 7 5 4 3 1>
49 0 0xffffff7f8131c000 0x18000 0x18000 com.apple.driver.AppleUSBHub (683.4.0) <36 5 4 3 1>
54 1 0xffffff7f812b7000 0x7000 0x7000 com.apple.driver.AppleUSBComposite (656.4.1) <36 4 3 1>
55 0 0xffffff7f81315000 0x7000 0x7000 com.apple.driver.AppleUSBMergeNub (650.4.0) <54 36 4 3 1>
63 3 0xffffff7f812ae000 0x9000 0x9000 com.apple.iokit.IOUSBHIDDriver (660.4.0) <36 30 5 4 3 1>
64 0 0xffffff7f81e30000 0x4000 0x4000 com.apple.driver.AppleUSBTCKeyboard (240.2) <63 36 30 7 6 5 4 3 1>
66 0 0xffffff7f81e3b000 0x13000 0x13000 com.apple.driver.AppleUSBMultitouch (240.10) <63 36 30 6 5 4 3 1>
70 0 0xffffff7f81e36000 0x3000 0x3000 com.apple.driver.AppleUSBTCButtons (240.2) <63 36 30 7 6 5 4 3 1>
99 1 0xffffff7f81656000 0x1d000 0x1d000 com.apple.iokit.IOBluetoothHostControllerUSBTransport (4.2.7f3) <36 11 10 7 5 4 3 1>
100 0 0xffffff7f81673000 0x7000 0x7000 com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport (4.2.7f3) <99 36 11 10 7 5 4 3>
142 0 0xffffff7f8261d000 0x4000 0x4000 com.apple.driver.AppleUSBCDCACMControl (4.2.1b5) <36 4 3>
143 0 0xffffff7f82621000 0x7000 0x7000 com.apple.driver.AppleUSBCDCACMData (4.2.1b5) <119 36 5 4 3>
144 0 0xffffff7f82628000 0x5000 0x5000 com.apple.driver.AppleUSBCDCECMData (4.2.1b5) <42 36 5 4 3 1>
Perhaps this is related? http://libusb.6.n5.nabble.com/ERROR-OTHER-when-trying-to-claim-interface-on-OSX-td5711795.html
Same exact error with a Samsung Galaxy Tab 4 on Yosemite
i suspect samsung's usb driver is locked out in firmware layer. bad fruit.
-rpp
On Sun, May 03, 2015 at 11:20 AM, JKGisMe < [email protected] [[email protected]] > wrote: Same exact error with a Samsung Galaxy Tab 4
— Reply to this email directly or view it on GitHub [https://github.com/Benjamin-Dobell/Heimdall/issues/137#issuecomment-98493261] .[https://github.com/notifications/beacon/AGLYbbCanqF2sPHLbBYx3PgwAslrt4hbks5oFjRLgaJpZM4Ay1n-.gif]
Has anyone figured this out yet? I'm getting the same lubusbx error during setting up interface with Galaxy Tab 3 7.0 T210R. Anyone know how to successfully root this thing?
Still happening with the 1.4.1 unofficial build with the i727 on Yosemite. Is there a specific version of libusb we need to use? Or should Heimdall provide libusb with this patched? Because I am currently stuck with a brick and I need to flash recovery.
I have the same issue with Samsung Galaxy S4 GT-i9506 in Windows 10, using the latest night release.
Here some details which I did not manage to send to Cyanogenmod forum:
I follow these instructions found here wiki.cyanogenmod.org/w/Install_CM_for_ks01lte.
[CODE]
On the computer, open a terminal (or Command Prompt on Windows) in the directory where the recovery image is located and type: heimdall flash --RECOVERY recovery.img --no-reboot Tip: The file may not be named identically to what's in this command. If the file is wrapped in a zip or tar file, extract the file first, because heimdall isn't going to do it for you. [/CODE]
I run heimdall flash --RECOVERY recovery.img --no-reboot
in Windows 10 and in the folder where I have heimdall.exe and renamed recovery.img download from here download.cyanogenmod.org/?device=ks01lte with the date 2015-12-13 12:19:16. I get
Initializing protocol... ERROR: failed to send data!Releasing device interface.
I tested many drivers (WinUSB, libusb-win32, libusbK) unsuccessfully with the command.
I do heimdall detect
and get mostly
Device detected but sometimes I get at the end of writing this thread libusbx: error [init_device] device '.\USB#VID_046E&PID_52CF&MI_01#7&194726C7&0&0001' is no longer connected! Actually, I get the same error from
heimdall print-pit --verbose
.
How can you flash GT-i9606 successfully?
the same here on el capitain:
executing:
heimdall print-pit --verbose --usb-log-level debug
Heimdall v1.4.1
Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.000548] [0000050f] libusbx: debug [libusb_get_device_list]
[ 0.002397] [0000050f] libusbx: debug [process_new_device] allocating new device for location 0x14000000
[ 0.002469] [0000050f] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.002482] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.002492] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0100
[ 0.002502] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09
[ 0.002512] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0xff
[ 0.002522] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x00
[ 0.002532] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x08
[ 0.002546] [0000050f] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac
[ 0.002557] [0000050f] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x8005
[ 0.002567] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0198
[ 0.002577] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x00
[ 0.002587] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x00
[ 0.002599] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.002609] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.002634] [0000050f] libusbx: debug [darwin_check_configuration] active config: 0, first config: 1
[ 0.002656] [0000050f] libusbx: debug [process_new_device] found device with address 0 port = 0 parent = 0x7fa1f3601ac8 at 0x0
[ 0.003228] [0000050f] libusbx: debug [process_new_device] allocating new device for location 0x14400000
[ 0.004149] [0000050f] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.004188] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.004200] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.004210] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x00
[ 0.004220] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00
[ 0.004229] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x00
[ 0.004239] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x08
[ 0.004250] [0000050f] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac
[ 0.004263] [0000050f] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x0263
[ 0.004273] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0225
[ 0.004283] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01
[ 0.004293] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02
[ 0.004303] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.004312] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.004361] [0000050f] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.004376] [0000050f] libusbx: debug [process_new_device] found device with address 5 port = 4 parent = 0x7fa1f3601b88 at 0x7fa1f3601a30
[ 0.004978] [0000050f] libusbx: debug [process_new_device] allocating new device for location 0x14300000
[ 0.038127] [0000050f] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.038171] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.038178] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.038185] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09
[ 0.038191] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00
[ 0.038197] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x00
[ 0.038204] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x08
[ 0.038210] [0000050f] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x0a5c
[ 0.038216] [0000050f] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x4500
[ 0.038223] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0100
[ 0.038229] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01
[ 0.038236] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02
[ 0.038242] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.038249] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.038280] [0000050f] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.038290] [0000050f] libusbx: debug [process_new_device] found device with address 12 port = 3 parent = 0x7fa1f35017d8 at 0x7fa1f3601a30
[ 0.038711] [0000050f] libusbx: debug [process_new_device] allocating new device for location 0x14330000
[ 0.072382] [0000050f] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.072414] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.072425] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.072435] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0xff
[ 0.072445] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x01
[ 0.072455] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x01
[ 0.072465] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40
[ 0.072479] [0000050f] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac
[ 0.072489] [0000050f] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x8289
[ 0.072499] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0118
[ 0.072509] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01
[ 0.072518] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02
[ 0.072528] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00
[ 0.072538] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.072581] [0000050f] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.072596] [0000050f] libusbx: debug [process_new_device] found device with address 15 port = 3 parent = 0x7fa1f3407768 at 0x7fa1f3501740
[ 0.073205] [0000050f] libusbx: debug [process_new_device] allocating new device for location 0x14100000
[ 0.073511] [0000050f] libusbx: debug [darwin_cache_device_descriptor] device descriptor:
[ 0.073538] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01
[ 0.073549] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200
[ 0.073559] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x02
[ 0.073569] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x02
[ 0.073579] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x00
[ 0.073589] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40
[ 0.073603] [0000050f] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x04e8
[ 0.073634] [0000050f] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x685d
[ 0.073644] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0000
[ 0.073654] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01
[ 0.073663] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02
[ 0.073673] [0000050f] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x03
[ 0.073683] [0000050f] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01
[ 0.073725] [0000050f] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.073739] [0000050f] libusbx: debug [process_new_device] found device with address 10 port = 1 parent = 0x7fa1f3501898 at 0x7fa1f3601a30
[ 0.073867] [0000050f] libusbx: debug [libusb_get_device_descriptor]
[ 0.073885] [0000050f] libusbx: debug [libusb_get_device_descriptor]
[ 0.073893] [0000050f] libusbx: debug [libusb_get_device_descriptor]
[ 0.073900] [0000050f] libusbx: debug [libusb_get_device_descriptor]
[ 0.073908] [0000050f] libusbx: debug [libusb_get_device_descriptor]
[ 0.073918] [0000050f] libusbx: debug [libusb_unref_device] destroy device 20.0
[ 0.073938] [0000050f] libusbx: debug [libusb_unref_device] destroy device 20.5
[ 0.073949] [0000050f] libusbx: debug [libusb_unref_device] destroy device 20.12
[ 0.073959] [0000050f] libusbx: debug [libusb_unref_device] destroy device 20.15
[ 0.073971] [0000050f] libusbx: debug [libusb_open] open 20.10
[ 0.074550] [0000050f] libusbx: debug [usbi_add_pollfd] add fd 6 events 1
[ 0.074570] [0000050f] libusbx: debug [darwin_open] device open for access
[ 0.074606] [0000050f] libusbx: debug [libusb_get_device_descriptor]
[ 0.074664] [0000050f] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.074682] [0000050f] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.074693] [0000050f] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.074892] [00000e03] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.074937] [0000050f] libusbx: debug [handle_events] poll() returned 1
[ 0.074951] [0000050f] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.074962] [0000050f] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.074976] [0000050f] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.074986] [0000050f] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7fa1f37001b0 has callback 0x10b651260
[ 0.074997] [0000050f] libusbx: debug [ctrl_transfer_cb] actual_length=4
[ 0.075061] [0000050f] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.075076] [0000050f] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.075087] [0000050f] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.075214] [00000e03] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.075257] [0000050f] libusbx: debug [handle_events] poll() returned 1
[ 0.075272] [0000050f] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.075282] [0000050f] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.075296] [0000050f] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.075306] [0000050f] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7fa1f34074c0 has callback 0x10b651260
[ 0.075317] [0000050f] libusbx: debug [ctrl_transfer_cb] actual_length=16
Manufacturer: "SAMSUNG"
[ 0.075377] [0000050f] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.075391] [0000050f] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.075402] [0000050f] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.075610] [00000e03] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.075650] [0000050f] libusbx: debug [handle_events] poll() returned 1
[ 0.075664] [0000050f] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.075674] [0000050f] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.075688] [0000050f] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.075698] [0000050f] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7fa1f3501210 has callback 0x10b651260
[ 0.075709] [0000050f] libusbx: debug [ctrl_transfer_cb] actual_length=4
[ 0.075764] [0000050f] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.075778] [0000050f] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.075789] [0000050f] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.075847] [00000e03] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.075875] [0000050f] libusbx: debug [handle_events] poll() returned 1
[ 0.075887] [0000050f] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.075897] [0000050f] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.075910] [0000050f] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.075920] [0000050f] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7fa1f3501210 has callback 0x10b651260
[ 0.075931] [0000050f] libusbx: debug [ctrl_transfer_cb] actual_length=38
Product: "SAMSUNG USB DRIVER"
[ 0.075976] [0000050f] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.075990] [0000050f] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.076000] [0000050f] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.076109] [00000e03] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.076134] [0000050f] libusbx: debug [handle_events] poll() returned 1
[ 0.076145] [0000050f] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.076155] [0000050f] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.076168] [0000050f] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.076178] [0000050f] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7fa1f3501210 has callback 0x10b651260
[ 0.076188] [0000050f] libusbx: debug [ctrl_transfer_cb] actual_length=4
[ 0.076228] [0000050f] libusbx: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.076240] [0000050f] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.076251] [0000050f] libusbx: debug [handle_events] poll() 2 fds with timeout in 60000ms
[ 0.076353] [00000e03] libusbx: debug [darwin_async_io_callback] an async io operation has completed
[ 0.076383] [0000050f] libusbx: debug [handle_events] poll() returned 1
[ 0.076408] [0000050f] libusbx: debug [op_handle_events] checking fd 4 with revents = 0
[ 0.076419] [0000050f] libusbx: debug [op_handle_events] checking fd 6 with revents = 1
[ 0.076434] [0000050f] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.076434] [0000050f] libusbx: debug [darwin_handle_callback] handling control completion with kernel status 0
[ 0.076444] [0000050f] libusbx: debug [usbi_handle_transfer_completion] transfer 0x7fa1f3501210 has callback 0x10b651260
[ 0.076455] [0000050f] libusbx: debug [ctrl_transfer_cb] actual_length=42
Serial No: " SAMSUNG SERIAL BULK"
length: 18
device class: 2
S/N: 3
VID:PID: 04E8:685D
bcdDevice: 0000
iMan:iProd:iSer: 1:2:3
nb confs: 1
[ 0.076502] [0000050f] libusbx: debug [libusb_get_config_descriptor] index 0
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 83
max packet size: 0010
polling interval: 09
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 02
max packet size: 0200
polling interval: 00
Claiming interface...
[ 0.076561] [0000050f] libusbx: debug [libusb_claim_interface] interface 1
[ 0.077464] [0000050f] libusbx: debug [get_endpoints] building table of endpoints.
[ 0.077487] [0000050f] libusbx: debug [get_endpoints] interface: 1 pipe 1: dir: 1 number: 1
[ 0.077497] [0000050f] libusbx: debug [get_endpoints] interface: 1 pipe 2: dir: 0 number: 2
[ 0.077524] [0000050f] libusbx: debug [darwin_claim_interface] interface opened
Setting up interface...
[ 0.077536] [0000050f] libusbx: debug [libusb_set_interface_alt_setting] interface 1 altsetting 0
[ 0.079706] [0000050f] libusbx: debug [get_endpoints] building table of endpoints.
[ 0.079735] [0000050f] libusbx: error [get_endpoints] error getting pipe information for pipe 1: unknown error
[ 0.079868] [0000050f] libusbx: error [darwin_set_interface_altsetting] could not build endpoint table
ERROR: Setting up interface failed!
Releasing device interface...
[ 0.079898] [0000050f] libusbx: debug [libusb_release_interface] interface 1
[ 0.079909] [0000050f] libusbx: debug [libusb_close]
[ 0.079991] [0000050f] libusbx: debug [usbi_remove_pollfd] remove fd 6
[ 0.080016] [0000050f] libusbx: debug [libusb_unref_device] destroy device 20.10
[ 0.080024] [0000050f] libusbx: debug [libusb_exit]
[ 0.080030] [0000050f] libusbx: debug [libusb_exit] destroying default context
This is still not working on OSX. My config below.
OS: MacOS Sierra 10.12.6
Build: Heimdall 1.4.2 compiled from source
Device: Samsung S3 GT-I9300
Command: ./heimdall print-pit --verbose --usb-log-level debug
Error:
[ 7.172300] [00000307] libusbx: error [get_endpoints] error getting pipe information for pipe 1: unknown error
[ 7.172523] [00000307] libusbx: error [darwin_set_interface_altsetting] could not build endpoint table
Having the same issue with samsung sm-t211 on Windows 7