Code:
#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.
*/
- 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/aosp-6.0/patches
- WebView: https://github.com/ghsr/android_external_chromium-webview
Downloads
- ROM: https://s.basketbuild.com/devs/GHsR/galaxys2plus/marshmallow/aosp/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
- Runtime storage permission does not work properly (setns patches are not applied, see PermissionsHostTest CTS test)
Installation Instructions
- Make sure you are either on any Lollipop ROM or on 4.2.2 TW based ROM
and NOT on 4.1.2 TW based ROM - Download the ROM and GApps
- Reboot to recovery
- Take a nandroid backup
- Wipe data/factory reset
- 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. You also need to flash Google Apps and other addons again because addon.d support is not included in this ROM.
Changelog
Code:
20161012:
- Added EAP-SIM authentication support
- Optional overclocking to 1.6 Ghz
- Based on [URL="https://github.com/ghsr/changelog/blob/android-6.0/aosp/android-6.0.1_r52-to-android-6.0.1_r72.txt"]android-6.0.1_r72[/URL]
20160709:
- Based on [URL="https://github.com/ghsr/changelog/blob/android-6.0/aosp/android-6.0.1_r46-to-android-6.0.1_r52.txt"]android-6.0.1_r52[/URL]
20160614:
- Enabled Ambient Display
- Reverted setns patches due to some issues with the kernel
- Added sio sioplus zen I/O schedulers
- Added lulzactive smartassV2 smartassH3 governors
- Based on [URL="http://www.androidpolice.com/android_aosp_changelogs/android-6.0.1_r43-to-android-6.0.1_r46-AOSP-changelog.html"]android-6.0.1_r46[/URL]
20160504:
- Fixed unstable usb connection
- Fixed runtime storage permission (applied setns patches in the kernel)
- Enabled auto power modes
- Added some encryption fixes
- Enabled gesture typing and fixed LatinIME fc (thanks to @[URL="http://forum.xda-developers.com/member.php?u=6429309"]DodoGTA[/URL] for providing working gesture typing library)
- Fixed youtube issue (stopping video playback after 5-7 seconds)
- Updated blobs from I9105PXXUBOB2
- Based on [URL="https://gist.github.com/ghsr/41fe9983d725c8668abaa8cbc1983a9e"]android-6.0.1_r43[/URL]
20160407:
- Based on [URL="http://www.androidpolice.com/android_aosp_changelogs/android-6.0.1_r22-to-android-6.0.1_r24-AOSP-changelog.html"]android-6.0.1_r24[/URL]
20160314:
- Fixed SIM card detection when phone is encrypted
- Based on [URL="https://gist.github.com/ghsr/7cb38b3ec218308b9096"]android-6.0.1_r22[/URL]
20160204:
- Fixed call mute
- Enabled zRAM and zCache
- Added SELinux status to Settings -> About phone
- Resized launcher icons
- Based on [URL="https://gist.github.com/ghsr/35002dc10adb47fb9924"]android-6.0.1_r16[/URL]
20160109:
- Fixed Google Play Movies (widevine DRM)
- SELinux in enforcing mode
- Based on [URL="https://gist.github.com/ghsr/7642f572c6a097633fea"]android-6.0.1_r10[/URL]
20151209:
- Fixed Flashlight issues
- Disabled gesture typing on AOSP Keyboard to prevent crash with some gapps
- Updated WebView to 47.0.2526.76
- Based on [URL="https://gist.github.com/pawitp/d3d47d92c0e3ed0e3a36"]android-6.0.1_r3[/URL]
20151121:
- Fixed AutoRotation after sleep
- Fixed stock browser fc
- Fixed Camera crop/rotate issue
- Disabled journaling to save system.img space
20151103:
- Removed QuickSearchBox
- Fixed 2G only network mode
- Added performance media codecs
- Fixed "Optimizing apps" dialog on each boot
- Enabled clear all recents button
- Updated RIL for M
- Updated uid_cputime in the kernel
- Based on [URL="https://cdn.rawgit.com/anonymous/70006daaaaffd2da4d16/raw/71ba1503d476dd89b2adec4862b8340cd192de7e/index.html"]android-6.0.0_r26[/URL]
20151016:
- Fixed RIL (Calls, SMS, Mobile Data)
- Fixed USB otg storage mounting
- Fixed NFC
- Applied show_uid_stat kernel patch
- Fixed installation on both devices
20151013:
- Initial alpha release based on android-6.0.0_r1
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
Bug report format
Code:
What is your--
Phone model (i9105 or i9105p):
Radio (baseband):
ROM version:
Gapps version:
Did you--
wipe:
restore with titanium backup:
reboot after having the issue:
Are you using--
a task killer:
a non-stock kernel:
other modifications:
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
- CyanogenMod team
- @pawitp - for patches
- @xenon92, @LuK1337, @CoolDevelopment and other I9105/P and I9082 devs
XDA:DevDB Information
AOSP Marshmallow, ROM for the Samsung Galaxy S II Plus
Contributors
GHsR
Source Code: https://android.googlesource.com/
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.0.x
ROM Firmware Required: 4.2.2
Version Information
Status: Beta
Created 2015-10-14
Last Updated 2016-10-20