## 🔥 ROOT教程
- [无需下载全量包一键ROOT视频教程](https://www.bilibili.com/video/BV1gm421G7jB/)
## 📥 下载说明
- 本站近期有重大调整,请通过百度网盘下载所需文件(各机型页面有说明)
## 🌐 资源导航
- [一加玩机导航网站:https://oplus.icu/](//oplus.icu)
## 📢 加入频道
- [ROM更新通知/刷机资源/软件分享/玩机交流/](https://optool.daxiaamu.com/join_group)
## 🔧 远程服务
- [救砖/ROOT/升降级](https://optool.daxiaamu.com/remote_rescue)
## 一加官方验机(免费)
输入IMEI即可查询激活日期
-[链接1](https://service.oneplus.com/uk/warranty-check)
-[链接2](https://service.oneplus.com/in/check)
解包ofp和ops格式的工具,可以解包出img镜像
https://github.com/bkerler/oppo_decrypt
# oppo_decrypt
Oppo .ofp and Oneplus .ops Firmware decrypter
------------------------------------
* ofp_qc_decrypt.py : Decrypts oppo qc chipset based firmware with .ofp extension (oppo)
* ofp_mtk_decrypt.py : Decrypts oppo mtk chipset based firmware with .ofp extension (oppo)
* opscrypto.py : Decrypts and re-encrypts based firmware with .ops extension (oneplus)
* backdoor.py : Enables hidden "readback" functionality
Installation:
-------------
- Install >= python 3.8 and pip3
In the console, run
```bash
pip3 install -r requirements.txt
```
Both Linux and Windows now supported, folks !
Usage:
--------
* Extract oppo ofp file:
```
python3 ofp_qc_decrypt.py [myops.ofp] [directory to extract]
python3 ofp_mtk_decrypt.py [myops.ofp] [directory to extract]
```
* Extract oneplus ops file:
```
python3 opscrypto.py decrypt [myops.ops]
```
File will be in the extract subdirectory
* Repack oneplus ops file:
```
python3 opscrypto.py encrypt [path to extracted firmware]
```
* Enable readback mode (use admin command prompt under windoze):
```
python3 backdoor.py "MsmDownloadTool V4.0.exe"'
```
* Merge super images:
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 :)