Help unbricking iphone 2g

Discussion in 'iPhone' started by that_dude, Aug 31, 2009.

  1. that_dude

    that_dude New Member

    Joined:
    Aug 31, 2009
    Messages:
    12
    Likes Received:
    0
    Device:
    iPhone
    Hello folks, iphone newb here so please correct me if I am missing something very basic.

    Got a semi bricked iphone 2g here that I am trying to ressurect

    Phone always boots up with an icon that shows a usb cable connecting to itunes. When connected upto itunes, I get a message saying the phone is in recover mode.

    Allowing it to updated to the latest "official" firmware allows the phone to proceed to a black screen with a white apple logo and the progress bar goes all the way to the end and stays stuck there indefinitely.

    I did some googling and found out about the irecovery tool. When I run "irecovery -s" and run the "printenv" I get the following output


    ---- Begin log ----
    iRecovery - Recovery Utility
    by wEsTbAeR-- and Tom3q

    Got USB


    =======================================
    ::
    :: iBoot for m68ap, Copyright 2008, Apple Inc.
    ::
    :: BUILD_TAG: iBoot-385.49
    ::
    :: BUILD_STYLE: RELEASE
    ::
    :: USB_SERIAL_NUMBER: CPID:8900 CPRV:20 CPFM:03 SCEP:04 BDID:00 ECID:00000
    DED40D554C SRNM:[88805E4TWH8]
    ::
    =======================================

    [FTL:MSG] Apple NAND Driver (AND) RO
    [NAND] Device ID 0xb614d5ec
    [NAND] BANKS_TOTAL 4
    [NAND] BLOCKS_PER_BANK 4096
    [NAND] PAGES_PER_BANK 524288
    [NAND]SECTORS_PER_PAGE 8
    [NAND] BYTES_PER_SPARE 128
    [FTL:MSG] FIL_Init [OK]
    [FTL:MSG] BUF_Init [OK]
    [FTL:MSG] FPart Init [OK]
    read old style signature 0x43303035 (line:286)
    [WMR:ERR] NAND format invalid (mismatch, corrupt, read error or blank NAND devi
    e)
    [WMR:ERR] boolSignatureFound false boolProductionFormatVerified true nSig 0x43
    03035
    ************************************************** ****************************
    ************************************************** ***************************
    AND: NAND initialisation failed due to format mismatch or uninitialised NAND.
    AND: Please reboot with reformatting enabled.
    ************************************************** ****************************
    ************************************************** ****************************
    NAND failed initialisation
    Boot Failure Count: 3 Panic Fail Count: 0
    Delaying boot for 0 seconds. Hit enter to break into the command prompt...
    root filesystem mount failed
    Enering recovery mode, starting command prompt
    ] (Recovery) iPhone$ printenv
    config_board = 'm68ap'
    loadaddr = '0x9000000'
    boot-command = 'fsboot'
    idle-off = 'true'
    boot-device = 'nand0'
    boot-partition = '0'
    boot-path = '/System/Library/Caches/com.apple.kernel CPFM:03 SCEP:04 BDID:00
    CID:000003DED40D554C SRNM:[88805E4TWH8]
    (Recovery) iPhone$

    ---- End log ---

    My assumption from the above output is I need to reformat the NAND. I tried googling for this too but there is no information on

    a) How to reformat / reinitialize the NAND
    b) How to reboot with reformatting enabled. (as seen in the o/p above)


    I tried the IRC channel as well without any luck, hence thought of posting here.

    Would appreciate any and all feedback

    Thanks a lot for your time!
  2. iBoss™

    iBoss™ Banned

    Joined:
    Aug 15, 2009
    Messages:
    1,057
    Likes Received:
    0
    Device:
    2G iPod touch
    Ughm, you put quotes around "official" so I'm assuming you downloaded yourself a copy of the 3.0 firmware. Reported.

    I could be wrong, so I'm going to help you anyway.
    What do you see now? A black screen? the connect to iTunes screen?

    Either way, do this:
    Make sure its plugged in.

    Hold down the home and power buttons for 15 seconds
    After 15 seconds, keep holding the home button but release the power button
    Continue holding the home button until you hear a beep on your computer.

    Now open iTunes, a box will come up saying it detected your iPod.
    PRESS THE RESTORE BUTTON, and get a 3.0 firmware.
  3. that_dude

    that_dude New Member

    Joined:
    Aug 31, 2009
    Messages:
    12
    Likes Received:
    0
    Device:
    iPhone
    What I meant by official was I allowed iTunes to download the firmware from the apple software update website.

    I tried doing exactly what you described as well. iTunes gives me an error code of 6 (unknown error)
  4. iBoss™

    iBoss™ Banned

    Joined:
    Aug 15, 2009
    Messages:
    1,057
    Likes Received:
    0
    Device:
    2G iPod touch
    Did you succesfully get it into the mode though?
    Your screen should be black and unresponsive when your computer beeps.
  5. that_dude

    that_dude New Member

    Joined:
    Aug 31, 2009
    Messages:
    12
    Likes Received:
    0
    Device:
    iPhone
    yep.. the iphone is in DFU mode (no display at all) when I attempted this
  6. spoonforknife

    spoonforknife Retired Moderator

    Joined:
    Nov 15, 2007
    Messages:
    6,896
    Likes Received:
    317
    This is an iPhone. You cannot pirate iPhone firmwares. THEY ARE FREE.

    How long have you left it at the progress bar and the Apple logo? I know the iRecovery log says otherwise, but just try leaving it on there a little bit longer.

    How many times have you tried the restore path? You might want to just be sure you are in DFU mode, but from what it seems, you know what you're talking about.

    As a last resort, you may want to try to SSH into your phone and connect to it. Then you would want to enter in the following command.

    Code:
    nvram boot-args=""
  7. iBoss™

    iBoss™ Banned

    Joined:
    Aug 15, 2009
    Messages:
    1,057
    Likes Received:
    0
    Device:
    2G iPod touch
    Okay... I made a mistake, I am sorry, back to the topic.

    You said the bar fills all the way up, then hangs there.
    Quite strange...

    I would try spoonforknife's attempt and see if it fixes your issue.

    And you said the phone "boots with the connect to itunes logo"
    Was it working fine before that?
  8. that_dude

    that_dude New Member

    Joined:
    Aug 31, 2009
    Messages:
    12
    Likes Received:
    0
    Device:
    iPhone
    Thanks for the suggestion spoonforknife.

    Its my first time trying to screw around with the iphone

    Please Register or Log in to view images

    Google helped me so far .. but there is only so far google can take you ;-)

    I left the phone @ the progress bar for about 30 mins with no progress before I decided to hit the power switch.

    I tried the restore path about 5 - 6 times now (also tried restoring an old firmware 2.2.1) with no luck.

    Just to be sure I have 2 types of recovery modes
    a) The one with the itunes logo and the USB connector - call this normal recovery mode
    b) The one with nothing on the screen except a black background - call this DFU mode

    I tried restoring the firmware in both modes with no success (error code = 6)

    I did not know you could SSH into the iphone! What are the credentials? Do you have a quickie link that explains how to do so?

    Thanks a lot! Your information was very valuable!
    ------------------double post merged------------------
    @iAppleCentral® .. I received it in this state from a friend who said he did some kind of a "restore defaults" operation (he doesnt remember exactly).

    I told him I would have a go at restoring it if at all possible.

    I am about to try SSH'ing asap.
    ------------------double post merged------------------
    Update: When updating for the second time in DFU mode the error code changed to 14 (still unknown error)
  9. iBoss™

    iBoss™ Banned

    Joined:
    Aug 15, 2009
    Messages:
    1,057
    Likes Received:
    0
    Device:
    2G iPod touch
    Are you running the latest version of iTunes?
    I think its 8.2.XX (check this by clicking Help (at the top of iTunes) and clicking About.

    If you are, try this solution:
    Go to Add Or Remove Programs
    Uninstall The Following:

    - Apple Mobile Device Support
    - Bonjour
    - iTunes
    - QuickTime

    Restart Your Computer.

    Now go here and reinstall iTunes.
    It probably wont work, but its good to try all the small steps before trying larger steps.

    If it still doesnt work, Im afraid I have no idea.
    But If spoonforknife keeps responding (I have no idea about iRecovery), I think youll have your problems resolved

    EDIT: This sounds extremely stupid but have you tried switching the USB port, and then trying a restore?
  10. spoonforknife

    spoonforknife Retired Moderator

    Joined:
    Nov 15, 2007
    Messages:
    6,896
    Likes Received:
    317
    Hmm... this may not be good then. If you can somehow find out your iPhone's IP address, you can SSH in via Terminal by the traditional method (ssh root@<IP address>), with the default password being alpine.

    I'm not terribly familiar with iRecovery, as I've been lucky enough to have not used it, but there is probably a way to execute code from it.

Share This Page