INSTRUCTIONS STEP 1: Your Samsung Smartphone should have at least 30-40 percent of phone battery to perform the flashing process.
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 this kind of files:
STEP 3: 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.
In the Download mode you will be able to see a Warning Yellow Triangle Sign. In this situation, you have to press the Volume up key to continue.
STEP 4: Download and extract Odin on your computer. After extracting you will be able to see the following files:
Now, Open Odin 3.12 and connect your phone to the computer
Once you have connected the phone to the computer, Odin will automatically recognize the device and show “Added” message at the lower-left panel.
Once your device is detected by Odin, click on the “PDA” button and select the tar.md5 file that you have extracted in Step #2. STEP 5: Now, click on the “Start” button in Odin to begin the Flashing process.
Once you see, the Green Pass Message then remove the USB cable from the device (during this process, your device will restart automatically).
Now switch on your device and after reaching Google verification screen.