Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shaun-ba opened this issue Aug 25, 2021 · 10 comments
Open

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

shaun-ba opened this issue Aug 25, 2021 · 10 comments

Comments

@shaun-ba
Copy link

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

@shaun-ba shaun-ba changed the title Samsung SM-G998B - Samsung SM-G998B - ERROR: Failed to send handshake! Aug 25, 2021
@amo13
Copy link

amo13 commented Sep 5, 2021

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
Copy link

amo13 commented Sep 5, 2021

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

@testman42
Copy link

@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
Copy link

amo13 commented Sep 9, 2021

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 .

@rdeforest
Copy link

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.

@dylhack
Copy link

dylhack commented Nov 3, 2021

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

@dylhack
Copy link

dylhack commented Nov 3, 2021

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.

@Erudition
Copy link

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

@pcolamar
Copy link

pcolamar commented Oct 25, 2022

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

@julianfoad
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants