This guide covers installing LineageOS on the HTC U11 (codename ocn). Since HTC ended official updates at Android 9 Pie, LineageOS is a good way to run a newer version of Android on the phone, with its own customisation options on top of near-stock Android. LineageOS 19.1 is based on Android 12 and LineageOS 20 is based on Android 13.
HTC U11 overview
The HTC U11 has a 5.5-inch QHD (1440 x 2560) Super LCD5 display, a Snapdragon 835 processor, 4GB or 6GB of RAM, and 64/128GB of expandable storage. It has a 12MP UltraPixel rear camera, a 16MP front camera, a 3,000mAh battery, and Edge Sense squeeze controls. It launched on Android 7.1 Nougat and was later updated to Android 8.0 Oreo and Android 9 Pie.
How to install LineageOS on the HTC U11
Go through the requirements below first.
Prerequisites
- Take a full backup of your device first.
- Charge the phone to at least 50%.
- Install the ADB and Fastboot platform-tools and the HTC USB drivers on your PC.
- Unlock the bootloader on the HTC U11 (through HTCDev).
- Install TWRP recovery on the HTC U11.
Download LineageOS
| LineageOS 19.1 (Android 12.1) | Removed (the old link was flagged for malware) |
| LineageOS 20 (Android 13) | XDA Development Page |
Download GApps
Most AOSP ROMs come without Google apps, so install the Android 12 GApps or Android 13 GApps that match your ROM.
Warning
Advertisement
Instructions to install
- Transfer the ROM and GApps ZIP to the phone, then boot into TWRP with USB Debugging enabled:
adb reboot recovery

- In TWRP, go to Wipe > Advanced Wipe and clean System, Data, Vendor, and Cache.
- Go to Install and flash the ROM ZIP.
- Flash the GApps ZIP the same way.
- Reboot to the system. The first boot takes a few minutes.

FAQ
Did the HTC U11 get Android 13 officially?
No. HTC ended official updates at Android 9 Pie, so Android 12 and 13 are only available through community ROMs like these.
Can I root after installing?
Yes. Flash the latest Magisk ZIP in TWRP after the ROM to gain root access.
Do I need to wipe before flashing?
Yes. Coming from Sense or another ROM, wipe System, Data, Vendor, and Cache first to avoid boot issues.

![How to Install Android 16 on Xiaomi Mi 11 Ultra [Download Link]](/api/image/Mi-11-Ultra-1-768x513.webp?url=https%3A%2F%2Fwp.getdroidtips.com%2Fwp-content%2Fuploads%2F2021%2F04%2FMi-11-Ultra-1-768x513.jpg&w=480)
![How to Install Android 16 on LG V50 ThinQ [Download Link]](/api/image/LG-V50-ThinQ-768x461.webp?url=https%3A%2F%2Fwp.getdroidtips.com%2Fwp-content%2Fuploads%2F2019%2F07%2FLG-V50-ThinQ-768x461.jpg&w=480)