FORUMS
Remove All Ads from XDA

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

3,928 posts
Thanks Meter: 21,408
 
Post Reply Email Thread
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.1.1 (Lollipop), which is designed to increase performance and reliability over stock Android for your device.

Due to having less free time and losing interest in custom ROM development, this ROM will no longer be updated.

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/88a1d4514a0734c866c7
(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:Google Apps: http://d-h.st/users/dhacker29/?fld_id=27426 (use the one named "lpmr1") or http://wiki.cyanogenmod.org/w/Gapps (use "arm")

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

Known Issues
  • FM Radio does not work (some users have reported that the Spirit1 FM app can be used as a work around)
  • Some users have reported issues with call audio (see FAQ for a possible fix)
  • Some users have reported low volume when recording video
  • Snapchat crashes
  • 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
  • Default data SIM sometimes reset on reboot

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 such as CWM (.tar) (.zip) or Cyanogen Recovery (.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, if you are experiencing strange issues, you may want to try a wipe.)

Changelog
20160402: Fix encryption
20160219: Upstream merge
20160108: Upstream merge, switched to logd instead of kernel log buffer
20151219: Upstream merge
20151128: Upstream merge
20151115: Upstream merge, make delta updates compatible with capps
20151031: Upstream merge
20151023: Upstream merge
20151010: Upstream merge
20151003: Upstream merge
20150926: Upstream merge
20150920: Switch to BFQ IO scheduler to take advantage of CM optimizations
20150912: Upstream merge
20150906: Upstream merge (may fix random reboots, please provide feedback)
20150827: Upstream merge (fixes chrome crash issue) (WARNING: some users have reported calling-related random reboots with recent versions of CM, you might want to stick to 20150816 until this is fixed.)
20150826: Disable zRAM (fixes graphic issues present in 20150822)
20150822: Enable zRAM (patch by luk1337) (WARNING: some users have reported graphic issue after flashing)
20150816: Upstream merge
20150809: Upstream merge
20150802: Upstream merge
20150725: Upstream merge
20150718: Upstream merge
20150711: Upstream merge
20150703: Upstream merge
20150627: Upstream merge
20150620: Upstream merge, improved delta update compatibility with "HDPI miniGAPPS"
20150613: Upstream merge
20150605: Upstream merge
20150517: Upstream merge
20150511: Update drivers from I9082XXUBNI2
20150507: Upstream merge
20150428: Upstream merge
20150425: Fix STK crash, implement performance profile, implement display color calibration, fix lag when using LiveDisplay
20150424: Update to 5.1.1, fix unable to change SIM name, fix having multiple STK icons
20150421: Upstream merge
20150418: Fix setup wizard crash
20150410: Upstream merge
20150408: Upstream merge
20150405: Initial release

For CM changelog (upstream merge), please see http://www.cmxlog.com/12.1/. 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?
You are 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

After installing, my storage was reduced from 8 GB to 4 GB
You only have 4 GB for user data in the first place. The other 4 GB is used by system files. This is the same with stock as well. However, stock might have displayed it as "8 GB with 4 GB used by system files", but AOSP-based ROMs will only display the space available for user data.

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 Cyanogen OS's apps?
No. Cyanogen OS's proprietary apps are not a part of the open-source CyanogenMod. You can, however, download C-Apps directly from Cyngyn and install it.

Can you include call recording?
No. The open-source version of 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.

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 free to discuss bugs in this thread. However, I will not actively fix or help with bugs reported. As this is an unofficial port, you may NOT report bugs via the CM bug tracker.

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

XDA:DevDB Information
UNOFFICIAL CyanogenMod 12.1, ROM for the Samsung Galaxy Grand Duos i9082

Contributors
pawitp
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.0.x
Based On: CyanogenMod

Version Information
Status: No Longer Updated

Created 2015-04-05
Last Updated 2016-04-02
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-04-05-12-40-28.png
Views:	80622
Size:	152.8 KB
ID:	3245845   Click image for larger version

Name:	Screenshot_2015-04-05-12-40-32.png
Views:	80982
Size:	210.6 KB
ID:	3245846   Click image for larger version

Name:	Screenshot_2015-04-05-12-40-43.png
Views:	73240
Size:	24.0 KB
ID:	3245847   Click image for larger version

Name:	Screenshot_2015-04-05-12-41-29.png
Views:	79988
Size:	43.1 KB
ID:	3245848  
The Following 179 Users Say Thank You to pawitp For This Useful Post: [ View ]
 
 
5th April 2015, 06:52 AM |#2  
Senior Member
Flag Bataan
Thanks Meter: 309
 
More
can i flash this thru cm12 OTA updater?
Screenshots??
The Following 4 Users Say Thank You to Rommel Espinosa For This Useful Post: [ View ] Gift Rommel Espinosa Ad-Free
5th April 2015, 06:54 AM |#3  
codekidX's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 2,084
 
Donate to Me
More
Quote:
Originally Posted by Rommel Espinosa

can i flash this thru cm12 OTA updater?

No, it is a new android version. Better to do a clean flash.
The Following 3 Users Say Thank You to codekidX For This Useful Post: [ View ] Gift codekidX Ad-Free
5th April 2015, 06:56 AM |#4  
Senior Member
Flag Bataan
Thanks Meter: 309
 
More
Quote:
Originally Posted by codekidX

No, it is a new android version. Better to do a clean flash.

ok downloading..after installation i will give a feedback if theres an issue
The Following User Says Thank You to Rommel Espinosa For This Useful Post: [ View ] Gift Rommel Espinosa Ad-Free
5th April 2015, 07:06 AM |#5  
dipeshpatel.1991's Avatar
Senior Member
Flag Bolpur - Santiniketan
Thanks Meter: 63
 
More
Great sir.... Thanks a lot....
The Following User Says Thank You to dipeshpatel.1991 For This Useful Post: [ View ] Gift dipeshpatel.1991 Ad-Free
5th April 2015, 07:21 AM |#6  
AakashKaushal98's Avatar
Senior Member
Flag khanna , punjab
Thanks Meter: 213
 
More
Thanks sir....
5th April 2015, 07:54 AM |#7  
Junior Member
Thanks Meter: 2
 
More
Great work ... Thanks a lot.
5th April 2015, 08:16 AM |#8  
drrpreddy's Avatar
Senior Member
Thanks Meter: 32
 
More
Plz post screenshot

Sent from my GT-I9082 using XDA Free mobile app
5th April 2015, 08:39 AM |#9  
OP Recognized Developer
Flag Bangkok
Thanks Meter: 21,408
 
More
Quote:
Originally Posted by drrpreddy

Plz post screenshot

Sent from my GT-I9082 using XDA Free mobile app

Because this post uses XDA's DevDB system, you need to open the forum using a browser and press the "screenshot" button on top of the post to view the screenshots.
The Following 10 Users Say Thank You to pawitp For This Useful Post: [ View ]
5th April 2015, 08:54 AM |#11  
Senior Member
Thanks Meter: 11
 
More
app2sd
App 2 SD working or not pls I can't wait to download
.
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