Well there is a solution for it.....follow instructions as mentioned ..
1. pull out the battery.
2. connect phone with charger and switch the charger "ON".
3. press "volume up" and "menu button" simultaneously for upto 10-15 seconds.
4. leave buttons and insert battery soon..
5. samsung logo...