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

Search This thread

shivam tomar

New member
Feb 25, 2017
1
1
samsung grand duos 6.0.1 official rom is fail to flash it says whole signature failed

This is a build of the Android Open Source Project (AOSP) based on
*
* 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.
*/[/code]

Device-specific source code for the Samsung Galaxy Grand Duos are available from https://github.com/pawitp/android_device_samsung_i9082/tree/aosp-6.0 and https://github.com/pawitp/android_kernel_samsung_i9082/tree/aosp-6.0.

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 https://github.com/pawitp/android_device_samsung_i9082/wiki/How-to-compile-aosp-6.0.

Downloads
ROM: https://basketbuild.com/devs/pawitp/i9082_aosp6.0/
Google Apps: http://opengapps.org/?api=6.0&variant=nano

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 com.android.cts.appsecurity.PermissionsHostTest#testInteractiveGrant 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

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. 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.

Changelog
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 libril.so 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

FAQ

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 http://forum.xda-developers.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 (except for 20151018 build). 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)

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
Read http://forum.xda-developers.com/gal...galaxy-grand-duos-i9082-t2942255/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 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?
No.

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 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.

Thanks
-
 
  • Like
Reactions: s.p basavanath

billysam

Senior Member
Oct 3, 2014
551
298
Running aosp-6.0-20160406-UNOFFICIAL-i9082.zip flashed
SR5-SuperSU-v2.82-SR5-20171001224502 for root
F.Lux for better color correction

The Aosp ROMs have very less customization but this is the only One running on marshmallow that is not causing endless loop and the fact that I cannot save contacts on phone(Have to use google contact), apart from that it's pretty much a good option right now.
With Xposed we can get more customization, but then there might be some issues. Anyways, I have installed xposed modules already, will test more and will let you all know IF encounter anything else.
 

Omega

Senior Member
Feb 11, 2015
70
31
Running aosp-6.0-20160406-UNOFFICIAL-i9082.zip flashed
SR5-SuperSU-v2.82-SR5-20171001224502 for root
F.Lux for better color correction

The Aosp ROMs have very less customization but this is the only One running on marshmallow that is not causing endless loop and the fact that I cannot save contacts on phone(Have to use google contact), apart from that it's pretty much a good option right now.
With Xposed we can get more customization, but then there might be some issues. Anyways, I have installed xposed modules already, will test more and will let you all know IF encounter anything else.
How is the battery life?
Is it better then LineageOS and RR
 

billysam

Senior Member
Oct 3, 2014
551
298
How is the battery life?
Is it better then LineageOS and RR

depends how you use it and how good your device's battery condition is. For me I found it better than LineageOS and RR( minus the customizations), standby time was 2-3 days with no to minimal use on a 3 years old battery. And NO, I am not exaggerating.
I used amplify for wakelocks and powernap 0.7 and used to freeze google play services, only unfreezed it when a app demands it and I needed it. It's a serious battery drainer.

I gave my grand to my cousin now, after the bootloop issues on LoS and RR, I left it on aosp for stability. Will report if she gets into trouble. I hope it doesn't cause any issues anymore.
 

TheBasterd

Senior Member
Jan 10, 2014
243
59
Hell
Awesome ROM.

PROS :
1) Great battery
2) Smooth UI
3) Low RAM usage
4) Daily driver ready

CONS :
1) No CONS so far. Whats up with that?

NOTE : Make sure to flash pico GApps and not nano. Pico is great, RAM usage is low.

5-star ROM. Good job matey. Thanks hitted as well.
 

billysam

Senior Member
Oct 3, 2014
551
298
Has anyone experienced any endless reboot issue coming to aosp as well? my cousin called me up as she faced endless boot since I last gave it to her, I will get the device in a day or two from her. It would be helpful if anyone can reply, all the thread are almost dead.
It was near perfect, but the endless reboot is getting too much on so many ROMs. Haven't tested any Nougat ROM.

Update: Thank GOD, it was just because of the adoptable storage issue. Got some error on the microsd card (one big reason that you should always set the card as portable) This ROM has no bootloop issues with apps like that of LoS based ROMs.
 
Last edited:

viplavrastogi

Senior Member
Mar 5, 2018
82
45
delhi
Worked on phone version 4.2.2

:):):):):)

thnxs buddy

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.

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.
 */

device-specific source code for the samsung galaxy grand duos are available from https://github.com/pawitp/android_device_samsung_i9082/tree/aosp-6.0 and https://github.com/pawitp/android_kernel_samsung_i9082/tree/aosp-6.0.

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 https://github.com/pawitp/android_device_samsung_i9082/wiki/how-to-compile-aosp-6.0.

downloads
rom: https://basketbuild.com/devs/pawitp/i9082_aosp6.0/
google apps: http://opengapps.org/?api=6.0&variant=nano

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 com.android.cts.appsecurity.permissionshosttest#testinteractivegrant 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

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. 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.

changelog
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 libril.so 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

faq

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 http://forum.xda-developers.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 (except for 20151018 build). 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)

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
read http://forum.xda-developers.com/gal...galaxy-grand-duos-i9082-t2942255/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 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?
no.

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 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.

thanks
- 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

contributors
pawitp
source code: https://github.com/pawitp/android_device_samsung_i9082/tree/aosp-6.0

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
 

viplavrastogi

Senior Member
Mar 5, 2018
82
45
delhi
BUG/problem

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.

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.
 */

Device-specific source code for the Samsung Galaxy Grand Duos are available from https://github.com/pawitp/android_device_samsung_i9082/tree/aosp-6.0 and https://github.com/pawitp/android_kernel_samsung_i9082/tree/aosp-6.0.

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 https://github.com/pawitp/android_device_samsung_i9082/wiki/How-to-compile-aosp-6.0.

Downloads
ROM: https://basketbuild.com/devs/pawitp/i9082_aosp6.0/
Google Apps: http://opengapps.org/?api=6.0&variant=nano

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 com.android.cts.appsecurity.PermissionsHostTest#testInteractiveGrant 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

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. 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.

Changelog
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 libril.so 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

FAQ

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 http://forum.xda-developers.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 (except for 20151018 build). 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)

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
Read http://forum.xda-developers.com/gal...galaxy-grand-duos-i9082-t2942255/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 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?
No.

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 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.

Thanks
- 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

Contributors
pawitp
Source Code: https://github.com/pawitp/android_device_samsung_i9082/tree/aosp-6.0

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

on my device i am opening supersu its not opening and also google play its show downloading 100% but dosent install and then i quit googleplay and again open it now it install
 

ZeDDroid

Member
Feb 7, 2017
11
3
While installing apps from play store the download completes 2 times(after 1 time it restart downloading from begning) and after 2nd time its shows error 963. Not a single app can be installed vai playstore. Here are what I have tried to fix this but non worked

1.Clear data and cache of play store and google play services
2.Clean flashed vai Cwm 6.0.5.1 and with TWRP 3.1.1.0 too. btw the setup wizard didn't showed up when flashed vai twrp
3.Tried pico nano gapps
4.Tried the above steps on both latest and one previous Aosp build

Even the AOSP lollipop have the same issue. Please can anyone fix this I guess its due to newer gapps because while going through previous posts i didn't encountered any such post
 
Last edited:

ZeDDroid

Member
Feb 7, 2017
11
3
App download error on playstore

Please guys can anyone solve the issue or suggest anything because not a single rom is bugfree and fully functional( lollipop and above, not nougat the screenshot and stability issue) for our grand since bootloop issue except Aosp and Aosp also got a issue. Please can anyone help me here btw the above post is also mine and there are still no reply:(
 
Last edited:

viplavrastogi

Senior Member
Mar 5, 2018
82
45
delhi
Please guys can anyone solve the issue or suggest anything because not a single rom is bugfree and fully functional( lollipop and above, not nougat the screenshot and stability issue) for our grand since bootloop issue except Aosp and Aosp also got a issue. Please can anyone help me here btw the above post is also mine and there are still no reply:(

hey buddy soory for late reply
VIPER OS (rom) its a post by me and it dosent have any serious issue just a screenshot issue u can go through cmnts for a change in that post and follow the steps written in post and also do a clean flash and first revert back to stock rom and then flash CWM recovery and then philz recovery as it is the best recovery we have and then follow the instructions given by me
i hope u will be able to fix all the problems :D:D:D:D

link for VIPER OS THREAD

https://forum.xda-developers.com/galaxy-grand-duos/development/rom-viper-os-v2-1-t3772380

if u want stock rom 4.1.2 message me i give u the link for that file
 
Last edited:
  • Like
Reactions: ZeDDroid

ZeDDroid

Member
Feb 7, 2017
11
3
Play store downloading error solved ?

Thanks #viplavrastogi
I installed stock rom 4.2.2 vai odin but the system didn't booted rather it rebooted to recovery with multiple partition mount failed logs. Suddeny I remembered I was not no stock partion table(this was the real cause for the problem). So I repartioned to stock table installed the Aosp and the problem vanished. After further investigation I finally found the problem was that i wasn't on stock partion. Now using aosp without any problem though on stock partition I am only geting 4.02 gb user data compared to 5.80 gb
Thanks again #viplavrastogi although I always had the idea of first installing stock rom but it was your post that made me do ti:good:
 
Last edited:
  • Like
Reactions: nezar1998r

Top Liked Posts

  • There are no posts matching your filters.
  • 124
    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.

    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.
     */

    Device-specific source code for the Samsung Galaxy Grand Duos are available from https://github.com/pawitp/android_device_samsung_i9082/tree/aosp-6.0 and https://github.com/pawitp/android_kernel_samsung_i9082/tree/aosp-6.0.

    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 https://github.com/pawitp/android_device_samsung_i9082/wiki/How-to-compile-aosp-6.0.

    Downloads
    ROM: https://basketbuild.com/devs/pawitp/i9082_aosp6.0/
    Google Apps: http://opengapps.org/?api=6.0&variant=nano

    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 com.android.cts.appsecurity.PermissionsHostTest#testInteractiveGrant 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

    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. 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.

    Changelog
    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 libril.so 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

    FAQ

    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 http://forum.xda-developers.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 (except for 20151018 build). 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)

    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
    Read http://forum.xda-developers.com/gal...galaxy-grand-duos-i9082-t2942255/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 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?
    No.

    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 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.

    Thanks
    - 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

    Contributors
    pawitp
    Source Code: https://github.com/pawitp/android_device_samsung_i9082/tree/aosp-6.0

    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
    31
    20160406: Based on android-6.0.1_r24

    Note: due to having less free time and losing interest developing custom ROMs, this ROM will no longer be updated.
    25
    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.

    ---

    @pawitp
    Here are the patches that fix some bugs:
    Camera rotate issue - https://github.com/CyanogenMod/andr...mmit/48f63f9296d615f456bc1706f8b3ccb8c498bbcd
    AutoRotation issues after sleep - https://github.com/timduru/platform-frameworks-base/commit/fb83a2d184e655d83405d80dd07fc737bd73a37e
    Widevine - https://github.com/ghsr/proprietary...mmit/1d6ca5a6cd9417495b802232c2fb8fc95b089c25

    Also we have a problem with prebuilt webview, it's crashing when use stock browser:
    Code:
    11-20 00:21:54.236  3810  3857 F chromium: [FATAL:gl_fence_egl.cc(52)] Check failed: g_ignore_egl_sync_failures.
    ...
    11-20 00:21:54.386  3810  3857 E chromium: ### WebView Version 44.0.2403.119 (code 246011900)
    11-20 00:21:54.386  3810  3857 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 3857 (RenderThread)
    11-20 00:21:54.456   204   204 I SELinux : SELinux: Loaded file_contexts contexts from /file_contexts.
    11-20 00:21:54.456   204   204 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    11-20 00:21:54.456   204   204 F DEBUG   : Build fingerprint: 'samsung/s2vepxx/s2vep:4.2.2/JDQ39/I9105PXXUBNG1:user/release-keys'
    11-20 00:21:54.456   204   204 F DEBUG   : Revision: '0'
    11-20 00:21:54.456   204   204 F DEBUG   : ABI: 'arm'
    11-20 00:21:54.456   204   204 F DEBUG   : pid: 3810, tid: 3857, name: RenderThread  >>> com.android.browser <<<
    11-20 00:21:54.456   204   204 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
    11-20 00:21:54.506   204   204 F DEBUG   : Abort message: '[FATAL:gl_fence_egl.cc(52)] Check failed: g_ignore_egl_sync_failures. 
    11-20 00:21:54.506   204   204 F DEBUG   : '
    11-20 00:21:54.506   204   204 F DEBUG   :     r0 00000000  r1 00000f11  r2 00000006  r3 92fc8978
    11-20 00:21:54.506   204   204 F DEBUG   :     r4 92fc8980  r5 92fc8930  r6 00000016  r7 0000010c
    11-20 00:21:54.516   204   204 F DEBUG   :     r8 403aae40  r9 92fc7910  sl 00000000  fp 0000025f
    11-20 00:21:54.516   204   204 F DEBUG   :     ip 00000006  sp 92fc7428  lr 40388c71  pc 4038a9ac  cpsr 400f0010
    11-20 00:21:54.526   204   204 F DEBUG   : 
    11-20 00:21:54.526   204   204 F DEBUG   : backtrace:
    11-20 00:21:54.526   204   204 F DEBUG   :     #00 pc 000439ac  /system/lib/libc.so (tgkill+12)
    11-20 00:21:54.536   204   204 F DEBUG   :     #01 pc 00041c6d  /system/lib/libc.so (pthread_kill+32)
    11-20 00:21:54.536   204   204 F DEBUG   :     #02 pc 0001b823  /system/lib/libc.so (raise+10)
    11-20 00:21:54.536   204   204 F DEBUG   :     #03 pc 00018a91  /system/lib/libc.so (__libc_android_abort+34)
    11-20 00:21:54.536   204   204 F DEBUG   :     #04 pc 0001677c  /system/lib/libc.so (abort+4)
    11-20 00:21:54.536   204   204 F DEBUG   :     #05 pc 002b9125  /system/app/webview/webview.apk (offset 0x7f2000)
    11-20 00:21:56.468   204   204 F DEBUG   : 
    11-20 00:21:56.468   204   204 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_05
    11-20 00:21:56.468   204   204 E DEBUG   : AM write failed: Broken pipe
    To fix this, you just need add ignore_egl_sync_failures for broadcom driver and change version to 6.0.0 in libwebviewchromium.so. This is easily done using a hex editor.

    dsim libril.so still crash, I tried it from 4.1.2 (i9082) and from 4.4.2 (SM-G313HN)
    logcat with libril.so from SM-G313HN:
    Code:
    11-21 18:07:03.717   223   223 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    11-21 18:07:03.717   223   223 F DEBUG   : Build fingerprint: 'samsung/cm_i9152/i9152:6.0/MDB08M/b45134c6be:userdebug/test-keys'
    11-21 18:07:03.717   223   223 F DEBUG   : Revision: '0'
    11-21 18:07:03.717   223   223 F DEBUG   : ABI: 'arm'
    11-21 18:07:03.717  5183  5358 W NativeCrashListener: Couldn't find ProcessRecord for pid 7043
    11-21 18:07:03.717   223   223 F DEBUG   : pid: 7043, tid: 7046, name: rild  >>> /system/bin/rild <<<
    11-21 18:07:03.717   223   223 E DEBUG   : AM write failed: Broken pipe
    11-21 18:07:03.717   223   223 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xc
    11-21 18:07:03.720   223   223 F DEBUG   :     r0 00000000  r1 40acb820  r2 40acb824  r3 00000002
    11-21 18:07:03.720   223   223 F DEBUG   :     r4 00000000  r5 401a4da8  r6 401a4e50  r7 401a4e74
    11-21 18:07:03.720   223   223 F DEBUG   :     r8 401a4e74  r9 401a4e28  sl 00000001  fp 4019ac6d
    11-21 18:07:03.720   223   223 F DEBUG   :     ip 401a3f50  sp 40acb800  lr 4019abbf  pc 400f41ac  cpsr 40070030
    11-21 18:07:03.728   223   223 F DEBUG   : 
    11-21 18:07:03.728   223   223 F DEBUG   : backtrace:
    11-21 18:07:03.728   223   223 F DEBUG   :     #00 pc 000011ac  /system/bin/rild (record_stream_get_next+3)
    11-21 18:07:03.728   223   223 F DEBUG   :     #01 pc 00003bbb  /system/lib/libril.so
    11-21 18:07:03.728   223   223 F DEBUG   :     #02 pc 00008617  /system/lib/libril.so (ril_event_loop()+318)
    11-21 18:07:03.728   223   223 F DEBUG   :     #03 pc 00003cef  /system/lib/libril.so
    11-21 18:07:03.728   223   223 F DEBUG   :     #04 pc 0004174f  /system/lib/libc.so (__pthread_start(void*)+30)
    11-21 18:07:03.729   223   223 F DEBUG   :     #05 pc 00019223  /system/lib/libc.so (__start_thread+6)
    11-21 18:07:03.926   223   223 F DEBUG   : 
    11-21 18:07:03.926   223   223 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_00

    P.S.
    Patch for fix flashlight issue - https://github.com/CyanogenMod/android_frameworks_av/commit/980a04afdce28a6c6159d31864967ded86815c7b

    WebView: Since I'm not a fan of hex editing, I've recompiled WebView from source and put it up at https://github.com/pawitp/android_external_chromium-webview. The logcat spam doesn't look good though. There might be a better way to fix it.

    Widevine: Does Google Movies work for you? I don't think Android can load the library without "vendor/lib/mediadrm/libwvdrmengine.so".
    22
    20151018: Add uid_cputime patch in the kernel, temporarily use Galaxy 2 Plus libril.so 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.)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone