I want to change the recovery image from ODIN package for Samsung P601. I've unpacked the archive and got recovery.img.
Next I've tried to do
simg2img recovery.img recovery.raw.img, but it says:
Invalid sparse file format at header magi Failed to read sparse file
I think that means that it should not be converted. I've tried to mount it, but the FS seems to be not ext4.
So, the question is - how to mount recovery.img, change files there and save it back? I'm using OS X and Windows (with cygwin).