Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyxx/extract_android_ota_payload
Extract firmware images from an Android OTA payload.bin file
https://github.com/cyxx/extract_android_ota_payload
android extract-firmware-images tools
Last synced: 4 days ago
JSON representation
Extract firmware images from an Android OTA payload.bin file
- Host: GitHub
- URL: https://github.com/cyxx/extract_android_ota_payload
- Owner: cyxx
- License: mit
- Archived: true
- Created: 2018-06-26T07:49:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-25T00:04:15.000Z (almost 3 years ago)
- Last Synced: 2024-08-01T19:42:56.509Z (3 months ago)
- Topics: android, extract-firmware-images, tools
- Language: Python
- Homepage:
- Size: 60.5 KB
- Stars: 443
- Watchers: 22
- Forks: 93
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# extract_android_ota_payload.py
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).
## Usage
```
$ extract_android_ota_payload.py [target_dir]
: file extracted from the OTA zip file or the OTA zip file
: output directory for the extracted file
```## Example
```
$ python3 extract_android_ota_payload.py marlin-ota-opm4.171019.021.d1-fd6998a5.zip /tmp/
Extracting 'boot.img'
Extracting 'system.img'
Extracting 'vendor.img'
...
Extracting 'modem.img'
```## Dependencies
```
python-protobuf,bzcat,xzcat
```