To Hard Reset the Galaxy S4 do the following.
With the Phone off Hit and Hold the Home key, Volume Up Key and then hold down the Power Key, the Phone should then Vibrate to say its powering on. At that point you can release the Power Key but remain holding the Home and Volume keys. You should then be presented with the Android reset menu. Black screen with blue writing.
Use the Volume keys to move up and down the menu and use the Power button to select your option.
If you want to do a reset with the phone on the same can be achieved with the settings menu. Go to the following option:
Settings-Accounts Tab - Backup and Reset - Factory data reset.
With the Phone off Hit and Hold the Home key, Volume Up Key and then hold down the Power Key, the Phone should then Vibrate to say its powering on. At that point you can release the Power Key but remain holding the Home and Volume keys. You should then be presented with the Android reset menu. Black screen with blue writing.
Use the Volume keys to move up and down the menu and use the Power button to select your option.
If you want to do a reset with the phone on the same can be achieved with the settings menu. Go to the following option:
Settings-Accounts Tab - Backup and Reset - Factory data reset.