1st method k Lea phone off hons lazmi ha you
can format your Nokia X2-00 device by typing: * + 3 + call + Power on. Before the device is reset, you need to provide the lock code. The default lock code is 12345.
If it is not working try this code:
You can format your device by typing *#7370# in standby mode. Before the device is reset, you need to provide the lock code. The default lock code is 12345.

Some Nokia phone can be reset via this menu option
Press menu button or enter Menu > Settings > Phone > Phone management > Factory settings > Delete data and restore > YES