Giter Club home page Giter Club logo

realme-ota's Introduction

Realme OTA Downloader

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

Requirements

  • Python 3.9.
  • pycryptodome.

Installation

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

Usage

usage: realme-ota [-h] [-r {0,1,2,3}] [-d DUMP] [-o ONLY] [-s {0,1}] [-v {0,1}] product_model ota_version {1,2,3} nv_identifier

positional arguments:
  product_model         Product Model (ro.product.name).
  ota_version           OTA Version (ro.build.version.ota).
  {1,2,3}               RealmeUI Version (ro.build.version.realmeui).
  nv_identifier         NV (carrier) identifier (ro.build.oplus_nv_id) (if none, provide 0).

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

Compatibility

The tool currently supports the following RealmeUI versions:

  • Realme UI 1 (Android 10).
  • Realme UI 2 (Android 11).
  • Realme UI 3 (Android 12).

Additional notes

  • If your request returns flow limit or status code 500, try to wait a few minutes and then request again.
  • If your request returns artifactV1Result is empty, try replacing the last 16 digits of ota_version with 0s and make sure to use a valid nv_identifier. This is because the OTA fails in using the real version number, and tries using the one with 0s instead as fallback to fetch full updates.
  • Since Android 11 (RUI2), Realme started using components, which means you won't be able to get a full OTA link.

License

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

realme-ota's People

Contributors

goshawk22 avatar hakimifr avatar lostnet avatar r0rt1z2 avatar techyminati avatar znz930 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.