The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods
Reply
 
LinkBack Thread Tools Display Modes
  #16  
Old 08-24-2009, 12:33 PM
What's Jailbreak?
 
Join Date: Nov 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

I see. So basically nobody has a solution as to how to dump the iphone's hard drive onto the desktop so as to recover it using data rescue, et al. The discussion link you sent has nothing to do with my issue. I am trying to recover all of the files off of the iphone that were erased and the back-up never made. I appreciate your help but was really just hoping the terminal codes we were using were off somewhat and there was an easy solution in the dd command that might actually get a dump to occur.

Thanks again and good luck. If anyone else has solved this riddle, please post.




Quote:
Originally Posted by miscreanity View Post
PP - lol, that's kind of creepy. Hey, that rhymed! Anyway, your problem seems like what iJulien, maggie and I are experiencing. Of course, we all have the 3GS. Can you see a common theme here? Talk about aggravating.

A discussion more oriented toward this problem on the 3GS is here:
How to Jailbreak iPhone Firmware 3.0 - PwnageTool

maggiemae - 1) probably; 2) most likely, so long as the voice note hasn't been overwritten already; 3) high, especially not being familiar with terminal operations.

There are a number of utilities that you could try using. There are also services available, but they may be too expensive for a voice note. Most of what I've found has been iPhone related, but a lot of it should work on the iPod as well.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #17  
Old 08-24-2009, 04:29 PM
eng eng is offline
Green Apple
 
Join Date: Oct 2007
Device + Firmware: 3G iPhone 3.0 beta2
Operating System: Windows Vista
Posts: 47
Thanks: 1
Thanked 1 Time in 1 Post

Is it the same way for Windows users?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #18  
Old 08-24-2009, 07:27 PM
What's Jailbreak?
 
Join Date: Nov 2007
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post

Just wanted to post I managed to finally dump my /private/var partition from my 3GS : the culprit is the dd command you need to type and isn't the correct one :

the correct one is :

ssh user@iphone-ip dd if=/dev/disk0 bs=1M | dd of=iphone.img

so just add bs=1M and it should work.. It did for me !

Enjoy !

P.S: if you only wanna backup the private/var partition, specify rdisk0s2s1
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #19  
Old 08-24-2009, 09:33 PM
What's Jailbreak?
 
Join Date: Nov 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

I don't understand how this worked? You are not telling the iphone to dump anywhere. How does that line of code know to dump to the computer? Are you doing this command from the iphone or from the computer's terminal? Can you clarify?




Quote:
Originally Posted by cyclonefr View Post
Just wanted to post I managed to finally dump my /private/var partition from my 3GS : the culprit is the dd command you need to type and isn't the correct one :

the correct one is :

ssh user@iphone-ip dd if=/dev/disk0 bs=1M | dd of=iphone.img

so just add bs=1M and it should work.. It did for me !

Enjoy !

P.S: if you only wanna backup the private/var partition, specify rdisk0s2s1
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #20  
Old 08-24-2009, 10:30 PM
What's Jailbreak?
 
Join Date: Aug 2009
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts

PP - I have no idea why I posted an unrelated link last time. I meant to send you to this thread.

The way cyclonefr is doing this is from the computer side, but /dev/disk0 in the example should be /dev/rdisk0.

What's happening is:
1 - "ssh user@iphone-ip"
ssh client on computer connects to ssh server on iphone ->

2 - "dd if=/dev/rdisk0"
which allows executing dd command on iphone ->

3 - "|"
the pipe shunts data to terminal output on local machine ->

4 - "dd of=iphone-dump.img"
and the local dd command acts on the local system to write the data to a local file


Again, thank you very much cyclonefr!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #21  
Old 08-25-2009, 03:49 PM
What's Jailbreak?
 
Join Date: Nov 2007
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post

yeah forgot to add the SSH thing at the end of the command.. But you got the idea, the original tutorial was msising bs=1M
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #22  
Old 08-27-2009, 07:25 AM
What's Jailbreak?
 
Join Date: Aug 2009
Device + Firmware: iPhone 3.0
Operating System: Windows XP
Posts: 4
Thanks: 3
Thanked 1 Time in 1 Post

Hello, first of all, thanks for the great guide. Second of all, i need help :-).

I'm a total newbie to this, but slowly learning. I somehow bricked my iphone and after days of reading and researching, to my surprise I managed to restore it, jail break it and unlock it again.
At the moment i'm trying to recover at least some data with the help of this guide. Stupid girl never synced with itunes.
Anyway, I installed WinSCP, dd, OpenSSH on iphone and terminal, and managed to ssh with my iphone, but when i type dd if= blah blah, I get "connection refused" error.

Can anyone help a very frustrated girl? :-)

Last edited by Zuzizuz; 08-27-2009 at 08:08 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #23  
Old 09-01-2009, 10:27 AM
What's Jailbreak?
 
Join Date: Sep 2009
Device + Firmware: Iphone 3GS 3.0.1
Operating System: Mac OS X
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

has anyone encountered where the image starts copying over and stops at 700 megs? I tried this method using ubuntu and have plenty of disk space so that is not the issue. I tried running the command from the phone as well as the desktop but cannot get past 700 megs.

thanks,
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #24  
Old 09-18-2009, 07:58 PM
What's Jailbreak?
 
Join Date: Sep 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts

I guess be careful with dd command it can wipe your hard drive I believe
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #25  
Old 10-15-2009, 12:31 PM
What's Jailbreak?
 
Join Date: Oct 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

does any one know how to follow these steps in windows?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #26  
Old 10-15-2009, 08:25 PM
What's Jailbreak?
 
Join Date: Oct 2009
Device + Firmware: 3gs 3.1
Operating System: windows xp
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Is there anyway I'd be able to use irecovery for something similar? My phone is in dfu mode and I'd prefer not to restore just so I can do a data recovery of the drive.

Is there anyway I can backup files while my phone is stuck in dfu mode? or preform a nondestructive update instead of a full restore? I have pictures on my phone I can't risk losing if at all possible

Last edited by zelll; 10-15-2009 at 08:25 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #27  
Old 11-02-2009, 04:32 PM
What's Jailbreak?
 
Join Date: Oct 2009
Device + Firmware: iPhone 3GS
Operating System: Mac OSX 10.5.8, Win 7
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by M Power View Post
has anyone encountered where the image starts copying over and stops at 700 megs? I tried this method using ubuntu and have plenty of disk space so that is not the issue. I tried running the command from the phone as well as the desktop but cannot get past 700 megs.

thanks,
Yes, the exact SAME problem happens to me as well. Everytime I try these steps, my iPhone restarts/reboots automatically once the file size image reaches ~700MB. I tried both methods from iPhone to MAC, and MAC to iPhone, but same problem happens. I also tried keeping the connection alive using PING and disabled the auto-lock on my iPhone, but no success.

Anyone else have this problem and if so, any steps as to what the solution may be?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #28  
Old 11-09-2009, 01:14 AM
What's Jailbreak?
 
Join Date: Oct 2009
Device + Firmware: iPhone3GS fw3.0 JB purplerain
Operating System: WinXP & OSX 10.4
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

a little help ???

I used the command
"ssh user@iphone-ip dd if=/dev/rdisk0 bs=1M | dd of=iphone.img" from my mac and at about 748mb the iphone crashed and took a long time to reboot.

Was worried at first that I had done this the wrond direction and wrote over the phone with my mac drive info.


Also I have installed 'Automatic SSH' from cydia which is supposed to keep the SSH connection going. Could this be causing any problems??
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #29  
Old 11-09-2009, 12:30 PM
What's Jailbreak?
 
Join Date: Nov 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

Sad to say I"ve experienced the same issue as the last two posters. Hits 748 MB and reboots

I've gotten around the 748MB by specifying disk0s2 instead of disk0. At 1.2 GB right now.

Last edited by mcmcghee; 11-09-2009 at 12:30 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #30  
Old 11-09-2009, 12:37 PM
What's Jailbreak?
 
Join Date: Oct 2009
Device + Firmware: iPhone3GS fw3.0 JB purplerain
Operating System: WinXP & OSX 10.4
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

I believe the problem is when trying to dump the entire filesystem. It crashes @ 748 because of some problem once the it begins to try to dump the user files.

to remedy this I dumped System and UserData partitions separately.

Using the commands I found here:
http://modmyi.com/forums/general-iph...age-woe-2.html

Quote:
Just the system partition:
ssh user@iphone-ip dd if=/dev/rdisk0s1 bs=1M | dd of=iphone-root.img

Just the user data partition:
ssh user@iphone-ip dd if=/dev/rdisk0s2s1 bs=1M | dd of=iphone-user.img
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 08:16 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top