# oppo_ozip_decrypt **Repository Path**: p7aaa/oppo_ozip_decrypt ## Basic Information - **Project Name**: oppo_ozip_decrypt - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-11-15 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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: ------------- ``` sudo apt install python3-pip pip3 install -r requirements.txt ``` Usage: -------- * OTA OZIP decryption: ``` ./ozipdecrypt.py CPH1707EX_OTA_0070_all.ozip ``` 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](https://bkerler.github.io/reversing/2019/04/24/the-game-begins/). For extraction of libpatchapply.so or /sbin/recovery, use: ``` ./ofp_libextract.py [your_ofp_file] ``` If you're getting a recovery.cpio.7z file, extract using 7z to get the /sbin/recovery file.