-
11-04-2009, 10:01 PM #21
Hi,
I tried to created an image for a long time now but never got through, please help point out what I need to do next to dump a successful image.
1) JB my 3GS
2) Installed open terminal on my 3GS
3) Installed WinCSP and Cygwin on my winXP laptop (only computer I have)
4) using open terminal on my 3GS and typed ssh user@pc-ip and type in the PC password. Works greats.
5) open Cygwin and type ping iphone-ip and got replies so I know that both the phone and the computer is talking to each other.
6) Type dd --version on my 3GS and Cygwin and both showed that dd is installed.
7) Tried the dd command. dd if=/dev/disk0 | ssh username@Computer’sIPaddress ‘dd of=iphone-dump.img’ and got bash: dd: command not found
I tried to replace disk0 with rdisk0 s=1M and no luck. Tried on the PC end with dd command and still no luck. Got the same message that dd not found. Any tips to help me get through this stage?
Thanks
-
11-07-2009, 01:20 PM #22
-
11-21-2009, 01:56 AM #23
guys, pardon the interruption, but I think that the best way of doing this would be directly through the USB cable, am I right? because wi-fi seems to just take FOREVER....
I have been able to ssh into my iphone from my laptop running ubuntu 9.10 over the usb cable, but I haven't been able to do it the other way around. Do any of you guys have any ideas on this?
-
01-11-2010, 08:14 PM #24
-
03-04-2010, 10:19 AM #25
How about create a tar ball instead of using dd? How can u SSH over the USB cable?
-
03-04-2010, 04:46 PM #26
You can ssh over usb using ubuntu.
take a look here:
[ame=http://www.ipodtouchfans.com/forums/showthread.php?t=264186]Ipod Touch/phone How-to Usb Music Transfer!!! WORKS - iPod touch Fans forum[/ame]
[ame=http://ubuntuforums.org/showthread.php?p=8607220][SOLVED] [How-to] iPod Touch and iPhone under USB with iFuse in Karmic Koala! - Ubuntu Forums[/ame]
https://launchpad.net/~pmcenery/+arc..._filter=karmic
-
The Following User Says Thank You to cliffclof For This Useful Post:
Ker0r0 (03-04-2010)
-
03-04-2010, 07:02 PM #27
Thanks, I will give it a try in my Ubuntu VM
-
05-04-2010, 10:57 AM #28
Hi, I wonder if transfer time can be greatly reduced by pipe to gzip before sending data to remote side, command need to be issued in iPhone:
Code:dd if=/dev/rdisk0s1 bs=1M | gzip | ssh user@remote_server dd of=iphone-root.img.gz
-
06-03-2010, 12:09 PM #29
Trying to recover data off my Iphone 3GS to MAC VM and I tried using this guide, however, I um unable to run DD as I cannot get the filesystem to unmount or mount as read only and I keep getting 'Resourse Busy' error. Please see my logs here:
localhost:~ root# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/disk0s1 750M 497M 246M 67% /
devfs 28K 28K 0 100% /dev
/dev/disk0s2s1 15G 142M 15G 1% /private/var
localhost:~ root# dd if=/dev/disk0s2s1 bs=4096 | ssh [email protected] 'dd of=iphone_reclaim.img'
dd: opening `/dev/disk0s2s1': Resource busy
Password:
0+0 records in
0+0 records out
0 bytes transferred in 0.000035 secs (0 bytes/sec)
localhost:~ root# dd if=/dev/disk0s2s1 bs=1M | ssh [email protected] 'dd of=iphone_reclaim.img'
dd: opening `/dev/disk0s2s1': Resource busy
localhost:~ root# mount -o ro /private/var
mount_hfs: Resource busy
localhost:~ root# mount -o ro force /private/var
force on /private/var: Operation not supported by device
localhost:~ root#
I downloaded umount from somewhere and scp'd it to Iphone:
MacAdmin$ scp ~/Desktop/Iphone\ FW/umount [email protected]:/sbin/
[email protected]'s password:
umount 100% 15KB 14.6KB/s 00:00
localhost:~ root# umount -f /private/var
Killed
localhost:~ root# mount -o ro /private/var
mount_hfs: Resource busy
Might go bald pulling my hair......any help? How is the rest of world doing this?
-
06-03-2010, 10:09 PM #30
You don't need to umount, just mount as read only:
mount -o ro /
mount -o ro /private/var
and you need to use the /dev/rdisk:
for rootfs:
ssh -p 2222 root@localhost "dd if=/dev/rdisk0s1 bs=1M | gzip -c" | cat > iPod3-rootfs-rdisk0s1.img.gz
for user data:
ssh -p 2222 root@localhost "dd if=/dev/rdisk0s2s1 bs=1M | gzip -c" | cat > iPod3-userfs-rdisk0s2s1.img.gz
I use USB connection in the above example and you can take out the "-p 2222" if you use WiFi.
-
07-27-2010, 04:51 AM #31
Hi.
I know it's an old thread but you seem to be the ones who are the more able to help me. I lost all my data on my iPhone and I'm desperately trying to recover it without success. I try to follow your advices here but I must say I suck completely at it, it's like chinese to me.
Would someone be really kind to make a step by step (and I really mean it) method to recover data from an iPhone? Either on Windows 7 or Ubuntu (I installed it with Wubi Ubuntu but I don't know anything about Ubuntu), the easiest the better. I'd be really grateful if you could help me because I'm really in trouble right now.
Thanks in advance.Last edited by KaiserAlucard; 07-27-2010 at 04:51 AM. Reason: typo
-
07-27-2010, 03:18 PM #32Green Apple
- Join Date
- Jul 2010
- Location
- Tacoma, Washington
- Posts
- 71
- Thanks
- 1
- Thanked 7 Times in 7 Posts
man.. that was the best thing i've read on this site in ages. kudos to you sir.
-
08-07-2010, 04:00 AM #33
This is the most helpful thing I've got. It is really helpful. Somehow I am stucking on dd image.
dd if=/dev/disk0s2s1 doesn't work for me. Resource busy.
Following Miscreanity's instruction by using
dd if=/dev/rdisk0s2s1 bs=1M
I got "Invalid argument"
Am I missing the tricky part?
I do appreciate for all your help! Million thanks!!!
-
08-15-2010, 11:07 AM #34
Don't mean to bump an old thread, but Im trying to copy an image to my computer using this method. If I run this,
it comes up with the user password prompt. The problem is I don't know the password, its not 'alpine' or 'dottie' Is there a way to change the password once you are logged in under the iphone on the terminal through the computer? Also, what if you ran it as "root" instead of "user" wouldn't that achieve the same thing?Code:ssh user@iphone-ip dd if=/dev/rdisk0 bs=1M | dd of=iphone-dump.img
-
08-18-2011, 05:36 AM #35
I have the same problem. Could this have something to do with firmware, cause we have propably way newer versions now? Anyway, when I use:
dd if=/dev/disk0 | ssh username@Computer’sIPaddress ‘dd of=iphone-dump.img’
it makes a dump with nothing in it and when I use:
ssh user@iphone-ip dd if=/dev/rdisk0 bs=1M | dd of=iphone-dump.img
I have the same problem that it asks iPhone's password instead of my computer.
Should I be in the beginning state in terminal or root#? Now I was in root#Last edited by surrapurra; 08-18-2011 at 05:39 AM.



LinkBack URL
About LinkBacks
Reply With Quote
