Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: HOW TO: iPhone Data Recovery
09-20-2010, 01:26 AM #141
Here is how to fixed the problem pictures not saving to iPhone\Camera Roll:
SSH into your iPhone
At the command line type the following:
1. CD /var/mobile/Media (Execute)
2. chown –R mobile DCIM (Execute)
Exit SSH and take a picture with your phone and check the Camera Roll this should fixed the problem. Pictures not saving to iPhone…
09-23-2010, 04:08 PM #142How to get installer on iphone ios 4.0
Hello, I lost some pictures from my iphone too, and I will follow all your steps, I have everything but the BDE subsystem, cause I can not get the installer. Anyone can help me. How or from where can I get the installer with a IOS 4.0 or where to get the BDE subsystem. THanks in advance!
Hello. I have install everything I need to try to recover my pictures, but I can not get the BDE subsystem since I am not able to get installer on my iphone 3gs IOS 4.0 Can you help me? Regards
Last edited by climenti; 09-23-2010 at 04:08 PM. Reason: Automerged Doublepost
09-24-2010, 07:17 PM #143
Hello, I have been trying to get the BSD Subsystem, since I have all the rest ready, but I can not get the BSD Subsystem cause I dont have installer on my iphone. How can I get it?? I have a Iphone 32gb 3gs IOS 4.0 ANYONE?? PLEASE HELP
09-25-2010, 08:48 PM #144
Why do I get this error:
iPhone:~ root# dd if=/dev/disk0 | ssh <laptop>@<169.254.27.239> 'dd of=iphone-dump.img'
dd: reading `/dev/disk0': Invalid argument
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000502 s, 0.0 kB/s
-sh: laptop: No such file or directory
09-28-2010, 11:00 AM #145
it should be rdisk, not disk.
10-12-2010, 05:50 PM #146
Hi all - i've been trying to follow the usb connected guide posted by Assoor for over 5 hours now - im totally new to ubuntu, and to ssh - so it's been slow. I'm sure now that i am stuck at this line:
Please can anyone help
I'm using an iphone 3g with ios4.1
Just in case it helps, here is the error message:
[email protected]:~# cat .ssh/id_rsa.pub | ssh -p 3023 [email protected] 'cat >> .ssh /authorized_keys'
The authenticity of host '[127.0.0.1]:3023 ([127.0.0.1]:3023)' can't be established.
RSA key fingerprint is 2e:f3:1n:cv:f3:6h:3n:1n:en:nn:1n:nn:nn:nn:ne:nn.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[127.0.0.1]:3023' (RSA) to the list of known hosts.
[email protected]'s password:
cat: /authorized_keys: No such file or directory
Last edited by adding; 10-12-2010 at 07:13 PM.
10-13-2010, 06:46 PM #147
I was successful in extracting my iphone 4 img onto my macbook. I ran photorec on the image but was unable to pull out any jpgs. It said after a few minutes of scanning that one of my sectors is corrupt? Is there another extraction software i could try?
10-19-2010, 05:25 PM #148
err... I have tried and came up with a few problems.. I solved some but not all.
The phone I was doing this was a 16GB 3G which had been upgraded to 4.1 and lost its data in the process.
It has a cracked screen so after recovering the data it will go to apple heaven.
Now mobile terminal isn't compatible with 4.1, but there a package from an alternative source that has a patched version. They are called zombie something and I am not sur if it was a good idea but I added them as a source and installed it. If you have cydia installed you don't need BSD subsystem as cydia is apparently more or less the same thing.
The wireless after Jailbraking was very flickery, but a reset in settings fixed it.
The image I got out was nearly 11gb... so I think I'll have to do it again.
I have a mac, I popped the image in fileJuicer and it fished a whole load of images out with the names :-)
contacts I am working on.
Photorec works also for me.
10-20-2010, 11:21 AM #149
10-22-2010, 01:57 AM #150
You will need an iPhone Data Recovery Software to recover all the data of your iPhone if the sizes of the data files are too much.To cope up with these unwanted, uncertain situations iphone backup software comes into use.
10-24-2010, 06:34 PM #151
im running windows 7, and have tried multiple ssh server utilities including - WinSCP - Putty - Cygwin, i can SSH into my phone, but i cant get my phone to communicate to my computer. I have searched and searched and have come up with nothing. Is there something im missing? PLEASE HELP!
10-29-2010, 08:49 AM #152Iphone 3GS img access
Another victim of the 4.1 update here.. stupidly didn't make a backup but I've learnt my lesson.. Anyway, After many many days of trying to solve this on my own I've decided I need help with it.
ssh root@'iphone-ip' dd if=/dev/disk0 bs=1M | dd of=iphone.img
While the command:
ssh root@'iphone-ip' dd if=/dev/rdisk0s2s1 bs=1M | dd of=iphone.img
So, I'm relatively sure that the 29.3GB file is the user partition, I cant figure how to access it though.. Any help would be greatly appreciated.
10-30-2010, 01:36 PM #153
Hey guys, ive managed to get a full size image using the wifi ssh method, but what do i do with it now? Any help is appreciated, thanks.
Last edited by shalomii; 10-30-2010 at 01:57 PM.
11-02-2010, 06:33 AM #154
Nice post!!....I am really so proud to see such an wonderful post....Its really very awesome....The information you provided on data recovery is very useful.Thanking you....
11-04-2010, 07:32 AM #155
My wife iphone (3GS 32GB) got stolen, luckily the police was able to found it and returned it back to us.
Unfortunately, the robbers had deleted plenty of pictures and videos.
I jailbreaked the phone (blackra1n) and I tried the method here above. I couldn't unmount (command not found) the disk but anyway I was able to produce the disk image.
But I couldn't find any of the missing pictures or videos. What is even more strange is that a single picture is repeated all over again (7000+ times) from half the disk image to the end.
I have tried three different disk image extractions, over wifi and over USB. I have tried three different tools: photorec, scalpel and diskdigger and the result is the same with the three, with the disk image being filled with the same picture all over again from half the disk image.
Could the fact that I was not able to set the partiton 'ro' explain this strange disk image?
11-25-2010, 06:37 PM #1564.1 3gs 32gb - tried everything, not successful yet!
Hi everyone, I have been trying to recover data from my 4.1 3gs 32gb /private/var for the last few days and have been unsuccessful just like you. I have tried *everything* I could find on the net. I even bought the iPhone Forensics book by Jonathan Zdziarski but he only covers up to 3.1.3. I sent him an email to ask him if he's figured out how to do it in 4.1 and will post his reply if he gets back to me.
Has anyone had success in recovering data from a 4.1 3gs (or iPhone 4)?
P.S. I also had the problem of not being able to unmount /private/var and remount read-only. I was able to pull a 31.4 GB image off of rdisk0s2s1 - it seems that the 'bs' doesn't really matter above 1M as long as it works because I pulled off images via USB+SSH with 2M, 4M and they were all the same number of bits.
11-25-2010, 06:41 PM #157
11-25-2010, 07:07 PM #158
Thankfully this isn't a restore situation. I am trying to recover a voice memo I deleted. Following all the processes on the internet and in the iphone forensics book I haven't been successful in recovering *any* files from the dd image pulled from /private/var. There are definitely mp3's, images, movies, etc on that image...but photorec isn't able to pull any of them. Any ideas?
11-25-2010, 10:08 PM #159
Wait...how r the photos still om the phone?
11-26-2010, 09:17 AM #160
has anyone with a Iphone 3GS managed to recover actual pictures using any of the methods in this thread? If so, what iOS version and which method worked for you?
Thanks for this, did anyone find a workaround to newer hardware? is there a way to recover 3gs photo's?
Last edited by naani1; 11-26-2010 at 09:17 AM. Reason: Automerged Doublepost