Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

Support selective extraction of partitions #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chirayudesai
Copy link

No description provided.

@chirayudesai
Copy link
Author

The Android Q factory images don't include the extra bootstack partitions, only bootloader and modem.
I plan to use this script to get those partitions from the ota zip instead, selectively.


if output_dir.endswith('.img'):
output_dir = os.getcwd()

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not exactly a fan of all this additional handling but I think it covers all cases, I did test manually.

chirayudesai added a commit to chirayudesai/android-prepare-vendor that referenced this pull request Sep 16, 2019
chirayudesai added a commit to chirayudesai/android-prepare-vendor that referenced this pull request Sep 16, 2019
chirayudesai added a commit to chirayudesai/android-prepare-vendor that referenced this pull request Sep 16, 2019
chirayudesai added a commit to chirayudesai/android-prepare-vendor that referenced this pull request Sep 16, 2019
* These are contained in the bootloader.img, but I don't know
  of any way of extracting them yet. But that would be so much better.

TODO: Import the below in a better way
cyxx/extract_android_ota_payload#8
chirayudesai added a commit to chirayudesai/android-prepare-vendor that referenced this pull request Sep 16, 2019
* These are contained in the bootloader.img, but I don't know
  of any way of extracting them yet. But that would be so much better.

TODO: Import the below in a better way
cyxx/extract_android_ota_payload#8
chirayudesai added a commit to chirayudesai/android-prepare-vendor that referenced this pull request Sep 17, 2019
From cyxx/extract_android_ota_payload#8
Commit 254cbdc9825056fd6ac49aea5a4fc9bcefe0b3d0
"Support selective extraction of partitions"
spezi77 pushed a commit to PixelDust-Project-X/android-prepare-vendor that referenced this pull request Sep 18, 2019
From cyxx/extract_android_ota_payload#8
Commit 254cbdc9825056fd6ac49aea5a4fc9bcefe0b3d0
"Support selective extraction of partitions"

Signed-off-by: spezi77 <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant