Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Unpack system.new.dat.br file which I found in Android 8.1 rom(aosp Based)

I recently downloaded a aosp based rom from xda for my Xiaomi redmi note 3 pro(kenzo) device. It's name is "Pixel experience android 8.1". when extract the rom zip file, there is a file name "system.new.dat.br" , I want to extract it or unpack. but i can't do it. please can any one help me about this how to unpack the new type system.

like image 705
Nobin Khan Avatar asked Dec 14 '22 19:12

Nobin Khan


2 Answers

On Linux this can be decompressed with brotli like this (Ubuntu):

$ sudo apt install brotli
$ brotli --decompress system.new.dat.br -o system.new.dat
like image 107
Vladimir Avatar answered Dec 17 '22 23:12

Vladimir


system.new.dat.br is system.new.dat compressed into a .br (brotli) file.

On Windows, you can use Eric Lawrence's Brotli.exe to decompress the .br file to system.new.dat which you can extract as before.

like image 25
Spannaa Avatar answered Dec 17 '22 22:12

Spannaa