After you fresh install the rom you need to deknox your phone otherwise it wont work. So here we go.
1) Go and Download the " philz_touch_6.12.8-i9500.tar.md5 " located on this website
Install latest "philz_touch_6.12.8-i9500" via ODIN 1.85 Odin 1.85 For Rooting
Now go to the Philz recovery you just installed with odin..
-Flash the Deknox Removal Script <-- Click Here to direct download (VIA RECOVERY)
(Original DeKnox Thread) <-- Click Here to check out the hole theme (optional not needed)
After you flash the Knox removal script you are ready to go rooting your device.
Now go to
-Philz Options / Choose Re-root system / Choose Yes Apply (SuperSu)
-Wait until it finish, Reboot and install SuperSu from playstore
-Once installed, Open SuperSu app / It will ask you to update binaries click on Update as normal (NOT TWRP)
-Once binaries are installed reboot your device