Disclaimer: This guide is intended as a helpful “how to”. dotTech and its writers are not responsible for any gain or loss (including but not limited to bricked devices) incurred as a result of following this guide. Root your device at your own risk. Rooting may void your warranty.
This guide is for rooting the GT-I9505 model of Samsung Galaxy S4. That is the version that has LTE and quad-core Qualcomm processor. This root method has been tested on Android Jelly Bean 4.2.2 and firmware XXUAMD2. This method may or may not work for other versions of Galaxy S4 and other firmwares.
This guide is written for Windows users.
Before We Begin
Before you can root your Galaxy S4, make sure to do the following:
- Download CF-Auto-Root-jflte-jfltexx-gti9505.zip  and extract the contents on your computer.
- Download and install Samsung USB drivers for Windows  on your computer, if you don’t have them installed already.
How To Root Samsung Galaxy S4 GT-19505
Do the following to root Samsung Galaxy S4 GT-19505:
- Make sure your device is not connected to your computer via USB and turn off the device.
- Enter ‘Download Mode’ on your Galaxy S4. This is done by pressing and holding ‘Volume Down’ + ‘Home’ + ‘Power’ buttons. Let go of the ‘Power’ button when you see the Samsung screen and wait until you are taken to a screen with triangle. Release the ‘Volume Down’ + ‘Home’ buttons and press the ‘Power’ button once to enter ‘Download Mode’.
- Now put your phone aside for a second and go to your computer.
- At your computer, find where you extracted the contents of ‘CF-Auto-Root-jflte-jfltexx-gti9505.zip’ and double-click the file named ‘Odin3 v1.85.exe’ to run ODIN.
- When ODIN is running, click ‘PDA’. Find the contents of ‘CF-Auto-Root-jflte-jfltexx-gti9505.zip’ that you extracted earlier; look for the file ‘CF-Auto-Root-jflte-jfltexx-gti9505.tar.md5’ and select it.
- Make sure ‘Repartition’ is unchecked in ODIN. Make no other changes in ODIN.
- Connect your phone — which should still be in ‘Download Mode’ — to your computer via USB.
- Look and see if one of the ‘ID: COM’ boxes in ODIN is yellow. If yes, then proceed. If not, then repeat this whole process. Take note it may take a few minutes for one of the boxes to become yellow.
- Now hit ‘Start’ button on ODIN and wait while ODIN does its work. This may take a few minutes
- After ODIN is done, your device may reboot automatically. If not, reboot it.
- Once you are back at homescreen, you are done — your Galaxy S4 is now rooted!
Congratulations — you now own a rooted Galaxy S4!
[via XDA ]