Oppo Firmware .ozip decrypter
Tested with CPH1707EX, CPH1611EX OTA Zip and Python >= 3.6
sudo apt install python3-pip pip3 install -r requirements.txt
File will be decrypted as *.zip
Share, modify and use as you like, but refer the original author !
For a tutorial on aes key extraction, head over here.
For extraction of libpatchapply.so or /sbin/recovery, use:
If you're getting a recovery.cpio.7z file, extract using 7z to get the /sbin/recovery file.