
LineageOS 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.
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
- ANT+
- NFC
- Camera (including video recording)
- FM Radio
- Telephony (Calls, MMS/SMS and Mobile data)
- Audio (Record and Playback)
- Video Playback
- Sensors
- GPS
Broken / not yet supported:
- MHL
Compatibility:
Single SIM variants:
Builds are compatible with all M8 single SIM variants (m8ul, m8vzw and m8spr).
Dual SIM variants:
Builds are compatible with all M8 Dual SIM variants (m8dug and m8dwg).
In both cases, all builds are based off the HTC's Android 6.0.1 firmware and kernel with binaries from Android 6.0 GPe.Downloads:
Single SIM variants:
Dual SIM variants:
Installation:
- Reboot to recovery (TWRP by @Captain_Throwback) - Direct link
- Wipe /system, /data and /cache
- Install LineageOS zip package
- 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:
Single SIM variants:
Dual SIM variants:
Last edited: