[Samsung Galaxy S II Plus] beastaki23:
This thread is ~copy/paste from CoolDevelopment 's thread:
[url]http://xdaforums.com/showthread.php?t=2568665[/url]
I've just updated sources from CyanogenMod team up to M8.

I use i9105p, so i9105 not tested at all !!!
Don't blame me for anything!!! Read post for all the warnings.

I don't use f2fs, and I don't know if it's supported.

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.4 (KitKat), 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. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog .

Device-specific source code for the Samsung Galaxy S II Plus are available from https://github.com/SamsungBCM-Cyanogenmod/android_device_samsung_s2vep and https://github.com/SamsungBCM-Cyanogenmod/android_kernel_samsung_galaxys2plus-common.

(For developers only - the patches are already included in the ROM)

Patch to system/core for RIL to work: https://gist.github.com/pawitp/5372673.

Patch to hardware/broadcom/libbt for bluetooth to work: https://gist.github.com/pawitp/7891380

Patch to frameworks/native to support legacy binaries: https://gist.github.com/pawitp/7891421

Patch for button lights fix: https://github.com/luk1337/build_tools/blob/cm/5.patch

Patch to frameworks/native to workaround hwc issues: http://review.cyanogenmod.org/53162/ and https://gist.github.com/pawitp/7891444

Patch to frameworks/av to fix audio/video issues: https://gist.github.com/pawitp/7945188

Patch to external/chromium_org to workaround hwc issues: https://gist.github.com/pawitp/7910708

Do not submit bug on CyanogenMod issue tracker

What works?

Wi-Fi

Bluetooth

RIL (Calls, SMS, Mobile Data)

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

Camera (photo & video)

Video playback

Audio (playback & recording)

GPS

Everything else not listed under "known issues"

Issues

Known device specific Issues

screenrecord does not work

Stock browser does not use hardware acceleration (Please use Firefox, Google Chrome, Dolphin, etc)

Known Sources Issues

Bluetooth Headset not working

FM Radio does not work (you can use SpiritFM, but I'm not providing support for any problem)

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

Installation

Make a backup!

Be sure that you have the 4.2.2 bootloader

Install a custom recovery

Install the ROM using your custom recovery

Optionally install the Google Apps Addon

Wipe data if coming from stock

Don't submit bugs to me, if you didn't do a full wipe and you are coming from another ROM

F2FS

From CM 11.0 M10, it is supposed to be compatible with [MENTION=5075128]LuK1337[/MENTION] 's EXT to F2FS ROM converter found @

http://xdaforums.com/galaxy-s2-plus/development/linux-ext-to-f2fs-rom-converter-t2840303

thanks to [MENTION=5075128]LuK1337[/MENTION]

I haven't test it myself though.

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

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

- [MENTION=3117667]pawitp[/MENTION] for his base on i9082

- [MENTION=5456406]CoolDevelopment[/MENTION] for all his amazing work on our device

- [MENTION=5075128]LuK1337[/MENTION] for his work and help to build this rom

- [MENTION=4692592]andrewww57[/MENTION]

- [MENTION=5093942]KINGbabasula[/MENTION]

- [MENTION=5273752]s2+user[/MENTION]

- [MENTION=4196889]DerTeufel1980[/MENTION] for the f2fs backports

- [MENTION=943196]k2wl[/MENTION] for some other f2fs stuff and helping me with it