• Stars
    star
    385
  • Rank 111,464 (Top 3 %)
  • Language
    Python
  • Created about 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Oppo .ofp Firmware decrypter and oneplus .ops de-/encrypter

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

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 :)

More Repositories

1

edl

Inofficial Qualcomm Firehose / Sahara / Streaming / Diag Tools :)
Python
975
star
2

exploit_me

Very vulnerable ARM/AARCH64 application (CTF style exploitation tutorial with 14 vulnerability techniques)
C++
816
star
3

oppo_ozip_decrypt

Oppo Firmware .ozip decrypter
Python
305
star
4

Loaders

EDL Loaders
283
star
5

android_universal

Universal android boot to root
Python
216
star
6

MR

Mobile Revelator
Python
157
star
7

opencl_brute

MD5,SHA1,SHA256,SHA512,HMAC,PBKDF2,SCrypt Bruteforcing tools using OpenCL (GPU, yay!) and Python
C
134
star
8

NANDReader_FTDI

8Bit Nand universal reader for FTDI FT2323H Breakout Board, based on basic code from http://spritesmods.com/?art=ftdinand
C
113
star
9

ghidra_installer

Helper scripts to set up OpenJDK 11 and scale Ghidra for 4K on Ubuntu 18.04 / 18.10
Shell
97
star
10

SierraWirelessGen

Sierra Wireless OpenMEP Generator
76
star
11

netgear_telnet

Netgear Enable Telnet (New Crypto)
Python
74
star
12

dump_avb_signature

Dump Android Verified Boot Signature
Python
47
star
13

sboot_dump

SUC - A tool to dump RAM using Samsung S-Boot Upload Mode
Python
45
star
14

tee_research

Some tee/trustzone helper stuff
Python
44
star
15

mtkclient

Just some mtk tool
Python
39
star
16

qcpatchtools

Some stuff for doing insane qc chipset pwning.
Python
31
star
17

qc_modem_tools

Some tools for reversing QDSP hexagon
Python
30
star
18

slides_and_papers

Here be dragons. Or Slides. Or Papers. Or Nothing :)
29
star
19

OregonDecoder

Oregon Scientific V1/V2 Gnuradio Decoder
Python
29
star
20

JEB_Scripts

JEB Scripts
Java
19
star
21

edl_emulate

QC EDL Emulator based on Qiling
Python
18
star
22

gnuradio_install

Full build script for gnuradio including most oot modules (i386/i686/x86_64/arm) on linux
Shell
14
star
23

AutoSatTracker-ESP

Autonomous Satellite Tracker with ESP8266-Huzzah
C++
12
star
24

antsdr_new

Latest firmware for antsdr E310 based on PlutoSDR
Shell
11
star
25

annotate

Binary Ninja plugin for annotation of arguments for functions
Python
10
star
26

routerstuff

Some collection of router firmware tools
9
star
27

sahara_emulator

QC Sahara emulator
Python
9
star
28

sattracker

Standalone Satellite Tracker Project based on ESP32 and Micropython
Python
8
star
29

gnuradio_flowgraphs

Some example flowgraphs for gnuradio, mostly based on real-world signals, some from grcon22 ctf
6
star
30

sqlcipher_tools

Python tools for sqlcipher
Python
6
star
31

asmtools

Shellcode disasm / asm generator in ONE tool using Capstone/Keystone
Python
6
star
32

aptdec

NOAA APT decoder (WIP)
C
4
star
33

fish_settings

Shell
3
star
34

twrp_tz_fixes

Disable Kernel Security + add SVC/SCM Interface for QC TZ Testing and Debugging
3
star
35

dangerous-prototypes-open-hardware

Automatically exported from code.google.com/p/dangerous-prototypes-open-hardware
Eagle
3
star
36

gnuradio_ask_decoder

My gnuradio ASK decoder project
3
star
37

frida_server_downloader

Script to automatically install latest frida and download server binaries needed
Shell
2
star
38

appmon

JavaScript
2
star
39

teensy-demos

Teensy demos
Arduino
1
star
40

FlatbufferDecoder

Example Google Flatbuffer conversion module, converts Flatbuffer to pseudo-xml readable text
Python
1
star
41

raspicam_prusa

Raspi camera for PrusaConnect
Python
1
star
42

DroneID

OpenDrone ID sniffer/spoofer for Bluetooth + WIFI
Python
1
star