Here is a method to root your samsung galaxy s4 with odin follow way, just follow the steps. Power off you Galaxy S4 and hold down Volume Down, Center Home, and Power buttons together for about 5 seconds.When you see the warning screen, let go of all buttons then hit the Volume Up button to enter ODIN Download mode.Connect a micro-USB cable from your Galaxy S4 to your computer.Download Pre-rooted firmware for Galaxy S4 & ODin v1.85 to your computer and extract the zip file.
Open “Odin.exe” and connect your phone in download mode itself .
Now, click on the Start button on Odin to start the installation process. Installation will take a few minutes to complete so please wait for the complete process.
when the installation process is completed successfully you will see the “PASS” message on Odin and then your device will reboot automatically. Now, you can disconnect your device from the computer.
Finish now your phone is ROOTED
Open “Odin.exe” and connect your phone in download mode itself .
Now, click on the Start button on Odin to start the installation process. Installation will take a few minutes to complete so please wait for the complete process.
when the installation process is completed successfully you will see the “PASS” message on Odin and then your device will reboot automatically. Now, you can disconnect your device from the computer.
Finish now your phone is ROOTED