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-07-2008, 01:05 PM
What's Jailbreak?
 
Join Date: Aug 2008
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by scroll1 View Post
flager,
I'm running Leopard also, but on an intel iMac, with a wireless router attached. As long as you know the ip address of the G5 and as long as you have ssh enabled both on the iphone and G5 and as long as you have a terminal program on the iphone you can do it.
Worked for me and I have retreived nearly all my pictures, even after reinstalling firmware on the iphone.
Hi thanks for your quick answer..I forget to tell you that I don't know how to enable ssh server on Leopard. It has a built in solution or I have to install another software?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #17  
Old 08-08-2008, 02:53 PM
What's Jailbreak?
 
Join Date: Aug 2008
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by lmarr28 View Post
Recently, I bricked my iPhone and had to restore it in iTunes. In the process, I lost a bunch of photos from my Camera Roll that hadn't been saved to my computer yet. After an endless amount of Google searching, I finally found a way to recover, or "undelete" data from the iPhone. This guide will focus on recovering photos, since that's what I had to do, but the same process could be used to recover other lost data.

What you'll need:
- Jailbroken iPhone
- BSD Subsystem and OpenSSH installed on your iPhone
- Terminal (or MobileTerminal) installed on your iPhone
- An SSH server installed on your computer (mine is running Ubuntu 7.10 with OpenSSH)
- The 'DD' utility installed on your computer (this should be pre-installed on most Linux systems)
- Your iPhone's IP address
- Your computer's IP address

First, make sure that your iPhone and computer are on the same LAN. You can try to ping your computer from your iPhone (using Terminal) and vice versa, just to make sure they can see each other on your LAN. For example:
Code:
ping 192.168.1.215
Next, you'll want to make sure that you can SSH into your computer from the iPhone. To do that, open Terminal on the iPhone and enter:
Code:
ssh <username>@<computer-ip>
Where:
<username> = Your user name on the computer.
<computer-ip> = Your computer's IP address on the LAN.

If that worked, you should be prompted to enter a password for <username>. If the connection times out, then you need to make sure that you have the SSH server running on your computer and make sure that port 22 (the default SSH port) isn't being blocked by your router's firewall.

Once you know that your iPhone and the computer are talking to each other, open Terminal on the iPhone and run the following command to begin transferring the iPhone's "disk" image to your computer (be sure to run this as root using 'su'):
NOTE: Make certain that your iPhone's screen lock is disabled first. If the screen lock comes on, it will kill the SSH connection. Also, you'll want to connect your iPhone to its charger. This transfer can take a while.
Code:
dd if=/dev/disk0 | ssh <username>@<computer-ip> 'dd of=iphone-dump.img'
The above command will create a "disk" image of your iPhone (named "iphone-dump.img") on your computer. Feel free to use a different name or a different destination directory. For example: 'dd of=/home/username/iphone-dump.img'.

Also, be sure that you don't mix up the "if" (input-file) and "of" (output-file) in the command above. Doing so could wipe-out your iPhone.

After the process has completed and the iPhone's image file has been saved to your computer, you can use a program like PhotoRec to recover your photos.

I hope this helps!
I get the "pemission dennied" message too. I logged in as SU, installed ALL fixes to terminal but no success. Any Ideas???
UPDATE:
It ask me for a password (after "permission denied" message) I type my system pass and then this text apperas on terminal:
0+0 records in
0+0 records out
0 bytes transferred in 0.000047 secs (0 bytes/sec)

Any ideas?

Last edited by flager; 08-11-2008 at 10:10 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #18  
Old 08-11-2008, 01:26 PM
What's Jailbreak?
 
Join Date: Aug 2008
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts

I get the "pemission dennied" message too. I logged in as SU, installed ALL fixes to terminal but no success. Any Ideas???
UPDATE:
It ask me for a password (after "permission denied" message) I type my system pass and then this text apperas on terminal:
0+0 records in
0+0 records out
0 bytes transferred in 0.000047 secs (0 bytes/sec)

