• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][UNOFFICIAL][ocn] LineageOS 15.1 [8.1][08 OCT]

Search This thread

imGomez

Senior Member
Sep 14, 2015
158
280
Porto
HTC U11
OnePlus 7
https%3A%2F%2Fimg.xda-cdn.com%2Fy-LtXHGCDBH0KxFw9MxWAPF3guk%3D%2Fhttp%253A%252F%252F i.imgur.com%252F2okPze5.png

LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

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. You can also view the Changelog for a full list of changes & features.

Instructions:

  • Before instaling, make sure you are running the latest Oreo firmware from the latest HTC Sense.
  • If you are encrypted but running an AOSP ROM then you're fine. If you come from Sense, take a full backup of all your data, boot into TWRP and format data (the option which requires you to type "yes") and clean flash accordingly. This is due to encryption changes. Do not skip this step or you will be locked out of your system by a password prompt.
  • If you are coming from any other ROM wiping /data is strongly recommended
  • Download the latest build and GApps (both links are below).
  • Reboot to TWRP.
  • Flash the latest build and GApps.
  • Reboot and enjoy (as much as currently possible)

Downloads:


Known Issues:

  • Verizon/Sprint are reportedly unstable.
  • Voice and Text over LTE doesn't work with every carrier.

Reporting bugs:

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

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.

Credits:

This is a very important note: I am NOT the original developer of the device tree I'm using. It's not thanks to me that this is up and running now. Please, be sure to thank and donate to the developers behind SlimTeam.

Disclaimer: We are not responsible for any damages to your device.

Device Source
Kernel Source

XDA:DevDB Information
LineageOS 15.1, ROM for the HTC U11

Contributors
imGomez, Flinny,jsaxon2,Freak07,tomascus
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: Oreo
Based On: LineageOS

Version Information
Status: Alpha

Created 2018-03-17
Last Updated 2018-10-07
 

Attachments

  • Screenshot_Trebuchet_20180309-024848.jpg
    Screenshot_Trebuchet_20180309-024848.jpg
    242.6 KB · Views: 15,174
  • Screenshot_Trebuchet_20180309-024859.jpg
    Screenshot_Trebuchet_20180309-024859.jpg
    132.6 KB · Views: 14,516
  • Screenshot_Trebuchet_20180309-025429.jpg
    Screenshot_Trebuchet_20180309-025429.jpg
    115 KB · Views: 14,352
  • Screenshot_Settings_20180309-024920.png
    Screenshot_Settings_20180309-024920.png
    176.7 KB · Views: 13,913
  • Screenshot_Settings_20180309-024926.png
    Screenshot_Settings_20180309-024926.png
    193 KB · Views: 13,624
  • Screenshot_Trebuchet_20180309-025412.jpg
    Screenshot_Trebuchet_20180309-025412.jpg
    131 KB · Views: 13,288
  • Screenshot_Trebuchet_20180309-025400.jpg
    Screenshot_Trebuchet_20180309-025400.jpg
    114.6 KB · Views: 13,084
  • Screenshot_Settings_20180309-024957.png
    Screenshot_Settings_20180309-024957.png
    197.1 KB · Views: 12,723
  • Screenshot_Settings_20180309-025054.png
    Screenshot_Settings_20180309-025054.png
    154.5 KB · Views: 12,251
Last edited:

imGomez

Senior Member
Sep 14, 2015
158
280
Porto
HTC U11
OnePlus 7
Changelog:
Code:
07/10/2018 -
	October Security Patches.
	Latest LineageOS changes.

30/09/2018 -
	Buttons backlight brightness is now defaulted to very low.
	Switched back to a fork of freak07 upstreamed kernel.
	Re-introduced WireGuard VPN and KCAL support.
	General system stability improvements. ([URL="https://github.com/daanieldasilvaa/device_htc_ocn/commits/lineage-15.1"]github [/URL]for more info)
	Latest LineageOS changes.

09/09/2018 -
	September Security Patches
	Merged Slim's changes regarding deep sleep.
	Switched to tomascus kernel based on tag LA.UM.6.4.r1-10300 upstreamed to 4.4.145
	Dropped WireGuard VPN support for now.
	Dropped KCAL support.
        Added vendor security patch level to settings.
        Various small fixes and general system improvements. (more info on github)
	GPS updated from tag LA.UM.6.4.r1-08500-8x98.0
        data-ipa-cfg-mgr updated from tag LA.UM.6.4.r1-10300-8x98.0
	Latest LineageOS changes.

09/07/2018 -
	Kernel upstreamed to 4.4.139
	July Security Patches.
	Latest LineageOS changes.

30/06/2018 -
	Updated data-ipa-cfg-mgr from CAF.
	Added gnsspps sources from CAF.
        Added VNDK SP libs.
 	Build VR HAL and add respective permissions and vendor props.
	Kernel upstreamed to 4.4.138
	Latest LineageOS changes.

11/06/2018 -
	June Security Patches.
	Kernel upstreamed to 4.4.136
	Latest LineageOS changes.

02/06/2018 -
	Fixed OK Google detection but only when the screen is on.
	Kernel upstreamed to 4.4.135
	Latest LineageOS changes.

20/05/2018 -
	Fixed an issue with buttons backlight brightness not loading correctly from preference.
	Kernel upstreamed to 4.4.132
	Latest LineageOS changes.

15/05/2018 -
	Haptic Feedback now ignores DND on Gestures/Squeeze.

14/05/2018 -
	Initial squeeze sensor support. @jsaxon2
	Added more actions for off-screen gestures/squeeze. @jsaxon2
	Squeeze to take a picture, it's enabled by default and will work with all camera apps that support vol-up to trigger the shutter and have "camera" in the package name. @jsaxon2
	Fixed unintended double vibration in the haptic feedback of gestures.
	Fixed Android Auto crashing the device.
	Fixed USB Tethering.
	Initial basic support for the 3.5mm jack adapter. (it's not stable yet)
	IPA updated from CAF upstream.
	Imported Thermal HAL from CAF.
	Kernel changed to @freak07 upstreamed 4.4.131 kernel (source link updated).
	May Security Patches.
	Latest LineageOS changes.

14/04/2018 -
	Fixed an issue with some applications not being able to properly access external storage.
	Improved stability of GPS. (it's still not perfect, waze is still shaky on my end)
	Brightness for the capacitive buttons can now be adjusted. I personally recommend a solid 1%. You can find the slider under "System - Buttons - Backlight" @jsaxon2
	Flashlight gesture doesn't wake up the screen anymore. @jsaxon2
	Reverted dtwl network changes. Hopefully dual-sim is now working.
	Latest LineageOS and AOSP changes. (April Security Patches)

06/04/2018 -
	Tweaked gestures code for more stability.
	Added a few more actions for gestures.
	Fixed vibration for the capacitive buttons. @jsaxon2
        Updated LineageOTA server's API to match latest Lineage updates.
	Latest LineageOS and AOSP changes. (April Security Patches)

28/03/2018 -
	SELinux is now set to enforcing.
	Hopefully fixed DTWL radio issues some users were experiencing.
	Added some props for LineageOTA. Internal updater is still under testing.
	Latest LineageOS changes.

21/03/2018 -
	Placeholder gestures implemented. 
	Increased volume steps from 15 to 25.
	LineageOS internal updater early implementation. It might not be stable, it will naturally be tested when the next build releases.

18/03/2018 -
	Implemented WireGuard support into the kernel. Learn more about the VPN Project: WireGuard [URL="https://www.xda-developers.com/wireguard-vpn-project-support-android-roms/"]here[/URL].
	Fully passes SafetyNet now.
	Performance improvements and small bug fixes.
        Latest LineageOS changes.

16/03/2018 -
	Implemented KCAL into the Kernel. [URL="http://downloads.codefi.re/savoca/kcal"]App to control it[/URL].

14/03/2018 -
	Added double tap to wake support. (it's under Display - Advanced - Tap to Wake)

13/03/2018 -
	Added [email protected] hevc video, [email protected] [email protected] slow-motion and [email protected] hevc timelapse video encoder profiles for the back camera.
	Added [email protected] normal and timelapse encoder profiles for the front camera.
	Added hevc video encoder.
	Added flac audio decoder.
	Fixed some system permissions.
        Merged with Flinny's recent changes regarding VoLTE/IMS and model compatibilities.

09/03/2018 -
        Fixed LED capabilities.
	Fixed recents button customization
	Fixed YouTube force closing. 
	Added kernel driver for LiveDisplay and enabled it.
        Latest LineageOS changes.

08/03/2018 - 
	Initial release.
 
Last edited:

mattman83

Senior Member
Jan 19, 2011
2,982
1,104
Brisbane
Dirty flash over slim rom 8.1 works just fine. No setup wizard issues that way :p magisk + safety net fixes discussed in slim thread also working for me now.

Will update if issues with time but nothing to speak of immediately after flashing.

M.
 
  • Like
Reactions: anthonws

mattman83

Senior Member
Jan 19, 2011
2,982
1,104
Brisbane
Yaaaaaaay!! ?? stable enough guys??

I have been on slim for a week and now on this obviously only for a few hours but I no stability problems on either (I assume LOS device bringup is based on what Flinny did to get slim running, so much is the same). Speed is good, battery is good, no crashes or reboots.

Safetynet can be fixed with magisk, aosp clock is not playing along (at least on slim) so just install google clock from app store, couple little things like that but nothing that can't be fixed by the user.

I've gone through and replaced a handful of the stock aosp apps with the google play store equivalents, bsg gcam v4 works fine... But that is all just personal preference and everything works either way.

M.
 

imGomez

Senior Member
Sep 14, 2015
158
280
Porto
HTC U11
OnePlus 7
I have been on slim for a week and now on this obviously only for a few hours but I no stability problems on either (I assume LOS device bringup is based on what Flinny did to get slim running, so much is the same). Speed is good, battery is good, no crashes or reboots.

Safetynet can be fixed with magisk, aosp clock is not playing along (at least on slim) so just install google clock from app store, couple little things like that but nothing that can't be fixed by the user.

I've gone through and replaced a handful of the stock aosp apps with the google play store equivalents, bsg gcam v4 works fine... But that is all just personal preference and everything works either way.

M.

Yes, you're correct, it is stated on the original post that this is based on Flinny's device tree however there are bugs on here that you won't find on Slim and there are bugs on Slim that you won't find here, source tree related stuff.

One example is button illumination settings are working correctly here and there's also an option to only illuminate buttons on keypress, so they behave like Sense. (the lights always-on annoy the hell out of me).

I've tested the stock Clock and found no issues on my end. I'm working on a workaround to fix SafetyNet without needing to flash an additional zip. I'm updating the "Known Issues" section as I make progress and as more bugs are found. Keep reporting them :)
 
Last edited:

imGomez

Senior Member
Sep 14, 2015
158
280
Porto
HTC U11
OnePlus 7
FC while using Youtube. No respond after a few mins of video watching
Oh that's no good, did you also use OpenGapps? I'll give other gapps a try and report accordingly on the main post. I haven't had playback issues on any other app other than YT. NewPipe is working on the meanwhile.

Thanks for this! Our patience is rewarded!
Beware of the bugs. This is still a very early stage. You don't have to thank me for this, Flinny did all the hard work with Slim.

Is edge sense working?
Not yet, and as of now GesturesHandler isn't enabled either so no gestures for the time being. I'll look at that later, there's some more important issues to address first.
 
Last edited:

aadeshiscool

Senior Member
Jun 21, 2015
205
15
I'll upload a second build to fix a couple of things later today and I'll provide another host. Preference? AFH isn't an option yet.

Thanks! maybe google drive?

---------- Post added at 08:45 PM ---------- Previous post was at 08:27 PM ----------

Also I just noticed that this rom has some regular hiccups in the sense the phone would freeze for a moment and force close the app that would be running. Is anyone else facing this problem?
 

imGomez

Senior Member
Sep 14, 2015
158
280
Porto
HTC U11
OnePlus 7
Thanks! maybe google drive?

---------- Post added at 08:45 PM ---------- Previous post was at 08:27 PM ----------

Also I just noticed that this rom has some regular hiccups in the sense the phone would freeze for a moment and force close the app that would be running. Is anyone else facing this problem?

It definitely has some hiccups here and there but the only app force closing itself on my end is YouTube, which I'm still unsure why. I need to seek the help of a more experienced developer, the only related thing I can spot in the logcats is errors with the vp8/9 decoder but I'm not sure if that's why and also unsure how to fix atm. I'm still investigating :/

I'll push an update very soon to fix some other things tho.

edit: Update is live. I think I fixed the YouTube FC. At least it works now on my side. Changelog is on the second post.
Please keep providing feedback :)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 42
    https%3A%2F%2Fimg.xda-cdn.com%2Fy-LtXHGCDBH0KxFw9MxWAPF3guk%3D%2Fhttp%253A%252F%252F i.imgur.com%252F2okPze5.png

    LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

    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. You can also view the Changelog for a full list of changes & features.

    Instructions:

    • Before instaling, make sure you are running the latest Oreo firmware from the latest HTC Sense.
    • If you are encrypted but running an AOSP ROM then you're fine. If you come from Sense, take a full backup of all your data, boot into TWRP and format data (the option which requires you to type "yes") and clean flash accordingly. This is due to encryption changes. Do not skip this step or you will be locked out of your system by a password prompt.
    • If you are coming from any other ROM wiping /data is strongly recommended
    • Download the latest build and GApps (both links are below).
    • Reboot to TWRP.
    • Flash the latest build and GApps.
    • Reboot and enjoy (as much as currently possible)

    Downloads:


    Known Issues:

    • Verizon/Sprint are reportedly unstable.
    • Voice and Text over LTE doesn't work with every carrier.

    Reporting bugs:

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

    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.

    Credits:

    This is a very important note: I am NOT the original developer of the device tree I'm using. It's not thanks to me that this is up and running now. Please, be sure to thank and donate to the developers behind SlimTeam.

    Disclaimer: We are not responsible for any damages to your device.

    Device Source
    Kernel Source

    XDA:DevDB Information
    LineageOS 15.1, ROM for the HTC U11

    Contributors
    imGomez, Flinny,jsaxon2,Freak07,tomascus
    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 4.x
    ROM Firmware Required: Oreo
    Based On: LineageOS

    Version Information
    Status: Alpha

    Created 2018-03-17
    Last Updated 2018-10-07
    19
    Changelog:
    Code:
    07/10/2018 -
    	October Security Patches.
    	Latest LineageOS changes.
    
    30/09/2018 -
    	Buttons backlight brightness is now defaulted to very low.
    	Switched back to a fork of freak07 upstreamed kernel.
    	Re-introduced WireGuard VPN and KCAL support.
    	General system stability improvements. ([URL="https://github.com/daanieldasilvaa/device_htc_ocn/commits/lineage-15.1"]github [/URL]for more info)
    	Latest LineageOS changes.
    
    09/09/2018 -
    	September Security Patches
    	Merged Slim's changes regarding deep sleep.
    	Switched to tomascus kernel based on tag LA.UM.6.4.r1-10300 upstreamed to 4.4.145
    	Dropped WireGuard VPN support for now.
    	Dropped KCAL support.
            Added vendor security patch level to settings.
            Various small fixes and general system improvements. (more info on github)
    	GPS updated from tag LA.UM.6.4.r1-08500-8x98.0
            data-ipa-cfg-mgr updated from tag LA.UM.6.4.r1-10300-8x98.0
    	Latest LineageOS changes.
    
    09/07/2018 -
    	Kernel upstreamed to 4.4.139
    	July Security Patches.
    	Latest LineageOS changes.
    
    30/06/2018 -
    	Updated data-ipa-cfg-mgr from CAF.
    	Added gnsspps sources from CAF.
            Added VNDK SP libs.
     	Build VR HAL and add respective permissions and vendor props.
    	Kernel upstreamed to 4.4.138
    	Latest LineageOS changes.
    
    11/06/2018 -
    	June Security Patches.
    	Kernel upstreamed to 4.4.136
    	Latest LineageOS changes.
    
    02/06/2018 -
    	Fixed OK Google detection but only when the screen is on.
    	Kernel upstreamed to 4.4.135
    	Latest LineageOS changes.
    
    20/05/2018 -
    	Fixed an issue with buttons backlight brightness not loading correctly from preference.
    	Kernel upstreamed to 4.4.132
    	Latest LineageOS changes.
    
    15/05/2018 -
    	Haptic Feedback now ignores DND on Gestures/Squeeze.
    
    14/05/2018 -
    	Initial squeeze sensor support. @jsaxon2
    	Added more actions for off-screen gestures/squeeze. @jsaxon2
    	Squeeze to take a picture, it's enabled by default and will work with all camera apps that support vol-up to trigger the shutter and have "camera" in the package name. @jsaxon2
    	Fixed unintended double vibration in the haptic feedback of gestures.
    	Fixed Android Auto crashing the device.
    	Fixed USB Tethering.
    	Initial basic support for the 3.5mm jack adapter. (it's not stable yet)
    	IPA updated from CAF upstream.
    	Imported Thermal HAL from CAF.
    	Kernel changed to @freak07 upstreamed 4.4.131 kernel (source link updated).
    	May Security Patches.
    	Latest LineageOS changes.
    
    14/04/2018 -
    	Fixed an issue with some applications not being able to properly access external storage.
    	Improved stability of GPS. (it's still not perfect, waze is still shaky on my end)
    	Brightness for the capacitive buttons can now be adjusted. I personally recommend a solid 1%. You can find the slider under "System - Buttons - Backlight" @jsaxon2
    	Flashlight gesture doesn't wake up the screen anymore. @jsaxon2
    	Reverted dtwl network changes. Hopefully dual-sim is now working.
    	Latest LineageOS and AOSP changes. (April Security Patches)
    
    06/04/2018 -
    	Tweaked gestures code for more stability.
    	Added a few more actions for gestures.
    	Fixed vibration for the capacitive buttons. @jsaxon2
            Updated LineageOTA server's API to match latest Lineage updates.
    	Latest LineageOS and AOSP changes. (April Security Patches)
    
    28/03/2018 -
    	SELinux is now set to enforcing.
    	Hopefully fixed DTWL radio issues some users were experiencing.
    	Added some props for LineageOTA. Internal updater is still under testing.
    	Latest LineageOS changes.
    
    21/03/2018 -
    	Placeholder gestures implemented. 
    	Increased volume steps from 15 to 25.
    	LineageOS internal updater early implementation. It might not be stable, it will naturally be tested when the next build releases.
    
    18/03/2018 -
    	Implemented WireGuard support into the kernel. Learn more about the VPN Project: WireGuard [URL="https://www.xda-developers.com/wireguard-vpn-project-support-android-roms/"]here[/URL].
    	Fully passes SafetyNet now.
    	Performance improvements and small bug fixes.
            Latest LineageOS changes.
    
    16/03/2018 -
    	Implemented KCAL into the Kernel. [URL="http://downloads.codefi.re/savoca/kcal"]App to control it[/URL].
    
    14/03/2018 -
    	Added double tap to wake support. (it's under Display - Advanced - Tap to Wake)
    
    13/03/2018 -
    	Added [email protected] hevc video, [email protected] [email protected] slow-motion and [email protected] hevc timelapse video encoder profiles for the back camera.
    	Added [email protected] normal and timelapse encoder profiles for the front camera.
    	Added hevc video encoder.
    	Added flac audio decoder.
    	Fixed some system permissions.
            Merged with Flinny's recent changes regarding VoLTE/IMS and model compatibilities.
    
    09/03/2018 -
            Fixed LED capabilities.
    	Fixed recents button customization
    	Fixed YouTube force closing. 
    	Added kernel driver for LiveDisplay and enabled it.
            Latest LineageOS changes.
    
    08/03/2018 - 
    	Initial release.
    13
    A new build is out, hotword detection now works when the screen is on and the kernel has been upstreamed to 4.4.135.
    No ETA for hotword to work with screen-off.
    12
    I'll release a new build with the September security patches as soon as the devs are done merging them to the Lineage branch.

    Update is out with September patches and some other stuff as well, more info on the changelog and even more detailed info on github :)
    10
    New build is out, I haven't had a lot of time lately so I have not fixed any bugs or implemented Flinny's changes regarding Edge Sense into Lineage. I basically only updated the sources which most likely didn't magically fix anything. Full changelog is in the second post as usual.