Detect Android Spareseimage blocksize
What is the use case for the feature?
The Android Sparseimage packer always uses the default block size of 4096. The original block size of the image should be detected by an analyzer to allow repacking at the original block size.
Does the feature contain any proprietary information about another company's intellectual property?
No
How would you implement this feature?
Implement an Android Sparseimage Analyzer which can detect the block size of a sparseimage, add a field to the AndroidSparseimage dataclass to store the block size, and have the packer call img2simg with the block size from the AndroidSparseimage.
Are there any (reasonable) alternative approaches?
N/A
Are you interested in implementing it yourself?