Being the root user on the Samsung Galaxy S4 GT-I9506 smartphone puts you in control. It is then up to you what is installed and uninstalled on the smartphone in your hands. That means having the chance to remove any of the system apps that are firmly embedded in the /system partition as well as installing any of the apps from the Google Play Store and other sites online that usually would not run without root access.
- You must have the Samsung Galaxy S4 smartphone with the GT-I9506 model number to use this guide. The Samsung Galaxy S4 smartphones come in a range of model numbers, and if you flash the file found in this guide on any other model number, then it can get bricked. You can always find out what the model number of the Samsung Galaxy S4 smartphone is by tapping on the Menu > Settings > About Device > Model Number.
- You must have a computer that is running on the Windows operating system before you can use this guide. The Odin flashing tool does not work on Linux or Mac OS X/Mac OS. Those of you who do have access to a Mac or Linux computer only can try running Windows as a virtual machine.
BEFORE WE BEGIN
- Note that Chainfire does show us the LRX22C.I9506XXUDOA6 firmware build number that he was running when he developed the CF-Auto-Root tool that you are using in this guide. It does mean everyone needs to be running on the same firmware build number before starting this guide. He gives the build number information so people can use it as an indicator down the track if they need it. The rooting tool in this tutorial should root all of the GT-I9506 model numbers when they are running on the Android 5.0.1 Lollipop software updates.
- Anyone noticing any problems with the CF-Auto-Root tool not flashing or a Samsung Galaxy S4 not booting after flashing can let Chainfire know by posting a message on the XDA-Developers forum page  that is made for the CF-Auto-Root tool. If you leave the new recovery image found in the firmware, he can apply the changes that the rooting file needs to start working again.
- You need to install the Samsung USB Drivers on the Windows computer  before getting started with the guide if you have not installed them lately. The USB Drivers are requirements to get the Samsung Galaxy 4 smartphone detected by the flashing application.
HOW TO ROOT SAMSUNG GALAXY S4 GT-I9506 RUNNING ON ANDROID 5.0.1 LOLLIPOP SOFTWARE UPDATES
- Download the CF-Auto-Root  tool for the Samsung Galaxy S4 GT-I9506 on Android 5.0.1 Lollipop software updates.
- Open the downloads folder and then extract the rooting file to the downloads folder.
- Open the Odin flashing tool by clicking on the file from the downloads folder that is available after you extracted the rooting file in the step above.
- Boot the Samsung Galaxy S4 smartphone into the download mode  and then connect it to the computer with the USB cable.
- Check that the Odin flashing tool user interface lights up with a yellow or blue color coming from the ID: COM port which is there to let users know that the Samsung USB Drivers are working.
- Click the AP button from the Odin user interface and then click through to the downloads folder and select the rooting file.
- Choose the start button from Odin and the rooting begins.
In conclusion, that is how to root Samsung Galaxy S4 GT-I9506 smartphones running on the Android 5.0.1 Lollipop software updates by flashing Chainfire’s CF-Auto-Root tool which of course installs and enables the SuperSU. That is the same SuperSU that many others install a custom recovery to then flash from the custom recovery partition and is then installed and enabled in the same fashion. Having the SuperSU enabled and available from the app drawer means you can now open the Google Play Store application and browse for any of the root applications that you might already know. Anyone looking for some fresh ideas might be interested in checking out the Titanium Backup app which can completely uninstall any of the system apps as well as give people a comprehensive backup solution. In fact, the Titanium Backup app is the only way for people to take a full backup without using a computer and ADB commands.