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

Samsung SM-A736B/DS - ERROR: Failed to send handshake! #529

Open sysadminpower2019 opened 1 year ago

sysadminpower2019 commented 1 year ago

Hello,

I am using heimdall v.1.42 and still getting this error. I used the code from github to build it but it still doesn't work

bbourgeat commented 1 year ago

Hello, Same problem for me. I'm trying to flash twrp on my device (Samsung S10e), I'm using heimdall and ubuntu 20.04 and I always get that :

heimdall flash --RECOVERY twrpS10.img --no-reboot
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...

I read https://github.com/Benjamin-Dobell/Heimdall/issues/491 but looks like interesting pages have disappeared (error404). Please, someone could help ? thanks.

red0bear commented 1 year ago

hello people, people those erros can occur using wrong usb cables and/or udev under linux not proper configured. Could be fine this program provide some support to handle this.

you could look at this https://wiki.archlinux.org/title/Udev

Geremia commented 8 months ago

@red0bear How should udev be properly configured? In my case, lsusb shows:

Bus 005 Device 053: ID 04e8:685d Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II] (Download mode)

So the device in download mode is being detected.

Update: I figured it out. I used android-udev-rules.

julianfoad commented 4 months ago

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

red0bear commented 4 months ago

@Geremia ... sorry i get a bit away from here .. is too much toxic and full scammers. I see there is a problem to configure and access on download . but libusb doenst or something is missing depending in OS. It fails both github and pre compiled stuff.

Geremia commented 4 months ago

@red0bear Sorry, I don't have the device anymore to help you test it. ☹