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

USB: using out-chunk-size of 1048576 #78

Open
sifat06 opened this issue Jul 29, 2024 · 2 comments
Open

USB: using out-chunk-size of 1048576 #78

sifat06 opened this issue Jul 29, 2024 · 2 comments

Comments

@sifat06
Copy link

sifat06 commented Jul 29, 2024

What does this mean? When I enter
sudo "/home/sifat06/Downloads/LENOVO yt3-850m/qdl/qdl" --debug "/home/sifat06/Downloads/LENOVO yt3-850m/YT3_850M_S000139_220803_ROW/prog_emmc_firehose_8909_ddr.mbn" "/home/sifat06/Downloads/LENOVO yt3-850m/YT3_850M_S000139_220803_ROW/rawprogram_unsparse.xml" "/home/sifat06/Downloads/LENOVO yt3-850m/YT3_850M_S000139_220803_ROW/patch0.xml"
It shows:
USB: using out-chunk-size of 1048576
and the command finishes...

@sifat06
Copy link
Author

sifat06 commented Jul 30, 2024

No idea?

@jackestar
Copy link

In my case in archlinux both by AUR package and compiling the code from this repository, with a Redmi 9T (lime)

I had the same "problem", I don't know if the program is designed to work under some "programmer", it is assumed that under USB the maximum chunk size is 512 bytes or 1024 in some cases, the same with payload (im not 100% sure) . BTW, in the file

qdl/firehose.c

Line 201 in cbd4618

static size_t max_payload_size = 1048576;

Here the "maximum" is declared, in my case I changed it to 512 and it doesn't show me the error message. BUT it still doesn't work, in my case at first it showed the message usb: using out-chunk-size of 1048576, I tried to perform the actions and it never finished them, after the corrections, it showed me the same output in the console but without usb: using out-chunk-size of 1048576 (and without working).

Eventually I found another tool that did work for me.

bkerler/edl

It may be a matter of use case or the specific device, IDK

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

No branches or pull requests

2 participants