Skip to content

Replace otadump with pinned AOSP Android 17 extractor - #3

Closed
akhilnarang wants to merge 2 commits into
mainlinefrom
replace/aosp17-ota-extractor
Closed

Replace otadump with pinned AOSP Android 17 extractor#3
akhilnarang wants to merge 2 commits into
mainlinefrom
replace/aosp17-ota-extractor

Conversation

@akhilnarang

Copy link
Copy Markdown

Summary

  • replace the Rust extractor and custom delta implementation with a minimal Python API around AOSP ota_extractor
  • pin the official android17-release build 14524720 artifact and verify both the 32,496,582-byte runtime bundle and every extracted runtime file
  • support raw payloads, stored OTA ZIP payloads, selected partitions, incremental source images, and serial extraction on Linux x86_64
  • add deterministic artifact-subset generation, a locked concurrent cache installer, focused offline tests, and minimal AGENTS.md test rules

Artifact

Validation

  • python -m unittest discover -s tests -v: 8 passed
  • python tests/artifact_smoke.py: passed against a cold verified download
  • python -m build: sdist and wheel built successfully
  • deterministic artifact rebuild reproduced 96c5df0...
  • readelf confirmed x86_64 and $ORIGIN/../lib64 RUNPATH; ldd found no missing libraries
  • Pong incremental OTA subset reconstructed and passed AOSP target hash verification for boot, dtbo, recovery, vbmeta, vbmeta_system, vbmeta_vendor, and vendor_boot
  • independent final review found no issues

This is based directly on mainline; it does not modify or depend on PR #1.

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
@akhilnarang

Copy link
Copy Markdown
Author

Superseded by #2, which now preserves the Rust full-OTA extractor and adds the reviewed, hardened incremental LineageOS backend. PR #2 is green across Python, wheel, and all release target checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant