PayDump


PayDump is a Win32 utility for working with Android update.zip or the enclosed payload.bin.

Currently the analyzing part is done and the extraction part may work in some cases.

An update may be either full or incremental (also known as delta). An incremental update has an "Old" column, the full update does not. Some incremental updates may have some partitions which are full updates by themselves.

Usage: paydump update.zip [pattern] paydump payload.bin [pattern] /x extract /v verbose

Examples

Show an outline of a (full) update:

C:\>paydump.exe update.zip Partition New -------------- ------ boot 96.0 M dtbo 8.00 M product 389 M system 2.09 G system_ext 286 M vbmeta 8.00 k vbmeta_system 4.00 k vendor 487 M xbl 3.01 M

Show details of an (incremental) update:

C:\>paydump.exe /v update.zip Partition Old New Operations -------------- ------ ------ ---------------------------------------- abl 148 k REPLACE_XZ[1] boot 96.0 M 96.0 M ZERO[40], SOURCE_COPY[1], PUFFDIFF[1], BROTLI_BSDIFF[1] dtbo 8.00 M 8.00 M ZERO[4], BROTLI_BSDIFF[1] product 389 M 637 M ZERO[3], REPLACE_XZ[41], REPLACE_BZ[78], SOURCE_COPY[310], PUFFDIFF[6], BROTLI_BSDIFF[56] recovery 96.0 M ZERO[35], REPLACE[3], REPLACE_XZ[9], REPLACE_BZ[1] system 2.09 G 1.92 G ZERO[5], REPLACE_XZ[67], REPLACE_BZ[147], SOURCE_COPY[1876], PUFFDIFF[30], BROTLI_BSDIFF[293] system_ext 286 M 284 M ZERO[2], REPLACE_XZ[3], REPLACE_BZ[25], SOURCE_COPY[252], PUFFDIFF[6], BROTLI_BSDIFF[110] vbmeta 8.00 k 8.00 k BROTLI_BSDIFF[1] vbmeta_system 4.00 k 4.00 k BROTLI_BSDIFF[1] vendor 487 M 487 M ZERO[3], SOURCE_COPY[800], BROTLI_BSDIFF[203] xbl 3.01 M 3.01 M ZERO[4], REPLACE_XZ[1], SOURCE_COPY[5]

Extract a partition (only works with some compressions and single extents):

C:\>paydump.exe /x update.zip abl

Download the executable.