Skip to content

Latest commit

 

History

History
executable file
·
41 lines (34 loc) · 1.64 KB

README.md

File metadata and controls

executable file
·
41 lines (34 loc) · 1.64 KB

Realme OTA Downloader

License GitHub release (latest by date including pre-releases) GitHub Issues

CLI tool (based on this C# program) to create requests to the Realme's endpoint.

Requirements

  • Python 3.9.
  • pycryptodome.

Installation

sudo apt install python3-pip
sudo pip3 install --upgrade pycryptodome git+https://github.com/R0rt1z2/realme-ota

Usage

usage: main.py [-h] [-c SERVER] [-t TIMEOUT] [-d DUMP] [-o ONLY] [-s] [-v {0,1}] product_model ota_version rui_version

positional arguments:
  product_model         Product Model (ro.product.name).
  ota_version           OTA Version (ro.build.version.ota).
  rui_version           RealmeUI Version (1, 2).

optional arguments:
  -h, --help            show this help message and exit
  -c SERVER, --server SERVER
                        Use specific server for the request (GL = 0, CN = 1, IN = 2, EU = 3).
  -t TIMEOUT, --timeout TIMEOUT
                        Use custom timeout for the request.
  -d DUMP, --dump DUMP  Save request response into file.
  -o ONLY, --only ONLY  Only show the desired value from the request.
  -s, --silent          Enable silent output (purge logging).
  -v {0,1}, --verbosity {0,1}
                        Increase or decrease verbosity.

License

  • This tool is licensed under the GNU (v3) General Public License. See LICENSE for more details.