Happening now! New Honor Phone Launch
FORUMS
Remove All Ads from XDA

[ROM][UNOFFICIAL] CM 12.0 for Galaxy Grand Duos (I9082/I9082L) (Update 20150627) 2SIM

3,926 posts
Thanks Meter: 21,391
 
Post Reply Email Thread
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.

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
  1. Make a backup!
  2. If you were on CM 10.1 or a stock ROM prior to 4.2, upgrade to stock 4.2 first.
  3. Install ClockworkMod recovery with SELinux support (.tar) (.zip). Older CWM will result in a "status 7" error.
  4. Reboot into recovery
  5. Wipe data if coming from stock or another non-CM ROM (You may get a "staus 7" error if you fail to wipe.)
  6. Install the ROM
  7. 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://forum.xda-developers.com/show....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://forum.xda-developers.com/gala...5/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
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-11-16-17-05-29.jpg
Views:	94110
Size:	31.1 KB
ID:	3018147   Click image for larger version

Name:	Screenshot_2014-11-16-17-05-37.png
Views:	84288
Size:	35.5 KB
ID:	3018148   Click image for larger version

Name:	Screenshot_2014-11-16-17-05-41.png
Views:	81654
Size:	33.1 KB
ID:	3018149   Click image for larger version

Name:	Screenshot_2014-11-16-17-05-48.png
Views:	248624
Size:	59.8 KB
ID:	3018150   Click image for larger version

Name:	Screenshot_2014-11-16-17-06-06.png
Views:	78224
Size:	41.2 KB
ID:	3018159   Click image for larger version

Name:	Screenshot_2014-11-16-17-06-51.png
Views:	77856
Size:	50.6 KB
ID:	3018160   Click image for larger version

Name:	Screenshot_2014-11-16-17-06-56.png
Views:	77780
Size:	50.3 KB
ID:	3018161   Click image for larger version

Name:	Screenshot_2014-11-16-17-07-17.png
Views:	75754
Size:	116.8 KB
ID:	3018162  
The Following 309 Users Say Thank You to pawitp For This Useful Post: [ View ]
 
 
16th November 2014, 12:31 PM |#2  
SVR's Avatar
Senior Member
Flag 11.2500° N, 75.7700° E
Thanks Meter: 236
 
More
Wooo... Lollipop for our Grand! Thanks.
What is the difference between this and this (unofficial). I guess there is none as both are pointing to the same downloads page.
The Following 2 Users Say Thank You to SVR For This Useful Post: [ View ] Gift SVR Ad-Free
16th November 2014, 12:34 PM |#3  
codekidX's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 2,060
 
Donate to Me
More
Thank you @pawitp I'll test right now and report bugs with logs

Edit: ASAP
The Following 7 Users Say Thank You to codekidX For This Useful Post: [ View ] Gift codekidX Ad-Free
16th November 2014, 12:46 PM |#4  
OP Recognized Developer
Flag Bangkok
Thanks Meter: 21,391
 
More
Quote:
Originally Posted by Trilochanaaya

What is the difference between this and this (unofficial). I guess there is none as both are pointing to the same downloads page.

Accidentally created 2 threads. I've closed the other one.

Quote:
Originally Posted by Trilochanaaya

First of all thank you so much. I am unclear about this one thing, if I am on cm11 can I simply flash the ROM without a wipe?

When M-releases come out, yes. But right now, I would highly suggest you to wipe as the code to handle upgrading some databases are not merged yet.
The Following 21 Users Say Thank You to pawitp For This Useful Post: [ View ]
16th November 2014, 12:46 PM |#5  
maxxinn's Avatar
Senior Member
Flag DELHI
Thanks Meter: 76
 
More
Thanks for the cm 12 update sir...... Thanks a lot ..

Downloading right now...
16th November 2014, 12:49 PM |#6  
akiratoriyama's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 856
 
Donate to Me
More
This made my day.
Thanks
16th November 2014, 12:54 PM |#7  
maxxinn's Avatar
Senior Member
Flag DELHI
Thanks Meter: 76
 
More
Quote:
Originally Posted by akiratoriyama

This made my day.
Thanks

Mine too....
The Following 2 Users Say Thank You to maxxinn For This Useful Post: [ View ] Gift maxxinn Ad-Free
16th November 2014, 12:59 PM |#8  
RIPPER's Avatar
Senior Member
Flag From Heavens
Thanks Meter: 511
 
More
Woaaaaahh...fabulous. Thank you so much pawitp:thumbup:

Sent from my MI 3W using XDA Free mobile app
The Following 3 Users Say Thank You to RIPPER For This Useful Post: [ View ] Gift RIPPER Ad-Free
16th November 2014, 01:04 PM |#9  
Recognized Contributor
Flag Mumbai
Thanks Meter: 2,803
 
Donate to Me
More
For people that are looking for GApps and Root Access
GOOGLE DRIVE MIRROR TO DOWNLOAD THE ROM http://goo.gl/on9zdU
or this GApps: https://s.basketbuild.com/filedl/gap...109-signed.zip @pawitp (add to OP if you wish )
Root Access: http://download.chainfire.eu/589/Sup...erSU-v2.16.zip

Flash the files through recovery
The Following 32 Users Say Thank You to RVR For This Useful Post: [ View ] Gift RVR Ad-Free
16th November 2014, 01:06 PM |#10  
SACHIN SHUKLA's Avatar
Member
Flag Pune
Thanks Meter: 26
 
More
@pawitp:Thanks a lot mannnn..:thumbup::thumbup:..you have always been giving us surprises.. never expected it so early for our grand..thanks for taking out some precious time from ur real life..:thumbup::thumbup:
The Following User Says Thank You to SACHIN SHUKLA For This Useful Post: [ View ] Gift SACHIN SHUKLA Ad-Free
16th November 2014, 01:06 PM |#11  
Zephyr!'s Avatar
Senior Member
Flag ^Underground^
Thanks Meter: 12,435
 
More
Thanks OP.. Wonderful ..
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes