Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,650 Members 40,197 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
pawitp
Old
(Last edited by pawitp; 9th July 2014 at 08:14 AM.)
#1  
Recognized Developer - OP
Thanks Meter 17294
Posts: 3,056
Join Date: Oct 2010
Location: Bangkok
Default [ROM][UNOFFICIAL] CM 11.0 for Galaxy Grand Duos (I9082/I9082L) (Update 20140709) 2SIM

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.

Code:
Select 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. 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.

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.

(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

Downloads
ROM: http://goo.im/devs/pawitp/i9082_cm11.0 (Mirror - may not contain all releases)
ROM Delta (see FAQ): http://goo.im/devs/pawitp/i9082_cm11.0/delta
Google Apps: http://wiki.cyanogenmod.org/w/Gapps

Note: The ROM download page also provide a CWM-based recovery image compatible with CM 11 flashable with Odin.

What works?
  • Wi-Fi
  • Bluetooth
  • RIL (Calls, SMS, Mobile Data)
  • Dual SIM (Experimental - SEE FAQ)
  • Sensors (Accelerometer, Compass, Light, Proximity, etc.)
  • Camera (photo & video)
  • Video playback
  • Audio (playback & recording)
  • GPS
  • Everything else not listed under "known issues"

Known Issues
  • screenrecord does not work
  • 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)
  • Sometimes wake up causes music stutter
  • Cannot changed advanced settings from dialer settings (e.g. reverse lookup) when dual SIM is enabled
  • Compass in "Sygic" app (works fine in other apps)
  • Does not work on 4.1 stock ROM's bootloader, please upgrade to 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
  • The QuickSettings tile will display the status for the currently selected SIM for data
  • There is no arrow activity indicator in the status bar.
  • Changing 2G/3G network mode using the QuickSettings toggle is not supported, only do it from Settings.
  • 3G may not work properly if Dual SIM mode is enabled with only 1 SIM inserted
  • Cannot set different ringtone for each SIM
  • Call logs doesn't know the incoming SIM

Installation
  1. Make a backup!
  2. If you were on CM 10.1 or a stock ROM prior to 4.2, upgrade to 4.2.
  3. Install ClockworkMod recovery with SELinux support. Older CWM will result in a "status 7" error.
  4. Install the ROM using ClockworkMod Recovery
  5. Optionally install the Google Apps Addon
  6. Wipe data if coming from stock
  7. Optionally enable dual SIM support (See FAQ)

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

Changelog
20140709: Fixed Rare FC in dialer settings, APN, video recording (broken in 20140708)
20140708: Based on CM-11-M8, fixed GPS
20140608: Android 4.4.3
20140531: Fix wrong per-contact ringtone, fix USB tethering, advertise Bluetooth LE capability to apps
20140527: Fix "some ringtones only ring once", fix compatibility with "Operadora DDD" app
20140506: Fix dialing SIM Prompt
20140505: Rebase on CM-11-M6, hopefully fixed low call volume, enable dual SIM by default
20140407: Fix GPS satellite status display, display both IMEI in *#06#
20140328: Fix baseband version not appearing when Dual SIM is enabled, fix FC when selecting network mode in languages other than English
20140309: Experimental Dual SIM (see FAQ), allow either slot to be used in single SIM mode
20140308: Rebased on CM-11-M4, added adaptive backlight
20140211: Rebased on CM-11-M3
20140202: Fix random camera crash
20140121: Fix service mode, update drivers from I9082LDCUBMK3
20140109: Fix in-call mute, fix serial number display, includes KSM, includes CIFS module
20140101: 3.0.101 kernel, 1.3 GHz OC available
20131225: Fix music pause-resume issue, add ISO settings in Camera, add Torch QuickSettings tile
20131224: Fix camera issues introduced in 20131223
20131223: Fix manual network search
20131217: Fix high-bitrate video playback
20131216: Fix rotation animation
20131215: Fix delete external SD photos from gallery, Wi-Fi direct, Messaging crash on clean install
20131214: Fixed audio artifacts, camera panorama (note: Messaging on clean is broken in this version if you perform a clean install)
20131211: Fixed premium SMS, battery indicator, stock browser crash
20131210: Initial release

FAQ

How do I enable/disable Dual SIM?
starting from 20140505, 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:
Select Code
su
setprop persist.radio.multisim.config dsds
Disable:
Code:
Select 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-11-20131215_to_20131216_delta-UNOFFICIAL-i9082.zip" which means that it can be used to update from 20131215 to 20131216 (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.

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.

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.

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.

Is overclock (OC) available?
Since 20140101 build, 1.3 GHz OC is available in Settings -> Performance -> Processor (enable developer mode first). Higher frequencies are not enabled since benchmark does not show additional benefit.

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.

Will you OTA support?
No. CM Updater is present on the device, but it only works for official devices. I'm not interested in adding an alternative update mechanism. If you want to know when a new ROM is released, follow the rss feed at http://goo.im/rss&path=/devs/pawitp/i9082_cm11.0.

I cannot add APNs
Make sure you set the correct MCC/MNC code, the APN will not appear otherwise. Also make sure to use menu -> save (back button means discard).

Recovery asked me "ROM may flash stock recovery on boot. Fix?" (20140527)
Short answer: "yes" or "no" doesn't matter

Long answer: Newer versions of CM starts including recovery with the ROM. However, this does not get flashed unless the "Update CM recovery" option in system settings gets ticked. If you say "no", the current recovery will not get overwritten (unless you enabled the "Update CM recovery" option), but it will continue prompting you every time. If you say "yes", CM's recovery flashing mechanism will be disabled until a newer version of the ROM is flashed.

I get "Throttle Limited Exceeded" or "We currently accept only US numbers" when an unknown number calls
It's a bug of all CM11 ROMs with the reverse lookup code in the dialer. You can work around it by

