I have faced this problem . i have solved it by using flash tool . First wipe everything before flashing any custom ROM, then flash what u want through cwm. Now don't reboot. Remove the battery and connect pH with PC (flash tool) in fastboot mode. After selecting fastboot mode from flash tool u will see an option for boot into system , click on it , let the system to become stable in first boot , turn off the pH and reboot ,your problem will be solved.
Sent from my Xperia U using XDA Premium 4 mobile app