Crates.io | otadump |
lib.rs | otadump |
version | 0.1.1 |
source | src |
created_at | 2023-04-09 05:35:28.422999 |
updated_at | 2023-04-09 08:34:33.923876 |
description | Extract partitions from Android OTA files |
homepage | |
repository | https://github.com/crazystylus/otadump |
max_upload_size | |
id | 833952 |
size | 1,237,148 |
otadump
helps you extract partitions from Android OTA files.
Partitions can be individually flashed to your device using fastboot
.
Compared to other tools, otadump
is significantly faster and handles file
verification - no fear of a bad OTA file bricking your device.
crazystylus/otadump | ssut/payload-dumper-go | vm03/payload_dumper | |
---|---|---|---|
Input file verification | ✔ | ✔ | |
Output file verification | ✔ | ||
Extract selective partitions | ✔ | ✔ | ✔ |
Parallelized extraction | ✔ | ✔ | |
Incremental OTA support | Partial |
Comparing the time taken to extract all partitions from a few sample files (lower is better):
Note: otadump
was run with args --no-verify -c 12
and payload-dumper-go
was run with args -c 12
System specifications:
Install a pre-built binary:
curl -sS https://raw.githubusercontent.com/crazystylus/otadump/mainline/install.sh | bash
Otherwise, using Cargo:
# Needs LZMA and Protobuf libraries installed.
# - On macOS: brew install protobuf xz
# - On Debian / Ubuntu: apt install liblzma-dev protobuf-compiler
cargo install --locked otadump
Download the pre-built binary from the Releases page. Extract it and run the
otadump.exe
file.
Run the following command in your terminal:
otadump payload.bin