Skip to content

Conversation

techdiwas
Copy link

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.

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