Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

aerodoc

macrumors member
Original poster
Aug 10, 2009
99
0
I decided to try the "erase all content and settings" option to improve my GPS signal per Navigon FAQ. No problem, but after confirming the options, it seemed like it was only a minute or less before it asked me to just plug into iTunes.

I thought it was supposed to erase the data and I had about 18 gig of data so there is no way it could have done actually erased it in less than a minute. I have 3.1. Any idea why this sequence of events would occur? Has something changed in 3.1?

P.S. I remember talking to an Apple rep some time in the past about the erase all contents and settings and they said there is some kind of "encryption key" or something that if deleted could not be restored. I wonder if the just delete that key or something?
 

mr.stinki

macrumors 6502
Jan 25, 2008
300
1
I believe this is because since the data on the iPhone is hardware encrypted, the phone simply dumps the encryption keys.
 

nateo200

macrumors 68030
Feb 4, 2009
2,906
42
Upstate NY
There's a reason it's called flash memory.....yes it can delete 18 gigs of data that fast in fact it should delete it faster. Now if the iPhone had a HDD then it would be a different story.
 

Kufat

macrumors newbie
May 8, 2005
7
0
Rochester, NY
Whether a device uses flash or rotating storage isn't the issue. Under normal circumstances, files aren't deleted by overwriting the data with zeroes. They're deleted by removing the file's entry in the file system. The size of the files isn't relevant, only the number of files matters. (In fact, the larger the average filesize, the less time it takes. 18 gigs of videos and music might only be ~1000 actual files. 18 gigs @ 10KB per file would take much more time to erase.)

Flash might help a little since it has excellent "seek" times, but it'd still be quite fast on a conventional disk.
 

ElBerserko

macrumors regular
Jun 30, 2007
186
121
While I get what you guys are saying and understand all that, why is that if you search on "erase all content and settings" on this forum or on google, you will consistently find that it will take 2 hours or so (very rough number).

Because the iPhone 2G and 3G are not hardware encrypted. They will take up to 2 hours because they write over all the data to keep it from being recoverable. With the 3GS, you just have to wipe over the encryption key which renders all the data on the device instantly unreadable. So 3GS will only take a second, older models will take an hour or two. The information on the internet is just referencing the facts about the older models.
 

aerodoc

macrumors member
Original poster
Aug 10, 2009
99
0
Great info. I did not realize this distinction, but it makes sense. When I did the same process on my 3G I remember it was quite slow. I suspected something like this, but did not (and still have not) actually seen a link that directly talks to it.
 

daihard

macrumors 6502a
Feb 19, 2008
973
7
Seattle, WA
Because the iPhone 2G and 3G are not hardware encrypted. They will take up to 2 hours because they write over all the data to keep it from being recoverable. With the 3GS, you just have to wipe over the encryption key which renders all the data on the device instantly unreadable. So 3GS will only take a second, older models will take an hour or two. The information on the internet is just referencing the facts about the older models.

I am curious how hardware encryption works. Does it mean the encryption routine is embedded in the ROM or something so the same OS-level write function can be used to write to both the encryption-enabed model (3GS) and the older ones (2G/3G)?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.