Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

v1.4 RC2: hangs on "Uploading KERNEL 100%" #105

Closed
gigcast opened this Issue Mar 9, 2013 · 23 comments

Comments

Projects
None yet
2 participants

gigcast commented Mar 9, 2013

Hello

I have a Galaxy S II (GT-I9100) that I have never flashed apart from a Kies-driven upgrade to ICS last summer. It has soft-bricked - I can enter download mode only, not recovery. I just want to flash the kernel in order to be able to fire up Kies and restore the machine. Odin failed so I found Heimdall.

I downloaded and built Heimdall v1.4 RC2 from GIT tonight onto 64-bit Crunchbang Linux (debian based).

heimdall detect works - the device is detected.
try to flash the regular UK O2 kernel
"$sudo ./heimdall flash --kernel /home/lee/downloads/I9100XWLPD_I9100O2ULP7_O2U/zImage"

Terminal reads:

"Protocol is not initialised.

Initialising protocol...
Protocol initialisation successful.

Beginning session...

This device may take up to 2 minutes to respond.
Please be patient!

Session begun.

Downloading device's PIT file...
PIT file download successful.

Downloading device's PIT file...
PIT file download successful.

Uploading KERNEL
0%File Part #0... Response: 0 0 0 0 0 0 0 0

12%
File Part #1... Response: 0 0 0 0 1 0 0 0

25%
File Part #2... Response: 0 0 0 0 2 0 0 0

37%
File Part #3... Response: 0 0 0 0 3 0 0 0

50%
File Part #4... Response: 0 0 0 0 4 0 0 0

62%
File Part #5... Response: 0 0 0 0 5 0 0 0

75%
File Part #6... Response: 0 0 0 0 6 0 0 0

87%
File Part #7... Response: 0 0 0 0 7 0 0 0

100%
"

Heimdall then just hangs there with no further response (even after an hour or more). I have to CTRL-c out.

I would be grateful for any advice.

Thanks

Owner

Benjamin-Dobell commented Mar 9, 2013

If Odin and Heimdall fail your device might be damaged. However, try 1.3.1
from the Glass Echidna website.

gigcast commented Mar 9, 2013

OK, Thanks. I tried 1.3.1 from debian apt-get and got the same error. Will compile from your site in case it helps.

Owner

Benjamin-Dobell commented Mar 12, 2013

Could you please try with the wip/1.4RC3 branch?

gigcast commented Mar 13, 2013

Hi there

Trying to compile heimdall. getting following error:

/Heimdall-wip-1.4RC3/heimdall$ make
make all-am
make[1]: Entering directory /Heimdall-wip-1.4RC3/heimdall' depbase=echo source/Arguments.o | sed 's|[^/]$|.deps/&|;s|.o$||';\ g++ -DHAVE_CONFIG_H -I. -I/usr/include/libusb-1.0 -std=c++0x -I../libpit/Source -g -O2 -MT source/Arguments.o -MD -MP -MF $depbase.Tpo -c -o source/Arguments.o source/Arguments.cpp &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo source/BridgeManager.o | sed 's|[^/]$|.deps/&|;s|.o$||';\ g++ -DHAVE_CONFIG_H -I. -I/usr/include/libusb-1.0 -std=c++0x -I../libpit/Source -g -O2 -MT source/BridgeManager.o -MD -MP -MF $depbase.Tpo -c -o source/BridgeManager.o source/BridgeManager.cpp &&\ mv -f $depbase.Tpo $depbase.Po source/BridgeManager.cpp: In member function ‘bool Heimdall::BridgeManager::DetectDevice()’: source/BridgeManager.cpp:504: error: ‘LIBUSB_LOG_LEVEL_NONE’ was not declared in this scope source/BridgeManager.cpp:508: error: ‘LIBUSB_LOG_LEVEL_ERROR’ was not declared in this scope source/BridgeManager.cpp:512: error: ‘LIBUSB_LOG_LEVEL_WARNING’ was not declared in this scope source/BridgeManager.cpp:516: error: ‘LIBUSB_LOG_LEVEL_INFO’ was not declared in this scope source/BridgeManager.cpp:520: error: ‘LIBUSB_LOG_LEVEL_DEBUG’ was not declared in this scope source/BridgeManager.cpp: In member function ‘int Heimdall::BridgeManager::Initialise(bool)’: source/BridgeManager.cpp:569: error: ‘LIBUSB_LOG_LEVEL_NONE’ was not declared in this scope source/BridgeManager.cpp:573: error: ‘LIBUSB_LOG_LEVEL_ERROR’ was not declared in this scope source/BridgeManager.cpp:577: error: ‘LIBUSB_LOG_LEVEL_WARNING’ was not declared in this scope source/BridgeManager.cpp:581: error: ‘LIBUSB_LOG_LEVEL_INFO’ was not declared in this scope source/BridgeManager.cpp:585: error: ‘LIBUSB_LOG_LEVEL_DEBUG’ was not declared in this scope source/BridgeManager.cpp: In member function ‘void Heimdall::BridgeManager::SetUsbLogLevel(Heimdall::BridgeManager::UsbLogLevel)’: source/BridgeManager.cpp:1369: error: ‘LIBUSB_LOG_LEVEL_NONE’ was not declared in this scope source/BridgeManager.cpp:1373: error: ‘LIBUSB_LOG_LEVEL_ERROR’ was not declared in this scope source/BridgeManager.cpp:1377: error: ‘LIBUSB_LOG_LEVEL_WARNING’ was not declared in this scope source/BridgeManager.cpp:1381: error: ‘LIBUSB_LOG_LEVEL_INFO’ was not declared in this scope source/BridgeManager.cpp:1385: error: ‘LIBUSB_LOG_LEVEL_DEBUG’ was not declared in this scope make[1]: *** [source/BridgeManager.o] Error 1 make[1]: Leaving directory/Heimdall-wip-1.4RC3/heimdall'
make: *** [all] Error 2
leapy@crunchbangXPS:~/Heimdall-wip-1.4RC3/heimdall$

Owner

Benjamin-Dobell commented Mar 13, 2013

@leapylee You'll need to uninstall libusb-1.0 and install libusbx instead.

gigcast commented Mar 13, 2013

In case of relevance, I am following the Linux/README file which includes the following section:

" 4. Enter the following commands to compile libpit.

        cd libusb-1.0
        ./configure
        make
        cd .."

I ignore this step since section 3 relates to building libpit and there is no libusb-1.0 directory (there is a libusbx-1.0 directory with no configure or makefiles).

Owner

Benjamin-Dobell commented Mar 13, 2013

Sorry, yeah the READMEs haven't yet been updated for 1.4 (but will be before release). libusbx is bundled with Heimdall on Windows only. All other platforms should install libusbx from their appropriate package manager, or if necessary from source:
http://libusbx.org/

gigcast commented Mar 13, 2013

Sorry, our posts crossed.

I have no libusbx in my debian repositories. Thanks - will try and build fm source.

Thank you!

gigcast commented Mar 13, 2013

heimdall compiled successfully with libusbx
now setting up heimdall-frontend
will get back with results

gigcast commented Mar 13, 2013

Trying to compile heimdall-frontend from wip/1.4RC3:

/Heimdall-wip-1.4RC3/heimdall-frontend$ qmake-qt4 heimdall-frontend.pro
RCC: Warning: No resources in 'mainwindow.qrc'.
/Heimdall-wip-1.4RC3/heimdall-frontend$

fails

L

gigcast commented Mar 13, 2013

ignore warning. Found prior posts....

gigcast commented Mar 13, 2013

compiled heimdall and heimdall-frontend from wip/1.4RC3

I have tried command line and UI and neither detects the phone in download mode. Odin sees it OK with same phone / usb cable.

~$ heimdall detect
ERROR: Failed to detect compatible download-mode device.

I installed over 1.3.1 so cannot check if that would now have problems.

Owner

Benjamin-Dobell commented Mar 13, 2013

@leapylee Did you reload the udev rules after running "sudo make install"? This step used to be automated but now a message is printed instead telling you to execute one of:

service udev restart

udevadm control --reload_rules

or reboot your machine.

Once you've done that Heimdall should be able to detect your device in download mode.

gigcast commented Mar 14, 2013

Hi there. You were correct. I had rebooted my machine and still had same error. I then shut it down and left it overnight. This morning Heimdall detects OK. I now get the following error:

"
Initialising connection...
Detecting device...
ERROR: Failed to access device. libusb error: -96
"

Any thoughts? I googled libusb error: -96 and get one search result - related to Heimdall :-) but no solution....

Owner

Benjamin-Dobell commented Mar 14, 2013

Hmm, no I've never seen error -96 before, it's not a standard libusbx error that's included in the libusbx headers. However, as a part of Heimdall 1.4RC3 I added support for libusbx debugging. Could you please upload the output of the following:

heimdall print-pit --usb-log-level DEBUG

gigcast commented Mar 14, 2013

Sure:

leestone@crunchbangXPS:$ heimdall detect
Device detected
leestone@crunchbangXPS:
$ heimdall print-pit --usb-log-level DEBUG
Heimdall v1.4 RC3

Copyright (c) 2010-2012, 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]

