Easily convert Android firmware’s compressed (Brotli) file into a standard system.img (raw ext4 image) for mounting, modification, repacking, or emulation.
brotli --decompress system.new.dat.br --output=system.new.dat system.new.dat.br to system.img
To save space in ROM zip files, developers started using system.new.dat (accompanied by system.transfer.list ). This was a sparse filesystem image compressed into a data blob. system.new.dat.br to system.img