Remove All Ads from XDA

[ROM] AOSP 6.0.1 for Galaxy Grand Duos (I9082/I9082L) (Update 20160406) 2SIM

3,928 posts
Thanks Meter: 21,404
Post Reply Email Thread
This is a build of the Android Open Source Project (AOSP) based on Android 6.0.0 for people who prepare pure Android without the extra feature of CyanogenMod or other ROMs.

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

 * 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.
Device-specific source code for the Samsung Galaxy Grand Duos are available from and

Compatibility patches are included in the device repository in the "PATCHES" folder. (Please give credit if you use them in your ROM and if you fix something, please submit patches.)
For compilation instruction, see

Google Apps:

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

Known Issues
  • AOSP keyboard does not support gesture typing even with gapps installed. This is to prevent crash with incompatible gapps packages. If you want gesture typing, install Google Keyboard from the Play Store.
  • FM Radio does not work
  • Runtime storage permission does not fully work (setns kernel patches are not applied, see stInteractiveGrant CTS test. After granting permission, the app will need to be restarted before it sees the new permission.)
  • Sometimes wake up causes music stutter
  • 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 (once they work):
  • Both SIMs are always enabled (no way to disable one SIM)
  • "Receive incoming call while data is enabled" is always enabled

  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. If you are using a recovery which mounts /system on boot, unmount it before installing
  6. Wipe data if coming from stock or other ROMs (You may get a "status 7" error if you fail to wipe.)
  7. Install the ROM
  8. Optionally install the Google Apps Addon (In Marshmallow, you MUST flash gapps before booting into the system for the first time or else the proper permissions will not be granted resulting in Setup Wizard crash. If you experience the crash, you will need to do a factory reset.)

To upgrade to a newer build, simply flash the zip. You also need to flash Google Apps and other addons again because addon.d support is not included in this ROM.

20160406: Based on android-6.0.1_r24
20160313: Based on android-6.0.1_r21
20160312: Based on android-6.0.1_r21 Removed due to mobile network issue
20160221: Fix SIM card detection when phone is encrypted
20160206: Based on android-6.0.1_r11
20160124: Update vclmk SELinux policy from GHsR (may help with freezes when low on memory), fix mute not working in-call
20160105: Based on android-6.0.1_r8 (note: to prevent upgrade issues like in 5.1, I will not pick the latest revision, but rather the latest revision Google used to build for the Nexus 6P)
20160103: Enable SELinux in enforcing mode (some of the work thanks to GHsR)
20151228: Fix switching 2G/3G, fix widevine DRM (Google Play Movies)
20151219: Update binder compatibility patch from CM
20151208: Based on android-6.0.1_r3
20151206: Fix auto rotation, camera rotation, flashlight and WebView crash thanks to patches pointed out by GHsR. Fix Dual SIM thanks to patch pointed out by Yousef Mohamed.
20151128: Based on android-6.0.0_r26, disable gesture typing on AOSP Keyboard to prevent crash with some gapps (install Google Keyboard if you want gesture typing). Please also see updated instruction for gapps installation.
20151018: Add uid_cputime patch in the kernel, temporarily use Galaxy 2 Plus for working single SIM RIL. (Note: you either need to factory reset or follow the FAQ on how to disable Dual SIM on your device.)
20151013: Initial alpha release based on android-6.0.0_r1


Can you include the "ask first" option for sending messages?
The "ask first" option is not available in AOSP. However, you can select the SIM when you send the message if you use Google's Messenger app.

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 Or you can also try I9082LUBUBMK1 that I use.

How do I enable/disable Dual SIM?
Dual SIM support is enabled by default (except for 20151018 build). If you only use 1 SIM and wants to disable Dual SIM support, you can use the following instruction:

setprop dsds
setprop none
(Instruction screenshots)

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 need to be flashed manually.

I'm having battery issues

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 AOSP'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?

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?

Most of Android 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.

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.

Reporting Bugs

You are free to discuss bugs in this thread. However, I will not actively fix or help with bugs reported. Patches which fix them are welcomed.