[ 0.000246] [000015dc] libusbx: debug [libusb_get_device_list]
[ 0.000295] [000015dc] libusbx: debug [sysfs_scan_device] scan usb1
[ 0.000367] [000015dc] libusbx: debug [sysfs_scan_device] bus=1 dev=1
[ 0.000375] [000015dc] libusbx: debug [enumerate_device] busnum 1 devaddr 1 session_id 257
[ 0.000382] [000015dc] libusbx: debug [enumerate_device] allocating new device for 1/1 (session 257)
[ 0.000470] [000015dc] libusbx: debug [sysfs_scan_device] scan usb2
[ 0.000530] [000015dc] libusbx: debug [sysfs_scan_device] bus=2 dev=1
[ 0.000539] [000015dc] libusbx: debug [enumerate_device] busnum 2 devaddr 1 session_id 513
[ 0.000545] [000015dc] libusbx: debug [enumerate_device] allocating new device for 2/1 (session 513)
[ 0.000588] [000015dc] libusbx: debug [sysfs_scan_device] scan usb3
[ 0.000643] [000015dc] libusbx: debug [sysfs_scan_device] bus=3 dev=1
[ 0.000651] [000015dc] libusbx: debug [enumerate_device] busnum 3 devaddr 1 session_id 769
[ 0.000657] [000015dc] libusbx: debug [enumerate_device] allocating new device for 3/1 (session 769)
[ 0.000701] [000015dc] libusbx: debug [sysfs_scan_device] scan usb4
[ 0.000755] [000015dc] libusbx: debug [sysfs_scan_device] bus=4 dev=1
[ 0.000763] [000015dc] libusbx: debug [enumerate_device] busnum 4 devaddr 1 session_id 1025
[ 0.000769] [000015dc] libusbx: debug [enumerate_device] allocating new device for 4/1 (session 1025)
[ 0.000811] [000015dc] libusbx: debug [sysfs_scan_device] scan usb5
[ 0.000865] [000015dc] libusbx: debug [sysfs_scan_device] bus=5 dev=1
[ 0.000874] [000015dc] libusbx: debug [enumerate_device] busnum 5 devaddr 1 session_id 1281
[ 0.000880] [000015dc] libusbx: debug [enumerate_device] allocating new device for 5/1 (session 1281)
[ 0.000921] [000015dc] libusbx: debug [sysfs_scan_device] scan usb6
[ 0.000976] [000015dc] libusbx: debug [sysfs_scan_device] bus=6 dev=1
[ 0.000984] [000015dc] libusbx: debug [enumerate_device] busnum 6 devaddr 1 session_id 1537
[ 0.000991] [000015dc] libusbx: debug [enumerate_device] allocating new device for 6/1 (session 1537)
[ 0.001033] [000015dc] libusbx: debug [sysfs_scan_device] scan usb7
[ 0.001087] [000015dc] libusbx: debug [sysfs_scan_device] bus=7 dev=1
[ 0.001095] [000015dc] libusbx: debug [enumerate_device] busnum 7 devaddr 1 session_id 1793
[ 0.001102] [000015dc] libusbx: debug [enumerate_device] allocating new device for 7/1 (session 1793)
[ 0.001143] [000015dc] libusbx: debug [sysfs_scan_device] scan 2-6
[ 0.001198] [000015dc] libusbx: debug [sysfs_scan_device] bus=2 dev=3
[ 0.001206] [000015dc] libusbx: debug [enumerate_device] busnum 2 devaddr 3 session_id 515
[ 0.001213] [000015dc] libusbx: debug [enumerate_device] allocating new device for 2/3 (session 515)
[ 0.001255] [000015dc] libusbx: debug [sysfs_scan_device] scan 3-2
[ 0.001309] [000015dc] libusbx: debug [sysfs_scan_device] bus=3 dev=2
[ 0.001317] [000015dc] libusbx: debug [enumerate_device] busnum 3 devaddr 2 session_id 770
[ 0.001324] [000015dc] libusbx: debug [enumerate_device] allocating new device for 3/2 (session 770)
[ 0.001367] [000015dc] libusbx: debug [discovered_devs_append] need to increase capacity
[ 0.001379] [000015dc] libusbx: debug [sysfs_scan_device] scan 7-1
[ 0.001459] [000015dc] libusbx: debug [sysfs_scan_device] bus=7 dev=2
[ 0.001468] [000015dc] libusbx: debug [enumerate_device] busnum 7 devaddr 2 session_id 1794
[ 0.001475] [000015dc] libusbx: debug [enumerate_device] allocating new device for 7/2 (session 1794)
[ 0.001519] [000015dc] libusbx: debug [sysfs_scan_device] scan 3-2.1
[ 0.001577] [000015dc] libusbx: debug [sysfs_scan_device] bus=3 dev=3
[ 0.001584] [000015dc] libusbx: debug [enumerate_device] busnum 3 devaddr 3 session_id 771
[ 0.001591] [000015dc] libusbx: debug [enumerate_device] allocating new device for 3/3 (session 771)
[ 0.001636] [000015dc] libusbx: debug [sysfs_scan_device] scan 3-2.2
[ 0.001690] [000015dc] libusbx: debug [sysfs_scan_device] bus=3 dev=4
[ 0.001698] [000015dc] libusbx: debug [enumerate_device] busnum 3 devaddr 4 session_id 772
[ 0.001704] [000015dc] libusbx: debug [enumerate_device] allocating new device for 3/4 (session 772)
[ 0.001748] [000015dc] libusbx: debug [sysfs_scan_device] scan 3-2.3
[ 0.001803] [000015dc] libusbx: debug [sysfs_scan_device] bus=3 dev=5
[ 0.001811] [000015dc] libusbx: debug [enumerate_device] busnum 3 devaddr 5 session_id 773
[ 0.001817] [000015dc] libusbx: debug [enumerate_device] allocating new device for 3/5 (session 773)
[ 0.001862] [000015dc] libusbx: debug [sysfs_scan_device] scan 2-2
[ 0.001919] [000015dc] libusbx: debug [sysfs_scan_device] bus=2 dev=6
[ 0.001927] [000015dc] libusbx: debug [enumerate_device] busnum 2 devaddr 6 session_id 518
[ 0.001933] [000015dc] libusbx: debug [enumerate_device] allocating new device for 2/6 (session 518)
[ 0.001988] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002007] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002025] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002041] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002058] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002075] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002092] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002109] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002126] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002144] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002161] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002180] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002198] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002216] [000015dc] libusbx: debug [libusb_get_device_descriptor]
[ 0.002235] [000015dc] libusbx: debug [libusb_unref_device] destroy device 1.1
[ 0.002244] [000015dc] libusbx: debug [libusb_unref_device] destroy device 2.1
[ 0.002250] [000015dc] libusbx: debug [libusb_unref_device] destroy device 3.1
[ 0.002257] [000015dc] libusbx: debug [libusb_unref_device] destroy device 4.1
[ 0.002263] [000015dc] libusbx: debug [libusb_unref_device] destroy device 5.1
[ 0.002269] [000015dc] libusbx: debug [libusb_unref_device] destroy device 6.1
[ 0.002275] [000015dc] libusbx: debug [libusb_unref_device] destroy device 7.1
[ 0.002282] [000015dc] libusbx: debug [libusb_unref_device] destroy device 2.3
[ 0.002288] [000015dc] libusbx: debug [libusb_unref_device] destroy device 3.2
[ 0.002294] [000015dc] libusbx: debug [libusb_unref_device] destroy device 7.2
[ 0.002300] [000015dc] libusbx: debug [libusb_unref_device] destroy device 3.3
[ 0.002307] [000015dc] libusbx: debug [libusb_unref_device] destroy device 3.4
[ 0.002313] [000015dc] libusbx: debug [libusb_unref_device] destroy device 3.5
[ 0.002320] [000015dc] libusbx: debug [libusb_open] open 2.6
[ 0.002328] [000015dc] libusbx: debug [op_open] opening /dev/bus/usb/002/006
[ 0.002342] [000015dc] libusbx: error [op_open] libusbx couldn't open USB device /dev/bus/usb/002/006: Permission denied.
[ 0.002350] [000015dc] libusbx: error [op_open] libusbx requires write access to USB device nodes.
[ 0.002356] [000015dc] libusbx: debug [libusb_open] could not open device: LIBUSB_ERROR_ACCESS
ERROR: Failed to access device. libusb error: -3
[ 0.002368] [000015dc] libusbx: debug [libusb_unref_device] destroy device 2.6
[ 0.002375] [000015dc] libusbx: debug [libusb_exit]
[ 0.002380] [000015dc] libusbx: debug [libusb_exit] destroying default context
leestone@crunchbangXPS:~$

