补充一下,下面这个报错是正常的,可以进行下一步。
- (.venv) PS E:\code\python\shuaji> python edl.py w recovery ./recovery-8110.img --loader=./8k.mbn
- Capstone and Keystone libraries missing.
- Qualcomm Sahara / Firehose Client V3.1 (c) B.Kerler 2018-2021.
- Library.utils - Using loader ./8k.mbn ...
- Library.utils - Waiting for the device
- Library.utils - Device detected :)
- Library.utils - Mode detected: sahara
- Device is in EDL mode .. continuing.
- Library.sahara -
- ------------------------
- HWID: 0x009600e100420029 (MSM_ID:0x009600e1,OEM_ID:0x0042,MODEL_ID:0x0029)
- PK_HASH: 0x952bed90f6e9eac6e28da21916da4410e3dfebd81c5523ad712bb226db0b5df3
- Serial: 0x1e11ed8d
- Library.sahara - Using loader ./8k.mbn ...
- Successfully uploaded programmer :)
- Library.utils - Nop succeeded.
- Library.utils - No supported functions detected, configuring qc generic commands
- Library.utils - <?xml version="1.0" encoding="UTF-8" ?><data><log value="logbuf@0x08057EB8 fh@0x08054D20" /></data>
- Library.utils - TargetName=MSM8909
- Library.utils - MemoryName=eMMC
- Library.utils - Version=1
- Library.utils - Supported functions:
- -----------------
- configure,program,firmwarewrite,patch,setbootablestoragedrive,ufs,emmc,power,benchmark,read,getstorageinfo,getcrc16digest,getsha256digest,erase,peek,poke,nop,xml
- Library.utils - Target detected: MSM8909
- Library.utils -
- Writing to physical partition 0, sector 2488416, sectors 32411
- Progress: |██████████████████████████████████████████████████| 99.0% CompleteTraceback (most recent call last):
- File "E:\code\python\shuaji\edl.py", line 372, in <module>
- main()
- File "E:\code\python\shuaji\edl.py", line 355, in main
- fh.handle_firehose(cmd,options)
- File "E:\code\python\shuaji\Library\firehose_client.py", line 520, in handle_firehose
- if self.firehose.cmd_program(lun, partition.sector, filename):
- File "E:\code\python\shuaji\Library\firehose.py", line 308, in cmd_program
- self.cdc.write(wdata, wlen)
- File "E:\code\python\shuaji\Library\usblib.py", line 224, in write
- self.device.write(self.EP_OUT, b'')
- File "E:\code\python\shuaji\.venv\lib\site-packages\usb\core.py", line 989, in write
- return fn(
- File "E:\code\python\shuaji\.venv\lib\site-packages\usb\backend\libusb0.py", line 545, in bulk_write
- return self.__write(_lib.usb_bulk_write,
- File "E:\code\python\shuaji\.venv\lib\site-packages\usb\backend\libusb0.py", line 681, in __write
- return int(_check(fn(
- File "E:\code\python\shuaji\.venv\lib\site-packages\usb\backend\libusb0.py", line 447, in _check
- raise USBError(errmsg, ret)
- usb.core.USBError: [Errno None] b'libusb0-dll:err [_usb_reap_async] timeout error\n'
- (.venv) PS E:\code\python\shuaji>
复制代码 |