edl icon indicating copy to clipboard operation
edl copied to clipboard

write big rootfs.img success in 5s but actually not

Open 0x5e opened this issue 1 year ago • 1 comments

I'm writing a rootfs.img about 800MB, edl success very quickly but actually failed with no error logs. The rootfs.img can be write using command fastboot -S 200m flash rootfs /path/to/rootfs.img. Without -S 200m also failed.

~ » edl w rootfs /path/to/rootfs.img
Capstone library is missing (optional).
Keystone library is missing (optional).
No module named 'Cryptodome'
Qualcomm Sahara / Firehose Client V3.61 (c) B.Kerler 2018-2023.
main - Trying with no loader given ...
main - Waiting for the device
main - Device detected :)
main - Mode detected: firehose
main - Trying to connect to firehose loader ...
firehose_client
firehose_client - [LIB]: No --memory option set, we assume "eMMC" as default ..., if it fails, try using "--memory" with "UFS","NAND" or "spinor" instead !
firehose - TargetName=MSM8916
firehose - MemoryName=eMMC
firehose - Version=1
firehose - Trying to read first storage sector...
firehose - Running configure...
firehose_client - Supported functions:
-----------------
QCSparse - Sparse Format detected. Using unpacked image.
firehose -
Writing to physical partition 0, sector 659456, sectors 1078
Progress: |██████████| 100.0% Write (Sector 0x436 of 0x436, ) 5.16 MB/s
Wrote /path/to/rootfs.img to sector 659456.

0x5e avatar Aug 03 '23 03:08 0x5e

reinstall the python3 and edl, no more "Cryptodome" error, but still not working.

~ » edl w rootfs /path/to/rootfs.img
/opt/homebrew/bin/edl:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  __import__('pkg_resources').run_script('edlclient==3.60', 'edl')
Qualcomm Sahara / Firehose Client V3.61 (c) B.Kerler 2018-2023.
main - Trying with no loader given ...
main - Waiting for the device
main - Device detected :)
main - Mode detected: firehose
main - Trying to connect to firehose loader ...
firehose - Nop succeeded.
firehose - No supported functions detected, configuring qc generic commands
firehose -
firehose_client
firehose_client - [LIB]: No --memory option set, we assume "UFS" as default ..., if it fails, try using "--memory" with "UFS","NAND" or "spinor" instead !
firehose - TargetName=MSM8916
firehose - MemoryName=eMMC
firehose - Version=1
firehose - Trying to read first storage sector...
firehose - Running configure...
firehose_client - Supported functions:
-----------------
configure,program,firmwarewrite,patch,setbootablestoragedrive,ufs,emmc,power,benchmark,read,getstorageinfo,getcrc16digest,getsha256digest,erase,peek,poke,nop,xml
QCSparse - Sparse Format detected. Using unpacked image.
firehose -
Writing to physical partition 0, sector 659456, sectors 1078
Progress: |██████████| 100.0% Write (Sector 0x436 of 0x436, ) 4.76 MB/s
Wrote /path/to/rootfs.img to sector 659456.

0x5e avatar Aug 03 '23 03:08 0x5e