This tutorial uses Root Exploit package released by Senior XDA-Developers, k1mu. The Root Exploit package allows Galaxy S4 users to root their devices easily without tripping the KNOX warranty void counter.
Disclaimer: We and the developer of this rooting procedures shall not be held responsible if any undesirable outcomes may happen to your device. use of this root guide is solely at your own risk!
Note: This method will NOT set the KNOX warranty void flag. It will set the "Custom" flag, but that's nothing to worry about.
1. Install USB Drivers for Samsung Galaxy S4 on the computer.
2. Enable USB Debugging Mode on the phone. Go to Settings >> About Phone. Tap on Build Number several times till the message shows "You are now a Developer". Then enable USB debugging by navigating to Settings >> Developer Options.
3. Make a backup of all your important data before following the guide.
4. Ensure the battery of the phone is charged more than 80 percent.
5. The Root Exploit package works only on the Sprint version of the Galaxy S4 with model numbers SPH-L720 (3G) and SPH-L720T (LTE). Applying this to any incorrect variant might brick the device. Verify the model number of the Galaxy S4 by navigating to Settings >> About Phone.
1. Root Exploit (saferoot.zip) - Mirror Link
Steps to Root Galaxy S4 (Sprint) SPH-L720/L720T Running on Android 4.3 Jelly Bean
Step 1: Extract the Root Exploit package to the computer using WinRAR/7-Zip/WinZip or any other extracting tool.
Step 2: Connect the Galaxy S4 to the computer using USB cable.
Step 3: On the computer, navigate to the extracted directory and double click "install.bat" file. You will see command prompt window which will detect your device and automatically run the scripts.
Step 4: Follow the on-screen instructions. Once the rooting procedure completes, your phone will reboot automatically.
That's it! Samsung Galaxy S4 (Sprint) SPH-L720/L720T with Android 4.3 Jelly Bean is now rooted successfully. You can now install any app that requires root permission. Verify the root status of the device by downloading Root Checker app from Google Play Store.
Note: Many Samsung devices store a flash counter that keeps track of how many times you have flashed custom firmwares to your device. Triangle Away can be used to reset the flash counter to zero.
Thank's to all fellas at XDA who first tried out this rooting technique. This method was originally posted via XDA-Developers original thread.