Odin is a very useful Windows tool that lets you install / flash ROM on your Android device. Here is a step by step guide on how to use Odin to flash stock ROM on your Android smartphone / tablet:

How to Install ROM (.tar.md5) using Odin

Before you Begin:
Take care of following:
Task 1: Install USB drivers for your device on your PC. You can download and install Samsung Kies which will automatically install device drivers.
Task 2: Be sure to backup your data including Contacts, SMS / MMS, APN & MMS Settings as well as photos and videos stored on your device’s internal or external storage.
Task 3: Make sure that your device is well charged. Ideally, the battery level should be around 60-80%. The more the better.
Task 4: USB Debugging should be enabled on your device.
Task 5: Make sure that Samsung Kies is not running.
Note: Installing official firmware / stock ROM does not involve much risks most of the time. However, try this at your own risk. We will not be responsible for any hard done to your device.
Step 1: Download the official firmware zip package for your device. Then extract the downloaded zip file. After extracting, you will either get one .tar / .tar.md5 file or will get multiple files.
  • If you get one file, it will have everything inside it: PDA + Phone + CSC.
  • If you get multiple files, there will be separate files for PDA, Phone & CSC.
Step 2: Download Odin3_v3.04.zip and extract the downloaded zip file. You will get following files:
  • Odin3 v3.04.exe
  • tmax.dll
  • zlib.dll
  • Odin3.ini
Step 3: Right click on Odin3 v3.04.exe and run it as administrator to start Odin.
Step 4: Boot your device in download mode. For most Samsung devices, you will need to do this:
  • Switch your device off.
  • Press & hold Power + Home + Volume down buttons till you see a triangle and Android robot.
  • Now press the Volume up button to confirm entering the download mode.
Step 5: Once it is in download mode, connect your device to the computer via USB cable.
When your device is connected, one of Odin ID:COM boxes will turn yellow and display the COM port number. See the screenshot below:









Important: If you do not see the port number in any of ID:COM boxes or if the box does not turn yellow, please do not proceed and check if the USB drivers are installed correctly and the device is connected via USB. If you do see the message, it means that your device was detected successfully by Odin and you can now flash any firmware files onto your device using Odin.
Step 6: If the firmware zip package had just one file, click on PDA button, then browse and select the firmware file (.tar or .tar.md5).
OR
Step 6: If the firmware package had multiple files:
  • Click on PDA button, then browse and select the file that has CODE / PDA in its name.
  • Click on Phone button and select the file that has MODEM in its name.
  • Click on CSC button and select the file with CSC in its name.
Skip any files that you did not find in the package.
Step 7: Make sure that you do not mess up with checkboxes:
  • Auto Reboot and F. Reset Time checkboxes should be selected
  • All other checkboxes should be unchecked.
Step 8: After selecting the appropriate files, click on “Start” button in Odin.
This will kick off the process to flash the ROM. Please do not disconnect your device during the process.
Step 9: Once flashing is complete, your device will reboot. You can now disconnect from the PC and start using it.
That’s it. You can use these steps to flash ROM on your Android device using Odin.