I installed Cyanogenmod on my Xperia M from this thread: http://forum.xda-developers.com/show....php?t=2584956
After that I installed Google Apps package. But I accidentally messed something up so I wiped the /system, /cache, /data via CWM recovery and re flashed the ROM. It booted up correctly, but I want to know if my procedure was incorrect or I needed to flash 4.3 firmware first before flashing Cyanogenmod to my device? Its working fine now. I just want to know if Cyanogenmod is independent or if it needs /system from 4.3 stock firmware.
Also, I want to know how to wipe my INTERNAL SD card, the card which isn't removable?
Please reply ASAP.