/System-img-tools

System image unpack and repack tool

Primary LanguagePython

NOTE:-

" PROJECT HAS BEEN ABANDONED FOR SOME TIME

REASON:- I LOST THE SOURCE CODE xD

WILL BE BACK SOON WITH A BETTER TOOL "

System image tools by @itsdrnoob

Convert system/vendor.new.dat.br found in custom roms to raw image and back to system/vendor.new.dat.br

Requirements

This tool requires Python 2.7 or newer installed on your system. It currently supports Windows x86/x64 (Cygwin), Linux x86/x64.

Usage

Just paste the required files here (base folder).
Required files
To unpack:- system/vendor.new.dat.br and system/vendor.transfer.list To repack:- Raw system/vendor image (system/vendor.raw.img)(system/vendor.img)

Usage

$sudo -s
$./menu
RUN THE TOOL AS ROOT (IMPORTANT!!!)

Note

More information about this binary can be found here:- https://forum.xda-developers.com/android/software-hacking/tool-unpack-repack-images-dat-br-t4065083

Credits

This tool uses the following binaries:-

  1. brotli
  2. sdat2img.py
  3. img2sdat.py
  4. img2simg
    All credits go to the respective owners