There’s always a better way – Windows Fixes
August 3, 2010
Windows Event Logs to Syslog – Update
September 3, 2010
Show all

iPhone Data Recovery

iPhone needs to be jailbroken to do this (tested on my iPhone 4, with iOS 4.0.1 using the jailbreaker). You don’t need OpenSSH installed, but I prefer it. If you install OpenSSH, connect using [email protected], password ‘alpine’ – I suggest changing this using the `passwd` command while you’re at it. MobileTerminal currently doesn’t work on iOS 4.0.1, atleast on the iPhone 4.

Pull image off iPhone using the following commands.

aknowles-mac:~ aknowles$ nc -l 30001 | dd of=iphone.img

iPhone:~ root# dd if=/dev/rdisk0s2s1 bs=1M | nc 30001

The first command uses `nc`, aka netcat, and opens a port up and listens using the -l switch. You run this on your destination computer, and pipe the output to the disk image file, i.e. iphone.img (filename unimportant).

On the iPhone itself, you point `nc` to the destination computer after it has been setup to listen. Pipe the output of `dd` reading the iPhone disk to the `nc` command and it will transfer. Note: I found the iPhone would not read the disk without the bs=1M switch.

The process can take a while. It’s taken about 20 minutes for 2.5gb to transfer over the wireless link I’ve setup between my laptop and my iPhone… For a 32gb iPhone, this will obviously take a while!!!

Once complete, analyse iphone.img with Scalpel or whichever forensics software you prefer.

Reference Links:

0 0 vote
Article Rating
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x
%d bloggers like this: