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

Can't decrypt Realme 2 ozip to zip. #86

Open
ibrahimxq opened this issue Dec 27, 2024 · 0 comments
Open

Can't decrypt Realme 2 ozip to zip. #86

ibrahimxq opened this issue Dec 27, 2024 · 0 comments

Comments

@ibrahimxq
Copy link

PS C:\Users\ibrah\Downloads\oppo_ozip_decrypt-master> python ozipdecrypt.py RMX1805EX_11_OTA_0710_all_i3cdf6V7tk6F.ozip
ozipdecrypt 1.32 (c) B.Kerler 2017-2022
"There is no item named 'oppo_metadata' in the archive"
Detected mode 2....
Finding key... RMX1805EX_11_OTA_0710_all_i3cdf6V7tk6F.ozip
Unknown mode2, boot.img wasn't encrypted
Extracting... RMX1805EX_11_OTA_0710_all_i3cdf6V7tk6F.ozip
Traceback (most recent call last):
File "C:\Users\ibrah\Downloads\oppo_ozip_decrypt-master\ozipdecrypt.py", line 258, in main
if zo.extract('oppo_metadata', outpath):
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ibrah\AppData\Local\Programs\Python\Python313\Lib\zipfile_init_.py", line 1757, in extract
return self.extract_member(member, path, pwd)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\ibrah\AppData\Local\Programs\Python\Python313\Lib\zipfile_init
.py", line 1797, in extract_member
member = self.getinfo(member)
File "C:\Users\ibrah\AppData\Local\Programs\Python\Python313\Lib\zipfile_init
.py", line 1563, in getinfo
raise KeyError(
'There is no item named %r in the archive' % name)
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\ibrah\Downloads\oppo_ozip_decrypt-master\ozipdecrypt.py", line 318, in
sys.exit(main(args.filename))
~~~~^^^^^^^^^^^^^^^
File "C:\Users\ibrah\Downloads\oppo_ozip_decrypt-master\ozipdecrypt.py", line 265, in main
return mode2(filename)
File "C:\Users\ibrah\Downloads\oppo_ozip_decrypt-master\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\ibrah\Downloads\oppo_ozip_decrypt-master\temp\out'
PS C:\Users\ibrah\Downloads\oppo_ozip_decrypt-master>

Well this is what it shows me when I try to decrypt it and I have no idea on how to fix it.

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

1 participant