Payload Dumper Rust
Android OTA payload dumper written in Rust.
What is Payload?
- Android payload is a file that contains ROM partitions like boot , system, vendor . and others. Payload Dumper extracts these partitions from the payload.bin file
features
Extracts all or individual images directly from payload.bin or ROM ZIP file.
Supports extracting individual partitions from URLs without downloading the full ROM ZIP.
All decompression processes run in parallel for improved performance. ( can be customised by using
--no-parallel
or--threads <n>
as argument )
- Output partitions Verification ✅
- Parallel Extraction ✅
- Selective Partition Extraction ✅
- Direct Extraction from URL ✅
How To Use
Download Binaries for your respective Platform from releases section
If you are using a rooted android device you might want to install it as a magisk module
or Run this in termux / Linux Terminal to install
To install on windows, run this in Powershell
Install via Cargo
If you have Rust and Cargo installed, you can install this tool with:
cargo install payload_dumper
Performance Metrics*
- Here are the performance metrics for Payload Dumper Rust running on a Poco X4 Pro (SD695, 8GB RAM) in Termux. The test file used is comet-ota-ad1a.240530.030-98066022.zip (2.53GB).
Extraction Method | Time Taken | Notes |
---|---|---|
Direct Payload Extraction | 2 minutes 26 seconds | Extracting directly from payload.bin . |
ZIP File Extraction | 2 minutes 30 seconds | Extracting directly from the ZIP file. |
Remote URL Extraction | Slower | Depends on network speed. |
Screenshots
Direct Payload Extraction:
ZIP File Extraction:
Remote URL Extraction:
Usage :
Basic Usage
To extract partitions from a payload file, run the following command:
payload_dumper <path/to/payload.bin> --out output_directory
Direct ZIP Processing
it can directly process payloads from ZIP files without requiring manual extraction. Simply provide the path to the ZIP file:
./payload_dumper <path/to/ota.zip> --out <output_directory>
Remote Payloads
it can also handle payloads/zips directly using url. Simply provide the URL as path. this is very slow compared to local extraction though.
./payload_dumper https://example.com/payload.bin
Individual partitions extraction.
- to extract individual partitions from payloads/URL/zips , use
--images
and enter the name of partitions you want to extract comma-separated.
for example to just extract boot
and vendor_boot
from url/zip/payload
, simply run
Dependencies :
Build :
To build this , you’ll need:
- Rust compiler and Cargo
Credits
- This tool is inspired from vm03/payload_dumper
Download Link
Module Info
Payload Dumper Rust is a Module that supports installation on Magisk, KernelSU, APATCH, KSUNext
© 2025 Magisk Community