Help Samsung Galaxy mini boot issue


Hey there,

I need serious help with my phone, I have a Samsung Galaxy mini 5570i running on gingerbread 2.3.6 it worked perfectly until a strange message appeared on the screen that said Sorry The application Samsung Home (process has stopped unexpectedly. I closed the message and opened google play when the phone stopped working and got stuck in that application. I removed the battery and turned the phone on again but it got stuck on the boot screen.

Note: I wiped the cache partition and tried to wipe data but it gets stuck every time and now whenever I turn my phone on the boot image appears but after that it goes to recovery menu instead of booting. Please help me and sorry for putting too much details but I need the best solution.