Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
03-14-2011, 05:16 PM #61
Sorry for the spamming...
I manage to search the img dump from my iPhone before. All I did was that browsed to the img with Diskutility. Dubbelclicked it so Diskutility tries to open the img, but it will not be able to do this. A messege will come up and same something like "you are owned" and so on...
But under your img a new icon will come up, that's named "Data". When this happens you will be able to search the img with a recovery tool, I used Data Rescue 3 for my searching. Unfortunately I didn't find the files that I was looking for, but maybe you will!
05-23-2011, 08:22 AM #62
(yesterday while trying to import some images to iphoto via image capture the photos got imported to image capture and then they began important to iphoto but iphoto popped up a 'disk error' and the images that were being imported disappeared. image capture deleted the images off my iphone and I haven't been able to find them since -- btw I was using image capture because iphoto fails often when importing pics from my phone when doing it directly).
tldr: i lost some pics, tried to follow the instructions, that didn't work because iOS 4 now encrypts the user volume so you can't get an unencrypted image to run data recover tools on - source http://www.*****************/showpos...2&postcount=27 - however THIS may be a solution, http://msftguy.blogspot.com/2010/07/...oot-pwned.html - will try it and will advise)
tldr (cliff notes): it don't work because I couldn't get umount to work (which may be a ios4 issue), and I tried to skip that part - turns out that part is probably required for anything else to function
read on to see what I tried, hope this helps someone:
Started off with this:
Here's an issue with this that hasn't come up yet - when I run umount I get an error:
iPhone:~ root# umount -f /private/var
umount: /private/var: not a directory or special device
Extensive googling doesn't yield any actionable results about the "not a directory or special device" error.
Any ideas guys? Maybe this is something that's no longer possible in iOS 4?
UPDATE - I've figured out that I can bypass the need to unmount the volume and just go straight to copying it, atleast, it is copying it [thanks to http://realtechtalk.com/iPhone_3G3GS...-1178-articles and http://log.ijulien.com/post/18280491...-data-recovery for the details on how to do that] - basically I just opened a terminal on my mac and put in
ssh root@myiphoneipaddress dd if=/dev/rdisk0s2s1 bs=1M | dd of=iphonebackup.img
and that's started the process, will advise how it goes!
strangely my transfer kept cutting out over wifi, it'd get to a certain point and then the transfer would stop and I'd look at the phone and it would seem to have disconnected from my wifi network. So I'd reconnect and try again, but it kept happening. It seemed random and I'm not sure why it did that - maybe my wifi hotspot thought it was being too aggressive on the network? (had autolock turned off and everything). SO I quickly summized I could do this by USB tunnel instead, and thanks to this post http://forums.macrumors.com/showthread.php?t=566598 I got that going quickly - seems to be going faster too! Will advise if the image I get is usable then if photorec works on it
and for the record, this is the command I used once I established the USB tunnel:
ssh -p 2222 root@localhost dd if=/dev/rdisk0s2s1 bs=1M | dd of=iphonebackup.img
ok the transfer completed, the file I got looks right in terms of size, I can't mount it and I tried photorec first with recommended settings for just jpg/mov/mpg without finding ANY files! Then tried it with all files selected just in case and it recovered a few text files and a large ~7gb ".GPG" file. Doesn't seem right - should atleast be ONE jpg file in there! Trying scalpel now, will advise what I find.
Scalpel found some additional "files" but they weren't the deleted files - I even modified scalpel's conf with a custom JPG file type that's supposed to be for pics taken using the iphone camera. Which, fyi I found in a book http://books.google.com/books?id=R1X...page&q&f=false confirmed by this (amazing) article http://viaforensics.com/iphone-foren...technique.html -- however no dice. I took these pictures yesterday and since then I've jailbroken my phone and tried to recover the pics, and they are gone. Damn.
I'm also going to try to scan my hd to see if somehow the images that image capture pulled in that disappeared are able to be recovered as well but I haven't been able to get back to that machine since I first did the import, just to close out the story I'll try it later and will advise. iPhone though is a no go
Last edited by celerityfm; 05-23-2011 at 03:04 PM.
07-19-2011, 06:59 PM #63confused
dd if=/dev/rdisk0s2 bs=4096 | ssh [email protected] 'dd of=iphone_rdisk0s2_4096.img'
08-11-2011, 02:48 PM #64
would this ever have any possibility that this would works on a Iphone 4??
01-24-2012, 07:28 PM #65
any tutorials for window users?
01-25-2012, 04:12 PM #66
01-25-2012, 07:52 PM #67
Hello, I am in the process of using this guide and is having a slight issue with mobile terminal. I am running on a 4s ios 5.0.1 and mobile terminal isnt compatible with ios 4 or 5. Is there another way i can ssh into my mac?
02-03-2012, 01:44 PM #68
Last edited by pwkelley7; 02-03-2012 at 01:59 PM. Reason: duplicate post
05-23-2012, 05:12 AM #69
thanks for the tutorial!
the connection over ssh to my iphone is running.
the transfer is starting for a few minutes and the IMG has a few of megabytes (5MB - 50MB) and then the iphone makes a reset and starting.
can anyone help me please?
... and sorry for my bad english.
10-29-2012, 04:10 AM #70
In fact, there are two ways for you to recover your deleted photos from iPhone. First, you can use a third-party tool to directly scan and recover pictures from your iPhone. Second, if you've synced your iPhone with iTunes, you also can regain your deleted pictures by extracting your iTunes backup file.
Meanwhile, there is also a thing you should pay attention: Turn off your iPhone and don't use it untill you find those photos, and don't sync your iPhone with iTunes, avoiding iTunes backup being updated.
2 solutions to recover photos,video,SMS,Contact,app,ect from iPhone
1.Recover data from iOS Device
Scan iOS device directly to find data deleted recently,or data lost due to inaccessible iOS
2.Recover from iTunes Backup File
Scan iTunes backup files if you deleted data for a long time,failed to recover from iOS device directly,or lost iOS device
Go for iPhone back up tool with iphone 5 iphone 4s iphone 4 and iphone 3GS data recovery iPhone recovery. However, you have iTunes for creating backup but it shows errors and is very slow to go with. It is quite easy to handle and uses advanced technique for creating backup. what are you waiting for create backup and easily restore your data.
11-07-2012, 12:29 AM #71[CSV to iPhone] How to Import CSV Contacts to iPhone on Mac - YouTube
Have no idea of importing CSV files to your iPhone? Do you want to transfer the contacts from Google, Outlook Express, Hotmail and more to iPhone?
From this video tutorial, you will find it is easy to import contacts (CSV & vCard) from Outlook, Google, Aol Mail, Thunderbird, Incredimail and other address books to iPhone with the help of iPhone Contacts Backup for Mac. This program also works well for iPhone 5 witho iOS 6. Just have a free try on it.
11-27-2012, 02:21 PM #72iNewb!
Hi, I know I am late but it happened to me a year ago and I have been searching for a long time. I believe your guide is very helpful, with the outstanding replies from other users. I on the other hand am not able to have a chance at trying to resolve my issue in relation to this thread and similar to everyone's problem. As I am reading all the of replies and comments, I am happy that everyone is involved and helpful.
*Cutting to the Chase*
I have an unlocked iPhone 3GS OS 4.0.1 and a Windows 7 computer. I completely do not understand how to utilize this guide in my favor as it is too complex from my understanding. I have Terminal on my iPhone 3GS and I tried installing OpenSSH through Cydia and it will not let me as I am getting the following message, "Wasn't able to locate file for the com.dba-tech.common package. This might mean you need to manually fix this package." I really don't understand what that means. It will not even let me remove and reinstall. As for my computer I installed Cygwin but I do not understand how to use it. I do indeed have important information on my iPhone that some files, photos, and voice recordings were accidentally deleted and not backed up that I am trying to retrieve.
I know I am a newb but I do really need help with this and understanding it and explained to me in Layman's Term. If someone or anyone can give me detailed step by step instructions, that would be wondrous. Thank you in advance.
05-11-2013, 06:38 AM #73
You should connect iPhone to computer and try this way:
1 Connect your iOS device to the computer
2 Enter DFU mode to scan your device
3 Preview and selectively recover data
More detail information here:
Last edited by Richalle; 05-12-2013 at 06:36 AM.
07-21-2013, 02:39 PM #74
Ive used this method a couple of times before on another phone no issue ...
Ive just tried several times on two different macs, one running mountain lion and one running snow leopard ...
On both im getting a broken pipe error after it reaches around 18mb :/
any help guys ?
07-23-2013, 04:32 AM #75
Now I have the img file is there any other software i can use to scan it for deleted files, I have a file recovery program on a pc, ive tried mounting the img file as a HD with no joy as the recovery program will only scan local drives, windows have a program that will mount it as a CD drive, but although it mounts it my program wont scan CDs and also the drive is unreadable ...
there must be a way of using the img file and restoring to a HD and then scanning with A another recovery program preferably for mac ???
11-10-2013, 09:56 PM #76
Help, I used wondershare dr phone to try to recover deleted files and it gets to 99% and didn't want to finish. I'm on a jailbroken iphone 5 on 6.1.2 and accidentally deleted 20 photos/vids yesterday and they aren't in my backup.
I tried EaseUS MobiSaver 3.1 and it finished but doesn't show any deleted pictures. I shows all the photos from the last 3 months, but when you click "show deleted" it doesn't have any.
What's I'm wondering is, if I try the photorec, would this work better? or if EaseUS doesn't see them, nothing will?
04-14-2014, 09:25 PM #77
I collected two methods to recover deleted photos from iPhone 5:
Method 1: Restore from your iCloud backup
Restore from your iCloud backup, if you used iCloud to backup your phone, see iCloud: Backup and restore overview, or estore from a backup you made with iTunes on your mac or PC.
Method 2: recover with iPhone data recovery software
Even the data was deleted from iPhone, but it is still stored in the NAND flash drive, with iPhone 5 Photo Recovery, uses can easily restore deleted data from iPhone, read this article: How to recover deleted photos from iPhone 5.
Suggestion: It is highly recommended to have a regular backup for your iPhone in order to minimize you’re lost of iPhone.