The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > General iPhone Chat
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-01-2008, 08:14 PM
DoerrFan's Avatar
Moderator
 
Join Date: Jul 2007
Device + Firmware: iPhone 3.0
Operating System: Snow Leopard, Windows 7, and Ubuntu.
Location: Massachusetts
Posts: 2,279
Thanks: 131
Thanked 450 Times in 227 Posts
Send a message via AIM to DoerrFan Send a message via Skype™ to DoerrFan
How To: TRUELY Wipe your iPhone

Since the restore doesn't completely wipe your iPhone, Johnathen Zdziarski, hacker extrodinare came up with this to wipe it.

Perform a full restore, but be sure to set the device up as a "new phone", rather than restore from a backup (of course). This destroys the live file system only, but isn't really necessary. I do this to be extra safe that no writes to the device occur after wiping (and if they do, will not include any of my personal data).
Jailbreak the device using something like iLiberty+ and obtain shell access via ssh.
Find a copy of 'umount' for the iPhone. This can be found on the RAM disk, or in other places. Don't ask me for it. Now force both mount points into read-only mode:
# umount -f /private/var
# mount -o ro /private/var
# mount -o ro /
NOTE: The GUI will be non-responsive when /private/var is mounted read-only, so be sure not to try and use it.

Wipe both partitions clean by copying /dev/zero over them. Ideally, /dev/random would be better, but it will heat up the CPU considerably and take a much longer period of time. Unless you are trying to hide information from the CIA or some other organization with the resources to perform low-level NAND recovery, a single /dev/zero wipe will suffice:
# cat /dev/zero > /dev/rdisk0s2; cat /dev/zero > /dev/rdisk0s1
After complete, force the device into recovery mode (Home + Power until "Connect to iTunes") and then perform another full restore.
If you are paranoid about a low-level NAND recovery, use /dev/random and repeat these steps about seven times - or simply take a sledge hammer to the device.

Only use if you need to, not confirmed if it works or not, works for him.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 2 Users Say Thank You to DoerrFan For This Useful Post:
screamforme02 (06-01-2008), stocis (06-01-2008)
  #2  
Old 06-01-2008, 08:20 PM
screamforme02's Avatar
Livin the iPhone Life
 
Join Date: Dec 2007
Device + Firmware: 3g Redsnow 3.1 Ultrasnow Att ligit
Operating System: Vista Home Premium 32bit
Location: In All of Your Hearts
Posts: 1,174
Thanks: 39
Thanked 101 Times in 95 Posts

Good to kno. I geuss if im runnin from the cia. lol. you are going to get slammed with "i ruinned my phone using this" haha good luck witht he help desk for this one. u may want to post a disclaimer, like i cannnot help you . lol but thanks either way
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 06-01-2008, 08:24 PM
DoerrFan's Avatar
Moderator
 
Join Date: Jul 2007
Device + Firmware: iPhone 3.0
Operating System: Snow Leopard, Windows 7, and Ubuntu.
Location: Massachusetts
Posts: 2,279
Thanks: 131
Thanked 450 Times in 227 Posts
Send a message via AIM to DoerrFan Send a message via Skype™ to DoerrFan

Quote:
Originally Posted by screamforme02 View Post
Good to kno. I geuss if im runnin from the cia. lol. you are going to get slammed with "i ruinned my phone using this" haha good luck witht he help desk for this one. u may want to post a disclaimer, like i cannnot help you . lol but thanks either way
Read the bottom lol. If it messed up your phone, honestly i don't give a damn .
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 06-02-2008, 11:23 PM
screamforme02's Avatar
Livin the iPhone Life
 
Join Date: Dec 2007
Device + Firmware: 3g Redsnow 3.1 Ultrasnow Att ligit
Operating System: Vista Home Premium 32bit
Location: In All of Your Hearts
Posts: 1,174
Thanks: 39
Thanked 101 Times in 95 Posts

Bump!!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > General iPhone Chat

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 05:27 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top