Talk:DFU Mode

From The iPhone Wiki
Jump to: navigation, search

Definition

failsafe thing was made up by zibri, his point was you can always downgrade to 1.1.4, but it is really officially known as Device Firmware Upgrade by the people actually invented it :P --The preceding unsigned comment was added by ChronicDev (talk) 20:48, July 31, 2008 (MST). Please consult this page for more info on how to sign pages, and how to fix this.

I would love to see some official Apple documentation backing that up... --Z00L

Apple didn't invent DFU. The USB Implementers Forum did. --Dialexio 08:19, 11 December 2011 (MST)

drg

Contradiction... can or cannot exit DFU without restore??

Can exit no problem ~geohot
Method one and method two are the same. ~geohot
Thought so. Cleaned. -drg

Hi all, please can someone make a utility to take iPhone into DFU. Or do someone know howto take iPhone into DFU without using Sleep button? ~ makovice

Please read the original article, It is not possible --JakeAnthraX 10:01, 17 November 2010 (UTC)
It is possible but your iDevice will go into a DFU Loop. --Whiteshinyapple 18:10, 19 November 2010 (GMT +8)
Thanks for your interactions. I'll suggest repair the button ;) (DFU Loop I tried, but without success - iTunes refused modified firmware) -- makovice
iTunes will error out and if your iphone is in a black screen then it is in dfu mode. -- Whiteshinyapple
Yeh I know, but it doesn't even start restore (iPhone didn't make anything), so did anyone try it with 4.1 iOS and iTunes 10.1?? -- Makovice
well the way i did it was used PwnageTool or redsn0w to enter pwn DFU Mode (tested this on 4.0 because i don't have SHSH for it) then without unzipping the .ipsw (this is important because it will not be recognised by itunes if unzipped) removed the build manifest then restore and it will give you error 10 and every reboot it will be in dfu mode however if you are wanting to save the data in your device it is impossible because the bootchain is flashed at the end of a restore --liamchat 16:00, 22 November 2010 (UTC)
ok, only one thing ... how can I change conent without unzipping? :) -- Makovice
i used http://www.stuffit.com/mac-home.html --liamchat 16:52, 22 November 2010 (UTC)
any zip program. Winzip winrar peazip anything just view the file on the program and delete the file like in explorer or finder... --5urd 17:36, 22 November 2010 (UTC)
Ill be creating a video on how to create a DFU Loop IPSW.My Youtube --sn0wra1n
on an intresting note it may be posible to make a dongle to boot the device ( like [1]) but when redsn0w boot's tethered it inject's big file's and the ipod 4g has a void in it so the dongle will not be visible --liamchat 18:11, 25 November 2010 (UTC)

Reverse engineer

Okay, so, we know that iTunes puts the iDevice into DFU mode when the device is upgrading/downgrading/restoring. How does iTunes do this? It certainly doesn't require us to press and hold the home/sleep buttons. How do we reverse iTunes' mechanism to put devices into DFU mode WITHOUT creating a DFU loop? --rdqronos 12:26, July 1, 2011 (UTC)

No one but Apple has the source code. I guess you could attach a debuger to the USB port (if there is one that does that) and monitor the data sent out of it. --5urd 15:09, 1 July 2011 (UTC)
OMG iPhone knowledge is slipping fast. Updates are done in recovery mode, not DFU mode. blackra1n will happily enter recovery mode for you. There's no (easy) way in software to get into DFU, although a half baked flash to brick could probably do it. --geohot 00:16, 2 July 2011 (UTC)
I did not know that... You're right, iPhone knowledge IS slipping fast. That's why I come here. Also, there is evidently an easy way in software, we just haven't found it yet. Balloonhead did have the good idea, using a USB debugger of some sort to monitor all traffic sent to/from the iPhone. Sorry if I sound like a douche :P --rdqronos 02:50, 2 July 2011 (UTC)
stop bullshitting about dfu and stuff, much love, qwertyoruiop. you can't via software. also lulz at usb debugger. it's called sniffing and it's kinda funny. --Qwertyoruiop 23:50, 2 July 2011 (UTC)
As Geohot said, DFU mode can be entered when iPhone is "bricked". That state can be achieved by, for example, inserting random crap into NOR (DO NOT DO THIS! I tested that on iPhone1,1 in 2009, I don't know how other devices behave in such situations, but it's probably the same). --pjakuszew 14:38, 3 July 2011 (UTC)
Hmm... So basically, screw around with a 4.3 ipsw for a bit? --rdqronos 15:57, 3 July 2011 (UTC)
You can try. I was doing everything from OpeniBoot. If you just mess with LLB file, iTunes will probably spit out an error before flashing a modified file. --pjakuszew 21:10, 3 July 2011 (UTC)
Dontcha love messing with stuff? Also, can i install openiboot on my i4? thanks man. --rdqronos 22:18, 3 July 2011 (UTC)
I'd just press those buttons, damn it's 20 seconds it's not like your whole life. But yea, screw up the LLB to enjoy (semi)software based DFU. --Qwertyoruiop 01:08, 5 July 2011 (UTC)

Disabling DFU

As a general question, would it be possible for Apple to disable DFU mode completely with a software update? I know it would be possible to do it with refreshed hardware. --rdqronos 15:05, 26 September 2011 (MDT)

No. This is in the bootrom to reinstall firmware even without any software installed. Without DFU Mode: How would Apple install the firmware the first time? And what would users do that have disconnected their phone in the middle of an update? I don't see any reason to remove this mode even in new hardware. -- http 15:18, 26 September 2011 (MDT)

Updates are done in recovery mode. "I know it would be possible to do it with refreshed hardware." well if you know it to be possible without hardware being refresh doesn't that mean.. the only other options is via software update?. "I don't see any reason to remove this mode even in new hardware." i agree, its highly unlikely in my mind they will remove it, for at least in the next few years imho. --Blue Skies 02:31, 27 September 2011 (MDT)

Recovery to DFU

I've been trying to get my program to make the iDevice go from Recovery to DFU. Any way I could do such a thing? Through uploading files? --Dylan Laws 20:11, 22 January 2012 (MST)

Could you please stop asking such questions?! If you can do it, do it, if you can't, leave it. And as far as I know you can't enter the real DFU Mode using a Computer, you always need to press buttons on the device. --rud0lf77 23:19, 22 January 2012 (MST)
Rud0lf77: Nobody's forcing you to read his posts. If you don't like his questions, stop reading them :P --beej 09:49, 23 January 2012 (MST)
How'd GeoHot make a one click jailbreak? --Dylan Laws 00:19, 23 January 2012 (MST)
purplera1n and blackra1n used iBot exploits! No DFU was needed! Please read about these tools and exploits before posting such questions! --rud0lf77 04:05, 23 January 2012 (MST)
I Knew that they did, but if you noticed the one click and then it puts the device into recovery and then, I think? DFU. I know that they used the limera1n exploit.--Dylan Laws 08:47, 23 January 2012 (MST)
Not quite one-click, but as close as you'll likely get: http://is.gd/Iu2FZx --beej 09:49, 23 January 2012 (MST)
Thanks Beej! --Dylan Laws 09:59, 23 January 2012 (MST)
Remember: That will brick your device! Only a restore can make it boot properly again! That means if you want to use that for a Jailbreak, it will be completely tethered, no semi-tether, because it will always go into DFU!
Fudge! Ok I'll just have them dfu their device. --Dylan Laws 18:32, 23 January 2012 (MST)

Corrupted IPSW method for DFU mode on old devices

Under "Enter True Hardware DFU Mode Automatically", it says "This doesn't work with S5L8900 devices," but theiphoneguy on JailbreakQA says he's used this method (with minor workarounds for error messages) on iPhone 3G and iPhone 2G (he hasn't tried it on iPod touch 1g). Is there some explanation for why this shouldn't work with S5L8900 devices? Britta 11:11, 8 June 2012 (MDT)