Skip to content

Latest commit

History

History
62 lines (42 loc) 路 2.6 KB

File metadata and controls

62 lines (42 loc) 路 2.6 KB

Auto System Image Extractor

A lightweight utility designed to automate the extraction of Android system images. This tool handles the conversion process from various compressed formats into raw, editable files.


馃殌 Supported Formats

The extractor currently supports:

  1. system.new.dat (Legacy Android ROMs)
  2. system.new.dat.br (Brotli compressed images)
  3. payload.bin (Modern A/B partition OTA updates)

馃搵 Requirements

To run this tool, ensure the following are installed and added to your System Environment Variables (PATH):


馃洜 How To Use

  1. Extract system_new_dat_extractor.zip into a new folder.
    • 鈿狅笍 _Important: Use a path without spaces
  2. Place your target ROM zip file into the same directory where you extracted the tool.
  3. Run system_image_extractor_V6.sh.
  4. Wait for the script to finish processing the files.
  5. Finish: The folder containing the extracted content will open automatically.

Warning: Sudo Required to mount the .img and copy files.

Pro Tip: Always delete the previously created output folders before starting a new extraction to avoid data corruption.


馃摐 Change-log

Version Highlights
V6 Moved to Linux bash script (Problems with symlinks in windows)
V5 Entire script rewrite
V4 Entire script rewrite; fixed path issues where spaces caused unintended file deletion.
V3 Added support for system.new.dat, system.new.dat.br, and payload.bin.
V2 Added Nougat support; converts file_contexts.bin to file_contexts.
V1 Initial release.

馃 Credits

  • And_pda - imgextractor
  • xpirt - sdat2img.py
  • cyxx - payload extraction logic
  • @aIecxs & ius
  • Google - Android platform tools
  • @sekaiacg - erofs-utils