Recover corrupted SDcard

A coworker came with sad mood. His tablet microsdcard had failed.

As a good samarian I wanted to try my best to see if I could help.

The sdcard couldnt be mounted neither in windows nor in ubuntu. Photorec got read errors.

Wouldnt give up so I tried  cloning the card with gddrescue to a imagefile and then ran photorec, and suprise, now It found all his lost pictures and videos.

 

Make a clone off the sdcard in ubuntu:

[code]

sudo ddrescue -v /dev/mmcblk0 /home/user/image.img image.log

[/code]

Then make photorec recover files from the clone

[code]

sudo photorec /home/user/image.img

[/code]

follow the onscreen guide.