CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.0.2 (Lollipop), which is designed to increase performance and reliability over stock Android for your device.
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.
Device-specific source code for the Samsung Galaxy Grand Duos are available from https://github.com/pawitp/android_device_samsung_i9082 and https://github.com/pawitp/android_kernel_samsung_i9082.
Compatibilitiy Patches: https://gist.github.com/pawitp/cba169c87dba57eea8ef
(Please give credit if you use them in your ROM and if you fix something, please submit patches.)
Do not submit bug on CyanogenMod issue tracker
Downloads
ROM: http://goo.im/devs/pawitp/i9082_cm12.0 or http://d-h.st/users/pawitp/?fld_id=41223 or https://s.basketbuild.com/devs/pawitp/i9082_cm12.0/
Google Apps: http://d-h.st/users/dhacker29/?fld_id=27426 (use the one named "lp", not "lpmr1")
What works?
Known Issues
Additionally, Dual SIM has the following limitations:
Installation
To upgrade to a newer build, simply flash the zip. There's no need for data wipe or flashing Google Apps again. (However, during this ALPHA stage, if you are experiencing strange issues, you may want to try a wipe.)
Changelog
20150627: Upstream merge (based on YNG4N) (final release)
20150502: Implement performance profile, implement display color calibration, fix lag when using LiveDisplay. fix taking photo with flash using the back camera after taking a photo using the front camera
20150330: Upstream merge
20150320: Fix Wi-Fi and random reboots introduced in 20150319
20150319: Upstream merge (WARNING: Wi-Fi and reboot issues; do not use)
20150312: Upstream merge (fixes MMS crash)
20150311: Upstream merge
20150224: Upstream merge
20150222: Fix app2sd, fix Google Play Movies
20150215: Upstream merge
20150208: Upstream merge (fixes "Ask first" for SIM to use for SMS)
20150204: Upstream merge
20150201: Upstream merge
20150127: Fix missing menu background in apps using holo theme, CMUpdater's compatibility with CWM
20150125: Fix camera freeze on switching front-back cam, fix Trebuchet app page layout, another fix for increasing music volume after notification (from upstream)
20150215: Upstream merge
20150124: Fix center clock crash, fix camera crash on exit
20150123: Upstream merge
20150119: Fix wrong SIM name, fix app2sd on ExFAT
20150116: Upstream merge, fix .wav recording, fix call settings crash
20150115: Upstream merge (might contain fix for increasing music volume after notification)
20150114: Upstream merge
20150108: Fix crash in messaging
20150103: Upstream merge
20141228: Fix status bar brightness adjustment, fix dialer search text taking 2 lines
20141226: Fix volume key, improved switching data SIM
20141224: Fix per-sim ringtone, "up" button in call settings. Removed crashing "X-Divert" setting.
20141223: Fix lock screen double carrier display, missing settings for volume key, SIM name not persisting, Settings "Running" crash
20141221: Fix Miracast, don't turn capacitive button backlight on screen touch
20141220: 5.0.2, Fix screen record, freeze on low video RAM, change log display in CMUpdater
20141218: Fix STK, install on smaller /system, added OTA (see FAQ).
20141216: Fix video freeze in YouTube/browser
20141215: Fix screen off animation
20141212: New music player, fix APN selection not being respected
20141211: Fix FC when accessing mobile network settings
20141210: Fix app name/icon not displayed with app2sd, toggling SIM2 data from Quick Settings, use audioflinger for resampling
20141206: Improve root compatibility, 5.0.1, app2sd, delta update
20141202: Fix root
20141128: Fixed voice note in WhatsApp, SIM PIN, incoming call crash, 2G/3G selection in non-English languages. SELinux is now in enforcing mode (you may need to wipe if you have ever used a custom kernel with SELinux disabled)
20141123: Fixed unable to select 2G/3G, "Carrier Settings" FC, FC when dual SIM disabled, sometimes not able to set APNs, low Wi-Fi download performance when screen off
20141121: Fixed "call feature" crash, random reboots (Note: may require wipe or "pm clear com.android.launcher3" if launcher is crashing)
20141120: Fixed .wav playback, video recording, off-mode charging, "mount /data" error in install script, low call volume
20141116: Initial release
For CM changelog (upstream merge), please see http://www.cmxlog.com/12/. All builds include upstream merge.
FAQ
Sometimes the people on the other side of the call cannot hear me
The real cause of this is unknown, but this is often found with people using the I9082DDUBNB1 baseband/modem. Some people have reported that flashing a different baseband (e.g. I9082XXUBMK3) has resolved the problem. A collection of basebands can be found at http://xdaforums.com/showthread.php?t=2496989. Or you can also try I9082LUBUBMK1 that I use.
How do I enable/disable Dual SIM?
Dual SIM support is enabled by default. If you only use 1 SIM and wants to disable Dual SIM support, you can use the following instruction:
Enable:
Disable:
(Instruction screenshots)
What are incremental/delta updates?
Delta updates allow updating from one version to another downloading only the difference rather than the full ROM, for those on limited bandwidth. They are named like "cm-12-20141206_from_20141202_delta-UNOFFICIAL-i9082.zip" which means that it can be used to update from 20141202 to 20141206 (simply flash it in recovery like any other update). Delta updates will not work if you have installed custom kernels or other system modifications, including editing build.prop. In those cases, downloading the full update is recommended (flashing a full update will not wipe your data).
If you want to restart from a clean state to use the delta. First format /system (not /data). Then flash full zip of any build. Then flash the gapps linked in this post. Do not flash any other zip or make any other modification to /system. After that, you should be able to use the delta. This will not erase your data, which is on /data.
How does OTA work?
Starting from 20141218 build, you will be able to check for and install update via Settings -> About -> CyanogenMod updates. Updates will be downloaded from the BasketBuild mirror. Delta updates will be used automatically if available (e.g. update to the immediate next build). Otherwise, the full update will be downloaded.
If after using the OTA, the version number remained the same, it means that the delta update was not flashed properly. See the "What are incremental/delta updates?" FAQ for more details. The error message is also available is /cache/recovery/last_log.
The Music app crashes every time I open it
There seems to be something causing corruption in the Media album art database. Clearing the data of the "Media Storage" application and rebooting should fix it.
To clear data, go to: Settings -> Apps -> All -> Media Storage -> Clear Data. Then reboot.
Login with Google does not work in some apps
Sometimes, on a fresh wipe, the phone language will be set to an invalid language. Changing it to a valid one from Settings should fix the issue.
Battery Statistics shows that Wi-Fi is always on even though I've turned it off.
If you are using "scanning always available" in Advanced Wi-Fi Settings, then Wi-Fi will always be on to scan for available network to aid location discovery.
How do I enable root?
Root is now disabled by default in CM. To enable root, first enable developer options. Then enable it in Settings -> Developer Options -> Root access.
I'm having battery issues
Read http://xdaforums.com/galaxy-grand-d...galaxy-grand-duos-i9082-t2942255/post57836573
Can you include Feature X into your ROM?
No. This ROM will have CyanogenMod's feature set.
Can you include S-Note/S-Planner/MultiWindow/Insert Samsung App Here?
No. This is an AOSP ROM and cannot have TouchWiz applications.
Can you include call recording?
No. CyanogenMod does not include call recording to avoid potential legal issues. In addition, unless a stock ROM with call recording is found, it is highly likely that it is not supported by our hardware.
Can you add Feature X to the stock ROM?
No. I don't work on stock ROMs.
What kernel does this ROM use?
A slightly modified version of the stock kernel, the source code is linked above.
I've heard that Broadcom doesn't release source, how can you make this ROM?
Contrary to the popular belief, userspace driver source code is not always required to make an AOSP-based ROM as long as the proprietary binaries shipped with the device does not modify the API too heavily (or is from a very different version of Android). Instead of modifying the source code of the drivers, the Android source code was adapted to be able to use the proprietary binaries.
Can I use your ROM as a base?
http://source.android.com/source/licenses.html
Most of Android/CyanogenMod is licensed under the Apache License with other small parts licensed under other open-source licenses. Which means that you may modify and redistribute without asking for permission as long as the proper credits is given and it is not misappropriated as being the official CyanogenMod. (In other words, you must say that it is based on pawitp's unofficial CyanogenMod, but is not related to CyanogenMod in any other way.)
Will you make this official CM?
Due to the amount of work and commitment involved, I am not planning to make an official CM port.
For example, I would have to re-format the compatibility patches in such a way that merging it into CM will not break other devices. When critical problems occur in an automatic nightly build, I would be expected to fix it in a day or two because users would continue to download those builds (as opposed to unofficial builds that I can test before releasing). I will also need to justify every modification made to the ROM, as it affects CM as a whole. For example, I may not be able to include the Samsung-style backlight behavior or WCDMA-only setting.
Can contacts be saved to phone/SIM?
No. It is not supported in AOSP-based ROMs.
Can I send files over Wi-Fi Direct?
Yes, but you must use third-party applications. The implementation provided on Samsung ROMs is not an open standard. AOSP/CM does not provide a native way to send files over Wi-Fi Direct.
Can I mirror your ROM?
You're free to, but I will not list it in this post.
Will feature X from a previous version of CM be implemented?
I don't know, probably will be, eventually. I don't really involve myself in the feature-set side of CM.
Reporting Bugs
You are allowed to report bugs only in this thread.
Thanks
- The CyanogenMod team for providing a great ROM. Without all the compatibility work which went into it, this ROM would've been much harder to make
- My real-life friend for letting me borrow his phone to work on this
- RampantRhino for donating a phone to help me continue with this project
Code:
#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.
Device-specific source code for the Samsung Galaxy Grand Duos are available from https://github.com/pawitp/android_device_samsung_i9082 and https://github.com/pawitp/android_kernel_samsung_i9082.
Compatibilitiy Patches: https://gist.github.com/pawitp/cba169c87dba57eea8ef
(Please give credit if you use them in your ROM and if you fix something, please submit patches.)
Do not submit bug on CyanogenMod issue tracker
Downloads
ROM: http://goo.im/devs/pawitp/i9082_cm12.0 or http://d-h.st/users/pawitp/?fld_id=41223 or https://s.basketbuild.com/devs/pawitp/i9082_cm12.0/
Google Apps: http://d-h.st/users/dhacker29/?fld_id=27426 (use the one named "lp", not "lpmr1")
What works?
- Wi-Fi
- Bluetooth
- RIL (Calls, SMS, Mobile Data)
- Dual SIM
- Sensors (Accelerometer, Compass, Light, Proximity, etc.)
- Camera (photo)
- Video playback
- Audio (playback & recording)
- GPS
- Everything else not listed under "known issues"
Known Issues
- FM Radio does not work
- Sometimes wake up causes music stutter
- Unable to un-pin screen without rebooting
- Some users have reported issues with call audio (see FAQ for a possible fix)
- Some users have reported low volume when recording video
- Does not work on 4.1 stock ROM's bootloader, please upgrade to stock 4.2 before flashing
Additionally, Dual SIM has the following limitations:
- Both SIMs are always enabled (no way to disable one SIM)
- "Receive incoming call while data is enabled" is always enabled
Installation
- Make a backup!
- If you were on CM 10.1 or a stock ROM prior to 4.2, upgrade to stock 4.2 first.
- Install ClockworkMod recovery with SELinux support (.tar) (.zip). Older CWM will result in a "status 7" error.
- Reboot into recovery
- Wipe data if coming from stock or another non-CM ROM (You may get a "staus 7" error if you fail to wipe.)
- Install the ROM
- Optionally install the Google Apps Addon
To upgrade to a newer build, simply flash the zip. There's no need for data wipe or flashing Google Apps again. (However, during this ALPHA stage, if you are experiencing strange issues, you may want to try a wipe.)
Changelog
20150627: Upstream merge (based on YNG4N) (final release)
20150502: Implement performance profile, implement display color calibration, fix lag when using LiveDisplay. fix taking photo with flash using the back camera after taking a photo using the front camera
20150330: Upstream merge
20150320: Fix Wi-Fi and random reboots introduced in 20150319
20150319: Upstream merge (WARNING: Wi-Fi and reboot issues; do not use)
20150312: Upstream merge (fixes MMS crash)
20150311: Upstream merge
20150224: Upstream merge
20150222: Fix app2sd, fix Google Play Movies
20150215: Upstream merge
20150208: Upstream merge (fixes "Ask first" for SIM to use for SMS)
20150204: Upstream merge
20150201: Upstream merge
20150127: Fix missing menu background in apps using holo theme, CMUpdater's compatibility with CWM
20150125: Fix camera freeze on switching front-back cam, fix Trebuchet app page layout, another fix for increasing music volume after notification (from upstream)
20150215: Upstream merge
20150124: Fix center clock crash, fix camera crash on exit
20150123: Upstream merge
20150119: Fix wrong SIM name, fix app2sd on ExFAT
20150116: Upstream merge, fix .wav recording, fix call settings crash
20150115: Upstream merge (might contain fix for increasing music volume after notification)
20150114: Upstream merge
20150108: Fix crash in messaging
20150103: Upstream merge
20141228: Fix status bar brightness adjustment, fix dialer search text taking 2 lines
20141226: Fix volume key, improved switching data SIM
20141224: Fix per-sim ringtone, "up" button in call settings. Removed crashing "X-Divert" setting.
20141223: Fix lock screen double carrier display, missing settings for volume key, SIM name not persisting, Settings "Running" crash
20141221: Fix Miracast, don't turn capacitive button backlight on screen touch
20141220: 5.0.2, Fix screen record, freeze on low video RAM, change log display in CMUpdater
20141218: Fix STK, install on smaller /system, added OTA (see FAQ).
20141216: Fix video freeze in YouTube/browser
20141215: Fix screen off animation
20141212: New music player, fix APN selection not being respected
20141211: Fix FC when accessing mobile network settings
20141210: Fix app name/icon not displayed with app2sd, toggling SIM2 data from Quick Settings, use audioflinger for resampling
20141206: Improve root compatibility, 5.0.1, app2sd, delta update
20141202: Fix root
20141128: Fixed voice note in WhatsApp, SIM PIN, incoming call crash, 2G/3G selection in non-English languages. SELinux is now in enforcing mode (you may need to wipe if you have ever used a custom kernel with SELinux disabled)
20141123: Fixed unable to select 2G/3G, "Carrier Settings" FC, FC when dual SIM disabled, sometimes not able to set APNs, low Wi-Fi download performance when screen off
20141121: Fixed "call feature" crash, random reboots (Note: may require wipe or "pm clear com.android.launcher3" if launcher is crashing)
20141120: Fixed .wav playback, video recording, off-mode charging, "mount /data" error in install script, low call volume
20141116: Initial release
For CM changelog (upstream merge), please see http://www.cmxlog.com/12/. All builds include upstream merge.
FAQ
Sometimes the people on the other side of the call cannot hear me
The real cause of this is unknown, but this is often found with people using the I9082DDUBNB1 baseband/modem. Some people have reported that flashing a different baseband (e.g. I9082XXUBMK3) has resolved the problem. A collection of basebands can be found at http://xdaforums.com/showthread.php?t=2496989. Or you can also try I9082LUBUBMK1 that I use.
How do I enable/disable Dual SIM?
Dual SIM support is enabled by default. If you only use 1 SIM and wants to disable Dual SIM support, you can use the following instruction:
Enable:
Code:
su
setprop persist.radio.multisim.config dsds
Disable:
Code:
su
setprop persist.radio.multisim.config none
(Instruction screenshots)
What are incremental/delta updates?
Delta updates allow updating from one version to another downloading only the difference rather than the full ROM, for those on limited bandwidth. They are named like "cm-12-20141206_from_20141202_delta-UNOFFICIAL-i9082.zip" which means that it can be used to update from 20141202 to 20141206 (simply flash it in recovery like any other update). Delta updates will not work if you have installed custom kernels or other system modifications, including editing build.prop. In those cases, downloading the full update is recommended (flashing a full update will not wipe your data).
If you want to restart from a clean state to use the delta. First format /system (not /data). Then flash full zip of any build. Then flash the gapps linked in this post. Do not flash any other zip or make any other modification to /system. After that, you should be able to use the delta. This will not erase your data, which is on /data.
How does OTA work?
Starting from 20141218 build, you will be able to check for and install update via Settings -> About -> CyanogenMod updates. Updates will be downloaded from the BasketBuild mirror. Delta updates will be used automatically if available (e.g. update to the immediate next build). Otherwise, the full update will be downloaded.
If after using the OTA, the version number remained the same, it means that the delta update was not flashed properly. See the "What are incremental/delta updates?" FAQ for more details. The error message is also available is /cache/recovery/last_log.
The Music app crashes every time I open it
There seems to be something causing corruption in the Media album art database. Clearing the data of the "Media Storage" application and rebooting should fix it.
To clear data, go to: Settings -> Apps -> All -> Media Storage -> Clear Data. Then reboot.
Login with Google does not work in some apps
Sometimes, on a fresh wipe, the phone language will be set to an invalid language. Changing it to a valid one from Settings should fix the issue.
Battery Statistics shows that Wi-Fi is always on even though I've turned it off.
If you are using "scanning always available" in Advanced Wi-Fi Settings, then Wi-Fi will always be on to scan for available network to aid location discovery.
How do I enable root?
Root is now disabled by default in CM. To enable root, first enable developer options. Then enable it in Settings -> Developer Options -> Root access.
I'm having battery issues
Read http://xdaforums.com/galaxy-grand-d...galaxy-grand-duos-i9082-t2942255/post57836573
Can you include Feature X into your ROM?
No. This ROM will have CyanogenMod's feature set.
Can you include S-Note/S-Planner/MultiWindow/Insert Samsung App Here?
No. This is an AOSP ROM and cannot have TouchWiz applications.
Can you include call recording?
No. CyanogenMod does not include call recording to avoid potential legal issues. In addition, unless a stock ROM with call recording is found, it is highly likely that it is not supported by our hardware.
Can you add Feature X to the stock ROM?
No. I don't work on stock ROMs.
What kernel does this ROM use?
A slightly modified version of the stock kernel, the source code is linked above.
I've heard that Broadcom doesn't release source, how can you make this ROM?
Contrary to the popular belief, userspace driver source code is not always required to make an AOSP-based ROM as long as the proprietary binaries shipped with the device does not modify the API too heavily (or is from a very different version of Android). Instead of modifying the source code of the drivers, the Android source code was adapted to be able to use the proprietary binaries.
Can I use your ROM as a base?
http://source.android.com/source/licenses.html
Most of Android/CyanogenMod is licensed under the Apache License with other small parts licensed under other open-source licenses. Which means that you may modify and redistribute without asking for permission as long as the proper credits is given and it is not misappropriated as being the official CyanogenMod. (In other words, you must say that it is based on pawitp's unofficial CyanogenMod, but is not related to CyanogenMod in any other way.)
Will you make this official CM?
Due to the amount of work and commitment involved, I am not planning to make an official CM port.
For example, I would have to re-format the compatibility patches in such a way that merging it into CM will not break other devices. When critical problems occur in an automatic nightly build, I would be expected to fix it in a day or two because users would continue to download those builds (as opposed to unofficial builds that I can test before releasing). I will also need to justify every modification made to the ROM, as it affects CM as a whole. For example, I may not be able to include the Samsung-style backlight behavior or WCDMA-only setting.
Can contacts be saved to phone/SIM?
No. It is not supported in AOSP-based ROMs.
Can I send files over Wi-Fi Direct?
Yes, but you must use third-party applications. The implementation provided on Samsung ROMs is not an open standard. AOSP/CM does not provide a native way to send files over Wi-Fi Direct.
Can I mirror your ROM?
You're free to, but I will not list it in this post.
Will feature X from a previous version of CM be implemented?
I don't know, probably will be, eventually. I don't really involve myself in the feature-set side of CM.
Reporting Bugs
You are allowed to report bugs only in this thread.
- Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
- If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
- If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Code:
What is your--
Phone model (I9082 or I9082L):
Radio (baseband):
CM version:
CM Download url:
Gapps version:
Did you--
wipe:
restore with titanium backup:
reboot after having the issue:
Are you using--
a task killer:
a non-stock kernel:
CMSettings/Performance settings (other than stock):
Dual SIM:
other modifications:
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
Thanks
- The CyanogenMod team for providing a great ROM. Without all the compatibility work which went into it, this ROM would've been much harder to make
- My real-life friend for letting me borrow his phone to work on this
- RampantRhino for donating a phone to help me continue with this project
Attachments
-
Screenshot_2014-11-16-17-05-29.jpg31.1 KB · Views: 100,792
-
Screenshot_2014-11-16-17-05-37.png35.5 KB · Views: 90,764
-
Screenshot_2014-11-16-17-05-41.png33.1 KB · Views: 88,222
-
Screenshot_2014-11-16-17-05-48.png59.8 KB · Views: 271,880
-
Screenshot_2014-11-16-17-06-06.png41.2 KB · Views: 84,807
-
Screenshot_2014-11-16-17-06-51.png50.6 KB · Views: 84,116
-
Screenshot_2014-11-16-17-06-56.png50.3 KB · Views: 83,377
-
Screenshot_2014-11-16-17-07-17.png116.8 KB · Views: 81,441
Last edited: