Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
10-16-2010, 07:54 AM #41
thanks for the guide.
i'm using MAC OSX 10.6 and iPhone 3GS 3.1.
here's a few things that helped me:
1. my disk was rdisk0s2s1 so I typed in "dd if=/dev/rdisk0s2s1 bs=4096KB | ssh Username@192.168.1.2 'dd of=iphone_rdisk0s2s1_4096KB.img'
2. i didn't understand that I had to perform the operation as root#. So I kept getting error, Permission Denied. To get to root#, in Terminal on your iPhone, enter "login", then enter "root", then enter the password ("alpine").
3. cApS matter. i spun my wheels for a while because I didn't capitalize the username of my Mac.
4. i ended up using "~4096KB"
this took way too long to figure out, but it's cranking away as we speak. epic!
hope this helps.
10-17-2010, 09:33 AM #42
so, I enter the commands in terminal and it begins to transfer. But then after a few hours (anywhere from 1-4) it stops and gives me a "Read from remote host (iphone ip address): Operation timed out" message. Any ideas how to keep the connection running longer?
got it to work by running "ping (iphone ip address)" in a separate terminal window while I was copying the disk image. took forever though, like 17 hrs!
Last edited by gloria80; 10-19-2010 at 11:52 AM.
11-28-2010, 07:38 AM #43
Thank you so much guys for such an amazing guide to follow.
I wanted to recover some lost photos and videos after an accidental restoration of my iPhone. I think I could manage to make the disk image as described.
Problem is, once in Photorec and after recovering I get no recovered file and also this message (note the error at the end):
PhotoRec 6.11.3, Data Recovery Utility, May 2009
Christophe GRENIER <email@example.com>
Disk iphone_rdisk0s2_4096.img - 15 GB / 14 GiB (RO)
Partition Start End Size in sectors
P HFSX 0 0 1 1828 254 63 29382885
0 files saved in /Users/juni/Downloads/recovery/recup_dir directory.
Error reading sector 29370368
Note that I've also tried selecting all the file types in photorec and didn't get this previous message at all.
By the way, photorec managed to recover a weird 3GB .mpg file wich dosen't match with anything and none of my players could open (of course).
So... Dunno... Anyone ? Thanks again!
11-30-2010, 11:09 AM #44
12-01-2010, 01:31 AM #45
I lost some carrier files, but I know which ones and where they come from. If I can get my hands on those files, will it work to just copy them into the directory where they are supposed to be?
12-01-2010, 06:41 AM #46
my iPhone 3Gs is 32G
I take the image of user partition in linux , and I mount the image in linux with "mount iphone-user.img /mnt/iphone -o loop"
now I can see the file system directory and files, also size of files is correct too, but when I copy a file with cp command to my computer and compare it with a file that I copied before directly from my iPhone they are completely different (in content).
any idea why?
is it something related to encrypted file system in 3Gs?
12-12-2010, 10:45 AM #47
i'm using iphone 4 os 4.1
i already tried anything
for transfering img file to
dd if=/dev/rdisk0s2 bs=4096 | ssh firstname.lastname@example.org 'dd of=iphone_rdisk0s2_4096.img'
dd if=/dev/rdisk0s2 bs=4096KB | ssh email@example.com 'dd of=iphone_rdisk0s2_4096KB.img'
dd if=/dev/rdisk0s2s1 bs=4096KB | ssh firstname.lastname@example.org 'dd of=iphone_rdisk0s2s1_4096KB.img'
dd if=/dev/disk0 | ssh <username>@<computer-ip> 'dd of=iphone-dump.img'
but when i input the password
always got "setgid : invalid argument"
anyone can help me please???
01-30-2011, 07:12 AM #48
I have been following every step to the letter and it is still not working for me. It keep getting the same result as abrasBR and spets. Any suggestions as to what may need to be done to get it working?
Also, would anyone be able to tell me, what is supposed to temporarily freeze, the terminal on the mac or the mobile terminal?
Thanks, really need this to work.
02-08-2011, 10:21 AM #49
Got the same as most people. Loaded up the image using testdisk and photorec but no cigar. Against my own good judgement I even took a photo and deleted it to see if I can recover it. Nada! Am I missing something?
02-17-2011, 01:52 AM #50search content
hello can someone here tell me the name of "search content" program?coz it seems like the file has been removed from the link.thank u.
ps.maybe also help me with link that still work?thank u so much.
02-28-2011, 09:44 AM #51
Thanks for this, but I have a problem!
When I type in the command "umount -f /private/var" in the terminal, nothing happens. Everything goes fine untill then.. So I tried with not put in this command in the terminal (or either the "mount -o ro /private/var") and just went for the last command (dd if=/dev/rdisk0s2 bs=4096 | ssh email@example.com 'dd of=iphone_rdisk0s2_4096.img'). When I did this the img was stared, but when it was done it was only 15,04gb and when I searched the file with PhotoRec nothing came up. Not one singel file! I have not restored my phone with iTunes or anything like that.
Do you guys know what to do?
Im using iPhone 4 16gb, FW 4.01 and OS X 10.6.6
(Im from Sweden so sorry if my english suck )
03-01-2011, 01:27 AM #52
With iOS 4 you can't restore files from a disk dump of the user partition, due to the fact, that Apple introduced a new security feature "data protection".
Search for "MobileKeyBag" if you need more information.
The Following User Says Thank You to Griso For This Useful Post:
03-01-2011, 04:45 AM #53
Okey, so their is no way then? (downgrade?)
03-01-2011, 04:50 AM #54
not for deleted files as far as I know.
03-08-2011, 04:06 AM #55
Okeeey ! Is there a way to do something with iMovie or iPhoto? I had some videos and pictures that I have accidently deleted, did a try to get them back with Datarescue 3 on my computer, but no luck..
03-08-2011, 04:17 PM #56
does anyone know if its possible or any kind of hack solution to recover files from an iphone4 4.2.1?
03-09-2011, 05:09 AM #57
Yeees please! I say the same thing (but FW 4.01 )
03-10-2011, 07:56 PM #58
Damn iOS 4.3 (iPhone 4) released before schedule! Back from a 5-day festival and did update BEFORE the backup. Restored to JBcked 4.2.1 and got the .img file, but there's no way to restore something with PhotoRec (6.12 Windows 7 x64). Mounted the .img with a lot of emulators and tried to restore with undelete softwares ─ but nothing as well. Any clue? This is so ******* sad. Thanks.
Last edited by rodrigoplant; 03-10-2011 at 08:27 PM.
03-11-2011, 03:53 PM #59
Really helpful information in this thread, but I too hope us 4.0+ folks aren't out of luck.
I hope I can post about this: there is software called Lantern that will probably accomplish this, but it looks like it's only available to law enforcement, and it's likely very expensive.
03-13-2011, 04:47 PM #60
Tell me how to get my missing files back, I don't care if it's against the law haha!