iClarified
iClarified View Options
iClarified Add Bookmark
iClarified Search
PLACES
  iClarified News   News
  iClarified Tutorials   Tutorials
  iClarified Comments   Comments
  iClarified Calendar   Calendar
iClarified Down Arrow SEARCH
  iClarified Search   Today
  iClarified Search   Yesterday
  iClarified Search   Past Week
iClarified Down Arrow ADMIN
  iClarified Login   Login
  iClarified Contact Us   Contact Us


 
iClarified Tutorials   Tutorials iClarified iPhone   iPhone  
How to Securely Erase Your iPhone Before Resale  
Tuesday, 17th June 2008, 02:06 am   
This entry needs translation. To help us and submit a translation please click here

These are instructions on how to securely erase your iPhone or iPod touch to prevent the recovery of private data.

Watch the Video!
For your convenience this tutorial is available in video format also. Click the Watch It button to view the tutorial!









Step One
Launch iTunes by selecting its icon in the dock


Step Two
Connect your iPhone or iPod touch to the computer then select it from the list of devices on the left.


Step Three
Click the Restore button in the Summary tab.


If asked to create a backup click Don't Back Up


A popup window will appear asking you to confirm the restore. Click the Restore button.


Once the Restore has complete a window will appear confirming that your iPhone, iPod has been restored to factory settings. Click the OK button.


Now you will be asked to name your iPhone, iPod touch. Enter a new name then click the Done button.


Step Four
Now follow your desired method to jailbreak your iPhone. If you do not have a preferred method then use one of the many detailed on this site!

Windows: http://www.iclarified.com/entry/index.php?enid=849
Mac: http://www.iclarified.com/entry/index.php?enid=847

Step Five
Now you will need to install BSD Subsystem and SSH on your iPhone. You can do this by using these tutorials...

Install BSD Subsystem: http://www.iclarified.com/entry/index.php?enid=687

Install SSH: http://www.iclarified.com/entry/index.php?enid=1349

NOTE***: To make sure SSH connections do not terminate I would suggest setting Auto-Lock to Never in Settings:General:Auto-Lock.

Step Six
Download umount from here and save it to your Desktop.

Step Seven
Open a new Terminal window from your Applications:Utilities folder.


Step Eight
Enter the following command into your Terminal window:
scp ~/Desktop/umount root@192.168.0.192:/sbin/umount


Don't forget to replace 192.168.0.192 with the IP Address of your iPhone.

If prompted for a password enter alpine.


Step Nine
Now lets SSH into the iPhone. Enter the following command into the Terminal window:
ssh root@192.168.0.192


Don't forget to replace 192.168.0.192 with the IP Address of your iPhone.

If prompted for a password enter alpine.


Step Ten
Now we need to give umount the executable permissions. Type the following into your Terminal window:
chmod 755 /sbin/umount


Step Eleven
To force both mount points in to read only mode, enter the following commands into Terminal:

umount -f /private/var
mount -o ro /private/var
mount -o ro /



Step Twelve
We now will wipe both partitions clean by copying /dev/zero over them. Enter the following commands into your Terminal window:

cat /dev/zero > /dev/rdisk0s2; cat /dev/zero > /dev/rdisk0s1



NOTE*: This will likely take up to an hour to complete! After completion your iPhone, iPod touch GUI will be unresponsive. This is expected.


Step Thirteen
We will now place the iPhone, iPod touch into recovery mode. You can follow the instructions here for a detailed explanation. Though all you need to do is press the Sleep/Wake button and Home button until the iTunes logo and dock connector appear on the screen.


Step Fourteen
Follow Steps One through Three again to restore your iPhone, iPod touch. Your iPhone will now be securely erased and ready for resale.


THANKS***: This method was outlined by Jonathan A. Zdziarski. You can read his post on the matter here

  If this tutorial needs to be updated please let us know here

 
8 comments [add] | 28108 views [digg it] [buzz] [del.icio.us] [stumbleupon] [retweet] [email]

 

Recent iPhone Entries
2009-11-03 23:54:59 - How to Unlock the iPhone 3G, 3GS Using BlackSn0w
2009-11-03 23:54:49 - How to Jailbreak and Unlock Your iPhone 3G, 3GS Using BlackSn0w [Windows]
2009-11-03 23:54:41 - How to Jailbreak and Unlock Your iPhone 3G, 3GS Using BlackSn0w [Mac]
2009-11-03 01:54:01 - How to Block/Manage Outgoing iPhone Connections Using Firewall iP
2009-11-02 22:15:22 - How to Change the Root Password on Your iPhone
2009-10-26 23:55:13 - How to Customize Your iPhone Carrier Name and Banner
2009-10-25 12:13:05 - How to Auto Install a DEB File Using Cydia
2009-10-19 17:36:39 - How to Enable Tethering on Your 3.1.2 iPhone 3G, 3GS
2009-10-19 17:01:33 - How to Install OpenSSH on Your iPhone (Cydia)
2009-10-14 00:12:16 - How to Jailbreak Your iPhone, iPod Using BlackRa1n [Mac]
[more][rss]

Recent News Entries
2009-11-20 17:56:21 - 27inch iMac Benchmarked as Fastest Stock Mac Ever
2009-11-20 13:33:12 - Google Announces iPhone Optimized Version of Google News
2009-11-20 13:20:07 - Balloons! for iPhone Takes Off
2009-11-20 13:15:35 - Apple's Next Super Product [Concepts by the Press]
2009-11-20 13:11:14 - Secret of the Lost Cavern Episode 1
[more] [rss]


 

iClarified Newsletter
If you would like to keep up to date with all the latest iClarified News and Tutorials you could use the RSS feeds linked above or sign up for our newsletter. The iClarified Newsletter is sent once a day and includes any news or tutorials posted in the last 24 hours.

To signup for the Newsletter click here. Make sure you choose "Yes" to be added to our Mailing List.