simg2img
« Back to VersTracker
Description:
Tool to convert Android sparse images to raw images and back
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: android sparse-image conversion development system-images
Install: brew install simg2img
About:
simg2img is a command-line utility that converts Android sparse image (SIMG) files into raw image format. It also supports the reverse operation, allowing raw images to be converted back into sparse images. This tool is essential for developers working with Android factory images, system dumps, or custom ROMs.
Key Features:
  • Bidirectional conversion between SIMG and raw image formats
  • Command-line interface suitable for automation and scripting
  • C++ implementation for high performance and efficiency
  • Supports standard Android sparse image format specifications
Use Cases:
  • Extracting system images from Android factory OTA zip files for modification
  • Converting sparse images to raw format for mounting or analysis in non-Android environments
  • Repacking modified raw images back to sparse format for flashing to devices
Alternatives:
  • simg2img (AOSP) – The official tool from AOSP; this formula provides easier installation on macOS via Homebrew.
  • unmkbootimg – Focuses on unpacking boot images rather than sparse data partitions.
Version History
Detected Version Rev Change Commit
Sep 15, 2025 9:48am 0 VERSION_BUMP 3fc88027
Dec 14, 2024 11:02pm 0 VERSION_BUMP 4af572d7
Sep 14, 2024 4:59am 0 VERSION_BUMP 8248c2fc