HTH

gigcast commented Mar 14, 2013

Again, using Sudo (just in case it helps):

leestone@crunchbangXPS:~$ sudo heimdall print-pit --usb-log-level DEBUG
Heimdall v1.4 RC3

Copyright (c) 2010-2012, 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]

[ 0.000242] [0000164a] libusbx: debug [libusb_get_device_list]
[ 0.000292] [0000164a] libusbx: debug [sysfs_scan_device] scan usb1
[ 0.000368] [0000164a] libusbx: debug [sysfs_scan_device] bus=1 dev=1
[ 0.000377] [0000164a] libusbx: debug [enumerate_device] busnum 1 devaddr 1 session_id 257
[ 0.000384] [0000164a] libusbx: debug [enumerate_device] allocating new device for 1/1 (session 257)
[ 0.000441] [0000164a] libusbx: debug [sysfs_scan_device] scan usb2
[ 0.000498] [0000164a] libusbx: debug [sysfs_scan_device] bus=2 dev=1
[ 0.000506] [0000164a] libusbx: debug [enumerate_device] busnum 2 devaddr 1 session_id 513
[ 0.000512] [0000164a] libusbx: debug [enumerate_device] allocating new device for 2/1 (session 513)
[ 0.000554] [0000164a] libusbx: debug [sysfs_scan_device] scan usb3
[ 0.000611] [0000164a] libusbx: debug [sysfs_scan_device] bus=3 dev=1
[ 0.000618] [0000164a] libusbx: debug [enumerate_device] busnum 3 devaddr 1 session_id 769
[ 0.000625] [0000164a] libusbx: debug [enumerate_device] allocating new device for 3/1 (session 769)
[ 0.000668] [0000164a] libusbx: debug [sysfs_scan_device] scan usb4
[ 0.000722] [0000164a] libusbx: debug [sysfs_scan_device] bus=4 dev=1
[ 0.000730] [0000164a] libusbx: debug [enumerate_device] busnum 4 devaddr 1 session_id 1025
[ 0.000736] [0000164a] libusbx: debug [enumerate_device] allocating new device for 4/1 (session 1025)
[ 0.000777] [0000164a] libusbx: debug [sysfs_scan_device] scan usb5
[ 0.000832] [0000164a] libusbx: debug [sysfs_scan_device] bus=5 dev=1
[ 0.000840] [0000164a] libusbx: debug [enumerate_device] busnum 5 devaddr 1 session_id 1281
[ 0.000846] [0000164a] libusbx: debug [enumerate_device] allocating new device for 5/1 (session 1281)
[ 0.000887] [0000164a] libusbx: debug [sysfs_scan_device] scan usb6
[ 0.000971] [0000164a] libusbx: debug [sysfs_scan_device] bus=6 dev=1
[ 0.000980] [0000164a] libusbx: debug [enumerate_device] busnum 6 devaddr 1 session_id 1537
[ 0.000987] [0000164a] libusbx: debug [enumerate_device] allocating new device for 6/1 (session 1537)
[ 0.001029] [0000164a] libusbx: debug [sysfs_scan_device] scan usb7
[ 0.001084] [0000164a] libusbx: debug [sysfs_scan_device] bus=7 dev=1
[ 0.001092] [0000164a] libusbx: debug [enumerate_device] busnum 7 devaddr 1 session_id 1793
[ 0.001098] [0000164a] libusbx: debug [enumerate_device] allocating new device for 7/1 (session 1793)
[ 0.001138] [0000164a] libusbx: debug [sysfs_scan_device] scan 2-6
[ 0.001193] [0000164a] libusbx: debug [sysfs_scan_device] bus=2 dev=3
[ 0.001200] [0000164a] libusbx: debug [enumerate_device] busnum 2 devaddr 3 session_id 515
[ 0.001207] [0000164a] libusbx: debug [enumerate_device] allocating new device for 2/3 (session 515)
[ 0.001249] [0000164a] libusbx: debug [sysfs_scan_device] scan 3-2
[ 0.001303] [0000164a] libusbx: debug [sysfs_scan_device] bus=3 dev=2
[ 0.001310] [0000164a] libusbx: debug [enumerate_device] busnum 3 devaddr 2 session_id 770
[ 0.001316] [0000164a] libusbx: debug [enumerate_device] allocating new device for 3/2 (session 770)
[ 0.001359] [0000164a] libusbx: debug [discovered_devs_append] need to increase capacity
[ 0.001371] [0000164a] libusbx: debug [sysfs_scan_device] scan 7-1
[ 0.001423] [0000164a] libusbx: debug [sysfs_scan_device] bus=7 dev=2
[ 0.001431] [0000164a] libusbx: debug [enumerate_device] busnum 7 devaddr 2 session_id 1794
[ 0.001437] [0000164a] libusbx: debug [enumerate_device] allocating new device for 7/2 (session 1794)
[ 0.001480] [0000164a] libusbx: debug [sysfs_scan_device] scan 3-2.1
[ 0.001535] [0000164a] libusbx: debug [sysfs_scan_device] bus=3 dev=3
[ 0.001543] [0000164a] libusbx: debug [enumerate_device] busnum 3 devaddr 3 session_id 771
[ 0.001549] [0000164a] libusbx: debug [enumerate_device] allocating new device for 3/3 (session 771)
[ 0.001595] [0000164a] libusbx: debug [sysfs_scan_device] scan 3-2.2
[ 0.001650] [0000164a] libusbx: debug [sysfs_scan_device] bus=3 dev=4
[ 0.001657] [0000164a] libusbx: debug [enumerate_device] busnum 3 devaddr 4 session_id 772
[ 0.001664] [0000164a] libusbx: debug [enumerate_device] allocating new device for 3/4 (session 772)
[ 0.001707] [0000164a] libusbx: debug [sysfs_scan_device] scan 3-2.3
[ 0.001762] [0000164a] libusbx: debug [sysfs_scan_device] bus=3 dev=5
[ 0.001770] [0000164a] libusbx: debug [enumerate_device] busnum 3 devaddr 5 session_id 773
[ 0.001776] [0000164a] libusbx: debug [enumerate_device] allocating new device for 3/5 (session 773)
[ 0.001820] [0000164a] libusbx: debug [sysfs_scan_device] scan 2-2
[ 0.001876] [0000164a] libusbx: debug [sysfs_scan_device] bus=2 dev=8
[ 0.001884] [0000164a] libusbx: debug [enumerate_device] busnum 2 devaddr 8 session_id 520
[ 0.001893] [0000164a] libusbx: debug [enumerate_device] allocating new device for 2/8 (session 520)
[ 0.001977] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.001998] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002015] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002032] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002049] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002065] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002082] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002098] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002115] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002131] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002148] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002166] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002183] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002201] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002219] [0000164a] libusbx: debug [libusb_unref_device] destroy device 1.1
[ 0.002228] [0000164a] libusbx: debug [libusb_unref_device] destroy device 2.1
[ 0.002234] [0000164a] libusbx: debug [libusb_unref_device] destroy device 3.1
[ 0.002241] [0000164a] libusbx: debug [libusb_unref_device] destroy device 4.1
[ 0.002247] [0000164a] libusbx: debug [libusb_unref_device] destroy device 5.1
[ 0.002253] [0000164a] libusbx: debug [libusb_unref_device] destroy device 6.1
[ 0.002259] [0000164a] libusbx: debug [libusb_unref_device] destroy device 7.1
[ 0.002265] [0000164a] libusbx: debug [libusb_unref_device] destroy device 2.3
[ 0.002272] [0000164a] libusbx: debug [libusb_unref_device] destroy device 3.2
[ 0.002278] [0000164a] libusbx: debug [libusb_unref_device] destroy device 7.2
[ 0.002284] [0000164a] libusbx: debug [libusb_unref_device] destroy device 3.3
[ 0.002290] [0000164a] libusbx: debug [libusb_unref_device] destroy device 3.4
[ 0.002297] [0000164a] libusbx: debug [libusb_unref_device] destroy device 3.5
[ 0.002303] [0000164a] libusbx: debug [libusb_open] open 2.8
[ 0.002311] [0000164a] libusbx: debug [op_open] opening /dev/bus/usb/002/008
[ 0.002340] [0000164a] libusbx: debug [op_open] /dev/bus/usb/002/008: getcap not available
[ 0.002347] [0000164a] libusbx: debug [usbi_add_pollfd] add fd 6 events 4
[ 0.002361] [0000164a] libusbx: debug [libusb_get_device_descriptor]
[ 0.002380] [0000164a] libusbx: debug [libusb_get_config_descriptor] index 0
Claiming interface...
[ 0.002416] [0000164a] libusbx: debug [libusb_claim_interface] interface 1
Attempt failed. Detaching driver...
[ 0.002427] [0000164a] libusbx: debug [libusb_detach_kernel_driver] interface 1
Claiming interface again...
[ 0.002558] [0000164a] libusbx: debug [libusb_claim_interface] interface 1
Setting up interface...
[ 0.002575] [0000164a] libusbx: debug [libusb_set_interface_alt_setting] interface 1 altsetting 0

