Download the stock firmware here in zip format XXLF5
* Extract zip (it contains *.tar.md5 file)
* Download and Extract Odin (it contains Odin application and *.pit file)
* Mobile should be in USB Debugging mode.
*Go to Download mode (switch off your mobile, then press Vol-down + Home + Power, then Vol-up to continue)
* If Lovely greed android will appear, its in download mode.
* Open Odin Application on PC
* Connect your phone to PC
* Yellow Indication will appear on Odin in first small box,
* Click on PDA and browse downloaded firmware file (*.tar.md5)
* Click on Start (it will take time to finish)
* Done Your phone will be reset, And now you have the stock S5300XXLF5
You can now flash any rom you like.
Note:Select only pda alone.leave others blank.