Modern Android OTA payload.bin extractor in Python 3.12+.
- High Performance: Parallel extraction, streaming IO, memory-efficient.
- Protobuf Powered: Uses AOSP
DeltaArchiveManifest. - Streaming Support: Local files, ZIP archives, and HTTPS URLs (via Range requests).
- Compression: Supports
REPLACE,REPLACE_BZ,REPLACE_XZ,REPLACE_ZSTD. - Verification: SHA256 integrity checks.
- Modern CLI: Beautiful UI with
richandtyper.
git clone https://github.com/programmersd21/payxt.git
cd payxtpip install .pip install git+https://github.com/programmersd21/payxt.git# Extract all partitions
payxt extract payload.bin
# Extract selected partitions from a URL
payxt extract https://example.com/ota.zip --partitions boot,vendor
# List partitions
payxt list payload.binpayxt follows a modular architecture inspired by AOSP update_engine:
core/: Payload header and manifest parsing.operations/: Strategy-based handlers for different installation operations.streaming/: Abstracted IO for files, ZIPs, and network.protobuf/: Generated bindings for Android OTA metadata.