Initialising protocol...
[ 0.002766] [0000164a] libusbx: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.002790] [0000164a] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.002798] [0000164a] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.009400] [0000164a] libusbx: debug [handle_events] poll() returned 1
[ 0.009427] [0000164a] libusbx: debug [reap_for_handle] urb type=2 status=0 transferred=0
[ 0.009439] [0000164a] libusbx: debug [handle_control_completion] handling completion status 0
[ 0.009452] [0000164a] libusbx: debug [disarm_timerfd]
[ 0.009463] [0000164a] libusbx: debug [usbi_handle_transfer_completion] transfer 0x251d2d8 has callback 0x7fcbe0491e10
[ 0.009494] [0000164a] libusbx: debug [ctrl_transfer_cb] actual_length=0
[ 0.009516] [0000164a] libusbx: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.009540] [0000164a] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.009553] [0000164a] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.016030] [0000164a] libusbx: debug [handle_events] poll() returned 1
[ 0.016179] [0000164a] libusbx: debug [reap_for_handle] urb type=2 status=0 transferred=7
[ 0.016191] [0000164a] libusbx: debug [handle_control_completion] handling completion status 0
[ 0.016205] [0000164a] libusbx: debug [disarm_timerfd]
[ 0.016212] [0000164a] libusbx: debug [usbi_handle_transfer_completion] transfer 0x251d2d8 has callback 0x7fcbe0491e10
[ 0.016219] [0000164a] libusbx: debug [ctrl_transfer_cb] actual_length=7
[ 0.016231] [0000164a] libusbx: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.016246] [0000164a] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.016253] [0000164a] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.022652] [0000164a] libusbx: debug [handle_events] poll() returned 1
[ 0.022672] [0000164a] libusbx: debug [reap_for_handle] urb type=2 status=0 transferred=0
[ 0.022683] [0000164a] libusbx: debug [handle_control_completion] handling completion status 0
[ 0.022694] [0000164a] libusbx: debug [disarm_timerfd]
[ 0.022705] [0000164a] libusbx: debug [usbi_handle_transfer_completion] transfer 0x251d2d8 has callback 0x7fcbe0491e10
[ 0.022716] [0000164a] libusbx: debug [ctrl_transfer_cb] actual_length=0
[ 0.022731] [0000164a] libusbx: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.022752] [0000164a] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.022764] [0000164a] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.029398] [0000164a] libusbx: debug [handle_events] poll() returned 1
[ 0.029420] [0000164a] libusbx: debug [reap_for_handle] urb type=2 status=0 transferred=0
[ 0.029426] [0000164a] libusbx: debug [handle_control_completion] handling completion status 0
[ 0.029434] [0000164a] libusbx: debug [disarm_timerfd]
[ 0.029441] [0000164a] libusbx: debug [usbi_handle_transfer_completion] transfer 0x251d2d8 has callback 0x7fcbe0491e10
[ 0.029448] [0000164a] libusbx: debug [ctrl_transfer_cb] actual_length=0
[ 0.029458] [0000164a] libusbx: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.029473] [0000164a] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.029480] [0000164a] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.036035] [0000164a] libusbx: debug [handle_events] poll() returned 1
[ 0.036060] [0000164a] libusbx: debug [reap_for_handle] urb type=2 status=0 transferred=7
[ 0.036071] [0000164a] libusbx: debug [handle_control_completion] handling completion status 0
[ 0.036082] [0000164a] libusbx: debug [disarm_timerfd]
[ 0.036093] [0000164a] libusbx: debug [usbi_handle_transfer_completion] transfer 0x251d2d8 has callback 0x7fcbe0491e10
[ 0.036104] [0000164a] libusbx: debug [ctrl_transfer_cb] actual_length=7
[ 0.036120] [0000164a] libusbx: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.036141] [0000164a] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.036153] [0000164a] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.042655] [0000164a] libusbx: debug [handle_events] poll() returned 1
[ 0.042675] [0000164a] libusbx: debug [reap_for_handle] urb type=2 status=0 transferred=0
[ 0.042686] [0000164a] libusbx: debug [handle_control_completion] handling completion status 0
[ 0.042697] [0000164a] libusbx: debug [disarm_timerfd]
[ 0.042707] [0000164a] libusbx: debug [usbi_handle_transfer_completion] transfer 0x251d2d8 has callback 0x7fcbe0491e10
[ 0.042719] [0000164a] libusbx: debug [ctrl_transfer_cb] actual_length=0
[ 0.042740] [0000164a] libusbx: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.042754] [0000164a] libusbx: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 4
[ 0.042776] [0000164a] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.042788] [0000164a] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.042895] [0000164a] libusbx: debug [handle_events] poll() returned 1
[ 0.042905] [0000164a] libusbx: debug [reap_for_handle] urb type=3 status=0 transferred=4
[ 0.042912] [0000164a] libusbx: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.042919] [0000164a] libusbx: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.042925] [0000164a] libusbx: debug [disarm_timerfd]
[ 0.042942] [0000164a] libusbx: debug [usbi_handle_transfer_completion] transfer 0x251d2d8 has callback 0x7fcbe0491de0
[ 0.042950] [0000164a] libusbx: debug [bulk_transfer_cb] actual_length=4
[ 0.042959] [0000164a] libusbx: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.042968] [0000164a] libusbx: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 7
[ 0.042980] [0000164a] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.042988] [0000164a] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.051158] [0000164a] libusbx: debug [handle_events] poll() returned 1
[ 0.051176] [0000164a] libusbx: debug [reap_for_handle] urb type=3 status=-121 transferred=4
[ 0.051187] [0000164a] libusbx: debug [handle_bulk_completion] handling completion status -121 of bulk urb 1/1
[ 0.051199] [0000164a] libusbx: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.051210] [0000164a] libusbx: debug [disarm_timerfd]
[ 0.051220] [0000164a] libusbx: debug [usbi_handle_transfer_completion] transfer 0x251d2d8 has callback 0x7fcbe0491de0
[ 0.051231] [0000164a] libusbx: debug [bulk_transfer_cb] actual_length=4
Protocol initialisation successful.

Beginning session...
[ 0.051275] [0000164a] libusbx: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 0.051290] [0000164a] libusbx: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 1024
[ 0.051308] [0000164a] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.051321] [0000164a] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.051518] [0000164a] libusbx: debug [handle_events] poll() returned 1
[ 0.051533] [0000164a] libusbx: debug [reap_for_handle] urb type=3 status=0 transferred=1024
[ 0.051544] [0000164a] libusbx: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.051555] [0000164a] libusbx: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.051565] [0000164a] libusbx: debug [disarm_timerfd]
[ 0.051576] [0000164a] libusbx: debug [usbi_handle_transfer_completion] transfer 0x251d1c8 has callback 0x7fcbe0491de0
[ 0.051587] [0000164a] libusbx: debug [bulk_transfer_cb] actual_length=1024
[ 0.051601] [0000164a] libusbx: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 0.051615] [0000164a] libusbx: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[ 0.051633] [0000164a] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.051646] [0000164a] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.054280] [0000164a] libusbx: debug [handle_events] poll() returned 1
[ 0.054299] [0000164a] libusbx: debug [reap_for_handle] urb type=3 status=0 transferred=8
[ 0.054310] [0000164a] libusbx: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.054322] [0000164a] libusbx: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.054332] [0000164a] libusbx: debug [disarm_timerfd]
[ 0.054342] [0000164a] libusbx: debug [usbi_handle_transfer_completion] transfer 0x251d1c8 has callback 0x7fcbe0491de0
[ 0.054354] [0000164a] libusbx: debug [bulk_transfer_cb] actual_length=8

Owner

Benjamin-Dobell commented Mar 14, 2013

There appears to be two issues. First one is simply that for some reason your udev rules haven't installed properly. This is why you got further when you included sudo.

However, the second issue, I'm not sure about at all. Looking at that output it just seems to cut off suddenly, based on what is there I would have expected it to work though. It may well be that your device is damaged. If you know someone with the same model phone who could repeat these tests that would help eliminate phone damage as a possibility.

gigcast commented Mar 14, 2013

Without the debug call:

leestone@crunchbangXPS:~$ sudo heimdall print-pit
Heimdall v1.4 RC3

Copyright (c) 2010-2012, 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...

Initialising protocol...
Protocol initialisation successful.

Beginning session...

This device may take up to 2 minutes to respond.
Please be patient!

Session begun.

Downloading device's PIT file...
PIT file download successful.

Entry Count: 15
Unknown 1: 0
Unknown 2: 0
Unknown 3: 0
Unknown 4: 0
Unknown 5: 0
Unknown 6: 0
Unknown 7: 0
Unknown 8: 0

--- Entry #0 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 0
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 0
Partition Block Count: 0
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: GANG
Flash Filename: emmc.img
FOTA Filename:

--- Entry #1 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 1
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 0
Partition Block Count: 0
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: BOOT
Flash Filename: boot.bin
FOTA Filename:

