Heimdall: Setting up interface failed? libusb: errno 110

I run sudo ./bin/heimdall print-pit --verbose from my terminal and got this:

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...

            length: 18
      device class: 2
               S/N: 3
           VID:PID: 04E8:685D
         bcdDevice: 0001
   iMan:iProd:iSer: 2:1:3
          nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 02.02.01
       endpoint[0].address: 83
           max packet size: 0040
          polling interval: 05

interface[1].altsetting[0]: num endpoints = 2
   Class.SubClass.Protocol: 0A.00.00
       endpoint[0].address: 81
           max packet size: 0200
          polling interval: 20
       endpoint[1].address: 02
           max packet size: 0200
          polling interval: 20
Claiming interface...
Setting up interface...
libusb: error [op_set_interface] setintf failed error -1 errno 110
ERROR: Setting up interface failed!
ERROR: Setting up interface failed!
Releasing device interface...

OS: Kubuntu 15.10 Device: GT-S5312 (Neo Duos)

About this issue

  • Original URL
  • State: open
  • Created 9 years ago
  • Reactions: 2
  • Comments: 16 (1 by maintainers)

Most upvoted comments

This issue is solved by restarting the device in download mode just before you run the heimdall command.

NOTE: Before this worked on my SM-J20F device model I had built and installed libusb from source. also I installed heimdall from the apt-store using : $ sudo apt-get install heimdall-flash-tools

Could you try the following:

  • Put the device in ODIN mode (no USB cable)
  • Execute the commands as root:
     echo "blacklist cdc_acm" >/etc/modprobe.d/cdc_acm-blacklist.conf
     rmmod cdc_acm # ignore ERROR is not currently loaded
  • Plug the USB cable and use Heimdall (v1.4.1 is ok).
  • At end remove the file /etc/modprobe.d/cdc_acm-blacklist.conf