[Samsung Galaxy Mega] GHsR:
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.4 (KitKat), which is designed to increase performance and reliability over stock Android for your device.

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

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 .

Device-specific source code for the Samsung Galaxy Mega 5.8 are available from

https://github.com/ghsr/android_device_samsung_i9152 and

https://github.com/ghsr/android_kernel_samsung_i9152

(For developers only - the patches are already included in the ROM)

Patch to system/core for RIL to work: https://gist.github.com/pawitp/5372673

Patch to hardware/broadcom/libbt for bluetooth to work: https://gist.github.com/pawitp/7891380.

Patch to frameworks/native to support legacy binaries: https://gist.github.com/pawitp/7891421

Patch to frameworks/native to workaround hwc issues: http://review.cyanogenmod.org/53162/ and https://gist.github.com/pawitp/7891444

Patch to frameworks/av to fix audio/video issues: https://gist.github.com/pawitp/7945188

Patch to external/chromium_org to workaround hwc issues: https://gist.github.com/pawitp/7910708

Patch to packages/app/SamsungServiceMode to fix service mode: http://review.cyanogenmod.org/57400/

Dual SIM Patches: https://gist.github.com/pawitp/9433442

Patch to frameworks/opt/telephony to fix non-looping ringtone issue: https://gist.github.com/pawitp/0f400e7b5cfb9bc70c25

Do not submit bug on CyanogenMod issue tracker

Dual-SIM

Dual-SIM works

Instructions on how to activate and deactivate dual SIM can be found in FAQ in the post CM 11.0 for Galaxy Grand Duos by @pawitp - HERE

Do not report bugs or issues in pawitp's Galaxy Grand Duos thread. Post them here

Extra Additions

APP2SD support - ability to move apps to external SD card

What is working?

Wi-Fi

Bluetooth

RIL (Calls, SMS, Mobile Data)

GPS

Sensors (Accelerometer, Compass, Light, Proximity, etc.)

Camera (photo & video)

Video playback

Audio (playback & recording)

Everything else not listed under "known issues"

Known Issues

FM Radio does not work (you can use SpiritFM, but I'm not providing support for any problem)

Stock browser does not use hardware acceleration (Please use Google Chrome)

Downloads

ROM: CyanogenMod 11

GApps: find your own package

Installation

Make a backup!

Install a custom recovery

Download the latest build

Download Gapps

Recommended - Full wipe and factory reset

Install the ROM using your custom recovery

Optionally install the Google Apps Addon

Reboot.

Enjoy!

To upgrade to a newer build, simply flash the zip. There's no need for data wipe or flashing Google Apps again.

Changelog

20150528: Added stock off-mode charger res, WCDMA only network setting. Used updated kernel from cm-12.1. Optional overclocking to 1.6 Ghz. Don't turn capacitive button backlight on screen touch. Upstream merge.

20141113: Based on CM-11 M12. Kernel version 3.0.101. Other fixes and kernel improvements. Optional overclocking to 1.5 Ghz . Enabled KSM by default. Added CABC setting.

20141104: Changed DPI to 240. Updated sources

20141020: Fixed GPS

20141017: Initial release

Credits

CyanogenMod team

@pawitp

@xenon92

@LuK1337

@KINGbabasula

@CoolDevelopment

XDA:DevDB Information

CyanogenMod 11, ROM for the Samsung Galaxy Mega 5.8

Contributors

GHsR, Kiborg_Man

Source Code: https://github.com/CyanogenMod

ROM OS Version: 4.4.x Lollipop

ROM Kernel: Linux 3.0.x

Version Information

Status: Stable

Created 2014-10-17

Last Updated 2015-05-28