[Samsung Galaxy S II Plus] Deleted member 5746995:
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.1.1 (Lollipop), which is designed to increase performance and reliability over stock Android for your device.

#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 S II Plus are available from:

https://github.com/andixlm/android_device_samsung_galaxys2plus-common

https://github.com/andixlm/android_device_samsung_i9105

https://github.com/andixlm/android_device_samsung_i9105p

https://github.com/andixlm/android_kernel_samsung_galaxys2plus-common

Compatibilitiy Patches: https://github.com/doriandiaconu/build_tools/tree/cm-12.1/patches

Do not submit bugs on CyanogenMod issue tracker

Downloads

ROM: https://basketbuild.com/devs/DorianDiaconu/CM12.1

GApps: http://opengapps.org

What works?

RIL (Calls, SMS, Mobile Data)

Wi-Fi

Bluetooth

GPS

Camera

Video playback

Audio (playback & recording)

Sensors (Accelerometer, Compass, Light, Proximity, etc.)

Everything else not listed under "Known issues"

Known Issues

There are no major hardware issues

Installation:

Make a backup!

If you were on CM 10.1 or a stock ROM prior to 4.2, upgrade to 4.2.

Install ClockworkMod or TWRP recovery with SELinux support. Older CWM will result in a "status 7" error.

Reboot into recovery

Wipe data if coming from stock or another non-CM ROM (You may get a "staus 7" error if you fail to wipe.)

Install the ROM

Optionally install the Google Apps Addon

FAQ

Q: Can you include Feature X into your ROM?

A: No. This ROM will have CyanogenMod's feature set.

Q: Can you include S-Note/S-Planner/MultiWindow/Insert Samsung App Here?

A: No. This is an AOSP ROM and cannot have TouchWiz applications.

Q: Can you include call recording?

A: No. CyanogenMod does not include call recording to avoid potential legal issues.

Q: What kernel does this ROM use?

A: A slightly modified version of the stock kernel, the source code is linked above.

Q: I've heard that Broadcom doesn't release source, how can you make this ROM?

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

Q: Can I use your ROM as a base?

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

Q: Can contacts be saved to phone/SIM?

A: No. It is not supported in AOSP-based ROMs.

Q: Can I send files over Wi-Fi Direct?

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

Q: Will you add OTA support?

A: No.

Video Review:

[youtube]watch?v=6-po8u6aapM[/youtube]

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. The following is a useful format to follow.

What is your:
- Phone model (I9105 or I9105P):
- 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):
- 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

- [MENTION=3117667]pawitp[/MENTION]

- [MENTION=5456406]CoolDevelopment[/MENTION], [MENTION=5075128]LuK1337[/MENTION], [MENTION=5999439]GHsR[/MENTION] and other I9105/P and I9082 devs

If you like it, use it and don't forget to press the "Thanks" button or send me a beer via PayPal. :)

XDA:DevDB Information

CyanogenMod 12.1, ROM for the Samsung Galaxy S II Plus

Contributors

doriandiaconu

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.0.x

ROM Firmware Required: 4.2.2

Based On: CyanogenMod

Version Information

Status: Stable

Created 2016-04-19

Last Updated 2016-07-21