
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. 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.
Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.
GPL compliance:

- Device tree source code: LineageOS/android_device_htc_m8
- Kernel source code: LineageOS/android_kernel_htc_msm8974
Working:
- WiFi
- Bluetooth
- NFC
- Camera (including video recording)
- FM Radio
- Telephony (Calls, MMS/SMS and Mobile data)
- Audio (Record and Playback)
- Video Playback
- Sensors
- GPS
Broken:
- MHL


Compatibility:
This build is compatible with all M8 single SIM variants (m8ul, m8vzw and m8spr).
It is based off the HTC's Android 6.0.1 firmware and kernel with binaries from Android 6.0 GPe.
Downloads:
Installation:
- Reboot to recovery (TWRP by @Captain_Throwback) - Direct link
- Wipe /system, /data and /cache
- Install LineageOS zip package
- Install [optional] the LineageOS su addon to get root (there are obviously other root methods, but this is the recommended one as it survives to OTA updates)
- Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)
Credits & collaborations
This work is due to efforts from everyone involved in M8 development. The LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
Device wiki:
XDA:DevDB Information
LineageOS 15.1, ROM for the HTC One (M8)
Contributors
bgcngm
ROM OS Version: 8.1 Oreo
ROM Kernel: Linux 3.4.113
ROM Firmware Required: M firmware
Version Information
Status: Beta
Created 2017-09-07
Last Updated 2018-01-31
Last edited: