These are the instructions to flash or install Samsung Stock ROM (firmware) on Samsung Devices using Odin Downloader Tool.
Requirements: Your Samsung Device should have at least 30-40 percent of phone battery to perform the flashing process.
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 Samsung ROM (Stock ROM compatible with your device; if you have already downloaded the ROM then avoid downloading it again) and extract it on your computer. After extracting, you will be able to see similar files:
Step 3: Power Off your Samsung Device.
Step 4: Now, you have to boot the device 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 on holding the Volume Down Key and Home key. You will boot into the Download Mode.
Step 5: In the Download Mode, you will be able to see a Warning Yellow Triangle Sign. In that situation you have to press the Volume up key to continue.
Step 6: Download and extract Odin Tool on your computer. After extracting you will be able to see the following files:
Step 7: Now, Open Odin3 and connect your Samsung Device to the computer.
Step 8: Once you have connected the device to the computer, Odin will automatically recognize the device and show “Added” message in the lower-left log area.
Step 9: Once your device is detected by the Odin Tool, click on the “PDA” button and select the tar.md5 file that you have extracted in Step #2.
Step 10: Now, click on the “Start” button in Odin to begin the Flashing process.
Step 11: Once you see, the Green Pass Message then remove the USB cable from the device (during this process, your device will restart automatically).
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.
Step 13: In Recovery Mode, Wipe Data/factory reset.
Step 14: Once Cache Data is cleared, Select Restart Phone Now from the recovery menu.
Step 15: Now, your Samsung Device will restart without any issue with the Stock ROM you have downloaded.
[*] Data Loss Process: Flashing Stock ROM is always a data loss procedure. Therefore, we recommend you to take a backup of your personal data before flashing the Stock ROM.
[*] Flashing Stock ROM or Downgrading Stock ROM does not void your Phone warranty.
[*] Samsung Stock Firmware: If you are looking for the original firmware for your device then head over to Download Samsung Stock Firmware for all devices page.
[*] Samsung USB Driver: If you are looking for the original USB Driver for your device then head over to Download Samsung USB Driver for all devices page.
[*] Credits: Samsung Mobility LLC creates Odin Downloader tool. So full credit goes to them for sharing the tool for free.