What's new

DFU Mode for Dummies

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...

restore_mode.png

(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!

Sir after plug in to pc and restoring every thing and all. wat should i do next, how to turn on the phone to use in the normal state.
Will i be able to point out the desired firmware by Shift+Click????

plzzz help me
 
Last edited:
So how to exit DFU mode after finishing our work mean restore process
 
Last edited by a moderator:
So how to exit DFU mode after finishing our work mean restore process

If you complete the restore process normally, the device will reboot.

However, if you need to exit from DFU mode without using it, simply hold home+power for 10 seconds, let go of both buttons. The device will restart. If it does not, hold the power button for a second to power it on.
 
Hi,

I foolishly but a passcode on my iphone and have forgotten it. Whilst trying to guess it I have now disabled my phone and even when connected to itunes it does not appear in the left hand column unless I enter the code. I've done this before and entered DFU mode and wiped the iphone before restoring it. However this time I have not only broken the home button but it is completely missing. I have been using the on screen home button. Hence my problem is I cannot enter DFU mode.

I have googled this quite a bit and have so far tried redsn0w. I followed the instructions through and got as far as creating the IPSW file however when I need to connect the phone to itunes to use restore the iphone will not appear in the left hand column. I get a message iphone cannot be accessed until passcode is entered, I press cancel and nothing happens. The phone says iphone disabled connect to itunes and itunes is just my music list.

Are there any other solutions I can try?

Thanks
 
You'd have to get the home button fixed or have a method of actually interacting with the internals of the device to simulate the home button to either put your device into DFU or Recovery Mode. If it was the issue of a power button, you could still put the device into Recovery, then into DFU if necessary. But with both a passcode locked device as well as a missing home button, it's impossible unless you get the home button working
 
Top