I have an android system.img I want to remove the read-only flag so that I can mount and edit it I once saw it somewhere but I can't seem to find the article. maybe it has to do with removing shared_blocks?!
I can mount -o ro system.img but when I do mount -o rw I get
mount: /mnt/system: wrong fs type, bad option, bad superblock on
I tried tune2fs -O ^read-only system.img and e2fsck -fy -E unshare_blocks system.img it still doesn't mount rw
system.imgfile isn't anext4partition.ext4tools won't work. Usefile -k system.imgto investigate. While it's mounted,mount | grep system. Readman mount file.