Samsung S4 logo shows for 1 sec then phone boots and repeat.
Take out your device's battery and wait for 10 seconds. Press the power button for 45 seconds and then install the battery.
If the first method didn't work, try to enter "Download mode" like this:


Turn off your phone; 
Connect your phone to your computer and then hold Volume Down and Home button.