Skip to content

syedinsaf/otaripper

Repository files navigation

otaripper

otaripper helps you extract partitions from Android OTA files.
Partitions can be individually flashed to your device using fastboot flash.

Compared to other tools, otaripper is significantly faster and handles file verification - no fear of a bad OTA file bricking your device.

Features

syedinsaf/otaripper ssut/payload-dumper-go vm03/payload_dumper
Input file verification
Output file verification
Extract selective partitions
Parallelized extraction
Runs directly on .zip files
Incremental OTA support Partial

Installation

macOS / Linux

Install a pre-built binary:

curl -sS https://raw.githubusercontent.com/syedinsaf/otaripper/main/install.sh | bash

Or download the pre-built binary from the Releases page.

Windows

  1. Download the pre-built binary from the Releases page.
  2. Extract it.
  3. Have the payload.bin or the ota.zip in the same extracted folder as otaripper.exe.

Usage

Run the following command in your terminal:

# Run directly on .zip file.
otaripper ota.zip (on Windows)
./otaripper ota.zip (on Linux)

# Run on payload.bin file.
otaripper payload.bin (on Windows)
./otaripper ota.bin (on Linux)

To extract your desired Partitions add "--partitions" and then your desired parition.

# For example, if you want to extract just the boot image, you can do this:
./otaripper  payload.bin --partitions boot

# If you want multiple desired images, you can separate them by a ","
./otaripper  payload.bin --partitions boot,init_boot

Contributors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages