This is what I did:
I was trying to get Infamous S4 Google Edition (which is 4.4) when I was on 4.2.2. I tried to install it, but apparently it wouldn't install properly (forget the details). I tried going back to 4.2.2 to try it again, but strangely enough it boot-locked at the SAMSUNG screen. I upgraded to 4.3 and everything worked, so I tried the Infamous ROM again the next day, and it worked
Strangely enough, every time I try to charge my phone when it's powered off it boots back up again, and says something about a kernel (forget, kind of lazy to check).
Hope this kind of helps!