TWRP 3.4 Can install OZIP directly now! U don't have to follow This post anymore !! Thank u !!
What is OZIP??
OZIP file is an oZip Compressed Data. OZip is a simple compression solution in Python.
OZIP file is an Oppo Smartphone Firmware Update. An OZIP file is an encrypted firmware archive used to distribute updates to Oppo(/Realme) smartphones.
Ozips are not directly installable from twrp or any other custom recovery*(though some device has the support). so for installing stock rom or revert to stock rom from custom rom u have to decrypt the ozip and make it a flashable zip for installing it via twrp or any other recovery.
Caution : I m not responsible if ur device got bricked during the flash or installation.A Full backup is extremely advised before tryng the stuff.
Needed Tools :
1 - A PC (Linux/WIndows) or Android WIth termux installed.
2 - Python 3+ installed
3 - Downloaded Ozip from https://www.realme.com/in/support/software-update
3 - Patience
Fow Windows User ::
*First Download Python3 From Here - https://www.python.org/downloads/
IMPORTANT Part for easy path solution!!!Mark the option!!!(follow the image)!!!
*Then Install it !!
U can also install python3 in ur system variables Manually!!! . <<<<If u don't know how!!! pls GOOGLE it!
* Now goto this link : https://github.com/bkerler/oppo_ozip_decrypt
*Click on Clone or download then click Download zip.
*Extract the files from the zip into the folder where u kept ur ROM(OZIP) in pc.
Remember : The two .py files from the zip must be in same folder with the ozip.
*now run cmd/Command Prompt as admin.
* Change directory by using Cd into the location of the files and ozip . ("Cd <location of the ozip>")
* Now type
"pip3 install pycryptodome" press enter
and then
"pip3 install docopt".press enter.
*After completing installing both. Type "python ozipdecrypt.py filename.ozip"
Example : python ozipdecrypt.py RMX1801EX_11_OTA_0260_all_mnxKIJM5sz0H.ozip
*U will see something like this
Found correct AES key: 1CA21E12271335AE33AB81B2A7B14622
Decrypting...
*Wait for the decryption. After completing decrypt u will get the zip file with same name in the same folder.
For linux and Termux ::
With due respect to the Author of the script!
Just follow the link https://github.com/bkerler/oppo_ozip_decrypt
and Read the README.md section below!!
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Other Realme model User also can use this tricks to get zip file for their device.
Please report if u get any error!!
Thanks!!
Last edited: