[Samsung Galaxy S II Plus] LuK1337:
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.

#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 S2 Plus are available from https://github.com/luk1337/android_device_samsung_s2vep,

https://github.com/luk1337/android_device_samsung_s2ve and https://github.com/luk1337/android_kernel_samsung_galaxys2plus-common.

Compatibilitiy Patches: https://github.com/luk1337/build_tools/tree/cm12

(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: https://s.basketbuild.com/devs/LuK1337/CM12

Google Apps: For now, find your own package

What works?

Wi-Fi

Bluetooth

RIL (Calls, SMS, Mobile Data)

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

Video recording does not work

.wav playback does not work (.mp3 works fine)

SELinux is in permissive mode

Wi-Fi HAL (i.e. Scanning MAC Address Randomization) not implemented

Sim Tool Kit (STK) not fully working

Video in YouTube app sometimes freeze

Bluetooth headset isn't working

Does not work on 4.1 stock ROM's bootloader, please upgrade to 4.2 before flashing

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 recovery with SELinux support

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

To upgrade to a newer build, simply flash the zip. There's no need for data wipe or flashing Google Apps again.

Changelog

20141116: Initial release

FAQ

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

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.

Is overclock (OC) available?

1.3 GHz OC is available in Settings -> Performance -> Processor (enable developer mode first). Higher frequencies are not enabled since benchmark does not show additional benefit.

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

What is your--
Phone model (s2ve or s2vep):
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):
ART Runtime:
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

- CoolDevelopment, pawitp and other s2ve/p and i9082 devs

XDA:DevDB Information

[ROM][UNOFFICIAL][ALPHA][s2ve/p] Cyanogenmod 12.0, ROM for the Samsung Galaxy S II Plus

Contributors

LuK1337

ROM OS Version: 5.0.x Lollipop

ROM Kernel: Linux 3.0.x

Version Information

Status: Alpha

Created 2014-11-16

Last Updated 2014-11-16