Dump Android's payload.bin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rasmus Moorats 900d2d30b7
update protobuf definition
12 months ago
payload_dumper update protobuf definition 12 months ago
README.md fix typo in readme 12 months ago
poetry.lock fix typo in readme 12 months ago
pyproject.toml fix incorrectly printing that partitions were not found 12 months ago

README.md

payload dumper

Dumps the payload.bin image found in Android update images. Has significant performance gains over other tools due to using multiprocessing.

Installation

Requirements

  • Python3
  • pip

Install using pip

pip install --user payload_dumper

Example ASCIIcast

asciicast

Usage

Dumping the entirety of payload.bin

payload_dumper payload.bin

Dumping specific partitions

Use a comma-separated list of partitions to dump:

payload_dumper --partitions boot,dtbo,vendor payload.bin

Patching older image with OTA

Assuming the old partitions are in a directory named old/:

payload_dumper --diff payload.bin