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.
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 |
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.
- Download the pre-built binary from the Releases page.
- Extract it.
- Have the payload.bin or the ota.zip in the same extracted folder as otaripper.exe.
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)
# 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