Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.
/ img2sdat Public archive
forked from xpirt/img2sdat

Convert sparse EXT4 image to sparse Android data image

License

Notifications You must be signed in to change notification settings

Mesa-Labs-Archive/img2sdat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img2sdat

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

Requirements

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

Usage

img2sdat.py <system_img> [-o outdir] [-v version]
  • <system_img> = input system 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 files system.new.dat, system.patch.dat, system.transfer.list in directory tmp.

Info

For more information about this binary, visit http://forum.xda-developers.com/android/software-hacking/how-to-conver-lollipop-dat-files-to-t2978952.

About

Convert sparse EXT4 image to sparse Android data image

Resources

License

Stars

Watchers

Forks

Languages

  • Python 100.0%