Results 1 to 7 of 7
Discuss Booting 4.3.2 SSH ramdisk damaged phone on 4.3.5 - how? at the iOS 4.x (iPhone OS 4.x) - Hackint0sh.org; Hi, I had an iPhone 4 working fine on 4.3.5 tethered JB using redsn0w. I ...
  1. #1
    Newbie Array

    Join Date
    Sep 2011
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Arrow Booting 4.3.2 SSH ramdisk damaged phone on 4.3.5 - how?

    Hi,

    I had an iPhone 4 working fine on 4.3.5 tethered JB using redsn0w.

    I wanted to test something involving ssh ramdisks, so booted an 4.3.2 ibss/kernelcache/dmg.ssh on the phone using tetheredboot thinking it would be compatible.

    This seemed to work fine, the empty progress bar screen came up and the device connected in itunnel. However, the instant I connected to the forwarded ssh port from my mac, the phone rebooted.

    It then went into recovery mode no matter what I did. If I tried to boot 4.3.5 tethered again with redsn0w it would show the pwnapple briefly but end up on the 'connect to itunes' logo. I tried running fixrecovery43 and recovery fix in the new redsn0w_mac_0.9.9b1 to no avail.

    I then built a proper 4.3.5 SSH ramdisk (using msftguy's recovery ramdisk builder v3, pwnagetool 4.3.3 with added 4.3.5 bundle). This works fine - I am able to ssh in without problems, but in /dev there is only /dev/disk0 and /dev/rdisk0, no partitions are visible.

    Trying to dd from /dev/disk0 I just get 'invalid argument' so I can't even access the disk device. What has been scewed up here, and how can I fix it?

    Even though I only booted the 4.3.2 SSH ramdisk and did not actually run a restore, something has been screwed up so that a 4.3.5 ramdisk or the normal OS itself booting tethered now seems unable to mount my partitions.

    I have a few months of un-backed-up precious photos and other data on this phone so i really don't want to do a full restore and would be grateful for any tips
    Last edited by hopelessCase; 09-20-2011 at 02:56 AM.



  2. #2
    Newbie Array

    Join Date
    Sep 2011
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I think my NAND has been screwed up somehow.

    Are there any tools I can use to dump the start of my NAND to see what's currently there?
    Last edited by hopelessCase; 09-20-2011 at 03:13 AM.

  3. #3
    Super Moderator Array Olethros's Avatar

    Join Date
    Sep 2007
    Location
    Norway
    Posts
    8,360
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    439

    Default

    You need to mount the partitions (although it seems a bit odd that the /dev/disk0 and /dev/rdisk0 are missing)

    It's impossible to use dd to backup the filesystem on iOS 4.x due to the way the new security system/encryption is implemented.

    As you say, it could be NAND that has failed (iRecovery will show you this)
    Please read the stickies & search forum before posting!
    How to report an iTunes restore/update fail in a useful manner
    -

    iPad 3G 64GB (4.3.3, Redsn0w) oldest SHSH 3.2.2
    iPhone 4 32GB (4.2.1, Redsn0w JB-monte) oldest SHSH 4.1
    iPhone 3GS 32GB (4.3.3; Pwnagetool) factory unlocked oldest SHSH 3.1
    iPhone 8GB (3.1.3; Pwnagetool) AT&T Locked - Unlocked with bootneuter

    -
    Did we solve your problem? Got a dollar or two spare ? Donate!

  4. #4
    Newbie Array

    Join Date
    Sep 2011
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    The only disk-related devices I can see listed in /dev are /dev/disk0 and /dev/rdisk0. See output below running fdisk and trying to mount.

    I've used ssh ramdisks successfully before on a few different devices and versions, and I'm totally at a loss to explain why attempting to boot the 4.3.2 ssh ramdisk on my 4.3.5 phone has caused this corruption.

    I will try running iRecovery.

    Is a NOR-only restore a possibility on an iPhone 4 with 4.3.5 if I customise /usr/local/share/restore/options.plist to disable CreateFilesystemPartitions ?

    -sh-4.0# fdisk /dev/disk0
    Disk: /dev/disk0 geometry: 977/64/63 [3939606 sectors]
    Sector size: 8192 bytes
    Signature: 0x0
    Starting Ending
    #: id cyl hd sec - cyl hd sec [ start - size]
    ------------------------------------------------------------------------
    1: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
    2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
    3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
    4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

    -sh-4.0# mount_hfs /dev/disk0s1 /mnt1
    GetMasterBlock: Error 2 opening /dev/rdisk0s1
    GetMasterBlock: Error 2 opening /dev/rdisk0s1
    mount_hfs: No such file or directory

    -sh-4.0# mount_hfs /dev/disk0s2s1 /mnt2
    GetMasterBlock: Error 2 opening /dev/rdisk0s2s1
    GetMasterBlock: Error 2 opening /dev/rdisk0s2s1
    mount_hfs: No such file or directory

  5. #5
    Super Moderator Array Olethros's Avatar

    Join Date
    Sep 2007
    Location
    Norway
    Posts
    8,360
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    439

    Default

    Quote Originally Posted by hopelessCase View Post
    Is a NOR-only restore a possibility on an iPhone 4 with 4.3.5 if I customise /usr/local/share/restore/options.plist to disable CreateFilesystemPartitions ?
    I haven't tested it myself, but have not seen anything to suggest that Apple has disabled or blocked this functionality. It can't really hurt to give it a try (you need to restore in pwned DFU mode of course)
    Please read the stickies & search forum before posting!
    How to report an iTunes restore/update fail in a useful manner
    -

    iPad 3G 64GB (4.3.3, Redsn0w) oldest SHSH 3.2.2
    iPhone 4 32GB (4.2.1, Redsn0w JB-monte) oldest SHSH 4.1
    iPhone 3GS 32GB (4.3.3; Pwnagetool) factory unlocked oldest SHSH 3.1
    iPhone 8GB (3.1.3; Pwnagetool) AT&T Locked - Unlocked with bootneuter

    -
    Did we solve your problem? Got a dollar or two spare ? Donate!


  6. #6
    Newbie Array

    Join Date
    Sep 2011
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I think I've found the explanation for what happened on my phone:

    Issue 19 - iphone-dataprotection - Issues after starting a RAMdisk on a device with iOS 4.3.4 - iphone data protection tools - Google Project Hosting

    This gives me some hope that the problem is reparable and that the decryption keys and data are still there...

  7. #7
    Super Moderator Array Olethros's Avatar

    Join Date
    Sep 2007
    Location
    Norway
    Posts
    8,360
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    439

    Default

    That's a good find. Please keep us updated if you do fix this.
    Please read the stickies & search forum before posting!
    How to report an iTunes restore/update fail in a useful manner
    -

    iPad 3G 64GB (4.3.3, Redsn0w) oldest SHSH 3.2.2
    iPhone 4 32GB (4.2.1, Redsn0w JB-monte) oldest SHSH 4.1
    iPhone 3GS 32GB (4.3.3; Pwnagetool) factory unlocked oldest SHSH 3.1
    iPhone 8GB (3.1.3; Pwnagetool) AT&T Locked - Unlocked with bootneuter

    -
    Did we solve your problem? Got a dollar or two spare ? Donate!

 

 

Similar Threads

  1. Replies: 3
    Last Post: 02-10-2011, 02:26 PM
  2. WTB: ANY 3G or 3Gs iPhone ***DEAD/DAMAGED/WATER DAMAGED***
    By dtkool in forum iPhone/iPod Touch
    Replies: 0
    Last Post: 09-20-2009, 07:50 AM
  3. Replies: 6
    Last Post: 01-29-2009, 02:11 PM
  4. [2.0][Booting problem] Phone won't turn on
    By xxrealmsxx in forum General
    Replies: 9
    Last Post: 07-23-2008, 03:39 PM
  5. Replies: 8
    Last Post: 04-21-2008, 12:04 AM

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 08:42 AM.
twitter, follow us!