If you can get into any custom recovery just flash a new rom. Or another custom recovery.

You can also put phone in download mode and use kies firmware upgrade and initialization.