[Q] Phone stuck in sony screen

I was installing custom rom cm11 on my xperia m c1904. had installed cwm 6.0.4.6 and wiped all data as indicated. but when i tried to install from zip, it showed set_metadata_recursive some changes failed (class 7) error.. now my phone shows sony logo only in an endless loop and opens cwm recovery when volume up is pressed. what should i do? my bootloader is unlocked hence repairing from PCC doesnt work.

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer?