How do I mount, edit and repack an .img file? [duplicate]
By Abigail Rogers •
I have downloaded a .img file to use on my Android device.
I have to edit a file in the image in order to use it.
How can I mount the file so I can edit the text file and then re-pack the .img?
01 Answer
Did you try the standard o loop mount?
mount -o loop file.img /mnt/img
then edit and unmount normally
umount /mnt/img/