Samsung Galaxy S4 GT I9505 Cyanogenmod 13 6.0.1 Marshmellow 'Andoid starting loop' I have installed Cyanogenmod 13 6.0.1 from here: http://get.cm/?device=jflte
with TWRP recovery, i watched a video and it has alot of good feedback, i double checked everything and install Google apps successfully too. I am now in a android is starting loop, the booting logo of the rom keeps restarting and every ten minutes it says apps starting but it just keeps doing this. I tried formating alldata via the recovery but this doesnt work either. Any suggestions?
Please note that first boot always takes around 5 to 10 minutes to be sure that you've got boot loop on your device.

Before we go into the detailed instructions? Have you tried wiping dalvik cache? If not do it otherwise follow the steps below.

Here is how I would fix this issue:


Make sure that you've already installed USB drivers on the PC.
Also setup fastboot adb drivers. The minimal adb software by xda developer should work fine.
Hopefully you've got the ROM file, extract /unzip to get the boot.img file.
Copy it to the Fastboot drivers folder (Not needed if you've enabled site-wide adb commands, If you're not sure what I mean, I have written a guide on my blog)
Reboot your phone into custom recovery mode.
Run adb fastboot.
Type: "fastboot devices" make sure your device is listed.
Now type this command to flash the boot.img file:



  fastboot flash boot boot.img



Once done reboot your phone using recovery options.


This method has worked for a number of people and devices including Motorola, Google Nexus, LG , Sony and HTC. Feel free to let me know if you have further questions.