Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 827 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 827 Bytes

img2sdat

Convert sparse filesystem images (.img) into sparse Android data images (.dat)

Requirements

This binary requires Python 3 or newer installed on your system.

Usage

img2sdat.py <partition_img> [-o outdir] [-v version]
  • <partition_img> = input partition image
  • [-o outdir] = output directory (current directory by default)
  • [-v version] = transfer list version number (3 - 6.0, 4 - 7.0, more info on xda thread)

Example

This is a simple example on a Linux system:

~$ ./img2sdat.py system.img -o tmp -v 4

It will create system.new.dat, system.patch.dat and system.transfer.list in the tmp directory.

Info

For more information about this binary, visit it's XDA page.