Android ROM packages come with a lot of files and they often use different file formats. system.new.dat.br is one of the most commonly used file formats to compress the data to be delivered in a ROM.
In this guide, let us see how to extract the system.new.dat.br file to get the system.new.dat file (which you can further extract to get the system.img file).
Follow the below steps to extract system.new.dat.br file:
Step 1. Download the brotli.exe file to your computer.
Step 2. Copy the above downloaded file the folder where you have the system.new.dat.br file.
Step 3. Open command prompt or PowerShell window from inside this folder. To do this: Hold down Shift Key and then Right-click anywhere on the empty space on the folder and the select ‘Open command windows here‘ or ‘Open Power Shell window here‘.
Step 4. Run the below command in the windows that opens:
If it is command prompt/command window, run the below command:
brotli.exe --decompress --in system.new.dat.br --out system.new.dat
If it is Power Shell windows, run the below command:
./brotli.exe --decompress --in system.new.dat.br --out system.new.dat
Once you execute the above command, you will get the system.new.bat file on the same folder.
You can now make use of other guides to extract the system.new.dat file and get the system.img file.
Très intéressant, dommage que cela soit en anglais.
Très bien expliqué. Merci.