What am I doing wrong??

Last edited by flager; 08-11-2008 at 01:35 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #19  
Old 08-18-2008, 01:16 AM
What's Jailbreak?
 
Join Date: Aug 2008
Operating System: OSX and XP
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post

Hi flager,
on the G5 (running Leopard), go into the system preferences > sharing and make sure "remote login" is ticked. It should also show you how to log in via ssh into that machine.
I would try now to log in from the phone to the G5. At the terminal on the phone type "ssh username@ipaddress". with no inverted commas and you G5 login username and ip address info of the G5. You will probably have to type "yes" to allow the ssh connection, however eventually it should log you in. Now type "exit" to log off of the G5 and try the command on the phone:
dd if=/dev/disk0 | ssh <username>@<computer-ip> 'dd of=iphone-dump.img'

you may need to be su user on the phone, just type su and the password alpine (I think...) to become su user on the phone.

good luck
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to scroll1 For This Useful Post:
flager (08-19-2008)
  #20  
Old 08-18-2008, 05:17 PM
rwin84's Avatar
My iPhone is a Part of Me
 
Join Date: Nov 2007
Device + Firmware: 2G 3.1.2 JB iPod Touch / 3G[S] 3.0 JB
Operating System: Gateway, Vista SP2 2.0GHz Core DUO 2GB RAM 150GB HD
Location: Orlando, FL
Posts: 500
Thanks: 3
Thanked 13 Times in 13 Posts

Does anyone know how to access a phone which is password protected with a failure of the touchscreen on the lower portion of the screen (cant put pw in)??? i just need to get the contacts out...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #21  
Old 08-19-2008, 03:07 PM
What's Jailbreak?
 
Join Date: Aug 2008
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by scroll1 View Post
Hi flager,
on the G5 (running Leopard), go into the system preferences > sharing and make sure "remote login" is ticked. It should also show you how to log in via ssh into that machine.
I would try now to log in from the phone to the G5. At the terminal on the phone type "ssh username@ipaddress". with no inverted commas and you G5 login username and ip address info of the G5. You will probably have to type "yes" to allow the ssh connection, however eventually it should log you in. Now type "exit" to log off of the G5 and try the command on the phone:
dd if=/dev/disk0 | ssh <username>@<computer-ip> 'dd of=iphone-dump.img'

you may need to be su user on the phone, just type su and the password alpine (I think...) to become su user on the phone.

good luck

Scroll1

Thank you for your support. The only thing that I was not doing, was the "exit" command after ssh to my G5. Now It appears I found a stone at every step I make.
This is my problem now:
The process works perfectly until the image size reaches 1G or 1.1G. Then the WiFi connection drops automatically.
I have repeated the process several times but it stucks at 1G aprox. I guess it is a log out time issue not a img size reason. When I leave terminal in the iPhone, Wifi returns.
So i need help "again" Thank you

Update: I finally can do it. I've restarted my G5 in Tiger on other volume and everything works perfectly. I've mounted the img, scanned with data rescue and NOW where I have to look for the deleted files??

Last edited by flager; 08-21-2008 at 09:37 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #22  
Old 08-28-2008, 09:23 PM
Green Apple
 
Join Date: Mar 2008
Posts: 58
Thanks: 5
Thanked 5 Times in 5 Posts

Umm... am I blind or is there nowhere in the steps to set a password?

When I try to ssh into my PC from my iphone, it asks for a password and I'm not sure what to put.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #23  
Old 08-29-2008, 01:19 AM
What's Jailbreak?
 
Join Date: Sep 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Ok guys i need your help i have a big problems and i dont know if this could help me.

I was on 1.1.4 then i decided to update to 2.0 with pwned ... so then i restore it to "Custom-iPhone1,1_2.0.1_5B108_Restore"

and all my pictures are gone!!!!!!!!!!!!!!!!


