|
|||||||||
|
|||||||||
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
Thanks man im gonna try later on today on my ubuntu i let u know if it working thanks again
|
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
Quote:
|
|
|||
|
Quote:
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 3GS factory unlocked (3.1.2; Blackra1n, Cydia, OpenSSH, custom 3.0 ipcc file (no sig), tethering hack by Dev team, 32 GB) iPhone 3G (3.0.1; Redsn0w 0.8, Cydia, OpenSSH) 16 GB |
|
|||
|
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
![]()
|
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
volkspost so whats the easier way on mac? or windows?
__________________
Download LEI Mobile and stay in touch with Limited Edition iPhone!! http://limitededitioniphone.com/software/ iPhone 3GS - 3.0 T-Mobile Computers: Dell i545s Operating Systems: Windows Vista OSX Leopard (iDeneb 10.5.8) MacBook5,2 OSX Leopard 10.5.8 |
|
|||
|
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 3GS factory unlocked (3.1.2; Blackra1n, Cydia, OpenSSH, custom 3.0 ipcc file (no sig), tethering hack by Dev team, 32 GB) iPhone 3G (3.0.1; Redsn0w 0.8, Cydia, OpenSSH) 16 GB |
|
|||
|
Quote:
|
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
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 3GS factory unlocked (3.1.2; Blackra1n, Cydia, OpenSSH, custom 3.0 ipcc file (no sig), tethering hack by Dev team, 32 GB) iPhone 3G (3.0.1; Redsn0w 0.8, Cydia, OpenSSH) 16 GB |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|