1) Flash PhilZ Touch Recovery using your current CWM recovery. Download it from here 2) In Philz recovery, select Mount and Storage -> format /system and format /data. 3) Now, select wipe data / factory reset. 4) Flash the ROM. Done!