OZIP Decrypter by TechyMinati.. #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OZIP Decrypter by TechyMinati.. | |
on: | |
# release: | |
# types: [published] | |
# push: | |
# branches: | |
# - master | |
# paths: | |
# - '.config' | |
# schedule: | |
# - cron: 0 8 * * 5 | |
watch: | |
types: [started] | |
env: | |
FIRMWARE_LINK: https://download.c.realme.com/osupdate/CPH1861EX_11_OTA_0500_all_fLuS0Ipoe93t.ozip | |
FIRMWARE_NAME: CPH1861EX_11_OTA_0500_all_fLuS0Ipoe93t.ozip | |
TZ: Asia/Kolkata | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Downloading Ozip Now.. | |
run: | | |
sudo -E apt-get -qq update | |
sudo apt install aria2 | |
aria2c $FIRMWARE_LINK | |
- name: Decrypting Ozip Now | |
run: | | |
sudo -E apt-get -qq update | |
sudo apt-get install python-pip | |
sudo -H pip install --upgrade pip | |
sudo -H pip install setuptools wheel docopt pycryptodome | |
wget https://raw.githubusercontent.com/techyminati/oppo_ozip_decrypt/master/ozipdecrypt.py | |
sudo python ozipdecrypt.py $FIRMWARE_NAME | |
- name: Upload Decrypted Zip | |
run: | | |
touch links.txt | |
curl -sL https://git.io/file-transfer | sh | |
./transfer wet *.zip |