Samsung Galaxy S4 I9500 users who have already updated their devices with Android 4.2.2 XXUAMDL Jelly Bean, may root their devices using the tutorial below.
Disclaimer: Rooting voids the warranty of your device. 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!
1) Install USB Driver for Samsung Galaxy S4 on the computer.
2) Enable USB Debugging Mode on the phone.
3) Make a backup of all your important data before following the guide.
4) The Galaxy S4 I9500 should be factory unlocked and not locked to any particular carrier.
5) Ensure the battery of the phone is charged more than 80 per cent.
6) The stock recovery package works only on Samsung Galaxy S4 I9500 running on Android 4.2.2 XXUAMDE Jelly Bean. Applying this on any incorrect variant will brick the device. Verify the model number of the Galaxy S4 by selecting Settings >> About Phone.
Steps to root Galaxy S4 I9500 on Android 4.2.2 XXUAMDL Jelly Bean Firmware
Step 1: Download the SamsungI9500_cwm_Recovery_by cofface_0503.zip file for Samsung Galaxy S4 to the computer and extract using winrar/7zip/winzip or any other extracting tool.
Step 2: Download Odin 3.07 and extract the zip file
Step 3: Switch off the Galaxy S4. Then boot the device into Download Mode by pressing and holding Volume Down + Home buttons together and then press the Power button until the device turns on. Now press the Volume Up button to enter Download Mode
Step 4: Launch Odin on the computer.
Step 5: Connect the Galaxy S4 to the computer using USB cable while it is in the Download Mode. Wait until Odin detects the device. When the device is connected successfully, the ID: COM box will turn yellow with the COM port number. Additionally, the successful connected will be indicated by a message saying Added. If Odin fails to detect the device then re-install USB driver.
Step 6: In Odin, click the PDA button and select the cofface_samsungI9500_recovery_en_0503.tar file
Step 7: Verify that Auto Reboot and F.Reset Time checkboxes are selected in Odin. DO NOT Tick "Re-partition" options.
Step 8: Finally hit the Start button in Odin to begin the flashing. The installation will take some time
Step 9: When the installation process is completed the phone will restart automatically. Once the home screen appears on the phone users may safely unplug the device from the computer
Step 10: Switch off the Galaxy S4. Then boot the phone into recovery mode by pressing and holding Volume Up, Home and Power buttons together and select ROOT YOUR PHONE.
Step 11: Once rooting process is completed, return to main recovery menu and select reboot system now to reboot phone.
Samsung Galaxy S4 I9500 running on official Android 4.2.2 XXUAMDL Jelly Bean is now rooted successfully. You can now install any app that requires root permission.
[Note: If this method doesn't work try Adam Kernel (including AutoRoot with SuperSU v1.25) or Chainfire's CF-Auto-Root methods.]
Thank's to all fellas at XDA who first tried out this rooting technique. This root method was originally posted via XDA-Developers original thread.