PLEASE SOMEBODY HELP ME!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #24  
Old 08-29-2008, 11:37 AM
Green Apple
 
Join Date: Mar 2008
Posts: 58
Thanks: 5
Thanked 5 Times in 5 Posts

Alright, just to clear some things up;

1) Your Windows PC must have a password setup in the user accounts, and THAT'S the password with which you use to login to your PC from your iPhone.

2) If you use OpenSSH for Windows, make sure to download dd.exe and place it in the copenssh\bin\ directory. OpenSSH for Windows doesn't come with this.

So now I've got it dumping my iPhone's image, but it stops at about 1.2GB just like flager.
However, this is only machine so I can't "start on another volume". Any suggestions on why it stops?

Thanks!



juzin: Did you have a specific question about this method of recovering files?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #25  
Old 08-30-2008, 01:29 AM
What's Jailbreak?
 
Join Date: Sep 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

yes i would like to know if this method will work for my problems?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #26  
Old 08-30-2008, 11:48 AM
What's Jailbreak?
 
Join Date: Aug 2008
Operating System: Mac OS Leopard
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

How do I find out where my photos are stored? I ssh'd in and looked up and down but couldn't find the directory.

In particular, my Camera app stops working. It takes pictures but there is no thumb nail (blank frame) and when I click a frame, it takes me out of Camera app. Thereafter the Photo app shows "No Photos".

I am trying to re-create the directory for it.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #27  
Old 09-02-2008, 11:02 AM
Green Apple
 
Join Date: Mar 2008
Posts: 58
Thanks: 5
Thanked 5 Times in 5 Posts

OK I had the problem where the iPhone disconnects after about 1.2 GB.

Here's what I did to ensure the phone's connection: I set the timer on the phone to 15 minutes. After 15 minutes, I'd go to settings > Wireless networks.
Then Go back to the timer and reset it.

I don't know if the phone just needed ANY kind of activity or if having it search for networks each time kept it alive, but it worked.

Now I have the disk image on my Windows XP hard drive.

However, getting the disk image is only half the battle.

PhotoRec has a ton of settings (type of file system, which partition to choose, what the files will be named when they are recovered, should Paranoid option be turned on, etc) to configure.

Can anyone elaborate on this step?
And what are the pictures called anyway? I don't think they are .jpg on the iPhone but some format the iPhone creates when it sync's pictures.

Thanks!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #28  
Old 09-11-2008, 08:52 AM
What's Jailbreak?
 
Join Date: Sep 2008
Device + Firmware: 2.0.2
Operating System: Leopard - last version
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I succesfully create the dump image on my imac running leopard, to avoid the problem of the iphone that keeps disconnecting at around 1 gb I left it on the setting page for wireless connection, that solved the problem.

But now I am not able to mount the disk image created, with disk utility, I also try with a new dump image but I recive an error when attempting to mount.

The size of the image is 7.54 GB for an iphone of 8GB.

Any help is much appreciated,

thanks,

Enrico
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #29  
Old 09-25-2008, 07:52 AM
What's Jailbreak?
 
Join Date: Sep 2008
Device + Firmware: iphone
Operating System: Ubuntu x64, windoze 32bit, ubuntu server
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Sorrry to gravedig, but just 1 quick question, I need a wireless router for this dont i....?
Or can i use my laptop to make an ad hoc network to connect to the wired network?
Thanks

Last edited by Teeks; 09-25-2008 at 08:08 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #30  
Old 09-25-2008, 12:23 PM
Green Apple
 
Join Date: Mar 2008
Posts: 58
Thanks: 5
Thanked 5 Times in 5 Posts

I'm not sure about your question, Teeks. But I would just go ahead and try it.

I also have the 7.54GB image that has been sitting on my HDD for about a month.

All I want to do is save the images that were in my camera roll before my phone crashed, but I'm not sure exactly how to do that.

I try various settings with PhotoRec, but nothing coherent comes out.
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 07:24 PM. 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 / / Privacy Statement / Top