[Samsung Galaxy S II Plus] haky 86:
Android is an open source software stack created for a wide array of devices with different form factors. The primary purposes of Android are to create an open software platform available for carriers, OEMs, and developers to make their innovative ideas a reality and to introduce a successful, real-world product that improves the mobile experience for users.

#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.
*/

ROM: https://basketbuild.com/devs/haky86/SamsungGalaxyS2Plus/Android-5-Lollipop/AOSP/27042015

-11/02/2016: click here.

-27/06/2015: click here.

-17/07/2015: click here.

-21/08/2015: click here.

Google Apps: http://d-h.st/users/dhacker29/?fld_id=27426 (use the ones marked "lpmr1")

-i9105p:https://github.com/hak86/android_device_samsung_i9105p/tree/aosp-5.0

-galaxys2plus-common:https://github.com/hak86/android_device_samsung_galaxys2plus-common/tree/aosp-5.0

-

kernel

: https://github.com/hak86/android_kernel_samsung_galaxys2plus-common/tree/lollipop

-

vendor

:https://github.com/hak86/proprietary_vendor_samsung_galaxys2plus-common/tree/master

Change Logs:

11/02/2016:

-Browser: fixed.

-Video Rec: fixed.

-NFC: Fixed, copy nfc_nci.bcm2079x.capri.so into system/lib/hw if not work that you can download from attached files.

-Unique bug: for unpinning screen, the device needed to be rebooted for unlocking.

27/04/2015:

-initial build.

-Android 5.1.1 R1.

27/06/2015:

-Android 5.1.1 R4.

-NFC: fixed.

-Set wallpaper from gallery: work.

-Set wallpaper from menu: work.

17/07/2015:

-Android 5.1.1 R8.

-2 bugs only.

21/08/2015:

-MultiTasking and Long Press button: fixed.

-Video Rec and NFC should work without problems.

-I will try to fix Pinning Apps too, but it's source bug.

What works?

Wi-Fi

Audio notifications.

Charging percentage + when device locked it's works too.

RIL (Calls, SMS, Mobile Data)

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

Camera

Audio (playback & recording)

GPS

Everything else not listed under "known issues"

Known Issues

Recent apps not work?: Since "no body" love nav button, I remove them so use xposed to fix.

Unpinning screen.

FM Radio does not work

Installation

Make a backup!

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

Install ClockworkMod recovery with SELinux support (.tar) (.zip). Older CWM will result in a "status 7" error.

Reboot into recovery

Wipe data if coming from stock or other ROMs (You may get a "status 7" error if you fail to wipe.)

Install the ROM

Optionally install the Google Apps Addon

FAQ

Can you include the "ask first" option for sending messages?

The "ask first" option is not available in AOSP. However, you can select the SIM when you send the message if you use Google's Messenger app.

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://xdaforums.com/gala...5/post57836573

Can you include Feature X into your ROM?

No. This ROM will have AOSP'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, use CM TouchWiz Style app.

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.

Reporting Bugs

You may report bugs in this thread, note that I do not intend to update this ROM often and bug reports may be ignored. If you're looking for a ROM which is often updated, please use CyanogenMod.

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.

PLEASE, DON'T QUOTE THIS POST BEFORE OR EVEN AFTER FINISH EDITING, THANKS