Skip to content

snagflash: add automatic sparse conversion for large images - #3

Open
BakyarajM wants to merge 1 commit into
qcom-nextfrom
auto-sparse-conversion
Open

snagflash: add automatic sparse conversion for large images#3
BakyarajM wants to merge 1 commit into
qcom-nextfrom
auto-sparse-conversion

Conversation

@BakyarajM

Copy link
Copy Markdown

Snagflash already supports flashing Android sparse images. However, users currently need to convert raw images to sparse format using an external tool before flashing when the image size exceeds the target's Fastboot download limit (e.g. U-Boot's max download size).

To simplify the workflow, automatically convert raw images to Android sparse format during flashing and stream them as multiple sparse chunks. This allows large images to be flashed successfully without requiring the full image to fit within the target's download buffer and eliminates the need for an external sparse conversion step.

Snagflash already supports flashing Android sparse images.
However, users currently need to convert raw images to sparse
format using an external tool before flashing when the image size
exceeds the target's Fastboot download limit (e.g. U-Boot's max
download size).

To simplify the workflow, automatically convert raw images to
Android sparse format during flashing and stream them as multiple
sparse chunks. This allows large images to be flashed successfully
without requiring the full image to fit within the target's download
buffer and eliminates the need for an external sparse conversion
step.

Signed-off-by: Bakyaraj Moorthy <bmoorthy@qti.qualcomm.com>
@BakyarajM
BakyarajM force-pushed the auto-sparse-conversion branch from 47e7639 to 58be222 Compare August 25, 2026 16:54
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