Skip to content

Convert sparse filesystem images to sparse Android data images

License

Notifications You must be signed in to change notification settings

PeterKnecht93/img2sdat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Convert sparse filesystem images to sparse Android data images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%