[Samsung Galaxy S II Plus] GHsR:
​

LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), 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.
*/

LineageOS 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. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github Repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

Device-specific source code:

Device tree: https://github.com/ghsr/android_device_samsung_galaxys2plus-common and https://github.com/ghsr/android_device_samsung_i9105p

Kernel source: https://github.com/ghsr/android_kernel_samsung_galaxys2plus-common

Compatibilitiy Patches: https://github.com/ghsr/build_tools/tree/cm-14.1/patches

WebView: https://github.com/ghsr/android_external_chromium-webview

Downloads

ROM: https://s.basketbuild.com/devs/GHsR/LineageOS/14.1/i9105p

Recovery: https://s.basketbuild.com/devs/GHsR/RECOVERY

Gapps: http://opengapps.org

SuperSU: http://download.chainfire.eu/supersu

What works?

Wi-Fi

Bluetooth

RIL (Calls, SMS, Mobile Data)

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

Camera

Video (playback & recording)

Audio (playback & recording)

GPS

Everything else not listed under "known issues"

Known Issues

Screenshots and Recents App thumbnails are blank

Runtime storage permission does not fully work (setns kernel patches are not applied, see com.android.cts.appsecurity.PermissionsHostTest#te stInteractiveGrant CTS test. After granting permission, the app will need to be restarted before it sees the new permission.)

Installation Instructions

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 or TWRP recovery with SELinux support. Older CWM will result in a "status 7" error.

Download the ROM and GApps

Reboot to recovery

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

Flash the ROM and then GApps

For GT-I9105 flash nfc destroyer

Reboot your phone

Enjoy!

To upgrade to a newer build, simply flash the zip. There's no need for data wipe or flashing Google Apps again. (However, if you are experiencing strange issues, you may want to try a wipe.)

Changelog

20170118:
- Added Gello browser
- Added custom doze service
- Fixed CMFileManager and USB tethering
- SELinux in enforcing mode
- CyanogenMod > LineageOS
- [URL="https://github.com/ghsr/changelog/blob/android-7.1/lineageos/lineage-14.1-20170118-UNOFFICIAL-i9105p.txt"]Upstream merge[/URL]
- Based on android-7.1.1_r9

20161223:
- Initial alpha release

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

Credits

LineageOS team

@pawitp - for patches

@xenon92, @LuK1337, @CoolDevelopment and other I9105/P and I9082 devs

XDA:DevDB Information

LineageOS 14.1, ROM for the Samsung Galaxy S II Plus

Contributors

GHsR

Source Code: https://github.com/LineageOS

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.0.x

ROM Firmware Required: 4.2.2

Version Information

Status: Alpha

Created 2016-12-23

Last Updated 2017-01-18