After booting from Odin, I can't turn on the screen. It gets stuck on Samsung Galaxy S4 logo. I tried to do a factory reset. It says completed, but then it has a
no command error under the Android logo.
Is there any way to fix that?
The good new is your phone is not bricked, so yes, you can still fix it.
Just enter download mode again and flash with odin one more time.
To enter download mode you have to: