I followed mattlgroff guide on rooting my s4 and everything works I managed to gain root but then when I flashed a custom rom (wicked and infamous) and then reboot it. It won't get past the samsung galaxy s4 screen and then reboot again to recovery. :(