Benjamin-Dobell / Heimdall

Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy devices.
MIT License
2.58k stars 585 forks source link

libusbx - error 87? #138

Open ZenArcade opened 11 years ago

ZenArcade commented 11 years ago

I'm working with a friend who has previously used heimdall 1.3.x with no issues. He has a new phone (GN2) and a new windows pc and has been attempting to get heimdall 1.4 running successfully. I have been able to get it running on my windows pc with another GN2, but on his, after installing the same way, the device is detected, but other commands produce an error as follows:

C:\A Heimdall>heimdall detect Device detected

C:\A Heimdall>heimdall print-pit 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...

Initialising protocol... libusbx: error [windows_transfer_callback] detected I/O error 87: [87] The parameter is incorrect.

ERROR: Failed to send data!Releasing device interface...

I've tried removing all device drivers, using pnputil to remove ghosts, ensuring drivers, c++ lib, and heimdall match, but the error persists. Has anyone seen this or have ideas regarding resolution? Next steps already planned include trying it on yet another pc, and resetting the phone to stock configuration (at present only kernel, recovery have been replaced and system rooted).

F4scinat3d commented 10 years ago

Did you find a solution?

PierreMorel commented 10 years ago

Same problem here with Windows 8.1, Heimdall 1.4.0 and a Samsung Galaxy Tab 2.

larsborn commented 9 years ago

I'm encountering the same problem on Windows 8.1, Heimdall 1.4.0 and Samsung Galaxy S2.

might this be related: http://sourceforge.net/p/libusbx/mailman/message/31783958/

joaand commented 7 years ago

Had the same problem using Windows 8.1, Heimdall 1.4.0 and Samsung Galaxy S2. Solution was to use Heimdall Suite v 1.3.2 But then I had to write --recovery instead of --RECOVERY