--- Entry #2 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 4
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 8192
Partition Block Count: 40960
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: EFS
Flash Filename: efs.img
FOTA Filename:

--- Entry #3 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 2
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 49152
Partition Block Count: 2560
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SBL1
Flash Filename: Sbl.bin
FOTA Filename:

--- Entry #4 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 3
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 53248
Partition Block Count: 2560
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SBL2
Flash Filename:
FOTA Filename:

--- Entry #5 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 5
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 57344
Partition Block Count: 16384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PARAM
Flash Filename: param.lfs
FOTA Filename:

--- Entry #6 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 6
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 73728
Partition Block Count: 16384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: KERNEL
Flash Filename: zImage
FOTA Filename:

--- Entry #7 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 7
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 90112
Partition Block Count: 16384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: RECOVERY
Flash Filename:
FOTA Filename:

--- Entry #8 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 8
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 106496
Partition Block Count: 204800
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: CACHE
Flash Filename: cache.img
FOTA Filename:

--- Entry #9 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 9
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 311296
Partition Block Count: 32768
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MODEM
Flash Filename: modem.bin
FOTA Filename:

--- Entry #10 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 10
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 344064
Partition Block Count: 1048576
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: FACTORYFS
Flash Filename: factoryfs.img
FOTA Filename:

--- Entry #11 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 11
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 1392640
Partition Block Count: 4194304
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: DATAFS
Flash Filename: data.img
FOTA Filename:

--- Entry #12 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 12
Attributes: 2 (STL Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 5586944
Partition Block Count: 24133632
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: UMS
Flash Filename:
FOTA Filename:

--- Entry #13 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 13
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 29720576
Partition Block Count: 1048576
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: HIDDEN
Flash Filename: hidden.img
FOTA Filename:

--- Entry #14 ---
Binary Type: 1 (CP)
Device Type: 1 (File/FAT)
Identifier: 9
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 0
Partition Block Count: 0
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name:
Flash Filename:
FOTA Filename:

gigcast commented Mar 14, 2013

Using the FLASH tab in sudo heimdall-frontend with "verbose" on:

Heimdall v1.4 RC3

Copyright (c) 2010-2012, 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: "Gadget Serial"

        length: 18
  device class: 2
           S/N: 0
       VID:PID: 04E8:685D
     bcdDevice: 021B

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: 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...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Beginning session...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet.
Releasing device interface...
Re-attaching kernel driver...

gigcast commented Mar 14, 2013

Just trying to install the kernel - using the Flash tab on sudo heimdall-frontend.

Heimdall v1.4 RC3

Copyright (c) 2010-2012, 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: "Gadget Serial"

        length: 18
  device class: 2
           S/N: 0
       VID:PID: 04E8:685D
     bcdDevice: 021B

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: 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...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Initialising protocol...
Protocol initialisation successful.

Beginning session...

This device may take up to 2 minutes to respond.
Please be patient!

Session begun.

Downloading device's PIT file...
PIT file download successful.

Uploading KERNEL
0%
File Part #0... Response: 0 0 0 0 0 0 0 0

12%

File Part #1... Response: 0 0 0 0 1 0 0 0

25%

File Part #2... Response: 0 0 0 0 2 0 0 0

37%

File Part #3... Response: 0 0 0 0 3 0 0 0

50%

File Part #4... Response: 0 0 0 0 4 0 0 0

62%

File Part #5... Response: 0 0 0 0 5 0 0 0

75%

File Part #6... Response: 0 0 0 0 6 0 0 0

87%

File Part #7... Response: 0 0 0 0 7 0 0 0

100%

Then a long wait until ERROR: libusb error -7 whilst receiving packet. Retrying...

gigcast commented Mar 14, 2013

CLI sudo heimdall flash --SBL1 Sbl.bin and I am back to my opening post....

leestone@crunchbangXPS:~/downloads/GT-I9100_NEW_BOOTLOADER$ sudo heimdall flash --SBL1 Sbl.bin
Heimdall v1.4 RC3

Copyright (c) 2010-2012, 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...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Initialising protocol...
Protocol initialisation successful.

Beginning session...

This device may take up to 2 minutes to respond.
Please be patient!

Session begun.

Downloading device's PIT file...
PIT file download successful.

Uploading SBL1
100%
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet.

ERROR: Failed to confirm end of file transfer sequence!
BOOT upload failed!
Ending session...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet.
ERROR: Failed to send end session packet!
Re-attaching kernel driver...

Owner

Benjamin-Dobell commented Jun 11, 2013

I'm hoping this is fixed the 1.4.0 release (https://github.com/Benjamin-Dobell/Heimdall/tree/v1.4.0).

If not, please reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment