system.new.dat解压工具sdat2img


https://github.com/xpirt/sdat2img


sdat2img

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

Requirements

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

It currently supports Windows x86/x64, Linux x86/x64 & arm/arm64 architectures.

Usage

sdat2img.py <transfer_list> <system_new_file> [system_img]
  • <transfer_list> = input, system.transfer.list from rom zip
  • <system_new_file> = input, system.new.dat from rom zip
  • [system_img] = output ext4 raw image file

Example

This is a simple example on a Linux system:

~$ ./sdat2img.py system.transfer.list system.new.dat system.img

Info

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


posted @ 2017-01-16 20:41  张同光  阅读(985)  评论(0编辑  收藏  举报