Originally Posted by meszi1977
# losetup /dev/loop1 data.img
# fdisk -l /dev/loop1
Disk /dev/loop1: 516 MB, 516592640 bytes
255 heads, 63 sectors/track, 62 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xffffffff
Disk /dev/loop1 doesn't contain a valid partition table
Ok, the IMG file is no disk image. But what is it?
It is a YAFFS image. I use unyaffs
or dsixda's Kitchen
to extract it, and mkyaffsimage (I cant find the link, but you'll have to compile it yourself) to repack (I never tested this one).
Just on Linux... for Windows I don't know a working method.
PS: The thread is in the wrong forum, no one comes here...