-
-
Notifications
You must be signed in to change notification settings - Fork 585
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
heimdall: Odin protocol version 4 support #459
base: master
Are you sure you want to change the base?
Conversation
This is successfully tested with S6 and upwards, different models. |
heimdall/source/BeginSessionPacket.h
Outdated
{ | ||
SessionSetupPacket::Pack(); | ||
|
||
/* Odin protocol verison. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a cosmetic thingy, but there is spelling mistake "verison" in the comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I will update. Do you otherwise think this is ok or is there anything else to change?
Besides testing of course
I updated the pull request, I'm not sure if I did it properly though. |
@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. |
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. |
I'll bite. I'm seeing a successful (?) output from heimdall: Initialising connection... Initialising protocol... Beginning session... 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 about linux build, see Linux/README at the very end. |
This fix worked for me also. Why it doesn't accepted? Percentage fix: fftmp-forked@04e8eb6 |
This fix worked for me as well on a Samsung S7. |
This fix doesn't work for me:
With |
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.