Page 1 of 4 1234 LastLast
Results 1 to 10 of 40
Discuss photorec and iphone at the iPhone Linux (iDroid) - Hackint0sh.org; I deleted my photos on iphone i donr have any backups.... My iphone is jailbreked ...
  1. #1
    Advanced Array

    Join Date
    Apr 2009
    Posts
    32
    Post Thanks / Like
    Downloads
    2
    Uploads
    0
    Rep Power
    0

    Question photorec and iphone

    I deleted my photos on iphone i donr have any backups....
    My iphone is jailbreked and got intalled terminal whit ssh is it posible to connect whit to it via ssh and run photorec or maybe its some other program
    whit which i can recover photos

    And ohter thing i found here i need to dump disk or something.... Maybe someone can tell me more about that???
    Last edited by zion22; 08-24-2009 at 12:33 PM.



  2. #2
    Newbie Array

    Join Date
    Aug 2009
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Yes, you can dd the iphone drive over ssh

    you need to set up a server on the phone, and receive the image on your computer. you can then carve files out of the image. I have only done this once so the commands may not be dead on, but you should get the idea.

    Install DD and Netcat from cydia

    Install DD and Netcat on the Recovery Computer

    Turn off autolock on the iphone (or activate insomnia? havnt tried it but seems like a good idea)

    from your desktop (Linux or Mac, I used Ubuntu so you may need to edit the commands for mac) run this command:

    nc -l -p 5555 | dd of=./rdisk0s2 bs=4096

    You may need to open that port in firestarter (or iptables directly), I believe I did (you can just open firestarter and wait for it to block it, then right click that entry in the log and select "allow connections from source")

    That tell the computer to listen on that port, and name what it finds rdisk0s2 in your current directory

    SSH into the phone (or in mobileterm) and run this command:

    dd if=/dev/rdisk0s2 bs=4096 | nc 192.168.x.x 5555

    Replace the x.x on the end with the last digits of your recovery computers IP address (sure you already know this, but just incase you can find it with ifconfig)

    You should see a disk image appear and grow untill you loose wifi or it hits 7.whatever gb

    Let me know if i missed anything, thats just from memory so im sure you will have to do some troubleshooting

  3. #3
    Advanced Array

    Join Date
    Apr 2009
    Posts
    32
    Post Thanks / Like
    Downloads
    2
    Uploads
    0
    Rep Power
    0

    Default

    Thanks man im gonna try later on today on my ubuntu i let u know if it working thanks again

  4. #4
    Advanced Array

    Join Date
    Apr 2009
    Posts
    32
    Post Thanks / Like
    Downloads
    2
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by fanum View Post
    you need to set up a server on the phone, and receive the image on your computer. you can then carve files out of the image. I have only done this once so the commands may not be dead on, but you should get the idea.

    Install DD and Netcat from cydia

    Install DD and Netcat on the Recovery Computer

    Turn off autolock on the iphone (or activate insomnia? havnt tried it but seems like a good idea)

    from your desktop (Linux or Mac, I used Ubuntu so you may need to edit the commands for mac) run this command:

    nc -l -p 5555 | dd of=./rdisk0s2 bs=4096

    You may need to open that port in firestarter (or iptables directly), I believe I did (you can just open firestarter and wait for it to block it, then right click that entry in the log and select "allow connections from source")

    That tell the computer to listen on that port, and name what it finds rdisk0s2 in your current directory

    SSH into the phone (or in mobileterm) and run this command:

    dd if=/dev/rdisk0s2 bs=4096 | nc 192.168.x.x 5555

    Replace the x.x on the end with the last digits of your recovery computers IP address (sure you already know this, but just incase you can find it with ifconfig)

    You should see a disk image appear and grow untill you loose wifi or it hits 7.whatever gb

    Let me know if i missed anything, thats just from memory so im sure you will have to do some troubleshooting
    sorry man but i cant managed to install dd on iphone i cant find it in cydia

  5. #5
    iPhone Moderator Array

    Join Date
    Aug 2007
    Posts
    3,620
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    220

    Default

    Quote Originally Posted by zion22 View Post
    sorry man but i cant managed to install dd on iphone i cant find it in cydia
    It is already installed with Cydia. cydia comes with a set of Unix tools, dd is one of it.
    Are you on a Mac or Windows-PC? On Windows you'd have to install dd and nc, on Mac OS X both already there.
    BTW: it can be done even easier, just let me know what platform you are on.
    Read the stickies and search the forum before posting!
    If you want to become a Hackint0sh supporter click here
    ----------
    iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
    iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
    iPad 2


  6. #6
    Newbie Array

    Join Date
    Aug 2009
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I found this after i posted a topic in other thread, well i am trying to do same thing... I am new to this should i even attempt to do this? If someone could create a tutorial that has experience or send me a link or a pm that would be great and/or software that might work for this... I do a lot of screen replacements and hardware replacements for people and have had lots of people ask me if this was possible..Any help would be great ..thanks

  7. #7
    Board Hero Array

    Join Date
    Nov 2007
    Location
    Mustang Ridge, Texas, United States
    Posts
    1,169
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    65

    Default

    volkspost so whats the easier way on mac? or windows?
    Get the latest info for NoAccSplash Here
    Currently it should work on iOS 4.x - 6.x
    If you'd like to help extend its functionality, the source is also available.

  8. #8
    iPhone Moderator Array

    Join Date
    Aug 2007
    Posts
    3,620
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    220

    Default

    Quote Originally Posted by truehybridx View Post
    volkspost so whats the easier way on mac? or windows?
    Pretty much the same. Difference is that Mac OS X has a SSH server and dd installed by default. You'd have to install both on Windows. I am on a business trip right now, can get you dl adresses for Windows tomorrow if you need it.
    Read the stickies and search the forum before posting!
    If you want to become a Hackint0sh supporter click here
    ----------
    iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
    iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
    iPad 2

  9. #9
    Advanced Array

    Join Date
    Apr 2009
    Posts
    32
    Post Thanks / Like
    Downloads
    2
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by volkspost View Post
    It is already installed with Cydia. cydia comes with a set of Unix tools, dd is one of it.
    Are you on a Mac or Windows-PC? On Windows you'd have to install dd and nc, on Mac OS X both already there.
    BTW: it can be done even easier, just let me know what platform you are on.
    No mate im on ubuntu

  10. #10
    iPhone Moderator Array

    Join Date
    Aug 2007
    Posts
    3,620
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    220

    Default

    Quote Originally Posted by zion22 View Post
    No mate im on ubuntu
    You are pretty much set then. Run Cydia on the iPhone and make sure to install Netcat and OpenSSH. Install OpenSSH on your Ubuntu box, dd and netcat should be installed already. to check fire up a terminal session and issue
    which nc dd


    On the Ubuntu box in ssh-terminal session do
    nc -l 7000 | dd of=./rdisk0s2
    if it is an iPhone 2G/3G or
    nc -l 7000 | dd of=./rdisk0s2s1
    if it is an iPhone 3GS

    Ubuntu box is waiting for data then

    Fire up another ssh-terminal session and log into the iPhone

    ssh -l root 192.168.1.10

    where 192.168.1.10 has to be replaced with the iPhone's IP

    password is alpine

    Then issue

    /bin/dd if=/dev/rdisk0s2 bs=1M | nc 192.168.1.5 7000

    where 192.168.1.5 has to be replaced with your Ubuntu's IP. remember to replace rdisk0s2 with rdisk0s2s1 if it's a 3GS.

    make sure to have the iPhone connected to ac and set auto-lock to never. takes about 3 hours for an 8GB, 5 for 16GB...
    Read the stickies and search the forum before posting!
    If you want to become a Hackint0sh supporter click here
    ----------
    iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
    iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
    iPad 2


 

 
Page 1 of 4 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 06:14 PM.
twitter, follow us!