DFU Mode for Dummies

Discussion in 'iPad Hacking' started by f4780y, Apr 29, 2011.

  1. f4780y

    f4780y
    Expand Collapse
    Super Moderator
    Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,114
    Thanks Received:
    648
    Well OK, not just for dummies, for all of us who ever want to upgrade, downgrade, or jailbreak our iPads!
    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 iPad.
    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 iPad 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 iPad 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 iPad 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 iPad
    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 the news 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. See the hacking section sticky for more info - http://www.ipadforums.net/ipad-hacking/59291-shsh-blobs-faq-new-improved-2012-a.html

    How do you activate DFU mode?
    In order to put your device into DFU mode, with the iPad connected to your computer 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 iPad 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 iPad 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.

    What is I have a broken home or power button?
    If you don't have both buttons working full on your device, you can still enter DFU mode using the redsn0w jailbreakers tool. This process will NOT jailbreak your device. It simply puts the device into DFU mode without using buttons. See our guide here - http://www.ipadforums.net/jailbreak...ate-dfu-mode-when-you-have-broken-button.html

    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 iPad into a different USB slot, but have patience!

    Happy DFUing everyone!
     
    #1 f4780y, Apr 29, 2011
    Last edited: Jul 8, 2012
  2. Good karma

    Good karma
    Expand Collapse
    iPad Addict

    Joined:
    Jan 15, 2011
    Messages:
    1,179
    Thanks Received:
    46
    Wow what a great explanation for such an important process, OP YOU DESERVE A MEDAL

    i saw the dfu term you told briannna to get her iphone fixed but had no idea what it was. Many thanks for the great advice

    Sent from my iPad using iPF, using iOS 4.3.2
     
  3. Tim SPRACKLEN

    Tim SPRACKLEN
    Expand Collapse
    iPad Legend

    Joined:
    Jan 3, 2011
    Messages:
    15,236
    Thanks Received:
    122
    Yes - Leigh definitely deserves a medal - I am in awe of his expertise and his ability to explain complex concepts so that even I can understand. Brilliant, Leigh - thanks. Reading about DFU mode made me move a few inches closer to thinking about jail breaking.....

    Tim
     
  4. f4780y

    f4780y
    Expand Collapse
    Super Moderator
    Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,114
    Thanks Received:
    648
    Stop it, I'm blushing!
     
  5. Laban

    Laban
    Expand Collapse
    iPF Novice

    Joined:
    Apr 19, 2011
    Messages:
    40
    Thanks Received:
    0
    Cool - everything I need to know about this in one post! Thank you!

    Can the procedure above be done regardless of the state the device is in (on/off/sleep)?
     
  6. f4780y

    f4780y
    Expand Collapse
    Super Moderator
    Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,114
    Thanks Received:
    648
    Absolutely, but if it is off, turn it on first! Any other state is pretty much irrelevant... I've updated the instructions. Thanks.
     
  7. OUTL4W

    OUTL4W
    Expand Collapse
    iPad Addict

    Joined:
    Dec 30, 2010
    Messages:
    1,237
    Thanks Received:
    12
    Excellent explanation...As always...:)
    My question is what is the difference between DFU and restore mode and what is restore mode used for?
    My understanding is if you are overwriting a jailbreak with a jailbreak then it is advised to use restore mode?
    :eek:
     
  8. f4780y

    f4780y
    Expand Collapse
    Super Moderator
    Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,114
    Thanks Received:
    648
    You wont be able to restore any JB over a JB in restore mode AFAIK. DFU only. I'll add an explanation in a moment...
     
  9. f4780y

    f4780y
    Expand Collapse
    Super Moderator
    Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,114
    Thanks Received:
    648
    I've updated the post with a few new sections. Shout if you have any further questions.
     
    #9 f4780y, Apr 29, 2011
    Last edited: Apr 29, 2011
  10. androgilicious

    androgilicious
    Expand Collapse
    iPF Noob

    Joined:
    Apr 26, 2011
    Messages:
    3
    Thanks Received:
    0
    I just ran your jailbreak instructions. When iTunes came up I only got the restore button. Where is the Option button? Now my iPad is stuck with the Apple and a long white horizontal oval. What do I do now?
     

Share This Page



Search tags for this page

dfu mode ipad

,
dfu mode ipad 2
,
dfu restore ipad
,
enter dfu mode ipad 2
,
how to put ipad in dfu mode
,
ipad 2 dfu mode
,

ipad dfu mode

,
ipad dfu reset
,
ipad dfu restore
,
what is dfu mode ipad