Flash Samsung Stock ROM (Official/Original Firmware) via Odin
Step 1: Download and install device driver software on your computer.
- Visit Samsung official website to find the correspondent driver software.
- Google the driver software of your device. Download and then install it on you computer.
- Download or update Kies, part of which will install or update drivers.
Step 2: Download and extract the Stock ROM (Official/Original Firmware).

Click "Firmware" and enter your device model

Select country or type in certain info to filter, eg.Baseband version.
After
downloading it (normally a compressed file), you need to extact/unzip
it to certain location of your PC. The file types that Odin uses are
*.bin,*.tar and *.tar.md5.
Find the file you have downloaded and then unzip it to Desktop.

You will find a *.md5 file after extracting.
Step 3: Download and extract Odin on you PC.

Odin v3.10.7 zip file.
After extracting, right-click to "Open as Administrator". It may prevent certain issue from happening.
Run Odin as administartor is recommended.
Step 4: Boot your Samsung device into Download mode.
- Power off your device
- Press and hold Volume Down key, Home Key and Power Key
- When your device vibrates, release Power key while keep holding the Volume Down key and Home key
- Press Volume Up key to enter Download mode, which has a green robot figure and “Downloading… Do not turn off target!!)

Warning before entering into download mode

Now you are in download mode.
Step 5: Connect your device to PC.

Device is connected to Odin.
Step 6: Click "PDA" or "AP" to add tar.md5 file that you have extracted and then "Start".

Add *.md5 to Odin.
After adding the file, click "Start" to begin the flashing process.
Click "Start" to flash.
WARNING DO NOT REMOVE OR OPERATE ON YOUR DEVICE UNTIL FINISHED OR FAILED IS SHOWED ON ODIN.
Ongoing flashing process. Do not remove your device.
When
the flashing process is done and if everything goes well, you should
see a big green box saying "RESET" or "PASSED" (depends on the version
of Odin is used). By now, the device should be rebooted and it is safe
to remove/unplug your device.
Flash succeeded.
follow my tutorial belowe