Skip to content
Oppo Firmware .ozip decrypter
Python
Branch: master
Clone or download
bkerler Merge pull request #22 from Surendrajat/patch-1
Oppo K3 uses same key as Reno
Latest commit f454f60 Sep 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Jun 17, 2019
ofp_libextract.py Update ofp_libextract.py Jun 4, 2019
ozipdecrypt.py Same key also works for K3(PCGM00) Sep 20, 2019

README.md

oppo_decrypt_ozip

Oppo/Oneplus .ozip Firmware decrypter

Tested with CPH1707EX, CPH1611EX OTA Zip and Python 3.6

  • ozipdecrypt.py : Decrypt Oppo .ozip to .zip
  • decrypt.py : Decrypts any part of the firmware

Based on python 3.6

Prerequirement:

'pip3 install pycrypto' or 'pip3 install pycryptodome'

Usage:

  • OTA OZIP decryption: 'python3 ozipdecrypt.py CPH1707EX_OTA_0070_all.ozip'

  • OTA Boot.img decryption: 'python3 ozipdecrypt.py boot.img'

File will be decrypted as *.zip or boot.img.dec

License:

Share, modify and use as you like, but refer the original author !

Tutorial:

For a tutorial on aes key extraction, head over here.

For extraction of libpatchapply.so or /sbin/recovery, use: './ofp_libextract.y [your_ofp_file]' If you're getting a recovery.cpio.7z file, extract using 7z to get the /sbin/recovery file.

You can’t perform that action at this time.