{"id":13606898,"url":"https://github.com/cyxx/extract_android_ota_payload","last_synced_at":"2025-04-12T11:31:00.981Z","repository":{"id":41164144,"uuid":"138703340","full_name":"cyxx/extract_android_ota_payload","owner":"cyxx","description":"Extract firmware images from an Android OTA payload.bin file","archived":true,"fork":false,"pushed_at":"2022-01-25T00:04:15.000Z","size":62,"stargazers_count":451,"open_issues_count":8,"forks_count":94,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-11-07T12:41:40.643Z","etag":null,"topics":["android","extract-firmware-images","tools"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cyxx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-26T07:49:03.000Z","updated_at":"2024-11-06T11:54:42.000Z","dependencies_parsed_at":"2022-07-21T04:49:31.297Z","dependency_job_id":null,"html_url":"https://github.com/cyxx/extract_android_ota_payload","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyxx%2Fextract_android_ota_payload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyxx%2Fextract_android_ota_payload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyxx%2Fextract_android_ota_payload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyxx%2Fextract_android_ota_payload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyxx","download_url":"https://codeload.github.com/cyxx/extract_android_ota_payload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248560058,"owners_count":21124586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","extract-firmware-images","tools"],"created_at":"2024-08-01T19:01:13.603Z","updated_at":"2025-04-12T11:31:00.682Z","avatar_url":"https://github.com/cyxx.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# extract_android_ota_payload.py\n\nExtract Android firmware images from an OTA payload.bin file.\n\nWith the introduction of the A/B system update, the OTA file format changed.\nThis tool allows to extract and decompress the firmware images packed using the 'brillo' toolset.\n\nIncremental firmware images are not supported (source_copy, source_bsdiff operations).\n\n## Usage\n\n```\n$ extract_android_ota_payload.py \u003cpayload.bin\u003e [target_dir]\n  \u003cpayload.bin\u003e : file extracted from the OTA zip file or the OTA zip file\n  \u003ctarget_dir\u003e  : output directory for the extracted file\n```\n\n## Example\n\n```\n$ python3 extract_android_ota_payload.py marlin-ota-opm4.171019.021.d1-fd6998a5.zip /tmp/\nExtracting 'boot.img'\nExtracting 'system.img'\nExtracting 'vendor.img'\n...\nExtracting 'modem.img'\n```\n\n## Dependencies\n\n```\npython-protobuf,bzcat,xzcat\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyxx%2Fextract_android_ota_payload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyxx%2Fextract_android_ota_payload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyxx%2Fextract_android_ota_payload/lists"}