Skip to content

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

Closed
Mathnerd314 wants to merge 2 commits intoLekensteyn:masterfrom
Mathnerd314:master
Closed

Changes related to issue #4 (LG G2 Sprint, LS980)#5
Mathnerd314 wants to merge 2 commits intoLekensteyn:masterfrom
Mathnerd314:master

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