Heimdall icon indicating copy to clipboard operation
Heimdall copied to clipboard

heimdall: Odin protocol version 4 support

Open Blefish opened this issue 6 years ago • 9 comments

I investigated with Odin3 and wireshark to see the differences. Odin versions 3.12.xx sent version 3, and the newer ones send version 4. This is needed for S8/S8+ american variants it seems.

Heimdall thus far did not send version number at all.

Blefish avatar Mar 16 '18 11:03 Blefish

This is successfully tested with S6 and upwards, different models.

Blefish avatar Mar 16 '18 11:03 Blefish

I updated the pull request, I'm not sure if I did it properly though.

Blefish avatar Mar 20 '18 14:03 Blefish

@Blefish Thanks for this.

Before I merge I'll have to find some time to dust off all my old Samsung devices (pre S6) and see how this affects them. Also have an S8 on hand so will test there as well.

Benjamin-Dobell avatar Mar 20 '18 15:03 Benjamin-Dobell

Sounds good to me, I would like to know if if actually fixes the problem for someone else as well, because this commit is from december and I used older Heimdall version to base this on originally.

Blefish avatar Mar 20 '18 15:03 Blefish

I'll bite. I'm seeing a successful (?) output from heimdall:

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

Initialising protocol... Protocol initialisation successful.

Beginning session... Releasing device interface...

But I get the error "Odin protocol version error" on the S7 I'm working with.

If I can get the updated version for Linux (I don't know how to build from source) I'll give it a try.

swedishjeff avatar Apr 17 '18 00:04 swedishjeff

@swedishjeff about linux build, see Linux/README at the very end.

nvtkaszpir avatar Apr 18 '18 18:04 nvtkaszpir

This fix worked for me also. Why it doesn't accepted?

Percentage fix: https://github.com/fftmp/Heimdall/commit/04e8eb6f62dd967a75de9a95afa6558131eafa2d

fftmp avatar Mar 28 '21 17:03 fftmp

This fix worked for me as well on a Samsung S7.

ixonstater avatar Apr 02 '21 22:04 ixonstater

This fix doesn't work for me:

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: Protocol initialisation failed!

Releasing device interface...

With --no-reboot --resume, the pit it outputs is empty.

KTibow avatar Aug 18 '22 17:08 KTibow