Benjamin-Dobell/Heimdall

Samsung SM-G998B - ERROR: Failed to send handshake!

shaun-ba opened this issue ยท 10 comments

So I cannot even print-pit currently on this device, is it even supported?

Currently output is:

`sudo heimdall print-pit
Heimdall v1.4.2

Copyright (c) 2010-2017 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...
ERROR: Failed to send handshake!ERROR: Protocol initialisation failed!

Releasing device interface...
`

amo13 commented

I merged a few overdue pull requests from this repo the other day. Can you please try with a freshly compiled version from here?

amo13 commented

Sorry, that link was only for macOS... here is for windows and this is for linux.

@amo13 thank you very much for this
I have been banging my head against the wall for quite a few days now, tried many heimdall builds, and the one you linked above seems to be the first one that can communicate with my SM-T500

amo13 commented

Amazing! Glad to read that, because I merged the pull requests and made the build all totally blindly, since I have no current device to actually test it with.
Thank you very much for reporting, @testman42 .

I merged a few overdue pull requests from this repo the other day. Can you please try with a freshly compiled version from here?

This worked for me with a Samsung S9 and MacOS 11.8. Thank you for your continued work on this.

This build got passed the handshake fail, but I ran into Failed to receive session end confirmation and for my device it displays SECURE CHECK FAIL : recovery

edit:
Here is some more verbose information

WARNING: Empty bulk transfer after receiving packet failed. Continuing anyway...

100%
RECOVERY upload successful

Ending session...
ERROR: Failed to unpack received packet.
ERROR: Failed to receive session end confirmation!
Releasing device interface...

It started working all of the sudden when I turned on --usb-log-level debug, probably coincidence but I didn't think this would be like the double slit experiment.

Same problem, even with a manually compiled build of @amo13 's fork with patches...
On latest Ubuntu LTS

Same problem with LinuxMint 21-Cinnamon. I guess because it is based on the Ubuntu LTS 22


Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...

Initialising protocol...
ERROR: Failed to send handshake!ERROR: Protocol initialisation failed!

Releasing device interface...

Duplicate of #413? I just added some help there.