edl icon indicating copy to clipboard operation
edl copied to clipboard

Write speed too slow when flasing my Redmi device

Open LucifarSaten opened this issue 1 year ago • 6 comments

F lasing My Redmi Note 8 (ginkgo) with write speed maximum 3MB/s . That is too long for flashing. Any One know how to increase my write speed I'm using flashing cmd (edl qfail . My operation system is Kali Rolling 64bits.

Screenshot from 2022-10-15 11-36-09

LucifarSaten avatar Oct 19 '22 11:10 LucifarSaten

VirtualBox_ubuntu22 04 1_19_10_2022_19_11_59

xuxin1955 avatar Oct 19 '22 18:10 xuxin1955

I experience the same speed issue with Xiaomi A3. Smaller partitions are flashed quite quickly, ~10MB/s But large partition takes very long to flash, speed drops to 0.05MB/s

image

tosiara avatar Feb 09 '23 10:02 tosiara

I decided to check what happens and waited 3 weeks for process to complete :)

That was the longest estimation: Progress: |█████████-----------------------------------------| 17.4% Write (Sector 0x6F0A4 of 0x280000, 1007h:00m:03s left) 0.00 MB/s

But at some point after 3 weeks it began to speedup and eventually completed.

However, there was this failure:

Progress: |██████████████████████████████████████████████████| 100.0% Write (Sector 0x27FFF8 of 0x280000, ) 11.37 MB/s                                                                                           
Progress: |██████████████████████████████████████████████████| 100.0% Write (Sector 0x27FFFC of 0x280000, ) 11.36 MB/s                                                                                           
Progress: |██████████████████████████████████████████████████| 100.0% Write (Sector 0x280000 of 0x280000, ) 11.37 MB/s                                                                                           
firehose_client - [qfil] programming ./gpt_main0.bin to partition(0)@sector(0)...
firehose - 
Writing to physical partition 0, sector 0, sectors 6
Done |--------------------------------------------------|   0.0% Write (Sector 0x0 of 0x6) 0.00 MB/s                                                                                                       Progress: |█████████████████████████████████-----------------|  66.7% Write (Sector 0x4 of 0x6, ) 3.89 MB/s                                                                                                Progress: |██████████████████████████████████████████████████| 100.0% Write (Sector 0x6 of 0x6, ) 8.63 MB/s                                                                                                      
firehose_client - [qfil] programming ./gpt_backup0.bin to partition(0)@sector(14501911)...
firehose - 
Writing to physical partition 0, sector 14501911, sectors 5
Done |--------------------------------------------------|   0.0% Write (Sector 0x0 of 0x5) 0.00 MB/s                                                                                                       Progress: |████████████████████████████████████████----------|  80.0% Write (Sector 0x4 of 0x5, ) 11.10 MB/s                                                                                               Progress: |██████████████████████████████████████████████████| 100.0% Write (Sector 0x5 of 0x5, ) 9.06 MB/s                                                                                                      
firehose
firehose - [LIB]: Error:
firehose
firehose - [LIB]: ERROR: UFS Error -5 (3)
firehose
firehose - [LIB]: ERROR: Write Failed sector 14501911, size 4 result 3
firehose_client - [qfil] raw programming ok.
firehose_client - [qfil] patching...
firehose_client - [qfil] patching with patch0.xml
...

After flashing the rest of the files the device does not boot and stays in edl mode.

tosiara avatar Feb 28 '23 09:02 tosiara

I will seek into this issue.

bkerler avatar Apr 04 '23 17:04 bkerler

Same issue here on oneplus 6. Dropping to .1 MB/s around 40% through flashing. Will let it do its thing, see what happens and report back when.

Weissnix4711 avatar May 11 '23 18:05 Weissnix4711

Using USB3.0 compatible cable I get more than 2x speed up. 4MB/s->10MB/s on average. Peaking at 16MB/s

dzid26 avatar Feb 27 '24 22:02 dzid26