FORUMS
Remove All Ads from XDA
H10 GPU

[ROM][I9100][UNOFFICIAL][8.1.0] LineageOS 15.1 [WIP][BETA]

343 posts
Thanks Meter: 2,485
 
By rINanDO, Senior Member on 17th September 2017, 08:08 PM
Post Reply Email Thread
Code:
/*
** Your warranty is now void.
**
** We are 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 us for messing up your device, we will laugh at you.
**
**/
Hi all,

This is a WIP Oreo build for the Galaxy S2 (i9100). Almost everything is working
I'm currently using TWRP 3.0.2 on my dev-phone to install the ROM. Other versions of TWRP I haven't tried. I had a hard time to identify the stability issues and issues with RIL because of lack of debug info. Thanks to @ChronoMonochrome for giving key information to troubleshoot these issues! The stability issues are fixed by several workarounds. (Java NullPointerExceptions are causing native crashes even when they are within try-catch block).

Known issues:
  • Offline charger not working! Don't drain your phone.
  • Battery drain, but device do deep sleep
  • Video recording and playback (partially) not working
  • No HW video en-/decoding
  • YouTube just stops after about 10 minutes (no forced closed)
  • No recent apps behind home button Longpress left touch button.
  • Can't install su-addon of LineageOS
    SuperSU is working but after dirty flash new build causes bootloops

    LOS SU is included in these builds.
  • Lineage PowerHAL needs HIDL implementation for powersaving support
  • No V-Sync
  • Distortion when making screenshot and rotation animation
  • Camera rotation not working (Accelerometer issues)
    It sometimes works after standby/wakeup sequence within 5 seconds with camera app still active.
  • Still batterydrain (Kernel?/wakelock?/GAPPS?)
    Battery drain is caused by GAPPS. Installing it and registering an account eats 10% per hour. ROM is deep sleeping fine.
    Battery drain is caused by Wifi-scanning. After installing GAPPS the Wifi scanning (and Bluetooth) options are enabled by default. Because of this Wifi is ALWAYS active nevertheless the global Wifi-settings! This behavior doesn't exist in LOS-14.1 (Wifi always active with Wifi scanning enabled)
  • After a day, some apps are crashing. (Like Cool Tool, WebView (standard browser))
    This has something to do with ART. Please correct my findings. I don't know how ART works exactly.
    When the app gets optimized by dex2oat and ART is executing it not using JIT, the app crashes when an Null pointer dereference occur.
    This occurs after 4 -6 hours when the device is idle on the charger. This even occurs when the java-code is catching the exception.
    I guess I miss some kernel commits but I don't know where to look... Help!
    Temporary workaround is clearing Dalvik-cache via recovery.
    For WebView related crashes, you can install Chrome and use this as your WebView-implementation under Developer Options.

    We limit ART's compile filter to 'quicken'. ' speed' and 'speed-profile' doesn't work properly on our device.

Enable GO (Low RAM) configuration
I created separate builds for GO until I found out there is a generic solution for this.
You can easily switch between editions by flashing the zip via recovery. Just ignore the TWRP-error.
I didn't investigate its cause but it works. Credits goes to @AdrianDC for this MOD.
https://forum.xda-developers.com/and...droid-t3737373


Source code:
https://www.github.com/lineageos
https://www.github.com/rinando

Build #15 2018-8-1
Overall state: Stable-ish
Android build: 8.1.0-r36
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated Lineage-sources
- Fixed accelerometer. Camera rotation is working!

Known issues & workaround:
- Battery drain caused by Wifi scanning which keeps Wifi always active.
Turn Wi-Fi Scanning off here: Settings -> Security & Privacy -> Location -> Scanning ->Wi-Fi scanning

Download here for full Build: lineage-15.1-20180731-UNOFFICIAL-i9100_SU_MicroG.zip

Build #14 2018-7-2
Overall state: Stable-ish
Android build: 8.1.0-r30
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated Lineage-sources
- Fixed ART native crash issue!
- Applied GO optimization (except for the low_ram-flag)

Download here for full Build: lineage-15.1-20180702-UNOFFICIAL-i9100_SU_MicroG.zip


Build #13 2018-6-17
Overall state: Stable-ish
Android build: 8.1.0-r30
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated Lineage-sources
- Update ART compile filters. Should fix app crash the next day
- Fixed screenshot/rotation UI distortion
- Decreased ZRAM to 50MB for better performance
- Back to 512mb dalvik profile
- Default camera-app pinned in memory

Download here for full Build: lineage-15.1-20180616-UNOFFICIAL-i9100_SU_MicroG.zip


Build #12 2018-5-27
Overall state: Stable-ish
Android build: 8.1.0-r26
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated Lineage-sources
- Fixed AGPS and RIL's CellLocation
- Fixed IMEI and IMEISV
- Fixed a bug in PowerHal. Interaction CPU Boost didn't work properly.

Download here for full Build: lineage-15.1-20180527-UNOFFICIAL-i9100_SU_MicroG.zip

Build #11 2018-5-5
Overall state: Stable-ish
Android build: 8.1.0-r20
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Same as Build #10 except:
- Updated Lineage-sources
- Added the MicroG-patch for Signature Spoofing

Download here for full Build: lineage-15.1-20180505-UNOFFICIAL-i9100_SU_MicroG.zip

Build #10 2018-5-1
Overall state: Stable-ish
Android build: 8.1.0-r20
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
* Significant Motion sensor added (Experimental for Doze)
* Enabled ZRAM again - I didn't noticed performance improvement over time.
And I noticed out of memory issues, hangs and softboots.
* Implemented Lineage PowerHAL HIDL implementation for powersaving support.
* Enabled touchbutton brightness-control.

Still working on:
* Accelerometer/rotation issues
* IMEI - IMEI RIL-requests are depricated. I'm trying to shim this.
* Graphical glitches - Probably because of issues with backing store not supported in libMali.so.
* Shimming exynos4 specific things.
* Still in doubt if GPS fix is actually improved....

Download here for full Build: lineage-15.1-20180501-UNOFFICIAL-i9100_SU.zip

Build #9 2018-4-3
Overall state: Carefully stable
Android build: 8.1.0-r15
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
* Fixed hw encoding/decoding (partially via libstagefright_shim. Still need patch in frameworks_av.)
* Camera recording fixed
* GPS fix improvement
* Latest lineage-sources
* Moved most exynos4 specific changes to our shims or own HIDL implementation
* Disabled ZRAM - Hopefully we have better performance after a few days of use
* Using 1GB memory profile instead of 512MB - Maybe this help memory usage more efficient
* RIL - Moved some code to our shims

Still working on:
* IMEI - IMEI RIL-requests are depricated. I'm trying to shim this.
* Graphical glitches - Probably because of issues with backing store not supported in libMali.so.
* Shimming exynos4 specific things.
* Rotation sometimes not working properly.
* Still in doubt if GPS fix is actually improved....

Download here for full Build: lineage-15.1-20180403-UNOFFICIAL-i9100_SU.zip
Download here for GO Build: lineage-15.1-20180402-UNOFFICIAL-i9100_GO_SU.zip

Build #8 2018-2-18
Overall state: Carefully stable
Android build: 8.1.0-r11
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated LOS sources
- Fixed offline charging
- Added SU
- Updated GPS-Shim (Now shimming i9100 specific structs)
Download here for full Build: lineage-15.1-20180217-UNOFFICIAL-i9100_SU.zip
Download here for GO Build: lineage-15.1-20180217-UNOFFICIAL-i9100_GO_SU.zip

Build #7 2018-1-29
Overall state: Carefully stable, lets test!
Android build: 8.1.0-r4 (GO)
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated LOS sources
- Advanced Display is back
- Live Display is back
- Fixed SamsungPowerHAL.
Battery drain should be fixed.
- Fixed crash when alarm goes off in clock-app
(and possibly other crashes)

Download here for full Build: lineage-15.1-20180129-UNOFFICIAL-i9100.zip
Download here for GO Build: lineage-15.1-20180129-UNOFFICIAL-i9100_GO.zip

Build #6 2018-1-23
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: Carefully stable, lets test!
Android build: 8.1.0-r4 (GO)
Changes:
* Fixed random softboots by workarounds, uptime so far 20 hours.
* Fixed installing large apps via GAPPS (Waze, Antutu 3D benchmark, etc)
* Fixed bluetooth crash/restart when turned off
Download here: lineage-15.1-20180123-UNOFFICIAL-i9100.zip

Build #5 2018-1-13
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: More stable
Android build: 8.1.0-r4
Changes:
* RIL works!
* Disabeled HW Codecs.
* GAPPS 8.1 is working!
* Random softboots when WIFI is enabled (as far as I know)
* Workarounds implemented for stability (Still investigating main cause)
Download here: lineage-15.1-20180113-UNOFFICIAL-i9100.zip


Build #4 2017-12-10
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: UNSTABLE
Android build: 8.1.0-r1
Changes:
* Same things works/not works as Build #3
* Using GO-configuration
* Most apps won't start or crashes randomly.
* Don't install GAPPS.

Download here: lineage-15.1-20171210_204047-UNOFFICIAL-i9100.zip


Build #3 2017-12-04
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: UNSTABLE
Android build: 8.0.0-r30

What works?
* Display color Fix (BOARD_EGL_WORKAROUND_BUG_10194508)
* Bluetooth
* Wifi
* Audio
* Camera (Take picture only)
* Vibrator
* GPS
* Sensors (all but accelerometer)

What doesn't work?
* Charger
* Camera (Video recording)
* Display graphics issues (distortion + hw acceleration)
* HW Video playback
* RIL (null pointer reference on setRadioState in libsec-ril.so)
* Accelerometer
* Stability issues (Time to time null pointer reference in /data/dalvik-cache/arm/[email protected]@[email protected] (offset 0x500000))

Download here: Lineage-15.0-20171203_214230-UNOFFICIAL-i9100.zip

Build #2 2017-11-13
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: UNSTABLE
Android build: 8.0.0-r30

What works?
* Display color Fix (BOARD_EGL_WORKAROUND_BUG_10194508)
* Bluetooth
* Wifi

What doesn't work?
* Audio
* Display graphics issues (distortion)
* Video playback
* Camera
* Vibrator
* RIL
* And still many more....
Download here: lineage-15.0-20171113-UNOFFICIAL-i9100.zip


Build #1 2017-09-17
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: UNSTABLE

What works? Nothing, not really tested because it just booted
What doesn't work? Everything, not really tested
Download here: lineage-15.0-20170917-UNOFFICIAL-i9100.zip
The Following 101 Users Say Thank You to rINanDO For This Useful Post: [ View ] Gift rINanDO Ad-Free
 
 
17th September 2017, 08:09 PM |#2  
OP Senior Member
Thanks Meter: 2,485
 
More
* Reserved *
The Following 16 Users Say Thank You to rINanDO For This Useful Post: [ View ] Gift rINanDO Ad-Free
17th September 2017, 08:37 PM |#3  
toy_story's Avatar
Senior Member
Flag Tambov
Thanks Meter: 542
 
More
Official Open GApps 8.1
Download Open GApps recommended by the Lineage OS team
Installation in TWRP-3.1.0-0 was successful.
Upd.
My first time too was not loaded.
I did all the Wipe and uploaded in 5 minutes.
The screenshots are done, but the screenshot's image is very bad, like on the old TV, where the channel constantly gets off and does not see anything, so @rINanDO posted such an image, not a screenshot.
Yes, almost nothing works, but the phone works quickly, without a cellular connection, you can check and solve the problems, but my s2 is the main phone.
Attached Thumbnails
Click image for larger version

Name:	11094105.png
Views:	11534
Size:	164.0 KB
ID:	4276381   Click image for larger version

Name:	11094106.png
Views:	11168
Size:	58.1 KB
ID:	4276382   Click image for larger version

Name:	11094108.png
Views:	11196
Size:	66.9 KB
ID:	4276383  
The Following 12 Users Say Thank You to toy_story For This Useful Post: [ View ] Gift toy_story Ad-Free
17th September 2017, 09:04 PM |#4  
Member
Thanks Meter: 8
 
More
It looks pretty cool even tho with bugs. Hope it comes out soon without bugs.... Thank you!
The Following User Says Thank You to HutchGuy For This Useful Post: [ View ] Gift HutchGuy Ad-Free
18th September 2017, 03:08 AM |#5  
Senior Member
Flag Salvador, BA
Thanks Meter: 384
 
More
Blood pressure dropped a bit when I saw 'Android O' even in alpha phase!
I'll try right now!

---------- Post added at 02:08 AM ---------- Previous post was at 01:52 AM ----------

How can I help besides reporting the bugs?

EDIT: I tried to install the trial version of Oreo lineage with TWRP versions 3.02-1 and 3.1.0. Unsuccessfully. It is only in part 'Patching system image unconditionally'. 10 minutes later it stays the same and the CPU of the cell phone goes to 67 degrees. Exit the screen only if you remove the battery.
I also tried the recent kernel dorimanx and nothing happened.
I'll wait for the next test build =)
The Following 3 Users Say Thank You to linusdan For This Useful Post: [ View ] Gift linusdan Ad-Free
18th September 2017, 08:15 AM |#6  
Shambles22's Avatar
Senior Member
Flag Roma
Thanks Meter: 42
 
More
I tried to flash the build with latest twrp but doesn't boot
The Following 2 Users Say Thank You to Shambles22 For This Useful Post: [ View ] Gift Shambles22 Ad-Free
18th September 2017, 12:27 PM |#7  
Spyr0s's Avatar
Senior Member
Flag Athens
Thanks Meter: 1,003
 
Donate to Me
More
How is battery life?
The Following User Says Thank You to Spyr0s For This Useful Post: [ View ] Gift Spyr0s Ad-Free
18th September 2017, 05:51 PM |#8  
bielie's Avatar
Senior Member
Flag Jakarta
Thanks Meter: 29
 
More
* buying more popcorns *
19th September 2017, 01:13 AM |#9  
Member
Thanks Meter: 13
 
More
Hehehe great! Work hard for a full supported port!
19th September 2017, 04:46 AM |#10  
Junior Member
Thanks Meter: 1
 
More
On my device It boot's up, but the colors are inverted in some way, the blue on the logo is a green, the entire system get's green for some reason
19th September 2017, 02:02 PM |#11  
OP Senior Member
Thanks Meter: 2,485
 
More
Quote:
Originally Posted by matterrorist

On my device It boot's up, but the colors are inverted in some way, the blue on the logo is a green, the entire system get's green for some reason

True, I didn't noticed that at first.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes