CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Unofficial build of CyanogenMod 11 (Android 4.4.4) for the Sony Xperia M2 (eagle)
What's working:
[*]Display[*]Audio playback[*]Audio recording[*]Video playback[*]Screenshot[*]External SDcard[*]Internal SDcard[*]WiFi[*]Bluetooth[*]Notification LED[*]MTP[*]Torch
Not working:
Camera (http://pastebin.com/Te5CTy9a)
Sensors (light-sensor, accelerometer)
Brightness control
GPS
RIL
It's entirely possible that features not used by me are broken, but overall the device should be usable. You have been warned.
Download:
Install instructions:
Boot into Recovery
Wipe data and cache
Flash the CM11 zip
Reboot
Reboot into Recovery
Install gapps
Reboot
Upgrading from earlier version of CyanogenMod 11:
Boot into Recovery
Flash CM11 zip
Reboot
XDA:DevDB Information
CyanogenMod 11 for Xperia M2, ROM for the Sony Xperia M2
Contributors
galaxyfreak
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Unlocked Bootloader
Based On: CyanogenMod