I notice that the above instructions in your post have been superceded by these instructions...
Fix Caller ID, install Google Play on the Galaxy S4 i9502
However, your inability to connect with Kies/Odin renders this academic. Are you able to get into Recovery Mode
If so, you can choose the option to Factory Reset your phone. This will wipe all data on the phone memory and return it to its out-of-the-box state which may allow you to re-connect to Kies and/or Odin.
Once you are able to connect to Odin you can use the tutorial in Mikestony's
to re-flash your firmware.