problem with root s4 gt-i9515
Try Frama root apk . 
It roots all high end devices.

How to install: 


Download Framaroot from XDA
Run, choose Superuser or SuperSU 
Select Boromir or another character 
You will see :-)
Reboot device 
Root- installed