Since my 3g iphone is unlocked now i gonna sell my 1st gen iphone....
so i wanted to know how do i get my info off of it like the app store when you try to download stuff it automatically ask for my password put my email is always shows
1-Via iTunes,perform a full restore of your iPhone.Be sure to set the device up as a new phone.This will not completely erase your personal data,but will insure no new personal data is synced to the phone after you erase it.
2-Jailbreak the iPhone&SSH into your iPhone.
3-Find 'umount' for the iPhone.This can be found on the RAM disk. Execute the following commands:
umount -f /private/var
mount -o ro /private/var
mount -o ro /
The iPhone GUI will now become unresponsive, do not try to use it.
4-Execute the following commands:
cat /dev/zero > /dev/rdisk0s2
cat /dev/zero > /dev/rdisk0s1
This will erase the NAND memory by copying /dev/zero to each disk.
5-Force your iPhone into recovery mode (hold the home button and the power button until a yellow triangle that advises "Connect to iTunes" comes up)
6-Connect your iPhone to iTunes and perform another full restore...