sebaubuntu-python / dumpyara

Android firmware dumper, rewritten in Python
116 stars 25 forks source link

Doesn't want to unpack firmware from lenovo to android 12 #20

Closed Hadenix closed 1 year ago

Hadenix commented 2 years ago
python3 -m dumpyara /home/hadenix/Загрузки/TB128FU
Dumpyara
Version 1.0.0

Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/media/hadenix/MyPassport/5656/dumpyara/dumpyara/__main__.py", line 11, in <module>
    main()
  File "/media/hadenix/MyPassport/5656/dumpyara/dumpyara/main.py", line 36, in main
    dumpyara = Dumpyara(args.file, args.output)
  File "/media/hadenix/MyPassport/5656/dumpyara/dumpyara/dumpyara.py", line 35, in __init__
    self.path.mkdir(parents=True)
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileExistsError: [Errno 17] File exists: '/media/hadenix/MyPassport/5656/dumpyara/working/TB128FU'

please add lenovo rom support. I'm attaching the zip link (TB128FU_CN_OPEN_USER_Q00012.0_S_ZUI_13.5.365_ST_220526_qpst.zip)

https://mirrors.lolinet.com/firmware/lenovo/Tab_M10_3rd_Gen/TB128FU/

SebaUbuntu commented 1 year ago

rm -rf /media/hadenix/MyPassport/5656/dumpyara/working/TB128FU

Really isn't that hard to understand...