here is the codes you need
rad 24 for credit
With all these operations I recommend you TAKE OUT MEMORY CARD and DO A BACK UP OF YOUR STUFF!!!
NOTE: In front of the hash key ( #) there is also a STAR key that people often miss and state that the code does not work.
1.. *#7780# - Restore factory settings - resets all the settings to the default ( you will not lose any data) Make sure you back up your data as you will lose all of it when you perform option 2 or 3 on this list. The default code for ALL operations listed here is 12345.
2.*#7370# - Reformat your phone (out of the box, tho keep in mind that most newer nokia phones at least n series, e series and s60 based phones have udp - user data preservation so not ALL data may be lost. still it is a good idea to always do a back up of your stuff.)3. This you perform as a last resort. Nothing else is working.If the phone is not showing any activity, proceed with hard formatting , turn off your phone, hold the following buttons while pressing the power button. (the default code is 12345)
3. hard reset - hold the following buttons * (star key), 3 (number button) and talk/green key. turn on the phone and do not release those buttons until you see the Nokia boot up screen. once you feel the phone power up you can let go off the power button while still holding all three buttons ( for Nokia 5800XM - use the following buttons to do a hard reset, /GREEN/RED/CAMERA keys pressed all at once on power up. this will only work on 5800's that have firmware version 20... and up. ) For Nokia N97 (unofficial version but works) is SHIFT /SPACE BAR / BACKSPACE while holding the power button. Again do not let go until you see the handshake screen.
If these codes are not working the only thing for you to do is contact your Nokia Care Center/Service for assistance.