Skip to content
Extract firmware images from an Android OTA payload.bin file
Branch: master
Clone or download
cyxx Add python 2.x version check
The is generated using protoc 2.5.0. The
generated python code appears to be incompatible with python3/protobuf3
module (eg. uncode() calls).
Latest commit f36d848 Aug 29, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add initial version of payload.bin extraction script Jun 26, 2018 Add dependencies to README Aug 29, 2018 Add python 2.x version check Aug 29, 2018

Extract Android firmware images from an OTA payload.bin file.

With the introduction of the A/B system update, the OTA file format changed. This tool allows to extract and decompress the firmware images packed using the 'brillo' toolset.

Incremental firmware images are not supported (source_copy, source_bsdiff operations).


$ <payload.bin> [target_dir]
  <payload.bin> : file extracted from the OTA zip file or the OTA zip file
  <target_dir>  : output directory for the extracted file


$ python /tmp/
Extracting 'boot.img'
Extracting 'system.img'
Extracting 'vendor.img'
Extracting 'modem.img'


You can’t perform that action at this time.