[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

VuXuanHung

Member
Jul 11, 2018
16
3
I use it for a long time and have never had such a problem. Did you do a clean install.?
I make a clean install every time I try a new ROM. I always put the ROM in the SD card and make full wipe including internal storage. That time I thought it is Magisk-related problem, so I also tried not installing Magisk, but it still happened.

---------- Post added at 01:15 PM ---------- Previous post was at 01:07 PM ----------

When this started happening to me ( which was not very often) i just did a quick dirty flash and the problem never came back. I would try a ruu flash,, then a full wipe/ format then a install. Just my 2 cents. Hth
For me it happens quite often, kinda 1-2 time per hour with RR and PE, 1-2 time per day on LOS. I don't think it will work for me cuz I have tried RUU flash for several times, clean install as well but they didn't work. Anyway, I'm still so excited and gonna try your solution right after I finish my University entrance exam. :p
 

krism23

Member
Apr 29, 2007
7
1
Fix also works for Lineageos 17.1 on HTC U11 .... and also fixes the 'backup waiting' issue for me !!!

Patch for restoring functionality of Oreo-based roms (based on Oreo kernel, for example LOS 16.0) with updated Pie firmware of your device.

If you have already received Pie update and installed it (you have Pie firmware installed), then the current LOS 16.0 build based on Oreo kernel source code (or other Oreo-based roms) will not work correctly with Pie firmware of your device.

The main problem - there is no voice when calling.

I searched and tried different options for a long time to make this ROM work on a device with Pie firmware. But chose the easiest way at this moment.

After installing LOS 16.0 you need to replace DSP partition on device from Oreo firmware.

For convenience, I wrote a small patch for TWRP. It already contains DSP.img from Oreo firmware (2.33.401.19).
Backup of your original partition with the name dsp.img.backup will be created on internal memory card after flashing this patch.

Don't delete this backup from card, you may need it to restore (or you can take this img from Pie firmware for your device)!!!

Second patch (if required) is restoration of your original dsp.img.backup from internal memory card into dsp partition.

I checked these patches myself before.
I think that 99% they are suitable for use with other custom Oreo-based ROMs (with Oreo kernel).


DSP_TWRP_Flashable_OREO_2.33.401.19_install.zip - install
DSP_TWRP_Flashable_restore_backup_from_sdcard.zip - restore

Enjoy your use!
 

gnokiar

Member
Aug 2, 2012
34
0
Beijing
I can not download it

I can not download it from androidfilehost.com. Is there any other sites ? Thx

Patch for restoring functionality of Oreo-based roms (based on Oreo kernel, for example LOS 16.0) with updated Pie firmware of your device.

If you have already received Pie update and installed it (you have Pie firmware installed), then the current LOS 16.0 build based on Oreo kernel source code (or other Oreo-based roms) will not work correctly with Pie firmware of your device.

The main problem - there is no voice when calling.

I searched and tried different options for a long time to make this ROM work on a device with Pie firmware. But chose the easiest way at this moment.

After installing LOS 16.0 you need to replace DSP partition on device from Oreo firmware.

For convenience, I wrote a small patch for TWRP. It already contains DSP.img from Oreo firmware (2.33.401.19).
Backup of your original partition with the name dsp.img.backup will be created on internal memory card after flashing this patch.

Don't delete this backup from card, you may need it to restore (or you can take this img from Pie firmware for your device)!!!

Second patch (if required) is restoration of your original dsp.img.backup from internal memory card into dsp partition.

I checked these patches myself before.
I think that 99% they are suitable for use with other custom Oreo-based ROMs (with Oreo kernel).


DSP_TWRP_Flashable_OREO_2.33.401.19_install.zip - install
DSP_TWRP_Flashable_restore_backup_from_sdcard.zip - restore

Enjoy your use!
 

JTN5M

Member
Sep 14, 2016
5
0
Hello!
I've been running this rom for the last 1,5 years and had no issues until yesterday when it randomly stopped booting. Firstly I dirty flashed the newest version of it, didn't fix it. Then I clean flashed it and it didn't work either. I used ruu, booted the phone (no issues here, actually), unlocked the bootloader, flashed again and it still doesn't boot. :(

Is there any way I can send you my logs or anything like that? I really enjoy your LOS 16 port and I'd love to continue using it as from the experience of others I talked to it's the best rom for U11 - I can't say that because to be frank, it's the only one I tried and I often joke it's the least buggy Android release I ever used.
 

HsHTCsen

Senior Member
Apr 26, 2012
473
66
Townsville
HTC U11
Hi, I'm getting error 7 when trying to clean flash this Rom. I've also done data FORMAT. Any suggestions please?

(bootloader) kernel: lk
(bootloader) product: htc_ocnuhljapan
(bootloader) version: 1.0
(bootloader) max-download-size: 1560000000
(bootloader) serialno: ..
(bootloader) slot-count: 0
(bootloader) current-slot:
(bootloader) imei: ..
(bootloader) version-main: 3.37.454.1
(bootloader) boot-mode: download
(bootloader) version-baseband: 8998-002772KSS-1902021155
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PZC20000
(bootloader) cid: 11111111
 

Attachments

  • IMG_20200903_145941.jpg
    IMG_20200903_145941.jpg
    238.9 KB · Views: 85

tomascus

Recognized Developer
Jun 5, 2012
1,904
2,650
Melbourne
September security patch update available now.
I had google play service crashing for some reason and had to reflash gapps again, please back up!
 

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://forum.xda-developers.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: