Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

This question already has an answer here:

I accidentally deleted my SD card photos.

I purchased a software call wondershare photo recovery and card recovery. I am able to recover back 50% of my photos.

But I got some strange issues here.

Actually I am able to recovered all photos. But only old photo (mean 1 or 2 years back) are recovered in full size (3-5MB), the latest photos (all 2013) were recovered in 30-100KB only. From thumbnail and the mega tag, I am able to see the image and information. But when I open the image file. Its look like fragments.

Since the day I accidentally deleted the photos, I had never use this SD card anymore to avoid data overlap. But I really dont understand why I can recovered those old photos, the latest photos all is fragments?

share|improve this question

marked as duplicate by slm, Anthon, Hauke Laging, Renan, psusi Jun 25 '13 at 15:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
Did your software purchase come with any user support? –  EightBitTony Jun 25 '13 at 12:23
    
Which file system does it have? –  l0b0 Jun 25 '13 at 12:54
    
What did you actually do so far? More detail would be very useful. –  l0b0 Jun 25 '13 at 12:55
    
Have you deleted some of the old pictures before and then added new ones? So some of the new pictures could become fragmented. –  ott-- Jun 25 '13 at 13:07
    
Please search the site before asking these types of basic questions. They've been covered extensively already! –  slm Jun 25 '13 at 14:29

2 Answers 2

up vote 0 down vote accepted

If by fragmented you mean that the JPEG images (as that is the most commonly encoutered image format) are "pixelated" or have strange artefacts like stripes it means that the files haven't been recovered fully.

Now if the card itself is working, try cloning it with dd into a file:

dd if=/dev/mmcblk0p1 of=/path/to/image bs=1M

and work on the resulting image - it will be faster and you won't have to worry about accidentally damaging the only copy of your data. When one is trying to rescue the data from a media damaged in any way (e.g. a dying HDD), ddrescue is the right choice.

The file system usually used on SD cards is FAT (which has actually a rather simple structure), so you probably want to look around for utilities that would try to reconstruct that (these utilities have been around since DOS times, one example can be the Norton Utilities).

share|improve this answer
    
I suggest you use forensicswiki.org/wiki/Ddrescue instead of dd –  Frederik Deweerdt Jun 25 '13 at 14:16
1  
If the card is working, there really is no need for this. In the case of a damaged media, ddrescue is the right choice of course. –  peterph Jun 26 '13 at 7:27

You can try photorec from the testdisk package, but all recovery attempts are just last ditch desperation measures that fail more often than not. This is why you need to have backups of data you don't want to lose.

share|improve this answer
    
I did purchased the software call cardrescue and wondershare, but non of the works. My file is just .jpeg file only. I had tried to recover the SD card, then in my recovery files. Only old photos (those 1-2 years ago photo able to recover), but recent photos like few months ago. I unable to recover it, as the file size only 35kb-100kb only. I think its just a thumbnails. –  user1343112 Jun 25 '13 at 14:40
    
@user1343112, there's no need to repeat yourself. –  psusi Jun 25 '13 at 15:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.