NOTE:-
" PROJECT HAS BEEN ABANDONED FOR SOME TIME
REASON:- I LOST THE SOURCE CODE xD
WILL BE BACK SOON WITH A BETTER TOOL "
Convert system/vendor.new.dat.br found in custom roms to raw image and back to system/vendor.new.dat.br
This tool requires Python 2.7 or newer installed on your system. It currently supports Windows x86/x64 (Cygwin), Linux x86/x64.
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)
$sudo -s
$./menu
RUN THE TOOL AS ROOT (IMPORTANT!!!)
More information about this binary can be found here:- https://forum.xda-developers.com/android/software-hacking/tool-unpack-repack-images-dat-br-t4065083
This tool uses the following binaries:-
- brotli
- sdat2img.py
- img2sdat.py
- img2simg
All credits go to the respective owners