Doing a factory reset in the bootloader will fix it.
Turn the phone off(by pulling the battery), put the battery back in, hold the volume DOWN button then press and hold power while continuing to hold the volume button till the phone turns on. Use the volume keys to highlight factory reset, press power to select it.