sdat2img icon indicating copy to clipboard operation
sdat2img copied to clipboard

I tried the command below, and It occurs error 'No such file or directory: 'system.transfer.list'',Why?

Open jacky1234 opened this issue 5 years ago • 2 comments

-> % ./sdat2img.py system.transfer.list '/Users/yangjianfei/Downloads/miui_PYXIS_V11.0.1.0.QFCCNXM_ed59cac77c_10.0/system.new.dat' system.img sdat2img binary - version: 1.2

Traceback (most recent call last): File "./sdat2img.py", line 143, in main(TRANSFER_LIST_FILE, NEW_DATA_FILE, OUTPUT_IMAGE_FILE) File "./sdat2img.py", line 68, in main version, new_blocks, commands = parse_transfer_list_file(TRANSFER_LIST_FILE) File "./sdat2img.py", line 35, in parse_transfer_list_file trans_list = open(TRANSFER_LIST_FILE, 'r') IOError: [Errno 2] No such file or directory: 'system.transfer.list'

jacky1234 avatar Apr 27 '20 00:04 jacky1234

Because system.transfer.list is not in current working directory. I guess this file is also in /Users/yangjianfei/Downloads/miui_PYXIS_V11.0.1.0.QFCCNXM_ed59cac77c_10.0/. And you need some basic command line knowledge to use this program.

ysc3839 avatar Apr 27 '20 01:04 ysc3839

Thank you

jacky1234 avatar Apr 27 '20 01:04 jacky1234