Dump Android's payload.bin
Go to file
Rasmus Moorats a3c4e6cd6a
bump version to 0.3.0
2024-01-24 12:16:15 +02:00
payload_dumper migrate to ThreadPoolExecutor 2023-11-28 13:36:28 +02:00
README.md fix typo in readme 2021-12-21 13:51:26 +02:00
poetry.lock bump version to 0.3.0 2024-01-24 12:16:15 +02:00
pyproject.toml bump version to 0.3.0 2024-01-24 12:16:15 +02:00

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