• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][10.0] LineageOS 17.1 (ocn) [UNOFFICIAL] (upd 2020-11-09)

Golv

Recognized Developer
Jan 17, 2012
2,018
4,213
113

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

Disclaimer
Code:
#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for Lineage OS is available in the LineageOS Github repo. And if you would like to contribute to Lineage OS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.


Known Issues:

  • On dual SIM devices, a SIM cannot be re-enabled once it has been disabled
  • VOIP calling (problem with the microphone when making VOIP phone calls using Viber, Skype, Telegram, Facebook)
  • Wi-Fi calling (checked it for mcc="310" mnc="260" only, but I cant check it for me. My carrier supports Volte only for our device and VOLTE works fine for me)
  • SeLinux permissive (will be fixed when the bugs are fixed)
  • You tell me

Important: If you have any issues with rom (unresponsive buttons, cannot unlock with fingerprint, etc.) try to wipe delvik/cache in TWRP.

Instructions:

Take FULL backup first from your actual system!

Before instaling, make sure you are running the latest Oreo or Pie firmware from the latest HTC Sense.
If you are encrypted, 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.

  1. Download the latest updated TWRP recovery 3.3.1-1 ( thanks @Captain_Throwback ) or 3.4.0-0
  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, /cache and /data (complete FORMAT /data if you're having issues or were encrypted)
  5. Flash ROM zip in TWRP, reboot to system and make initial settings
  6. Flash the latest magisk (optional) after make one reboot.
  7. When system is booted, reboot to TWRP and flash gapps (optional)
  8. Reboot and check apps permissions
  9. Enjoy (as much as currently possible)


Downloads:

LineageOS builds: HERE

These builds for OREO or PIE firmware ( DSP.img patch is required for PIE firmware ONLY - *** HERE ***) !!!
(the patch is applied once and NOT NEED to reinstall patch after ROM update).

GAPPS: OpenGApps (I recommend NANO)

TWRP recovery: 3.3.1-1 or 3.4.0-0


Changelog:

Latest from LineageOS team - here

Code:
2020-08-11
----------------------------------------------------
- August 2020 Security patch.
- ocn: update carrier specific overlays
- Last Lineage updates and fixes
- minor fixes
----------------------------------------------------
2020-07-15
----------------------------------------------------
- July 2020 Security patch.
- Last Lineage updates and fixes
- minor fixes
----------------------------------------------------
2020-06-08
----------------------------------------------------
- June 2020 Security patch.
- Last Lineage updates and fixes
----------------------------------------------------
2020-05-13
----------------------------------------------------
- May 2020 Security patch.
- Update opus omx codec ranking
- Enable ro.telephony.use_old_mnc_mcc_format
- Kill media.aac_51_output_enabled property ( * Dead with: https://android.googlesource.com/platform/frameworks/av/+/2386a120998bbdb7a92156891835fc30feac8d7a )
- power_profile: update for pie
- update props
- Last Lineage fixes
----------------------------------------------------
2020-04-11
----------------------------------------------------
- April 2020 Security patch.
- Enabled volte for mcc="730" mnc="03"
- Hope,  fixed VoIP calls (checked it for Whatsapp and Viber calls). Thanks @hellokitty2204 for help!
- Last Lineage fixes
----------------------------------------------------
2020-03-31
----------------------------------------------------
- March 2020 Security patch
- Initial beta release LOS 17.1 for HTC U11

Bug report:

Bug reports without a proper description of the issue and a logcat will be ignored!
You don't know howto take a logcat - see here:
https://forum.xda-developers.com/showpost.php?p=78642205&postcount=2
https://lmgtfy.com/?q=how to get android logcat&p=1&s=g

Credits:

  1. LineageOS Team & Contributors
  2. Code Aurora Forum
  3. TWRP Team
  4. Magisk Team
  5. All HTC U11 contributors

Special thanks:

@tomascus
@Flinny
@Captain_Throwback
@hellokitty2204

*** and many others ***

Source code:

LineageOS Gerrit Review
Kernel source
Device source
Vendor source

XDA:DevDB Information
LineageOS 17.1 Unofficial ROM for HTC U11, ROM for the HTC U11

Contributors
Golv, tomascus, Flinny
Source Code: https://github.com/LineageOS

Donations
Donations are not mandatory but very welcome.
If you like my work and want to support development or buy me a coffee: My PayPal

ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Oreo firmware or Pie firmware (with Oreo DSP patch)
Based On: LineageOS

Version Information
Status:
Beta
Beta Release Date: 2020-03-31

Created 2020-03-31
Last Updated 2020-08-16
 
Last edited:

Golv

Recognized Developer
Jan 17, 2012
2,018
4,213
113
So just a quick note to people who dirty flash a lot.

So just a quick note to people who dirty flash a lot.
THX @tomascus
So just a quick note to people who dirty flash a lot. You might randomly experience longer app launch times after flashing a ROM and the only apparent way to fix it was to do a clean flash.
I experienced this a few times and decided to investigate and saw that it had something to do with how dex2oat works after you dirty flash (it refuses to optimise properly?). What I found fixed the issue was to manually run dex2oat on everything after it booted into the system, and after it has finished the process (could take super long depending on how many apps you have), everything went back to its speedy state.

How to:
If you have root/magisk:
1. Open terminal and enter the following commands:
Code:
su
cmd package bg-dexopt-job
If you don't have root:
1. Enable root for ADB only in developer settings
2. On your computer, enter the following commands in a console/terminal window:
adb root​
adb shell "cmd package bg-dexopt-job"​
 
Last edited:

hellokitty2204

New member
Jan 30, 2019
2
5
0
Hi Golv! Thank you for your work to bring Android 10 to our devices. I tried your build on my HTC U11. Everything is working fine; however, I have a problem with the microphone when making VOIP phone calls using Viber, FB messenger, and even Telegram. The other person could not hear anything from me. Interestingly, the microphone works fine for Whatsapp call and cellular phone call. Also, during the call, there is only sound from the bottom speaker. The microphone is working fine on Linegae 16.0
 
Last edited:

ludoverblog

Member
May 26, 2015
18
1
0
Hi,

I install the new rom on my HTC U11 .
BT, Wifi, Call, sms, MMS, GPS are well working.
Battery seems to be good ( for the moment ).

Rom 17.1 with GAPS pico and magisk manager.


So thank you for the Great job.

Ludo
 
  • Like
Reactions: Golv

masi79

Member
Oct 31, 2012
29
3
3
I installed the image today. Looks good - thank you very much!

Found the following issues:
- gapps micro variant causes issues (system app stopps working), nano variant seems to work without any problems
- rsap feature does not work. Carkit connects, asks for sim (yes/no dialog appears), but then connection via headset profile will be established despite "yes" was selected
 
Last edited:

Salvolin

Senior Member
Mar 22, 2013
64
11
0
Thanks for the hard work guys. Saw the thread pop up yesterday, installed today :)

No problem with Gapps micro here.
I did a dirty flash from linageOS 16. Some apps started crashing but after a remove and reinstall they work just fine. Some others needed to have their rights set correctly.

Anybody got Arcore working on this rom (or on the HTC U11 in general)?
 

Salvolin

Senior Member
Mar 22, 2013
64
11
0
Thanks I got it to work now too!!
Still got a few questions about it, but that would be changing the topic.

So thanks for the ROM guys.