Let me know if this worked:
To restore the phone to its stock condition, to revert back to Factory State:
Download Odin from here:
http://xdaforums.com/showthread.php?t=2189539
Samsung S4 uses a 2.0 A power adapter. The cord that comes with the phone MUST BE USED to connect the Galaxy S4 phone or else the rooting process will fail. Galaxy 3 or older cable CANNOT BE USED. In case of problems, besides making sure the original cable was used, try using USB ports directly connected to the computer motherboard.
TAP button in the left corner below SAMSUNG label > Settings > More > scroll down to About device > TAP on build number 5X (five times) until you see the following message displayed: Developer mode has been enabled.
TAP to back out (lower right corner button) > Developer options > CHECK: USB Debugging
Install Samsung drivers. Make sure your battery is not near empty, then connect the phone to the computer with the ORIGINAL USB cable Galaxy 4S came with, using older cables may connect the phone for file transfers but rooting attempts using old cables will fail.
00. Copy Samsung-Updates.com-SGH-M919-TMB-M919UVUAMDL-1366964131.zip to SD Card
01. Disconnect Phone from Computer.
02. Install Phone drivers on the computer.
03. Double click on Odin3 v3.07.exe > CHECK: Auto Reboot and F. Reset Time. DO NOT CHECK ANYTHING ELSE.
04. PDA > Browse to Samsung-Updates.com-KERNEL-SGH-M919-TMB-M919UVUAMDL-1366964131.tar > Open
05. Simultaneously hold volume down and Power Button until you see the Yellow Triangle screen > Volume Up.
06. Connect Phone to computer USING ORIGINAL WHITE SAMSUNG USB TO MICRO USB CABLE (try different USB port if there are problems) > Wait for phone to be recognized > Start
07. Hold Volume up and Power button simultaneously when starting it.
08. Let go as soon as you see Booting Into Recovery blue message displayed in upper left corner.
09. Press the Volume Down button to highlight [backup and restore] > Press the Power button to select highlighted item
10. apply update from external storage > choose zip from external sdcard >
Samsung-Updates.com-SGH-M919-TMB-M919UVUAMDL-1366964131.zip may need to be renamed to update.zip for this to work. Please post corrections.