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

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

Open
jacky1234 opened this issue Apr 27, 2020 · 2 comments

Comments

@jacky1234
Copy link

-> % ./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'

@ysc3839
Copy link

ysc3839 commented Apr 27, 2020

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.

@jacky1234
Copy link
Author

Thank you

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