I found that I forgot to add the system.img file.I want to motify a MIUI ROM( MIUI 12 ), but I can't mount the "system.img" file in my Ubuntu system.
I'm using mount command like that:
"sudo mount -t ext2 -o loop system.img /mnt/system" '/mnt/system' is a folder a created using mkdir
I got such output: "mount: /mnt/system: wrong fs type, bad option, bad superblock on /dev/loop9, missing codepage or helper program, or other error."
The output of 'file' command:
"system.img: Linux rev 1.0 ext2 filesystem data, UUID=8d63fcde-560d-52f8-a382-c8a8da0768d7 (extents) (large files) (huge files)"
The way I get 'system.img' file from 'system.new.dat.br' file as follows:
"
brotli -d system.new.dat.br
git clone https://github.com/xpirt/sdat2img
cd sdat2img
python sdat2img.py ../system.transfer.list ../system.new.dat
"
Could anybody help me? Thanks!
It can be downloaded here : http://www.unknownnetworkservice.com:8012/Download/system.img