[求助] 回復iPhone誤刪的照片的問題,目前卡在SSH連線問題(有許多我搜尋到的方式,歡迎有同樣問題的版友一起討論) - iPhone4.TW

會員登入



顯示結果從 1 到 5 共計 5 條
  1. #1

    海盜船長

    註冊日期:09-01-2010
    文章:8
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    事情是這樣,我的某個朋友把我iPhone內的重要照片誤刪了
    回到家後,我馬上把iPhone用相片回復軟體掃描,但不管是Mac還是Win的回覆軟體都辨識不到iPhone....(iPhone不像一般的USB device一樣....)
    我的環境是:
    iPhone 4 (4.3.1) Jailbroken + Mac OS X + Win 7 + Win XP
    後來,我在Google找到了一些方法,但都失敗
    像是用Cydia裝一個叫USB drive的軟體,但他只能另外新建一個磁區,無法直接讀DCIM的資料夾
    等等等
    後來,我找到了用SSH連線回電腦,用無線傳輸的方式在電腦上建立一個iPhone的映像黨,再用一般的回復軟體就能找相片了
    如何用SSH回復照片請參閱http://modmyi.com/forums/file-mods/2...-recovery.html
    現在的問題是
    我在iPhone上開terminal,輸入指令碼
    代碼:
    dd if=/dev/disk0 | ssh <username>*<computer-ip> 'dd of=iphone-dump.img'
    後 iPhone回我:dd: dev/disk0= Permission Denied
    拜託阿 各位高手 那些照片真的非常重要
    懇求各位大大幫忙
    另外請問各位大大有其他的回覆方式嗎?
    此篇文章於 07-08-2011 21:30 被 ChiuhungPan 編輯。


  2. #2

    新生報到

    註冊日期:08-20-2011
    文章:1
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    需要将你的iphone权限修改至最高.期待你的成功.


  3. #3

    新生報到

    註冊日期:12-03-2011
    文章:1
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    引用 作者: Gauthier 查看文章
    需要将你的iphone权限修改至最高.期待你的成功.
    權限修改至最高?還請問是什麼意思?


  4. #4

    新生報到

    註冊日期:05-25-2010
    文章:5
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    雖然是失敗經驗,我也想分享一下,順便求教。
    我半JB IPHONE 4 IOS 5.0.1後,裝上了OPENSSH,
    也可以從電腦 SSH 連上 IPHONE,
    但郤不懂怎樣在電腦架設 SSH SERVER,
    我有MAC (LION)及 PC(WIN 7),

    查了一下, dd if=/dev/disk0 | ssh <username>*<computer-ip> 'dd of=iphone-dump.img'
    應該是以 IPHONE 當 LOCAL ,將 /dev/disk0 備份到遠端(電腦),並製作成 img 檔案,

    我就想,是不是可以反過來,以電腦當LOCAL,直接將遠端(IPHONE)的 /dev/disk0 備份回來並製成 img檔案,
    於是將指令改為ssh root*192.168.X.XXX 'dd if=/dev/disk0' | dd of=iphone-dump.img

    root*192.168.X.XXX's password:
    dd: reading `/dev/disk0': Invalid argument
    0+0 records in
    0+0 records out
    0 bytes (0 B) copied, 0.000719 s, 0.0 kB/s
    0+0 records in
    0+0 records out
    0 bytes transferred in 2.805668 secs (0 bytes/sec)

    它會叫我輸入密碼,而且會產生 iphone-dump.img, 但該檔的容量為0。亦即是失敗!!

    一起再努力吧!!
    此篇文章於 12-18-2011 23:47 被 akeake 編輯。


  5. #5

    新生報到

    註冊日期:01-08-2009
    文章:1
    謝謝你: 0
    在 0篇文章中獲得 0個感謝
    引用 作者: akeake 查看文章
    雖然是失敗經驗,我也想分享一下,順便求教。
    我半JB IPHONE 4 IOS 5.0.1後,裝上了OPENSSH,
    也可以從電腦 SSH 連上 IPHONE,
    但郤不懂怎樣在電腦架設 SSH SERVER,
    我有MAC (LION)及 PC(WIN 7),

    查了一下, dd if=/dev/disk0 | ssh <username>*<computer-ip> 'dd of=iphone-dump.img'
    應該是以 IPHONE 當 LOCAL ,將 /dev/disk0 備份到遠端(電腦),並製作成 img 檔案,

    我就想,是不是可以反過來,以電腦當LOCAL,直接將遠端(IPHONE)的 /dev/disk0 備份回來並製成 img檔案,
    於是將指令改為ssh root*192.168.X.XXX 'dd if=/dev/disk0' | dd of=iphone-dump.img

    root*192.168.X.XXX's password:
    dd: reading `/dev/disk0': Invalid argument
    0+0 records in
    0+0 records out
    0 bytes (0 B) copied, 0.000719 s, 0.0 kB/s
    0+0 records in
    0+0 records out
    0 bytes transferred in 2.805668 secs (0 bytes/sec)

    它會叫我輸入密碼,而且會產生 iphone-dump.img, 但該檔的容量為0。亦即是失敗!!

    一起再努力吧!!
    In past few days, I had tried to dump the img from my iPhone by following the steps on http://modmyi.com/forums/file-mods/2...-recovery.html

    And, here is the result sharing with you guys:

    Step1. JB iPhone4 (this is the first time to JB, due to I have to save my pictures on my iPhone4)
    Step2. Install BSD Subsystem on my iPhone4 (check from Internet, the software(JB) has automatically installed for me)
    Step3. Install OpenSSH on my iPhone4

    Step4. Install Terminal on my iPhone4
    PS. The first software that I installed has problem(when I open it, the session will auto-closed soon), so I installed another one for iPhone4, then pass.
    Step5. Install the MoBaSSH server on my PC (WinXP-SP3)
    Step6. Start a session "Terminal" from my iPhone4, then try to connect from my iPhone4 to my PC. Make sure this step is passed. Then, quit the session back to iPhone4.
    Step7. From terminal on iPhone4, change to superuser by keyin "su" then input the su's password: "alpine".
    Step8. Then, key in one command based on this format
    dd if=/dev/rdisk0s2s1 bs=1M | ssh <username>*<computer-ip> 'dd of=iPhone4-1M.img'
    Step9. Check the PC, you could find one new file has start to store on your PC.

    Note.
    1. The 'DD' utility installed on your computer (this should be pre-installed on most Linux systems)
    Base on original document, we have to do this, but I did not configure/install something for this.
    2. I create my own WiFi environment which the following 3 IPs are in the same LAN:
    iPhone's IP address

    PC's IP address
    WiFi AP's IP address
    3. For SSH session, create one user account with the password on PC if you don't have it.
    4. Please disable the firewall or add one rule to pass SSH session on your PC before start to dump the image.
    5. In Step8, I also try another command to dump, and it also succeeded.
    dd if=/dev/rdisk0s2s1 bs=4096KB | ssh <username>*<computer-ip> 'dd of=iPhone4-4096KB.img'

    Result:
    I have succeed dump one image to my PC.
    Unfortunately, I could not decrypt this image file by software "PhotoRec".
    Does anybody know how to do this?

    Wish this could help you guys and carry on.


 

 

發文規則

  • 不可以發表新主題
  • 不可以發表回覆
  • 不可以上傳附件
  • 不可以編輯自己的文章
  •  
回到此頁頂端