[ROM] Unofficial Lineage 16.0 (updated 2021-4-18)

Is ring volume loud enough?

  • Yes

    Votes: 17 70.8%
  • No

    Votes: 7 29.2%

  • Total voters
    24
Search This thread

tomascus

Recognized Developer
Jun 5, 2012
1,904
2,650
Melbourne
lineage_logo_strip_onteal_500x120.png

Post 1 - Introduction, download, and changelog
Post 2 - How to report bugs
Post 3 - How to build LineageOS from my sources


Disclaimer
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 me for messing up your device, I will laugh at you.
*
*/

What it is
LineageOS is an open source operating system based on AOSP (Android Open Source Project) with many extra features and additions.

Screenshots


Known bugs
- On dual SIM devices, a SIM cannot be re-enabled once it has been disabled

Prerequisites
- Be on stock Oreo ROM (to have Oreo radio, dsp etc.)

Installation instructions
1. Download the updated TWRP recovery (thanks CaptainThrowback and RandomPooka): HERE
2. Reboot to download mode and flash it: "fastboot flash recovery name_of_file.img"
3. Download the latest ROM zip from the downloads section below
4. Wipe /system and /data (complete FORMAT /data if you're having issues)
5. Flash ROM zip in TWRP

Downloads
LineageOS builds: here
Gapps: here

Changelog

Latest:

Code:
2021-04-18
---------------------------------------------------------------------------------------------------------------------------
- Android: April 2021 Security patch
- Please backup everything first!! if you get google play service crashing then reflash gapps


Older releases:

Code:
2021-01-15
---------------------------------------------------------------------------------------------------------------------------
- Android: January 2021 Security patch
- Please backup everything first!! if you get google play service crashing then reflash gapps

2020-10-21
---------------------------------------------------------------------------------------------------------------------------
- Android: October Security patch
- Please backup everything first!! if you get google play service crashing then reflash gapps

2020-9-21
---------------------------------------------------------------------------------------------------------------------------
- Android: September Security patch
- Please backup everything first!! if you get google play service crashing then reflash gapps

2020-8-7
---------------------------------------------------------------------------------------------------------------------------
- Android: August Security patch

2020-3-10
---------------------------------------------------------------------------------------------------------------------------
- Android: March 5 2020 Security patch
- Kernel: merged v4.4.177
- Kernel: merge CAF tag LA.UM.6.4.r1-12900-8x98.0, latest for Oreo kernel

2019-12-12
---------------------------------------------------------------------------------------------------------------------------
- Android: December 5 2019 Security patch

2019-8-15
---------------------------------------------------------------------------------------------------------------------------
- Android: August security patch
- Kernel: merge CAF tag LA.UM.6.4.r1-12900-8x98.0

2019-7-02
---------------------------------------------------------------------------------------------------------------------------
- gps: modify NTP server to hopefully improve GPS lock-on speed
- squeeze gestures: remove launch ambient display action
- android: merge 5 July security patches (yes, from the future)
- framework: merge min time between notification sounds feature
- ambient gestures: remove pocket mode and pick up gestures

2019-5-13
---------------------------------------------------------------------------------------------------------------------------
- android: 5 May security patch merged
- android: android 9.0.0 r37 merged
- nfc: fix mismerge causing read failures
- gestures: translated to Russian (thanks to Golv)

2019-4-10
---------------------------------------------------------------------------------------------------------------------------
- merge April security patch
- drm: Fix Widevine issues for some users (thanks to @Golv)
- overlay: remove carrier overlays
- kernel: merge CAF tag LA.UM.6.4.r1-12100-8x98.0
- kernel: merge HTC diag drivers
- gestures: readd short squeeze to take picture
- mm: reduce ZRAM back to 512mb and lower swapiness back to 60

2019-3-17
---------------------------------------------------------------------------------------------------------------------------
- overlay: fix brightness slider having no effect at lower levels
- frameworks: expanded volume panel is back (buggy)
- frameworks: audioFX changes aimed at fixing sound issues with it enabled

2019/3/5
---------------------------------------------------------------------------------------------------------------------------
- ambient gestures: kang pocket mode and pick up gestures
- android: merge March security patches
- android: merge android-9.0.0_r34
- init: boot with performance governor for (hopefully) faster boot ups
- kernel: rebased yet again to fix poor code merges (thanks to nathanchance)
- kernel: other misc changes
- lights: workaround capacitive lights brightness issue
- overlay: increase ambient display brightness
- overlay: reduce minimum brightness
- power: don't boost big cluster on interaction
- screen gestures: decrease sensor sampling rate
- squeeze gestures: add ambient display action
- squeeze gestures: add turn screen on/off action
- squeeze gestures: decrease sensor sampling rate
- squeeze gestures: fix broken squeeze force setting
- squeeze gestures: fix incorrect squeeze force for long squeeze action activation
- squeeze gestures: revamp again. short squeeze vibration signals time to release (stock behaviour)

2019/2/25
---------------------------------------------------------------------------------------------------------------------------
- init: remove build fingerprint overrides in init (fix safetynet ctsProfile failure)
- kernel: merge CAF tag LA.UM.6.2.r1-11900-sdm660
- kernel: merge linux upstream 4.4.171 -> 4.4.175
- kernel: update EAS with kernel 4.9

2019/2/22
---------------------------------------------------------------------------------------------------------------------------
- NO MORE HMP BUILDS FROM HERE ON, I swear I'll stop switching
- gestures: fix edge sense not working in deep sleep
- gestures: seperate out edge sense and screen of gestures into different menus
- gestures: show selected options under their respective listpreference
- gestures: unregister EdgeSensorEventListener when screen is off to save power
- init: add idle_time permissions and set value to fix stuttering
- init: rework with radio props yet again (WIP)
- kernel: actually use BFQ iosched
- kernel: back to wahoo (Pixel 2) EAS
- kernel: misc changes from wahoo

2019/2/13
---------------------------------------------------------------------------------------------------------------------------
- Back to HMP builds
- Lessen frame drop issue with powerHAL changes
- Switch to Oneplus 5 perf stack
- Livedisplay updated to 2.0
- Network traffic monitor now working
- Crash in initial setup wizard with Gapps flashed fixed
- Use generic ACDB ids for bluetooth calls
- Fix wifi startup issue for some users

2019/2/9
---------------------------------------------------------------------------------------------------------------------------
- kernel: cleaned up the vast majority of HTC additions and changes
- kernel: misc changes
- fix livedisplay restart loop
- revert init radio prop cleanups
- increase notification, alarm, and ring volumes
- build Trust HAL (can be found in Settings->Security & Location->Trust->Privacy heading (Restrict USB)

2019/2/6
---------------------------------------------------------------------------------------------------------------------------
- Merged android-9.0.0_r31
- Android security patch level February 5, 2019
- Fix freezing on shutdown
- Fix detection of Mifare classic NFC tags
- Fix radio props not getting added on single-sim Australian variants (lol)
- Modify voice recording mic calibration to match stock
- Slightly lower volume of notifications, ringing and alarms
- Pin important apps and camera in memory
- Use Wi-Fi config from CAF
- Partly update audio configs with CAF
- Fix USB Dongle issues with EAS builds
- Switch to EAS only builds

2019/1/30
----------------------------------------------------------------------------------------------------------------------------
- Fix low bluetooth call volume
- Fix speaker volume being too loud
- Fix earpiece volume in-car being too loud
- Fix camcorder mic acdb
- Fix in-call mic routing

2019/1/29
----------------------------------------------------------------------------------------------------------------------------
- HMP and EAS variants available
- kernel (EAS): update EAS with 4.9 kernel commits
- kernel: up CONFIG_HZ to 1000
- kernel: patches from kernel-common that improve bluetooth connection stability
- kernel: merge linux upstream v4.4.171
- Big cleanups in kernel and device tree
- Re-enable Adaptive LMK
- Revert wifi config to stock

2019/1/26 [EXPERIMENTAL]
----------------------------------------------------------------------------------------------------------------------------
- HMP build only
- Kernel rebased on CAF tag LA.UM.7.4.r1-04600-8x98
- Change Wifi config to match mata and remove HTC changes
- Fixed an IMS missing symbol error
- Reworked gestures
    - Toggle haptic feedback ignores ringer
    - Add ability to take screenshot with a squeeze gesture
    - Modify long squeeze behaviour: long squeeze action activates while held down instead of when released
    - Add configurable long squeeze activation time

2019/1/22
----------------------------------------------------------------------------------------------------------------------------
- Two variants released - HMP and EAS
- Update Adreno stack from LA.UM.7.4.r1-04100-8x98.0
- Update SDM stack from LA.UM.7.4.r1-04100-8x98.0
- Phone can now be suspended in charge mode (charging while phone is off)
- Merged upstream linux v4.4.160 into kernel
- Disable Adaptive Low Memory Killer and revert minfree settings to default
- Cleanup device tree

2019/1/17
----------------------------------------------------------------------------------------------------------------------------
- Partially fix Type-C to 3.5mm dongle audio routing issue
- Kernel: rebased on clean tag LA.UM.6.2.r1-11600-sdm660.0
- Kernel: Revert all linux upstream patches (back to v4.4.78)
- Slightly increase autobrightness values for lower lux values

2019/1/15
----------------------------------------------------------------------------------------------------------------------------
- Blobs: Update proprietary blobs with stock 2.42.617.1, bringing vendor security patch level to 2018-11-01
- Gestures: seperate haptic feedback control for screen gestures and squeeze gestures
- Kernel: disable a lot of debugging options
- Kernel: remove force vibration on screen gesture detected
- Kernel: use CONFIG_HZ=300
- Overlay: reduce auto brightness response time
- Overlay: tweak auto brightness values to be less biased towards higher values (See: [url=https://drive.google.com/file/d/118JR8o5mQVRllbzqJs95XWMEOI3yfLoA/view?usp=sharing]This graph[/url])
- Revert "ocn: update gps from LA.UM.6.4.r1-11500-8x98.0" as it was causing GNSS to crash
- Update bthost_ipc with LA.UM.6.4.r1-11500-8x98.0
- Uprev health to 2.0

2019/1/10
----------------------------------------------------------------------------------------------------------------------------
- Selinux set to enforcing
- Enable sustained performance capability (see https://source.android.com/devices/tech/power/performance)
- move services to system-background cgroup to hopefully save power

2019/1/9
----------------------------------------------------------------------------------------------------------------------------
- Merged android-9.0.0_r30
- Android security patch level January 5, 2019
- Kang thermal blobs from Cheeseburger

2019/1/8 [TEST]
----------------------------------------------------------------------------------------------------------------------------
- Testing the use of EAS instead of HMP
- libperfmgr instead of the normal powerHAL to manage powerhints
- Edge sense and screen off gestures support (found in Settings -> System -> Gestures -> HTC Gestures and Edge sense)

2018/1/6
----------------------------------------------------------------------------------------------------------------------------
- merge tag LA.UM.6.4.r1-11500-8x98.0 into gps
- merge tag LA.UM.6.4.r1-11500-8x98.0 into data-ipa-cfg-mgr
- merge tag LA.UM.6.4.r1-11500-8x98.0 into kernel
- merge linux v4.4.167 into kernel
- build exfat in kernel
- double tap to wake support
- glove mode support
- basic screen off gestures (kanged from somewhere else)
- build Snap camera

2019/1/4
----------------------------------------------------------------------------------------------------------------------------
- Update graphics blobs (fixes Netflix force reboot)
- Add rest of the widevine blobs

2019/1/3
----------------------------------------------------------------------------------------------------------------------------
- Fix dual sim variant

2018/12/29
----------------------------------------------------------------------------------------------------------------------------
- Initial release

Sources
EAS branch: lineage-16.0
HMP branch: lineage-16.0_HMP (deprecated)
https://github.com/tomascus/android_device_htc_ocn
https://github.com/tomascus/android_kernel_htc_msm8998

XDA:DevDB Information
Unofficial Lineage 16.0, ROM for the HTC U11

Contributors
tomascus, Flinny
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x

Version Information
Status:
Beta

Created 2018-12-29
Last Updated 2020-10-21
 
Last edited:

tomascus

Recognized Developer
Jun 5, 2012
1,904
2,650
Melbourne
HOW TO REPORT AN ISSUE
Firstly, try a clean flash with the data partition wiped to see if the issue still persists, if it does then continue below.

Checklist of information that should be provided:
  • Detailed description of the issue faced
  • Clear steps taken to reproduce the issue
  • The build which the issue has occured in
  • Last build where the issue didn't occur (if applicable)
  • Logs taken SHOWING the issue occurring (if applicable)
  • Expected behaviour (if applicable/not obvious)
  • Phone variant or CID
  • Any other important information which may assist in fixing the issue

HOW TO TAKE A LOGCAT:
The most important thing is to make sure only mostly relevant information is in the logcat.
1. Open a console/command prompt window
2. Input command: "adb logcat -c"
3. Input command to start logging: "adb logcat"
4. IMMEDIATELY reproduce the issue as soon as the command in Step 3 is inputted e.g make a call, play a song, click on a toggle which causes a crash
5. Stop the logcat as soon as the issue has run it's course e.g after an error message has appeared, or after something has crashed
6. Upload the log somewhere

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
AN EXAMPLE:
Hi, I have been experiencing an issue in calls where the other party can hear an echo of their own voice, this occurs in both earpiece and speaker mode. VOIP does not seem to be affected by this problem.
The issue can be replicated by simply making a call in the Dialer.
This issue has only started to occur on build X, but did not happen on older build Y. I have attempted to do a clean flash but the problem still persists.
My phone's CID is HTC__9999, if it's relevant.

I have attached the logcat below I've captured the instant I made a call, please have a look.
Code:
.....
.....
02-06 23:06:33.548   937  1016 D voice   : voice_start_usecase: enter usecase:voicemmode1-call                                                                                               
02-06 23:06:33.548   937  1016 D audio_hw_primary: select_devices for use case (voicemmode1-call)                                                                                            
02-06 23:06:33.548   937  1016 D audio_hw_primary: select_devices: out_snd_device(15: earpiece-voice) in_snd_device(98: voice-dmic-ef)                                                       
02-06 23:06:33.548   937  1016 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 36 device (earpiece-voice)  
02-06 23:06:33.548   937  1016 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(1) new_snd_devices(0)                                                               
02-06 23:06:33.548   937  1016 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 15                                                                        
02-06 23:06:33.548   937  1016 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 36 device (earpiece-voice)  
....
....
 
Last edited:

tomascus

Recognized Developer
Jun 5, 2012
1,904
2,650
Melbourne
HOW TO BUILD LINEAGE OS 16.0 FROM MY REPOS

A brief guide. Much of the information here has been directly taken from the lineageOS wiki. See https://wiki.lineageos.org for more information.

Brief requirements
- At least 16 GB of RAM
- Storage with over 100 GB of free space (SSD highly recommended)
- Working brain

1. Get Linux
- Download and install a Linux distribution, Ubuntu is one that's easy to work with so I recommend that

2. Set up build environment
- Follow the steps up to and including the "Initialize the LineageOS source repository" section here: https://wiki.lineageos.org/devices/dumpling/build (Yes, it says OnePlus)

3. Add my custom manifest
- Sync my development repos by adding the following in {LineageFolderHere}/.repo/local_manifests/mymanifest.xml (create the folders if they don't exist)
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="tomascus/android_device_htc_ocn" path="device/htc/ocn" remote="github" revision="development" />
<project name="tomascus/android_kernel_htc_msm8998" path="kernel/htc/msm8998" remote="github" revision="development" />
<project name="tomascus/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="lineage-16.0"/>
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
</manifest>

4. Sync LineageOS sources
- From the main LineageOS folder, run:
Code:
repo sync -c --no-clone-bundle
- Wait for it to sync, it may take a few hours depending on your internet connection

5. Build the ROM
- Have a look at the section "Turn on caching to speed up build" at https://wiki.lineageos.org/devices/dumpling/build
- Run the commands to get variables and everything together to ready to build:
Code:
. build/envsetup.sh
lunch lineage_ocn-userdebug

To commerce building, run:
Code:
mka bacon
- Wait for it to build, output will be located at out/target/product/ocn/lineage-xxxxxx.zip

5. Doing incremental builds afterwards
- If drastic changes are made such as with vendor blobs, a full clean and full rebuild is recommended. A full clean can be done by running:
Code:
make clobber
- Otherwise, a installclean may suffice. run:
Code:
make installclean
- Then build with "mka bacon" as usual (Step 5)
 
Last edited:

tomascus

Recognized Developer
Jun 5, 2012
1,904
2,650
Melbourne

ValKyre

Senior Member
Feb 19, 2015
284
109
Việt Nam
1 issues bro...
.
when touch screen. all big cores and all min cores always run at 1056mhz & 1036mhz.... help u can fix it bro.
 

miffymiffy

Senior Member
Apr 25, 2007
1,338
364
40
Wollongong
HTC One (M8)
HTC U11
So, i got it to boot. I flashed slim, let it set up. Then went back to los and it boots..
Seems as soon as my USB is unplugged, it shuts off and goes to recovery. I cant get a log of the error for obvious reasons. I can try something like syslog.

Now it doesnt let me boot! Frustrating.
On a positive note, it was working really well whilst plugged in
 

MadMungo

Senior Member
Nov 30, 2013
71
27
Sydney
Will try this in a day or two. currently running Slim 9.0 Alpha 6 on dual sim phone. Only problem is low call volume using bluetooth devices.
 

MadMungo

Senior Member
Nov 30, 2013
71
27
Sydney
Well I am back from testing on dual sim device.
Unfortunately I experianced the same as @miffymiffy, It boots to setup screen but instantly shuts down and reboots into recovery. Happens after a clean install and when installing over Slim 9 Alpha 6. Tried it with the single and dual sim versions
 
  • Like
Reactions: spoonymoon

tomascus

Recognized Developer
Jun 5, 2012
1,904
2,650
Melbourne
I couldn't resist and did a test too.
Exact same result. Slim is working ok.

Well I am back from testing on dual sim device.
Unfortunately I experianced the same as @miffymiffy, It boots to setup screen but instantly shuts down and reboots into recovery. Happens after a clean install and when installing over Slim 9 Alpha 6. Tried it with the single and dual sim versions

So, i got it to boot. I flashed slim, let it set up. Then went back to los and it boots..
Seems as soon as my USB is unplugged, it shuts off and goes to recovery. I cant get a log of the error for obvious reasons. I can try something like syslog.

Now it doesnt let me boot! Frustrating.
On a positive note, it was working really well whilst plugged in

Can you guys please flash the following ROM and get me a logcat from the point the phone starts booting up til the til it reaches the setup (lineage) window
Also, does it detect SIM card?
https://mega.nz/#!Vc1lVIQZ!aWuJobQ8EL2kYQ6UA9_PtEzB967Za3HapjVlkNN1WXU
 
  • Like
Reactions: amit_sen

rajackar

Senior Member
Feb 19, 2009
1,071
187
Utrecht

Top Liked Posts

  • There are no posts matching your filters.
  • 54
    lineage_logo_strip_onteal_500x120.png

    Post 1 - Introduction, download, and changelog
    Post 2 - How to report bugs
    Post 3 - How to build LineageOS from my sources


    Disclaimer
    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 me for messing up your device, I will laugh at you.
    *
    */

    What it is
    LineageOS is an open source operating system based on AOSP (Android Open Source Project) with many extra features and additions.

    Screenshots


    Known bugs
    - On dual SIM devices, a SIM cannot be re-enabled once it has been disabled

    Prerequisites
    - Be on stock Oreo ROM (to have Oreo radio, dsp etc.)

    Installation instructions
    1. Download the updated TWRP recovery (thanks CaptainThrowback and RandomPooka): HERE
    2. Reboot to download mode and flash it: "fastboot flash recovery name_of_file.img"
    3. Download the latest ROM zip from the downloads section below
    4. Wipe /system and /data (complete FORMAT /data if you're having issues)
    5. Flash ROM zip in TWRP

    Downloads
    LineageOS builds: here
    Gapps: here

    Changelog

    Latest:

    Code:
    2021-04-18
    ---------------------------------------------------------------------------------------------------------------------------
    - Android: April 2021 Security patch
    - Please backup everything first!! if you get google play service crashing then reflash gapps


    Older releases:

    Code:
    2021-01-15
    ---------------------------------------------------------------------------------------------------------------------------
    - Android: January 2021 Security patch
    - Please backup everything first!! if you get google play service crashing then reflash gapps
    
    2020-10-21
    ---------------------------------------------------------------------------------------------------------------------------
    - Android: October Security patch
    - Please backup everything first!! if you get google play service crashing then reflash gapps
    
    2020-9-21
    ---------------------------------------------------------------------------------------------------------------------------
    - Android: September Security patch
    - Please backup everything first!! if you get google play service crashing then reflash gapps
    
    2020-8-7
    ---------------------------------------------------------------------------------------------------------------------------
    - Android: August Security patch
    
    2020-3-10
    ---------------------------------------------------------------------------------------------------------------------------
    - Android: March 5 2020 Security patch
    - Kernel: merged v4.4.177
    - Kernel: merge CAF tag LA.UM.6.4.r1-12900-8x98.0, latest for Oreo kernel
    
    2019-12-12
    ---------------------------------------------------------------------------------------------------------------------------
    - Android: December 5 2019 Security patch
    
    2019-8-15
    ---------------------------------------------------------------------------------------------------------------------------
    - Android: August security patch
    - Kernel: merge CAF tag LA.UM.6.4.r1-12900-8x98.0
    
    2019-7-02
    ---------------------------------------------------------------------------------------------------------------------------
    - gps: modify NTP server to hopefully improve GPS lock-on speed
    - squeeze gestures: remove launch ambient display action
    - android: merge 5 July security patches (yes, from the future)
    - framework: merge min time between notification sounds feature
    - ambient gestures: remove pocket mode and pick up gestures
    
    2019-5-13
    ---------------------------------------------------------------------------------------------------------------------------
    - android: 5 May security patch merged
    - android: android 9.0.0 r37 merged
    - nfc: fix mismerge causing read failures
    - gestures: translated to Russian (thanks to Golv)
    
    2019-4-10
    ---------------------------------------------------------------------------------------------------------------------------
    - merge April security patch
    - drm: Fix Widevine issues for some users (thanks to @Golv)
    - overlay: remove carrier overlays
    - kernel: merge CAF tag LA.UM.6.4.r1-12100-8x98.0
    - kernel: merge HTC diag drivers
    - gestures: readd short squeeze to take picture
    - mm: reduce ZRAM back to 512mb and lower swapiness back to 60
    
    2019-3-17
    ---------------------------------------------------------------------------------------------------------------------------
    - overlay: fix brightness slider having no effect at lower levels
    - frameworks: expanded volume panel is back (buggy)
    - frameworks: audioFX changes aimed at fixing sound issues with it enabled
    
    2019/3/5
    ---------------------------------------------------------------------------------------------------------------------------
    - ambient gestures: kang pocket mode and pick up gestures
    - android: merge March security patches
    - android: merge android-9.0.0_r34
    - init: boot with performance governor for (hopefully) faster boot ups
    - kernel: rebased yet again to fix poor code merges (thanks to nathanchance)
    - kernel: other misc changes
    - lights: workaround capacitive lights brightness issue
    - overlay: increase ambient display brightness
    - overlay: reduce minimum brightness
    - power: don't boost big cluster on interaction
    - screen gestures: decrease sensor sampling rate
    - squeeze gestures: add ambient display action
    - squeeze gestures: add turn screen on/off action
    - squeeze gestures: decrease sensor sampling rate
    - squeeze gestures: fix broken squeeze force setting
    - squeeze gestures: fix incorrect squeeze force for long squeeze action activation
    - squeeze gestures: revamp again. short squeeze vibration signals time to release (stock behaviour)
    
    2019/2/25
    ---------------------------------------------------------------------------------------------------------------------------
    - init: remove build fingerprint overrides in init (fix safetynet ctsProfile failure)
    - kernel: merge CAF tag LA.UM.6.2.r1-11900-sdm660
    - kernel: merge linux upstream 4.4.171 -> 4.4.175
    - kernel: update EAS with kernel 4.9
    
    2019/2/22
    ---------------------------------------------------------------------------------------------------------------------------
    - NO MORE HMP BUILDS FROM HERE ON, I swear I'll stop switching
    - gestures: fix edge sense not working in deep sleep
    - gestures: seperate out edge sense and screen of gestures into different menus
    - gestures: show selected options under their respective listpreference
    - gestures: unregister EdgeSensorEventListener when screen is off to save power
    - init: add idle_time permissions and set value to fix stuttering
    - init: rework with radio props yet again (WIP)
    - kernel: actually use BFQ iosched
    - kernel: back to wahoo (Pixel 2) EAS
    - kernel: misc changes from wahoo
    
    2019/2/13
    ---------------------------------------------------------------------------------------------------------------------------
    - Back to HMP builds
    - Lessen frame drop issue with powerHAL changes
    - Switch to Oneplus 5 perf stack
    - Livedisplay updated to 2.0
    - Network traffic monitor now working
    - Crash in initial setup wizard with Gapps flashed fixed
    - Use generic ACDB ids for bluetooth calls
    - Fix wifi startup issue for some users
    
    2019/2/9
    ---------------------------------------------------------------------------------------------------------------------------
    - kernel: cleaned up the vast majority of HTC additions and changes
    - kernel: misc changes
    - fix livedisplay restart loop
    - revert init radio prop cleanups
    - increase notification, alarm, and ring volumes
    - build Trust HAL (can be found in Settings->Security & Location->Trust->Privacy heading (Restrict USB)
    
    2019/2/6
    ---------------------------------------------------------------------------------------------------------------------------
    - Merged android-9.0.0_r31
    - Android security patch level February 5, 2019
    - Fix freezing on shutdown
    - Fix detection of Mifare classic NFC tags
    - Fix radio props not getting added on single-sim Australian variants (lol)
    - Modify voice recording mic calibration to match stock
    - Slightly lower volume of notifications, ringing and alarms
    - Pin important apps and camera in memory
    - Use Wi-Fi config from CAF
    - Partly update audio configs with CAF
    - Fix USB Dongle issues with EAS builds
    - Switch to EAS only builds
    
    2019/1/30
    ----------------------------------------------------------------------------------------------------------------------------
    - Fix low bluetooth call volume
    - Fix speaker volume being too loud
    - Fix earpiece volume in-car being too loud
    - Fix camcorder mic acdb
    - Fix in-call mic routing
    
    2019/1/29
    ----------------------------------------------------------------------------------------------------------------------------
    - HMP and EAS variants available
    - kernel (EAS): update EAS with 4.9 kernel commits
    - kernel: up CONFIG_HZ to 1000
    - kernel: patches from kernel-common that improve bluetooth connection stability
    - kernel: merge linux upstream v4.4.171
    - Big cleanups in kernel and device tree
    - Re-enable Adaptive LMK
    - Revert wifi config to stock
    
    2019/1/26 [EXPERIMENTAL]
    ----------------------------------------------------------------------------------------------------------------------------
    - HMP build only
    - Kernel rebased on CAF tag LA.UM.7.4.r1-04600-8x98
    - Change Wifi config to match mata and remove HTC changes
    - Fixed an IMS missing symbol error
    - Reworked gestures
        - Toggle haptic feedback ignores ringer
        - Add ability to take screenshot with a squeeze gesture
        - Modify long squeeze behaviour: long squeeze action activates while held down instead of when released
        - Add configurable long squeeze activation time
    
    2019/1/22
    ----------------------------------------------------------------------------------------------------------------------------
    - Two variants released - HMP and EAS
    - Update Adreno stack from LA.UM.7.4.r1-04100-8x98.0
    - Update SDM stack from LA.UM.7.4.r1-04100-8x98.0
    - Phone can now be suspended in charge mode (charging while phone is off)
    - Merged upstream linux v4.4.160 into kernel
    - Disable Adaptive Low Memory Killer and revert minfree settings to default
    - Cleanup device tree
    
    2019/1/17
    ----------------------------------------------------------------------------------------------------------------------------
    - Partially fix Type-C to 3.5mm dongle audio routing issue
    - Kernel: rebased on clean tag LA.UM.6.2.r1-11600-sdm660.0
    - Kernel: Revert all linux upstream patches (back to v4.4.78)
    - Slightly increase autobrightness values for lower lux values
    
    2019/1/15
    ----------------------------------------------------------------------------------------------------------------------------
    - Blobs: Update proprietary blobs with stock 2.42.617.1, bringing vendor security patch level to 2018-11-01
    - Gestures: seperate haptic feedback control for screen gestures and squeeze gestures
    - Kernel: disable a lot of debugging options
    - Kernel: remove force vibration on screen gesture detected
    - Kernel: use CONFIG_HZ=300
    - Overlay: reduce auto brightness response time
    - Overlay: tweak auto brightness values to be less biased towards higher values (See: [url=https://drive.google.com/file/d/118JR8o5mQVRllbzqJs95XWMEOI3yfLoA/view?usp=sharing]This graph[/url])
    - Revert "ocn: update gps from LA.UM.6.4.r1-11500-8x98.0" as it was causing GNSS to crash
    - Update bthost_ipc with LA.UM.6.4.r1-11500-8x98.0
    - Uprev health to 2.0
    
    2019/1/10
    ----------------------------------------------------------------------------------------------------------------------------
    - Selinux set to enforcing
    - Enable sustained performance capability (see https://source.android.com/devices/tech/power/performance)
    - move services to system-background cgroup to hopefully save power
    
    2019/1/9
    ----------------------------------------------------------------------------------------------------------------------------
    - Merged android-9.0.0_r30
    - Android security patch level January 5, 2019
    - Kang thermal blobs from Cheeseburger
    
    2019/1/8 [TEST]
    ----------------------------------------------------------------------------------------------------------------------------
    - Testing the use of EAS instead of HMP
    - libperfmgr instead of the normal powerHAL to manage powerhints
    - Edge sense and screen off gestures support (found in Settings -> System -> Gestures -> HTC Gestures and Edge sense)
    
    2018/1/6
    ----------------------------------------------------------------------------------------------------------------------------
    - merge tag LA.UM.6.4.r1-11500-8x98.0 into gps
    - merge tag LA.UM.6.4.r1-11500-8x98.0 into data-ipa-cfg-mgr
    - merge tag LA.UM.6.4.r1-11500-8x98.0 into kernel
    - merge linux v4.4.167 into kernel
    - build exfat in kernel
    - double tap to wake support
    - glove mode support
    - basic screen off gestures (kanged from somewhere else)
    - build Snap camera
    
    2019/1/4
    ----------------------------------------------------------------------------------------------------------------------------
    - Update graphics blobs (fixes Netflix force reboot)
    - Add rest of the widevine blobs
    
    2019/1/3
    ----------------------------------------------------------------------------------------------------------------------------
    - Fix dual sim variant
    
    2018/12/29
    ----------------------------------------------------------------------------------------------------------------------------
    - Initial release

    Sources
    EAS branch: lineage-16.0
    HMP branch: lineage-16.0_HMP (deprecated)
    https://github.com/tomascus/android_device_htc_ocn
    https://github.com/tomascus/android_kernel_htc_msm8998

    XDA:DevDB Information
    Unofficial Lineage 16.0, ROM for the HTC U11

    Contributors
    tomascus, Flinny
    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 4.x

    Version Information
    Status:
    Beta

    Created 2018-12-29
    Last Updated 2020-10-21
    25
    ALPHA build LOS 17.1 (19.02.2020)
    Stable ALPHA version, without reboots and bootloops for me.
    I use more than day.
    Fixed DRM widewine (v.1.2)

    Camera still does not work. I need to understand, but I don’t know in what direction to move further. :(
    Fingerprint sensor - it works, but I can’t add fingerprint: everything stops on this screen (screenshot below). Although when I click on scanner there is a characteristic vibration. I also don't know what to do with it yet. :confused:
    The sound through Bluetooth headphones does not work (is interrupted). I think I'll need to fix sound configuration files.
    Maybe some other bugs, but the rest works without explicit issues.

    I still hope someone from devs helps to fix these issues....
    ALPHA build LOS 17.1 (25.02.2020)

    Rebased to Pie kernel,
    fixed fingerprint (but there are some issues).

    TODO:
    - Camera,
    - Flashlight,
    - Kernel config,
    - Sound via Bluetooth headphones and
    Maybe some other bugs...
    22
    Hi guys, so I just wanted to update you all on the current situation.

    TL;DR updates from now on will be released infrequently (once or two times per month unless a major issue is discovered).

    Semi-long story:
    • Study: university once again approaches real fast, with semester one starting next week on March 4th and ending late June after i'm done with my exams. My timetable this semester is quite intense and classes will occupy much of my time. This means i'll have less time to work on this.
    • Motivation: my motivation for working on this has reached a very low point. From things like having to backup and restore and reboot my phone tons of times daily to test new changes to people not able to properly report issues and bugs - it's just.... you know what I mean
    • Progress: over the last two months, a plethora of issues have been resolved and the ROM has reached a point where it can be used daily without too many disruptive issues. I'm happy and proud of what I've learnt
      and accomplished so far.

    It feels like history is repeating itself. I first starting development two years ago during Cyanogenmod 14.1 times on my Xperia Z3 Compact. https://xdaforums.com/z3-compact/orig-development/rom-unofficial-lineageos-14-1-t3577224
    It was quite popular, with my thread reaching 327,436 views!
    Working on our ROM for a few months, we were pretty close to achieving our goal of getting the ROM to official status. But unfortunately due to motivation and study load reasons (and my phone breaking twice), we never really got there and I unfortunately had to stop development for the device. That's why I need to retract my statement about attempted to achieve official status for this device as well. There's a high chance it will never happen unless someone experienced can take over development. Of course there's a small glimmer of hope, our work on the Xperia Z series brought about many other ROMs such as Resurrection Remix (as can seen here), OmniROM, CarbonROM, and AospExtended, who all based their ROMs on top of our work to use as a stable starting point and continued from there. Not saying the same thing is going to happen here as our user base is MUCH MUCH smaller, but there is a small chance.

    I apologise to those who still face issues with this ROM but I hope you all can understand.

    Anyway, new builds will be out once or at most twice a month alongside the latest security patch for that respective month due to the reasons stated above, as well as any additional fixes/changes I feel like or have time to add.
    21
    New update out. Full changelog in OP as usual.

    Major changes:
    - March 5 security patches merged
    - ambient mode gestures added, find in settings -> display -> ambient display. turn on and off if it doesn't appear to be working
    - workaround for button backlight brightness issue around 5-7% added
    - squeeze to show ambient display in sleep (will forcefully enable ambient display if disabled)
    - squeeze gestures: short squeeze now has a vibration to indicate WHEN TO RELEASE for short squeeze action, same behaviour as stock
    - squeeze gestures: fix broken squeeze force setting and lower the maximum squeeze force close to stock
    - squeeze gestures: fix incorrect squeeze force for long squeeze action activation, it is now consistent between short squeezes and long squeezes
    21
    ALPHA build LOS 17.1 (25.02.2020)

    Rebased to Pie kernel,
    fixed fingerprint (but there are some issues).

    TODO:
    - Camera,
    - Flashlight,
    - Kernel config,
    - Sound via Bluetooth headphones and
    Maybe some other bugs...

    Camera and flashlight fixed.
    Added Widevine L1 support.

    TODO:
    - fix some fingerprint issues (Some fingerprint troubles for unlocking the screen:
    when I initially set a password and save several fingerprints, the screen unlocks without any problems.
    But after rebooting - only the password works. I cann't unlock the screen using saved fingerprints.
    If I try to delete the password in settings, then the password is deleted, but fingerprints are saved (this should not be, fingerprints should be deleted too))
    - Audio Bluetooth
    - .....
    Many THX!!! @tomascus and @Flinny for info and help!!! :good: