bkerler / oppo_decrypt

Oppo .ofp Firmware decrypter and oneplus .ops de-/encrypter
544 stars 188 forks source link

oppo_decrypt

Oppo .ofp and Oneplus .ops Firmware decrypter

Installation:

In the console, run

pip3 install -r requirements.txt

Both Linux and Windows now supported, folks !

Usage:


python3 ofp_qc_decrypt.py [myops.ofp] [directory to extract]
python3 ofp_mtk_decrypt.py [myops.ofp] [directory to extract]
python3 opscrypto.py decrypt [myops.ops]

File will be in the extract subdirectory

python3 opscrypto.py encrypt [path to extracted firmware]
python3 backdoor.py "MsmDownloadTool V4.0.exe"'

The .ofp may contain super firmware from multiple carriers, check the super_map.csv.txt outside .ofp first.

sudo apt install simg2img # If you have already installed, skip this step.
simg2img [super.0.xxxxxxxx.img] [super.1.xxxxxxxx.img] [super.1.xxxxxxxx.img] [filename to merge] # All split super imgs must be the same carrier

License:


Share, modify and use as you like, but refer the original author ! And if you like my work, please donate :)