Skip to content

extract_and_push.sh: Extract recovery.img#42

Closed
techydiwas wants to merge 1 commit intoAndroidDumps:masterfrom
techydiwas:feature
Closed

extract_and_push.sh: Extract recovery.img#42
techydiwas wants to merge 1 commit intoAndroidDumps:masterfrom
techydiwas:feature

Conversation

@techydiwas
Copy link
Copy Markdown

This pull request adds support for extracting the recovery.img partition in the extract_and_push.sh script, following the existing logic for boot.img. The new logic ensures that recovery.img is unpacked and its ramdisk is extracted when the alternative dumper is enabled.

New recovery image extraction:

  • Added logic to detect and extract recovery.img if present, including setting up output directories and unpacking the image using unpackbootimg.
  • Implemented ramdisk extraction for recovery.img when compressed with LZ4 or gzip, using unlz4 and 7zz, and included clean-up of intermediate files.

Signed-off-by: techdiwas <diwasneupane652@gmail.com>
deadman96385 added a commit to deadman96385/dumpbot that referenced this pull request Apr 3, 2026
- add recovery.img to boot image processing in the Python extractor
- unpack recovery ramdisks in the rewrite-native path
- extract recovery device trees for parity with other boot image handlers
deadman96385 added a commit to deadman96385/dumpbot that referenced this pull request Apr 4, 2026
- add recovery.img to boot image processing in the Python extractor
- unpack recovery ramdisks in the rewrite-native path
- extract recovery device trees for parity with other boot image handlers
deadman96385 added a commit to deadman96385/dumpbot that referenced this pull request Apr 4, 2026
- add recovery.img to boot image processing in the Python extractor
- unpack recovery ramdisks in the rewrite-native path
- extract recovery device trees for parity with other boot image handlers
deadman96385 added a commit to deadman96385/dumpbot that referenced this pull request Apr 4, 2026
- add recovery.img to boot image processing in the Python extractor
- unpack recovery ramdisks in the rewrite-native path
- extract recovery device trees for parity with other boot image handlers
deadman96385 added a commit that referenced this pull request Apr 4, 2026
- add recovery.img to boot image processing in the Python extractor
- unpack recovery ramdisks in the rewrite-native path
- extract recovery device trees for parity with other boot image handlers
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.

2 participants