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

Changes related to issue #4 (LG G2 Sprint, LS980) #5

Closed
wants to merge 2 commits into from

Conversation

Mathnerd314
Copy link

This handles the overflow error in #4 and also a timeout error I came across.

You probably don't want to merge these commits as-is, I don't think they're portable.

@Mathnerd314 Mathnerd314 mentioned this pull request Apr 9, 2016
end
-- if not ((endpoint == 0x85 or endpoint == 3) and transfer_type == 3) then
-- return 0
-- end
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this is unfortunate, I had to do the same to test your capture (actually, the bulk transfer type check can stay).

Maybe I have to detect this earlier or turn it into a pref (or drop the EP number check).

@Lekensteyn Lekensteyn changed the title Changes related to issue #4 Changes related to issue #4 (LG G2 Sprint, LS980) Apr 14, 2016
@Lekensteyn
Copy link
Owner

The device name needs to be probed apparently to work on older devices. The overflow detection and close/open/read fallback is too ugly to get in ;-)

I'll keep it open in case other users encounter similar issues.

@Jookia
Copy link

Jookia commented Dec 29, 2017

This patch was needed for my friend to download a 4.5GB partition from their LG G4 H810. Without it, it timed out around the ~500MB mark.

@Mathnerd314
Copy link
Author

Closing in favor of #60

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

Successfully merging this pull request may close these issues.

3 participants