Bootloop after System Restore
I just solved the problem by installing a ROM (in this case, CM13), and the problem is gone.

I still need to wipe and do a Factory Reset, because it came from another ROM.

After wiping, the ROM should install, and you could now get to the Operating System.