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

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

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

Note that I do not intend to update this ROM often. The focus is on CM 12.1. For this ROM, I may release updates when new AOSP releases come out, but new features (not present in AOSP) will not be added and some bugs may not be fixed.

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_de.../tree/aosp-5.1 and https://github.com/pawitp/android_ke.../tree/aosp-5.1.

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

Downloads
ROM: https://basketbuild.com/devs/pawitp/i9082_aosp5.1/
Google Apps: http://d-h.st/users/dhacker29/?fld_id=27426 (use the ones marked "lpmr1")

What works?
  • Wi-Fi
  • 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
  • Sometimes wake up causes music stutter
  • Unable to un-pin screen without rebooting
  • Does not work on 4.1 stock ROM's bootloader, please upgrade to stock 4.2 before flashing

Additionally, Dual SIM has the following limitations:
  • Both SIMs are always enabled (no way to disable one SIM)
  • "Receive incoming call while data is enabled" is always enabled

Installation
  1. Make a backup!
  2. If you were on CM 10.1 or a stock ROM prior to 4.2, upgrade to stock 4.2 first.
  3. Install ClockworkMod recovery with SELinux support (.tar) (.zip). Older CWM will result in a "status 7" error.
  4. Reboot into recovery
  5. Wipe data if coming from stock or other ROMs (You may get a "status 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. You also need to flash Google Apps and other addons again because addon.d support is not included in this ROM.

Changelog
20151010: Update to android-5.1.1_r22
20150828: Update to android-5.1.1_r12 (note: r12 is basically similar to r13, except they were released for different Nexus devices. I've based this on r12 so that upgrade from r5 works fine)
20150705: Update to android-5.1.1_r6 (note: requires wipe if upgrading from 20150626. For some reason, not all of android-5.1.1_r6 is newer than android-5.1.1_r5)
20150626: Update to android-5.1.1_r5
20150422: Update to android-5.1.1_r1
20150414: Update to android-5.1.0_r5
20150326: Update to android-5.1.0_r3, reduce backlight timeout to 2 seconds
20150315: Fix GPS status, bluetooth, Wi-Fi AP, crash when dialing from Contacts app
20150314: Initial release based on android-5.1.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/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)

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/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 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 may report bugs in this thread, note that I do not intend to update this ROM often and bug reports may be ignored. If you're looking for a ROM which is often updated, please use CyanogenMod.
  • 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.

Bug report format
Code:
What is your--
Phone model (I9082 or I9082L):
Radio (baseband):
ROM version:
Gapps version:

Did you--
wipe:
 restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
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 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

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

Contributors
pawitp
Source Code: https://github.com/pawitp/android_de.../tree/aosp-5.1

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

Version Information
Status: Snapshot

Created 2015-03-15
Last Updated 2015-10-09
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-03-15-13-29-50.png
Views:	40106
Size:	60.2 KB
ID:	3211465   Click image for larger version

Name:	Screenshot_2015-03-15-13-29-39.png
Views:	39022
Size:	80.7 KB
ID:	3211466   Click image for larger version

Name:	Screenshot_2015-03-15-13-29-31.png
Views:	39430
Size:	110.8 KB
ID:	3211467  
The Following 89 Users Say Thank You to pawitp For This Useful Post: [ View ]
 
 
15th March 2015, 07:36 AM |#2  
abhishekcma's Avatar
Senior Member
Flag ALLAHABAD, INDIA
Thanks Meter: 59
 
More
Wow you are too good . Great work you are doing :thumbup:

Sent from my GT-I9082 using XDA Free mobile app
The Following 3 Users Say Thank You to abhishekcma For This Useful Post: [ View ] Gift abhishekcma Ad-Free
15th March 2015, 07:44 AM |#3  
SACHIN SHUKLA's Avatar
Member
Flag Pune
Thanks Meter: 26
 
More
Though i know it's too much to ask you for favours again and again,but i am curious to know will you also provide delta updates for this rom?
15th March 2015, 07:45 AM |#4  
Mayank77's Avatar
Senior Member
Flag Manipal
Thanks Meter: 162
 
More
On installing apps from file manager, Package Installer FC
Edit: It works.. Was having issue with ES File Manager. I changed file manager, it works.
15th March 2015, 07:46 AM |#5  
Senior Member
Flag Bataan
Thanks Meter: 307
 
More
Quote:
Originally Posted by SACHIN SHUKLA

Though i know it's too much to ask you for favours again and again,but i am curious to know will you also provide delta updates for this rom?

he said that this is one-off build and no updates.he will upload only the fixes for bluetooth,call,and hotspot issue
15th March 2015, 07:48 AM |#6  
OP Recognized Developer
Flag Bangkok
Thanks Meter: 21,391
 
More
Quote:
Originally Posted by SACHIN SHUKLA

Though i know it's too much to ask you for favours again and again,but i am curious to know will you also provide delta updates for this rom?

No.
The Following 4 Users Say Thank You to pawitp For This Useful Post: [ View ]
15th March 2015, 07:50 AM |#7  
AakashKaushal98's Avatar
Senior Member
Flag khanna , punjab
Thanks Meter: 213
 
More
Screenshots pleasee...

Sent from my GT-I9082 using XDA Free mobile app
15th March 2015, 08:32 AM |#8  
Khaled Neda's Avatar
Senior Member
Flag Cairo
Thanks Meter: 143
 
More
King of surprises Our great developer galaxy grand survivor we proud of you sir
Really you Achieved my dream for tasting pure android without any extra features
Pawitp made grand like nexus he made huge surprise really it's very big day
One of greatest talented developers here in xda
So we will wait official android releases here
Pawitp you are great
Attached Thumbnails
Click image for larger version

Name:	63c2d258-2efd-409b-8b05-06cf1df72210.jpg
Views:	2218
Size:	16.9 KB
ID:	3211504  
The Following 15 Users Say Thank You to Khaled Neda For This Useful Post: [ View ] Gift Khaled Neda Ad-Free
15th March 2015, 08:41 AM |#9  
Junior Member
Thanks Meter: 0
 
More
could you put screen shots pls
15th March 2015, 08:42 AM |#10  
Mayank77's Avatar
Senior Member
Flag Manipal
Thanks Meter: 162
 
More
Quote:
Originally Posted by a.elghandour

could you put screen shots pls

It looks like 5.0.2
The Following User Says Thank You to Mayank77 For This Useful Post: [ View ] Gift Mayank77 Ad-Free
15th March 2015, 08:44 AM |#11  
AakashKaushal98's Avatar
Senior Member
Flag khanna , punjab
Thanks Meter: 213
 
More
Quote:
Originally Posted by Khaled Neda

King of surprises Our great developer galaxy grand survivor we proud of you sir
Really you Achieved my dream for tasting pure android without any extra features
Pawitp made grand like nexus he made huge surprise really it's very big day
One of greatest talented developers here in xda
So we will wait official android releases here
Pawitp you are great

I buy new galaxy s4 nowadays but i prefer to use grand bcoz my grand has pawitps magic rom ..

Sent from my GT-I9082 using XDA Free mobile app
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