You cannot recover data with testdisk from and to the same device. I assume you are running testdisk from within the N900, so you will need an external microSD card to save the files to. What is the error you are getting, if you try to fsck the partition Code: sudo gainroot umount /dev/mmcblk0p1 fsck -af /dev/mmcblk0p1 mount /dev/mmcblk0p1 /home/user/MyDocs Do you get any errors if you want to read the partition table Code: sudo gainroot sfdisk -l
sudo gainroot umount /dev/mmcblk0p1 fsck -af /dev/mmcblk0p1 mount /dev/mmcblk0p1 /home/user/MyDocs
sudo gainroot sfdisk -l