On a Series 60 based phone, two key sequences will allow to restore your phone to a cleaner state:
Normal Reset (*#7780#) : Restores ini files from rom but preserves user data (photos, 3rd party apps etc)
Deep Reset (*#7370#) : This reformats completely the C: drive. All
applications and files stored on this drive will be lost and clean
default files will be rewritten.
In both case, the phone will ask you a confirmation and you will have to enter a security code (12345 by default).
Next time try to search using google first, the above text is from one
of the top 10 links from a search for "nokia factory reset code".
or 6230, only *#7780# works.But it doesn't do anything like formatting the phone: it only restore settings to default values.
The files you have aren't affected by it
You can format your device by typing *#7370#
in standby mode. Before the device is reset, you may need to provide the lock code. The default lock code is 12345.
the device will permanently erase all user data and settings as well as
add-on applications and operator specific settings.
- If you
have made a backup of the device data, the data can be restored from
the backup after formatting but some add-on applications can have
restrictions that they are not restored from the backup.
you use formatting to repair faulty behaviour of the device, restoring
the backed-up data files may restore the unwanted behaviour as well. In
that case, a partial restore may resolve the situation.
contents of the SIM card and memory card (MMC) are not erased during
formatting. Note, however, that in some device models (e.g. Nokia N8-00,
E7-00, E6-00 and X7-00) the internal mass memory E: will be
formatted in this situation. It is therefore important that you back up
all your data from the E: mass memory before resetting the device. Use
Nokia Suite to back up the contents to your PC.