After few attempts to flash another ROM (Dirty Unicorns) on my Galaxy S4 LTE (I9505) I must say that I give up.
Last night I have struggle to get my phone function again.
How to restore official firmware if phone is rooted or it is stuck on boot Samsung logo? After trying to flash another ROM on my Samsung Galaxy S4 all I did is broke my phone. I stuck on the SAMSUNG boot logo. One luck is that recovery option was accessible and Download mode as well.
I found my official ROM on the internet. Downloaded on my PC and unzip it in folder where I keep ODIN files.
Just run ODIN as Administrator and select file you want to flash on your phone. In my case file is called I9505XXUHOB7_I9505YXYHOB5_I9505XXUHOB7_HOME.tar
Now Turn OFF your device and run it into Download mode. Do that with combination of Volume Down + Power + Home keys. When your screen flickers release keys and confirm Download mode by pressing Volume Up key. Now you entered Download mode. Connect your phone with PC using USB cable and wait till ODIN recognize it.
Before you start to flash official ROM make sure that Auto reboot & F. Reset Time options are checked.
When you have done that, just click Start.
Wait till ODIN finishes and phone to reboots. After process completes your phone will turn on and you can disconnect it from your PC.
Congratulations, you have successfully restore your Samsung Galaxy S4 to previous state.
Now you have Stock ROM which is not rooted.