Unpack the images from super.img
November 11, 2025
Unpack the images from super.img
- When you build AOSP, host tools are also built.
- Since the Super Image is a Sparse image, it must be converted to raw before unpacking.
- The file system varies according to
BOARD_*_FILE_SYSTEM_TYPE, and in the case of ext4, it can be mounted withmount -t ext4. - If it's erofs, a separate tool (e.g., erofsfuse) is required for mounting.
- You need to convert the Sparse Image to a raw image.
Sparse image to raw imagesh
- You need to extract the Super Image, which consists of multiple partitions.
Extracting partition images from supersh
- The file system of the images will appear as ext4, and you must add the offset option for mounting.
Loop mount with offset optionssh