I have this file that I got from a friend who says that its the disk image of an android mobile. Doing a file on the image I get the following:-
$ file t.bin
t.bin: Linux rev 0.0 ext2 filesystem data (mounted or unclean), UUID=badcafee-dead-beef-0000-000000000000
So I try to mount this onto a folder in order to see its contents:-
$ mkdir testmountpoint
$ cd testmountpoint
$ sudo mount t.bin testmountpoint/
mount: /home/developer/analysis/data.bin is not a block device (maybe try `-o loop'?)
$ sudo mount -o loop t.bin testmountpoint/
mount: Stale NFS file handle
How could I go about reading the contents of this disk image?

filesays "mounted or unclean", try to fsck it before mounting. – enzotib Aug 7 '11 at 7:44