Had Cyanogen mod installed on the phone and something went wrong for no apparent reason. The phone just got stuck on the infinite loop and the recovery would not load as well. So I flashed the phone to stock firmware and that did not help (Did it with odin and kies) also tried installing clockwork mod but that did not help neither. Phone restarts and get stuck on Samsung loading screen. When I go to download mode phone also restarts after few seconds of me being in download mode(But after few restarts is stops, so that makes DL mode available) . Recovery menu is not available(Displays a broken robot with no errors on the bottom and also restarts after few seconds of me being in recovery menu). If anyone would help me out with this I would really appreciate it.