DFU Mode for Dummies

Discussion in 'iPhone Jailbreaking' started by f4780y, Jul 2, 2011.

  1. f4780y
    Offline

    f4780y Super Moderator Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    913
    Likes Received:
    145
    Trophy Points:
    43
    Location:
    Troon, Scotland
    Well OK, not just for dummies, for all of us who ever want to upgrade, downgrade, or jailbreak our iPhones!
    From time to time we will need to use DFU Mode. This little thread explains what it is, why you need it, and how to activate it. Once you've done it a few times you'll be a DFU expert and be able to activate it in your sleep.

    What is DFU mode?
    Device Firmware Update (DFU) mode is a special failsafe mode which Apple has built into all of their devices so that they can restored to a stock iOS firmware regardless of the state they may be in. It is implemented at a lower level than the normal recovery mode, which shows the "connect to iTunes cable" graphic on the screen of the iPhone. DFU mode by contrast has a completely blank screen so there is no way to tell you are in DFU mode by looking at the device.

    What's the difference between DFU and normal recovery mode?
    When your iPhone is in normal recovery mode you will see a graphic like this...

    [​IMG]
    (remember, if you see this picture you are NOT in DFU mode)

    DFU mode by contrast is working at a lower level in the bootloader environment, which happens without any interaction with iOS. This is the very reason DFU mode saves us from a corrupted firmware, because it is not a part of the iOS firmware at all. As already stated, when you are in DFU mode the screen stays blank.

    When iTunes communicates with the a device in normal recovery mode it it may not find things quite as it expects if you are jailbroken. It is for this reason (and probably quite a few others) that using recovery mode will invariably fail if you are trying to update or restore a jailbroken iPhone resulting in a rather cryptic iTunes error.
    In DFU mode the firmware is irrelevant and the restore will always succeed (assuming there is not a hardware fault). It basically wipes the storage and installs a fresh iOS regardless of what is there already.

    DFU Mode is the reason it is it is impossible to brick your iPhone through software.

    When do I use DFU mode?
    There are several scenarios when you will need to use DFU mode, some of which may be:

    1. If you have to upgrade or restore a jailbroken iPhone
    2. If you have to downgrade iOS using SHSH Blobs
    3. If iOS becomes corrupt or stuck in a loop for whatever reason
    4. During the jailbreak process to enable a pwnd DFU state and then apply the payload / custom firmware

    So I can use DFU mode to downgrade to any firmware I like?
    Yes, BUT have you heard about SHSH Blobs? Using DFU mode does not and cannot bypass Apple's firmware signing security model. If you want to install an old version of iOS you MUST have saved SHSH Blobs for the version and device you want to install it on.

    How do you activate DFU mode?
    In order to put your device into DFU mode, with the iPhone connected to a power source (USB or mains) and turned on or off (it doesn't matter), you must press the "home" and "power" buttons together for EXACTLY 10 seconds at which point you must release "power" but continue to hold "home". After about 15 seconds, the device will enter DFU mode.

    There is no way to tell from the screen that this has happened as it will remain blank. If you see the Apple logo, the "connect to iTunes" graphic, or anything but a blank screen, you got the timing wrong. You can just try again until you get it right. It is perfectly normal for the iPhone to reset just before the 7 second mark. Do not be put off by this. The timing of your button release must be exactly 10 seconds. It is best not to even look at the screen! You may like to try using your watch or a clock to get the timing precise. Hold both buttons, count to 10 seconds exactly, release the power button but keep holding home. Simple!

    A slightly alternative method which you may prefer (this is the one I use), is to hold both buttons until the iPhone resets (screen turns black) then count to 3 (and a bit!) and release the "power" button. This is exactly the same timing as the first method, it's just your trigger point to start counting is 7 seconds into the process when the reset occurs.

    If everything went to plan iTunes should now recognise a device in recovery mode and prompt you to restore it.

    On Windows, it may take a few seconds to install DFU mode device drivers if this is the first time you have used it. DO NOT interrupt the process. Otherwise iTunes will never recognise the device and you'll have to do a bit of maintenance in the control panel to get things working. If this happens, try plugging the iPhone into a different USB slot, but have patience!

    Happy DFUing everyone!
    Last edited: Feb 5, 2012
    • Like Like x 4
  2. bab2010
    Offline

    bab2010 Well-Known Member

    Joined:
    Feb 6, 2011
    Messages:
    7,032
    Likes Received:
    63
    Trophy Points:
    48
    Location:
    Beijing
    Well done. Thanks for the info.
  3. DinoD7
    Offline

    DinoD7 New Member

    Joined:
    Sep 28, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Be sure to connect to iTunes when you want to get out of DFU Mode.
  4. JAYLOX
    Offline

    JAYLOX New Member

    Joined:
    Feb 23, 2011
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    0
    so what to do when itunes gives error 3194 iphone could not be restored?????
  5. JAYLOX
    Offline

    JAYLOX New Member

    Joined:
    Feb 23, 2011
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    0
    full restored grrrr..after new itunes account setup....thankf5545
  6. aaridwan
    Offline

    aaridwan New Member

    Joined:
    Nov 24, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    thanks,,good info....
  7. howmanyds
    Offline

    howmanyds New Member

    Joined:
    Jan 5, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Has any alternative timing been discovered for all the devices like mine (3rd gen iPod 64gb) which don't respond to this timing? My home and power buttons seem to work fine, but it won't go into DFU mode weather on or off, plugged in or not, iTunes open or closed.

    Thanks.
  8. f4780y
    Offline

    f4780y Super Moderator Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    913
    Likes Received:
    145
    Trophy Points:
    43
    Location:
    Troon, Scotland
    No, there are no alternative timings. This is coded directly into the hardware and cannot vary or be changed on any Apple device. All are identical. If you are not able to get into DFU, either you are doing it wrong (and it can take a LOT of practice), or your device has a fault. But if both buttons work properly, this would be extremely unlikely.

    To be clear on the instructions, it MUST be connected to your PC by the cable. It will NEVER work without. Whether the device starts on or off is irrelevant, as is whether iTunes is started or not.

    Perhaps consider using one of the jailbreaking tools to help you get into DFU mode. redsn0w, ac1dsn0w, and sn0wbreeze all have on screen timers which help you nail it exactly and tell you if you have achieved it. redsn0w is probably the easiest to use. Download redsn0w, go to "Extras", and press the "Pwned DFU" button. You will be guided precisely with the timing on screen (once in DFU mode, you do not need to do anything else with the tool. It will not jailbreak your device if you use this option).
  9. howmanyds
    Offline

    howmanyds New Member

    Joined:
    Jan 5, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Thank you for the suggestions. I know quite well how to get into DFU mode and have done it many times with iPhones and iPods. This particular iPod just won't go. The only thing I can think of is that one of the buttons isn't registering that I am holding it rather than just having pressed it and released. If this is the problem then I wouldn't notice that the button is broken because I usually just press it once when I'm not trying to enter DFU mode.

    You say 'extremely unlikely' which implies a small chance. This stinkin' iPod is unfortunately one of those small chances.
  10. proiphone
    Offline

    proiphone New Member

    Joined:
    Feb 7, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    What if my power button does not work?
  11. robmar1
    Offline

    robmar1 New Member

    Joined:
    Feb 5, 2012
    Messages:
    21
    Likes Received:
    1
    Trophy Points:
    0
    thanks for the info
  12. jpfrederick8383
    Offline

    jpfrederick8383 New Member

    Joined:
    Feb 20, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    I have an iPhone 3GS 32gb. I am running iOS5. It all started with my phone being in a on and off loop. While also saying activation required. I could not restore the phone do to the loop. And read online that putting it in restore mode would help. So I held down the power and home key for a bit then released the power but still holding the home. Then the iTunes logo and the USB came up. iTunes recognizes and says it is in restore mode. When the restore is almost done it gives me unknown error code (1). How can I fix this. This is not a jailbroken phone.

    I tried the dfu mode just now. And the same thing still happens.
  13. f4780y
    Offline

    f4780y Super Moderator Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    913
    Likes Received:
    145
    Trophy Points:
    43
    Location:
    Troon, Scotland
    Make sure you have the latest iTunes. That's important.

    Try following this guide which resolves all the common problems - http://www.iphoneforums.net/forum/h...afe-method-restore-current-version-ios-26019/
  14. jpfrederick8383
    Offline

    jpfrederick8383 New Member

    Joined:
    Feb 20, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    I tried that all ready. I even went to apple today while it was still under error code 3194. Tiny umbrella doesn't wanna work for me as well. When I'm in dfu/recovery mode I get error code 1. I use Recboot to exit the mode and try again with the host edited and Microsoft essentials off, and get error code 1 or 3194.
  15. Morettos
    Offline

    Morettos New Member

    Joined:
    Mar 17, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    And what if there is actually something that somehow is "blocking" your DFU mode? i don't know if this is a common issue but definitely this happened to me yesterday when I was downgrading my iphone 4.

    3 days ago I tried to restore my iphone 4 with no succes. My plan was to put my iphone in pwned DFU mode (with the lastest version of redsnow) and using a custom IPSW firmware, restore my iphone to 5.0.1 (and be able to preserve my 4.10.01 baseband). I put my iphone like 4 times in DFU mode, but due to errors 3194 and 2005 I couldn't restore the iphone.

    Yesterday I fixed errors 3194 and 2005 but somehow, when I tried to put my iphone into DFU mode, i couldn't. I tried with Redsnow and iFaith but both programs didn't recognise the DFU mode. My iphone 4 buttons seemed to work properly (sleep and home).

    I'm trying to analyze what happened, maybe redsnow blocked my DFU mode, but how? the iphone works but the only thing that is not working properly is the DFU mode. Can anyone give me a hand to solve this issue?
  16. zig9449
    Offline

    zig9449 New Member

    Joined:
    Aug 20, 2011
    Messages:
    3,209
    Likes Received:
    104
    Trophy Points:
    0
    Location:
    PA
    DFU mode cannot be "blocked". There would be nothing to block that function, aside from hardware issues.

    Sometimes, you have to holds the button till t goes black twice....like when I was in a respring loop.

    Or something like that. I actually think it was a boot loop but cdnt tell.

    Try to hold the buttons for 20 seonds, then letting go of sleep and keep holding home.
  17. 928shifty
    Offline

    928shifty New Member

    Joined:
    May 4, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    How can I put my 3g into dfu mode with out a power button?
  18. zig9449
    Offline

    zig9449 New Member

    Joined:
    Aug 20, 2011
    Messages:
    3,209
    Likes Received:
    104
    Trophy Points:
    0
    Location:
    PA
    You can't.
  19. Jmills87
    Offline

    Jmills87 New Member Staff Member

    Joined:
    Jul 28, 2011
    Messages:
    3,646
    Likes Received:
    160
    Trophy Points:
    0
    Location:
    The Land of Ice and Snow
    Search google for how to enter DFU mode without a power button. There's a method that lets you force your device into DFU mode by restoring a corrupted firmware and then from there you can restore a custom prejailbroken firmware.
  20. gastra
    Offline

    gastra New Member

    Joined:
    May 22, 2012
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Sorry to bump an old but VERY important thread, for anyone having issues getting into DFU mode but are still getting a black screen.
    Connect your device enter "dfu" mode
    make sure you have the black screen
    If redsn0w and so on don't recognize the phone being in DFU mode head over to device manager and look for a little yellow "?" right click install the driver and this should make DFU mode recognizable.
    If this has been posted before i missed it sorry if not just try it it may work for you as it did me :D

Share This Page