- The CyanogenMod team for some of the compatibility patches used in this ROM
- 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
- ghsr for SELinux patches and various other patches from his device repo.

XDA:DevDB Information
AOSP 6.0.0 for Galaxy Grand Duos (I9082/I9082L), ROM for the Samsung Galaxy Grand Duos i9082

Source Code:

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.0.x
Based On: AOSP

Version Information
Status: No Longer Updated

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

Name:	Screenshot_20151013-163635.png
Views:	107526
Size:	86.3 KB
ID:	3505430   Click image for larger version

Name:	Screenshot_20151013-163648.png
Views:	109144
Size:	37.0 KB
ID:	3505431   Click image for larger version

Name:	Screenshot_20151013-163706.png
Views:	106956
Size:	41.8 KB
ID:	3505432   Click image for larger version

Name:	Screenshot_20151013-163742.png
Views:	107888
Size:	86.3 KB
ID:	3505433  
The Following 123 Users Say Thank You to pawitp For This Useful Post: [ View ]
13th October 2015, 06:48 PM |#2  
Senior Member
Flag Hyderabad
Thanks Meter: 119
I'm checking xda forum every second to see this post from you @pawitp. Thanks for your hard work for this device. I'm excited to flash this and experience Android 6.0. I hope we can get some fix for the RIL issues from other developers supporting this device. Once again, @pawitp, you are amazing.
The Following 3 Users Say Thank You to srikanthrayavarapu For This Useful Post: [ View ] Gift srikanthrayavarapu Ad-Free
13th October 2015, 07:11 PM |#3  
osas514's Avatar
Senior Member
Flag Benin
Thanks Meter: 2,151
Awesome....Thanks bro

Sent from my SM-G9250 using Tapatalk
13th October 2015, 07:32 PM |#4  
Senior Member
Thanks Meter: 52
thank you @pawitp
Sent from my GT-I9082 using XDA Free mobile app
13th October 2015, 07:35 PM |#5  
Senior Member
Thanks Meter: 51
Thanks bro.. I shall try this ROM by this weekend. And report errors. I'm not well at developing and codeing, so only I can do is error log reporting and praying. I have increased the internal memory. Will it create any issues?
13th October 2015, 07:47 PM |#6  
rohit1521's Avatar
Flag kerala
Thanks Meter: 47
This is android m?
.... I am waiting for cm 13...
13th October 2015, 08:10 PM |#7  
dipeshpatel.1991's Avatar
Senior Member
Flag Bolpur - Santiniketan
Thanks Meter: 63
Awesome sir.... Great to see your support toward our device and also android 6.0 in GALAXY GRRRRAAANNDD....

13th October 2015, 09:09 PM |#8  
Alldroidrider's Avatar
Senior Member
Flag chennai
Thanks Meter: 43
wow!!..I dint expect fast..Thanks...
13th October 2015, 10:23 PM |#9  
Senior Member
Flag Porto
Thanks Meter: 46
Originally Posted by dipeshpatel.1991

Awesome sir.... Great to see your support toward our device and also android 6.0 in GALAXY GRRRRAAANNDD....


I think its not android 6.0:

Originally Posted by pawitp

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.0.x
Based On: AOSP

Version Information
Status: Alpha

Created 2015-10-13
Last Updated 2015-10-13

13th October 2015, 10:41 PM |#10  
snbk97's Avatar
Senior Member
Flag Noida
Thanks Meter: 49
Originally Posted by razorfancy

I think its not android 6.0:

It's 6.0 i guess

Known Issues
(XDA) DEV-DB says this is Lollipop because the feature has not been updated for Marshmallow yet.
Sometimes wake up causes music stutter
Does not work on 4.1 stock ROM's bootloader, please upgrade to stock 4.2 before flashing

The Following User Says Thank You to snbk97 For This Useful Post: [ View ] Gift snbk97 Ad-Free
13th October 2015, 11:12 PM |#11  
osas514's Avatar
Senior Member
Flag Benin
Thanks Meter: 2,151
Originally Posted by razorfancy

I think its not android 6.0:

It's android 6.0

Sent from my SM-G9250 using Tapatalk
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes