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

"There is no item named 'oppo_metadata' in the archive" OPPO A5S #81

Open
Greednaught opened this issue Apr 24, 2022 · 5 comments
Open

Comments

@Greednaught
Copy link

ozipdecrypt 1.31 (c) B.Kerler 2017-2021
"There is no item named 'oppo_metadata' in the archive"
Detected mode 2....
Finding key... a5s.ozip
Found correct AES key: 1CA21E12271435AE331B81BBA7C14612
Extracting... a5s.ozip
Traceback (most recent call last):
File "C:\Users\Christian Pineda\Desktop\Python\ozipdecrypt.py", line 258, in main
if zo.extract('oppo_metadata', outpath):
File "C:\Users\Christian Pineda\Desktop\Python\lib\zipfile.py", line 1626, in extract
return self._extract_member(member, path, pwd)
File "C:\Users\Christian Pineda\Desktop\Python\lib\zipfile.py", line 1665, in _extract_member
member = self.getinfo(member)
File "C:\Users\Christian Pineda\Desktop\Python\lib\zipfile.py", line 1439, in getinfo
raise KeyError(
KeyError: "There is no item named 'oppo_metadata' in the archive"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Christian Pineda\Desktop\Python\ozipdecrypt.py", line 317, in
sys.exit(main(args.filename))
File "C:\Users\Christian Pineda\Desktop\Python\ozipdecrypt.py", line 265, in main
return mode2(filename)
File "C:\Users\Christian Pineda\Desktop\Python\ozipdecrypt.py", line 208, in mode2
os.remove(os.path.join(temp,"out"))
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\Christian Pineda\Desktop\Python\temp\out'

@Cybercanasa10
Copy link

how? what do you change

@ZYTEric
Copy link

ZYTEric commented Nov 4, 2022

Changing ozipdecrypt.py line 258 to ' if zo.extractall(outpath) ' might be useful

@bkerler
Copy link
Owner

bkerler commented Nov 7, 2022

should be fixed with 1a1ce49

@TickledOnions
Copy link

should be fixed with 1a1ce49

It is still not fixed for me

@TickledOnions
Copy link

I found a way to fix this error:
Use this fork https://github.com/wzsx150/oppo_ozip_decrypt

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

5 participants