+ Reply
Results 1 to 5 of 5
  1. #1
    What's Jailbreak?
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DD image 3GS iOS4.2

    After reading the numerous guides on this forum concerning making dd images of iphones/itouches, I ran into a problem last night that finally stopped me completely. I had to deal with an iPhone 3GS with iOS 4.2 or 4.1, not sure which. I didn't have to phone in front of me, had to use Teamviewer and then SSH'd into the phone.

    Here's what happened: I ssh'd into the phone, after two hours, finally found what to install to get the umount command. I then ran umount /dev/disk0s2s1, which said "resource busy". So, I ran umount -f /dev/disk0s2s1, which is supposed to force umount it. That froze the phone (can't interact with it), and froze ssh. The only way out was to force reboot the phone. Ctrl-C didn't work.

    At the same time, I tried this on my itouch 1G, with 3.1.3. The umount -f /dev/disk0s2 command didn't freeze the itouch, but when I moved the screen around, the icons didn't load immediately, something to be expected. The command worked fine, then I ran mount -o ro /dev/disk0s2, and then itouch worked fine, so I started the imaging process, that finished fine.

    So, what should I try on the iPhone for this to work?

    Thanks for any help!!

  2. #2
    iPhone? More like MyPhone
    Join Date
    May 2011
    Posts
    135
    Thanks
    7
    Thanked 15 Times in 14 Posts

    First off, you've gotta be a little more careful running and forcing that type of stuff on your iPhone bro that'll get you in trouble. I had my iPod touch set up (long ago) to be virtually dual booted with 1.1.4 and 2.0. It took a lot of trial and error. The only tip I can give (because each situation is different) is ALWAYS remember that DFU mode ALWAYS works. If it freezes up and you totally mess everything like even your partition table up and everything, DFU mode will fix it up for ya.

  3. #3
    Livin the iPhone Life raduga's Avatar
    Join Date
    May 2009
    Posts
    1,202
    Thanks
    151
    Thanked 67 Times in 61 Posts

    Quote Originally Posted by linkxs View Post
    After reading the numerous guides on this forum concerning making dd images of iphones/itouches, I ran into a problem last night that finally stopped me completely. I had to deal with an iPhone 3GS with iOS 4.2 or 4.1, not sure which. I didn't have to phone in front of me, had to use Teamviewer and then SSH'd into the phone.

    Here's what happened: I ssh'd into the phone, after two hours, finally found what to install to get the umount command. I then ran umount /dev/disk0s2s1, which said "resource busy". So, I ran umount -f /dev/disk0s2s1, which is supposed to force umount it. That froze the phone (can't interact with it), and froze ssh. The only way out was to force reboot the phone. Ctrl-C didn't work.

    At the same time, I tried this on my itouch 1G, with 3.1.3. The umount -f /dev/disk0s2 command didn't freeze the itouch, but when I moved the screen around, the icons didn't load immediately, something to be expected. The command worked fine, then I ran mount -o ro /dev/disk0s2, and then itouch worked fine, so I started the imaging process, that finished fine.

    So, what should I try on the iPhone for this to work?

    Thanks for any help!!
    depends on the layout of your system.

    Where are each of these partitions mounted?
    Have you resized/moved stuff around?
    What's actually *on* each one?

    Force-unmounting can be anything from a "bad idea" to a "really really bad idea" depending on what's going on. If you've resized your partitions and moved stuff off root, it will tend toward the "really really bad" end of the spectrum.

    mount -o remount,ro would be the better deal, if you can wing it.
    (but I still don't see how you can avoid major pain when restoring the dd image afterward)

    Also, iOS 4.x filesystems are encrypted. It'll be a LOT harder to get anything useful out of them
    Last edited by raduga; 10-11-2011 at 12:39 AM.

  4. #4
    What's Jailbreak?
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Really. I did not know that they started encrypting their FS.. What kind of encryption is it?

  5. #5
    What's Jailbreak?
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    The shell on the iphone doesn't allow mount -rfu /dev/disk0s2s1 nor mount -o force,ro /dev/disk0s2s1.. Says force isn't allowed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts