[ROM] CosmicROM [AOSP] [5.1.1][29 April 2015]

k2wl

Senior Member
Apr 19, 2008
3,166
7,573
0

CosmicROM is specifically designed for I9082

Disclaimer:

Code:
All the firmwares, custom ROMs, official firmware updates, mods and tools mentioned here belong to their respective developers/owners.

You will be doing everything at your own risk. 

We nor the developers cannot be held responsible if you end up damaging or bricking your device.
Its build from AOSP 5.1.1_r1 sources.

Device-specific source code for the Samsung Galaxy Grand Duos are available from https://github.com/pawitp/android_device_samsung_i9082/tree/aosp-5.1 and https://github.com/pawitp/android_kernel_samsung_i9082/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.)

Thanks to
@pawitp for AOSP i9082 patches and device tree and kernel...all this mainly is his genius work..i am just a follower..
@XXMrHyde for my darkui commits.

 

Attachments

Last edited:

k2wl

Senior Member
Apr 19, 2008
3,166
7,573
0
Features


  • StatusBar tweaks like clock, battery, network traffic etc.
  • system icon settings
  • network icon settings
  • battery saver color
  • weather panel customizations
  • Quick settings customizations
  • Configurable 0, 90, 180 and 270 degree rotation
  • many more to come..
Changelog :-


Build 1 - initial build


build 2 -
- fix installation.
(error This package is for "i9082" devices: this is a "baffin".) fixed now.

- added few QS tiles.

build 3:
removed darkui
updated to 5.1.1
more smooth now
added 3gAuto option in cellular networks
expanded desktop

build 4
cosmic version 2.0
darkui is back.
few coloring changes..

As of now both build 3 and 4 are will be updated hence forth.
 
Last edited:

k2wl

Senior Member
Apr 19, 2008
3,166
7,573
0
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
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.
 
Last edited:

k2wl

Senior Member
Apr 19, 2008
3,166
7,573
0
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)

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


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.
 
Last edited:

ianjay06

Senior Member
Dec 23, 2012
420
155
73
Agusan del Sur
...Good Rom in Good Time.. i wast just thinking an AOSP 5.1 rom that is customizable and it really came...

BTW.... does the camera app can able to save to sd card? have file manger? and Gallery
 

androidbaba

Senior Member
Nov 19, 2008
1,203
359
103
K2wl thanks for the ROM
Also pls suggest gapps in op and post a link before people flood the thread with queries.. :D:)

Sent from my GT-I9082 using XDA Premium 4 mobile app
 

dr_hadota

Senior Member
Jul 9, 2013
98
12
0
Finally customizable 5.1 aosp rom its amazing waiting for more thx a lot miss ur cosmic rom since kitkat could u add theme engine with clear recent button and navigation bar with switcher
 

ianjay06

Senior Member
Dec 23, 2012
420
155
73
Agusan del Sur
cannot install zip... it says status error 7. this package is for i9082 devices......this is a baffin ..... installation aborted...

i do a clean install... like.. flashing stock rom via odin 4.2.2... then put the recovery via odin also.. then flash the zip.. i tried it 3 times. same error occured
 
  • Like
Reactions: dydy_vova

k2wl

Senior Member
Apr 19, 2008
3,166
7,573
0
open zip then go to /META-INF/com/google/android/ folder and open updater-script with notepad++ or some editor compatible with linux style.
delete first line
" getprop("ro.product.device") == "i9082" || abort("This package is for "i9082" devices; this is a "" + getprop("ro.product.device") + "".");
"

and save file in zip again or if ask update it.

flash again.

Sorry for the trouble.