Want Android 13 on your HTC One M8 or M8 Dual? HTC never released it, so a custom ROM is the only way. The HTC One M8 (codenames m8 and m8d) launched in March 2014 with Android 4.4.2 KitKat and stopped at Android 6.0 Marshmallow, but the community pushed it all the way to Android 13.
On the M8, the Android 13 build is the unofficial LineageOS 20. It’s the newest Android version this phone can run, marked stable by its developer, and this guide shows how to flash it.

Android 13 on the HTC One M8
Android 13 builds on the Material You design with themed app icons, per-app language settings, a redesigned media player and tighter privacy controls, including a photo picker that shares only the images you choose. The M8 gets all of that through LineageOS 20, which replaces HTC’s old Sense software with a clean, close-to-stock experience.
For a 2014 phone it runs well, though you should expect the occasional bug since it’s an unofficial build. There’s no stock-AOSP Android 13 ROM for the M8 beyond this; other Android 13 ROMs for the phone, where they exist, are based on the same community work.
Before you start
Download the ROM
| LineageOS 20 (Android 13, m8/m8d) |
XDA thread (download inside) |
| Google Apps (GApps) |
MindTheGapps for Android 13 (ARM), linked in the ROM thread |
Warning!
This is for the HTC One M8 / M8 Dual only. Flashing it on another device will brick it. GetDroidTips is not responsible for any damage. Do it at your own risk.
How to install Android 13 on the HTC One M8
- Copy the ROM zip and the GApps zip to the phone’s storage.
- Boot into TWRP recovery with
adb reboot recovery, or use the volume and power keys.
- In TWRP, tap Wipe, then Advanced Wipe, and tick System, Data, Cache and Dalvik/ART Cache. Swipe to wipe.
- Tap Install, select the ROM zip and swipe to flash it.
- Without rebooting, tap Install again and flash the GApps zip.
- Go to Reboot and select System.

The first boot can take several minutes. If it hangs, boot back into TWRP, repeat the wipe and flash again.
Frequently asked questions
Is Android 13 the newest version for the HTC One M8?
Yes. Android 13, through LineageOS 20, is the newest build for the M8. There’s no official LineageOS 21 (Android 14) for this phone.
Will the HTC One M8 get Android 13 officially?
No. HTC’s updates ended at Android 6.0 Marshmallow, so a custom ROM is the only way to get anything newer.
Is it an official build?
No. Official LineageOS for the M8 ended at 17.1 (Android 10). The Android 13 build is an unofficial community release, marked stable by its developer.
Is it stable enough for daily use?
It’s an unofficial build on old hardware, so there may be minor bugs. Many owners run it daily, but keep a backup in case you need to roll back.
I want to update my software