1) Disable dual SIM
2) Go to dialer settings and disable "reverse lookup"
3) Re-enable dual SIM

Does this custom kernel work? Does this app work on this ROM?
Please ask the in Q&A thread maintained by chotu22. If you're experiencing any problems while running a custom kernel or other system modifications, please remove those modifications and test again before filing a bug report.

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. The following is a useful format to follow.

Code:
Select 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):
ART Runtime:
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_2013-12-10-21-38-38.jpg
Views:	28576
Size:	48.7 KB
ID:	2445968   Click image for larger version

Name:	Screenshot_2013-12-10-21-38-50.png
Views:	24275
Size:	80.7 KB
ID:	2445969   Click image for larger version

Name:	Screenshot_2013-12-10-21-39-46.jpg
Views:	22509
Size:	48.8 KB
ID:	2445970   Click image for larger version

Name:	Screenshot_2013-12-10-21-40-00.png
Views:	19631
Size:	47.3 KB
ID:	2445971   Click image for larger version

Name:	Screenshot_2014-03-07-18-18-48.jpg
Views:	12066
Size:	23.6 KB
ID:	2620894  

Click image for larger version

Name:	Screenshot_2014-03-09-08-36-55.png
Views:	10560
Size:	41.5 KB
ID:	2620895   Click image for larger version

Name:	Screenshot_2014-03-09-08-37-07.png
Views:	10983
Size:	63.5 KB
ID:	2620896   Click image for larger version

Name:	device-2014-05-17-072656.png
Views:	4669
Size:	47.7 KB
ID:	2747761  
Please do not use email, PM or use social network to ask for support (use the thread), ask for help on another device (I can't help without access to the device) or recommendation on the "best" device/ROM (I only know about what I use).

If you like my work, please consider donating via PayPal using the address p.pawit [at] gmail.com
(if PayPal says that it is not available, please do not mark the payment as a donation and it will go through)
The Following 268 Users Say Thank You to pawitp For This Useful Post: [ Click to Expand ]
 
zafo2012
Old
#2  
Member
Thanks Meter 3
Posts: 43
Join Date: Jun 2013
Default Woow!

Cant wait to download!!! Thanks man....
The Following 2 Users Say Thank You to zafo2012 For This Useful Post: [ Click to Expand ]
 
androidbaba
Old
#3  
Senior Member
Thanks Meter 144
Posts: 777
Join Date: Nov 2008
FIRST!!
THANK YOU very much for your efforts
you are the MAN
The Following User Says Thank You to androidbaba For This Useful Post: [ Click to Expand ]
 
goku15
Old
#4  
goku15's Avatar
Member
Thanks Meter 19
Posts: 68
Join Date: Jun 2013
Thanks pawitp!!!!! Is there any way I can donate you?? You are simply the best and you do deserve some real credit.
The Following 4 Users Say Thank You to goku15 For This Useful Post: [ Click to Expand ]
 
sachitoo
Old
#5  
sachitoo's Avatar
Member
Thanks Meter 8
Posts: 32
Join Date: Apr 2012
Woow !

Sent from my GT-I9082 using Tapatalk 2
The Following 2 Users Say Thank You to sachitoo For This Useful Post: [ Click to Expand ]
 
codekidX
Old
#6  
codekidX's Avatar
Senior Member
Thanks Meter 1548
Posts: 1,000
Join Date: Mar 2012
Location: Mumbai

 
DONATE TO ME
I will help you through all bugs with logs if any
Thnx for the rom

Sent from my GT-I9082 using xda app-developers app
The Following 5 Users Say Thank You to codekidX For This Useful Post: [ Click to Expand ]
 
pawitp
Old
#7  
Recognized Developer - OP
Thanks Meter 17294
Posts: 3,056
Join Date: Oct 2010
Location: Bangkok
Quote:
Originally Posted by goku15 View Post
Thanks pawitp!!!!! Is there any way I can donate you?? You are simply the best and you do deserve some real credit.
Please see my signature.
Please do not use email, PM or use social network to ask for support (use the thread), ask for help on another device (I can't help without access to the device) or recommendation on the "best" device/ROM (I only know about what I use).

If you like my work, please consider donating via PayPal using the address p.pawit [at] gmail.com
(if PayPal says that it is not available, please do not mark the payment as a donation and it will go through)
The Following 9 Users Say Thank You to pawitp For This Useful Post: [ Click to Expand ]
 
Sulaimanshariff
Old
#8  
Sulaimanshariff's Avatar
Senior Member
Thanks Meter 327
Posts: 1,029
Join Date: Aug 2013
Quote:
Originally Posted by pawitp View Post
Please see my signature.
Thanks a million thanks a million and thanks a ton i had a lil hard feelings but just couldn't control am sorry for everything in the past brother and again thanks for all your awesome efforts:thumbup:

sent from slimbean unofficial 20131115 BY XENON92
 
Zephyr!
Old
#9  
Zephyr!'s Avatar
Senior Member
Thanks Meter 12164
Posts: 7,612
Join Date: Jan 2013
Location: ^Underground^
Thanks for the rom.

Razor!
The Following 2 Users Say Thank You to Zephyr! For This Useful Post: [ Click to Expand ]
 
androidbaba
Old
(Last edited by androidbaba; 10th December 2013 at 03:10 PM.)
#10  
Senior Member
Thanks Meter 144
Posts: 777
Join Date: Nov 2008
Quote:
Originally Posted by Razor! View Post
Thanks for the rom.

Razor!
[QUOTE/]Optionally install the Google Apps Addon[/QUOTE]
so flashing gapps in not mandatory??

The Following User Says Thank You to androidbaba For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes