Wednesday, December 17, 2014

[ROM][ALPHA][UNOFFICIAL] CM 12.0 for Galaxy Grand Duos (I9082/I9082L) (20141216) 2SIM

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.0 (Lollipop), which is designed to increase performance and reliability over stock Android for your device.

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 andhttps://github.com/pawitp/android_kernel_samsung_i9082.

Compatibilitiy Patches: https://gist.github.com/pawitp/cba169c87dba57eea8ef
(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: http://goo.im/devs/pawitp/i9082_cm12.0 or http://d-h.st/users/pawitp/?fld_id=41223 or https://s.basketbuild.com/devs/pawitp/i9082_cm12.0/
Google Apps: http://d-h.st/users/dhacker29/?fld_id=27426

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

Known Issues
  • screenrecord does not work
  • FM Radio does not work
  • Sometimes wake up causes music stutter
  • Wi-Fi HAL (i.e. Scanning MAC Address Randomization) not implemented
  • Sim Tool Kit (STK) not fully working
  • Camera app sometimes crash on close
  • Unable to un-pin screen without rebooting
  • Some users have reported issues with call audio (see FAQ for a possible fix)
  • Some users reported random low video recording volume
  • Launcher shortcut of apps moved to SD might disappear (this is a launcher issue and I'm not planning to fix it. You may be able to switch to a third-party launcher which does not have this problem.)
  • Swipe-typing and face unlock are NOT ROM issues. They need the proper libraries from Google Apps.
  • Does not work on 4.1 stock ROM's bootloader, please upgrade to 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 4.2.
  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 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, during this ALPHA stage, if you are experiencing strange issues, you may want to try a wipe.)

Changelog
20141216: Fix video freeze in YouTube/browser
20141215: Fix screen off animation
20141212: New music player, fix APN selection not being respected
20141211: Fix FC when accessing mobile network settings
20141210: Fix app name/icon not displayed with app2sd, toggling SIM2 data from Quick Settings, use audioflinger for resampling
20141206: Improve root compatibility, 5.0.1, app2sd, delta update
20141202: Fix root
20141128: Fixed voice note in WhatsApp, SIM PIN, incoming call crash, 2G/3G selection in non-English languages. SELinux is now in enforcing mode (you may need to wipe if you have ever used a custom kernel with SELinux disabled)
20141123: Fixed unable to select 2G/3G, "Carrier Settings" FC, FC when dual SIM disabled, sometimes not able to set APNs, low Wi-Fi download performance when screen off
20141121: Fixed "call feature" crash, random reboots (Note: may require wipe or "pm clear com.android.launcher3" if launcher is crashing)
20141120: Fixed .wav playback, video recording, off-mode charging, "mount /data" error in install script, low call volume, compatibility with smaller /system partition
20141116: Initial release

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

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 call recording?
No. 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.

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.

Will you add OTA support?
No.

I cannot add APNs
Make sure you set the correct MCC/MNC code, the APN will not appear otherwise. Also make sure to use menu -> save (back button means discard).

Reporting Bugs

You are allowed to report bugs only in this thread.
  • 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. Any bug not reported in the bug report format below may be ignored.



Code:What is your-- Phone model (I9082 or I9082L): Radio (baseband): CM version: CM Download url: Gapps version: Did you-- wipe: restore with titanium backup: reboot after having the issue: Are you using-- a task killer: a non-stock kernel: CMSettings/Performance settings (other than stock): 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 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
Attached Thumbnails

MORE INFO http://forum.xda-developers.com/galaxy-grand-duos/development/rom-cm-12-0-galaxy-grand-duos-i9082-t2942255

No comments:

Post a Comment