I downloaded a ROM for a Xiaomi phone to see what's inside. It's a zip file, that has these inside:
boot.img META-INF system.new.dat.br vendor.patch.dat
compatibility.zip product.new.dat.br system.patch.dat vendor.transfer.list
dynamic_partitions_op_list product.patch.dat system.transfer.list
firmware-update product.transfer.list vendor.new.dat.br
I understand that boot.img
is what is loaded on boot. It has the kernel and a ramdisk. But how can the bootloaded, or the kernel, or the ramdisk access the other files like system.new.dat.br
? Both system.new.dat.br
and product.new.dat.br
are 1gb large, so I guess they have the system.
So my question is: what are these files and how does the boot.img
contents load them?
ps: .br is a compresses archive. It decompresses to .dat, but what are the contents of these?