These are the instructions to flash Samsung Stock ROM (original firmware) using Odin on Windows Computer.
Requirements: Your Samsung Smartphone should have at-least 30-40 percent of phone batter to perform the flashing process.
Flash Samsung Stock Rom using Odin
Step 1: Download and install Samsung USB Driver on your computer. In case you have already installed the Samsung USB Driver on your computer then Skip this step.
Step 2: Download (Stock ROM compatible with your device or if you have already downloaded the firmware then ignore downloading it again) and extract it on your computer. After extracting you will be able to see these kind of files:
Step 4: Now, you have to boot into Download mode. To boot into Download Mode: Press and Hold Volume Down Key, Home Key and Power Key. When phone vibrates Leave the Power Key but Keep holding the Volume Down Key and Home key. You will boot into the Download Mode.
Step 12: Your Samsung Device will now stuck at boot (boot loop). Now, You have to boot into Stock Recovery Mode, To Enable Stock Recovery mode: Press and Hold Volume UP key, Home Key, Power Key. When phone vibrates Leave the Power Key but Keep holding the Volume UP Key and Home key. You will boot into the Recovery Mode.