I have a SD card that was in my Android phone. Unencrypted. With app data and pictures on it. Then one day it was not recognized anymore and it was empty. I wasn't worried because I have backups but I thought it might be a good possibility to check whether I am able to recover the data. That's why I put the card into the Linux machine of mine (unmounted) and tried a few tools.
dmesg gave me no warnings or errors concerning my SD card (dmesg | grep mmcblk).
First of all I made raw images of it with ddrescue and safecopy. Both with very passive options (ddrescue with -n and safecopy with --stage1). Both made perfect images without any read errors / bad blocks.
sudo ddrescue -n -v /dev/mmcblk0 dr.img dr.log
For further steps I made a copy of the file.
cp dr.img dr_working_copy.img
Then I took testdisk. It was not able to find any ppartitions. Even after the deeper search.
sudo testdisk dr_working_copy.img
Then I used photorec and foremost. Both were not able to find any file.
sudo photorec dr_working_copy.img sudo foremost -I dr_working_copy.img
The question now is: Am I too stupid to use these tools? Can you confirm that this was a viable attempt to recover files or did I messed up something? And do you have any idea of what could have caused the data to be that damaged that I cannot find it anymore?