Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
duich
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Apr 2011
Default Recover Files from dd image of mmcblk0p12

Hi i accidently deleted all of my images from the internal SD-Card. I have a rooted Galaxy S3 and booted in recovery and did a:

adb shell dd if=/dev/block/mmcblk0p12 > int_sdcard.dd

Now i have a 12 GB int_sdcard.dd file. But i tried with Ubuntu Live CD to mount or use testdisk on it but it doesnt work.
when i try to mount it says group descriptors corrupted and testdisk doesnt find any partitions on it.

Please could you help me to recover my images.

Thankss
 
Android_Monsters
Old
#2  
Android_Monsters's Avatar
Senior Member
Thanks Meter 335
Posts: 1,528
Join Date: Feb 2012
Location: Los Angeles
This post helped me before


http://androidforums.com/lounge/5562...laxy-s-ii.html
Sent from my SGH-T999 using xda premium
 
duich
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Apr 2011
Thanks but the S3 only has MTP Mode so i cant use any tools which needs direct access to the storage. This is the reason why i did a dd image.
 
zmore
Old
#4  
zmore's Avatar
Senior Member
Thanks Meter 771
Posts: 1,374
Join Date: Apr 2011
Quote:
Originally Posted by duich View Post
Hi i accidently deleted all of my images from the internal SD-Card. I have a rooted Galaxy S3 and booted in recovery and did a:

adb shell dd if=/dev/block/mmcblk0p12 > int_sdcard.dd

Now i have a 12 GB int_sdcard.dd file. But i tried with Ubuntu Live CD to mount or use testdisk on it but it doesnt work.
when i try to mount it says group descriptors corrupted and testdisk doesnt find any partitions on it.

Please could you help me to recover my images.

Thankss
The internal SD is ext4 format, and there is no "undelete" for it (unlike FAT32), so you're going to need a forensic util to recover SOME of your images. Give photorec a try - it's open source and I've used it with success in the past.
phone #1: SGS3 (SGH-i747); ROM: CM10.1 Nightly (JB 4.2.2); kernel: Stock @ 1.5GHz || KT747 @ 2.1GHz(!); misc: Incipio Silicrylic case; 64GB class10 microSDXC
phone #2: SGS1 Captivate (SGH-i897 r1008); ROM: CM10.1 M3 (JB 4.2.2); kernel: Stock @ 1.0GHz; misc: $0.99 silicone case; 32GB Lexar microSDHC
 
 
duich
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Apr 2011
I already tried Photorec but all i get is hundrets of txt files but no images. I Think the Problem is that i even cannot mount the dd image with the normal files inside. (i mean the files wich are not deleted). Could it be because of piping the dd command and not using the "of" parameter?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...