[ROM][UNOFFICIAL] LineageOS 18.0 for HTC One M8 / M8 Dual SIM

bgcngm

Recognized Developer
Apr 2, 2007
6,839
20,435
268
Lisbon
bm-smartphone-reviews.blogspot.com

LineageOS is a free, community built, aftermarket firmware distribution of Android 11 (R), 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:

Working:
  • WiFi
  • Bluetooth
  • ANT+
  • 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
  • NFC

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:

A n d r 0 i d

Senior Member
Mar 26, 2013
260
134
63
had a few teething troubles, first the clicky bootloop (speaker popping) on the lineage animation, then an "entering recovery" loop (my twrp had disappeared (probably because I was using an out of date one), got back to fastboot and flashed twrp-3.4.0-1-m8.img and all is well until booting lineage, then powering off and entering recovery, at which point it's gone again and it just reboots normally. Reverting to a fresh 17.1 and the recovery remains intact.

works nicely with the Gapps above,
sadly my banking apps don't, Is this because it's signed with public keys?
Out of all the ROMS i've tried, only your variant of 17.1 worked correctly
 
Last edited:

fela4

Member
Apr 7, 2016
45
15
18
Utopia
In addition to not being able to boot into recovery as mentioned earlier, It would appear that Setting up screen lock results in a boot loop (Verizon Variant) otherwise looks pretty solid
 
Last edited:

adem_7

Senior Member
Jan 23, 2008
108
17
38
Prizren
In addition to not being able to boot into recovery as mentioned earlier, It would appear that Setting up screen lock results in a boot loop (Verizon Variant) otherwise looks pretty solid
Same here. Furthermore, now I cannot install fastboot drivers and reinstall twrp recovery. Any solution? Can't even install gapps.
 

fela4

Member
Apr 7, 2016
45
15
18
Utopia
Same here. Furthermore, now I cannot install fastboot drivers and reinstall TWRP recovery. Any solution? Can't even install gapps.
The GApps at https://bitgapps.cf/arm/R work fine

You should be able to boot TWRP using fastboot

download the TWRP image and open a terminal in that directory

I use Linux so this came in handy
Code:
sudo $(which fastboot) boot twrpxxx.img
**replace twrpxxx with your TWRP image file name

Your device should boot TWRP and you can flash your zips
 
Last edited:

cexcells

Senior Member
May 11, 2012
184
50
48
Installation removes twrp recovery
I used Linux and fastboot to reinstall latest twrp recovery image.
Too many issues at the minute for use so going back to previous or other 10 ROM.
 

Dynamo_anik

Senior Member
Oct 15, 2017
52
12
8
Dhaka
Installation removes twrp recovery
I used Linux and fastboot to reinstall latest twrp recovery image.
Too many issues at the minute for use so going back to previous or other 10 ROM.
No issue at all, Just You need to install twrp after the gapps installation is completed through twrp, do not leave twrp before install twrp image.
LineageOS 18 also look good, i am using it as my daily driver.
Just follow this=> Goto TWRP recovery and install these one by one.Don't leave twrp before install twrp.img
1. install lineageOS 18
2. Install Gapps
3. install twrp
To install Twrp through twrp=> goto install again, then tap install image(bottom right), select Your twrp file, then select recovery, then conform simple.
 
Last edited:

cexcells

Senior Member
May 11, 2012
184
50
48
No issue at all, Just You need to install twrp after the gapps installation is completed through twrp, do not leave twrp before install twrp image.
LineageOS 18 also look good, i am using it as my daily driver.
Just follow this=> Goto TWRP recovery and install these one by one.Don't leave twrp before install twrp.img
1. install lineageOS 18
2. Install Gapps
3. install twrp
To install Twrp through twrp=> goto install again, then tap install image(bottom right), select Your twrp file, then select recovery, then conform simple.
I also had the issue of a bootloop every time immediately after getting to the home screen.
 

cexcells

Senior Member
May 11, 2012
184
50
48
i did clean installation and i didn't face any issue.
So did I. I only got the boot loop after setup and synching my Google account. First time I rebooted I had the boot loop and couldn't do anything. Waiting for a newer build. It may have something to do with trying to set a pin for the lockscreen.
 
Last edited:

cexcells

Senior Member
May 11, 2012
184
50
48
took the plunge

I also had the issue of a bootloop every time immediately after getting to the home screen.
Followed your 3 step install and all great so far.
Skipped setting lock screen during set up as a precaution, is it OK to set one up?
Installing apps from an OTG USB is going great
 

text1

Member
Jan 24, 2012
23
12
23
BAKU
Hi

My phone is in S-ON mode and Flashing this rom on my M8, but when I switch the phone to TWRP recovery mode, TWRP recovery was removed.


When will the official lineage 18 update be released?
 
Last edited:

Martoost

Member
Jan 2, 2009
21
8
23
The Netherlands
For now S-on / s-off.. ..twrp recovery mode will removed. So you've to flash again via fastboot

I get the message "waiting for device" the adb drivers installed but the PC does not see the phone. Also now it is not possible to get root, and TWPR cannot be installed via the app.
Is there a solution for this:confused:
thanks in advance.

Phone is unlcked and S-off
Hboot-3.19.0.0000
Radio-1.25.214500021.06G
OpenDSP-v62.2.2-00593-M8974_HM.1118
OS-
eMMc-boot 2048MB
JAN 15 2015,22:51:08.2452
 
Last edited:

ainaz

Senior Member
Apr 25, 2013
180
33
58
Tasikmalaya (Indonesia)
I get the message "waiting for device" the adb drivers installed but the PC does not see the phone. Also now it is not possible to get root, and TWPR cannot be installed via the app.
Is there a solution for this:confused:
thanks in advance.

Phone is unlcked and S-off
Hboot-3.19.0.0000
Radio-1.25.214500021.06G
OpenDSP-v62.2.2-00593-M8974_HM.1118
OS-
eMMc-boot 2048MB
JAN 15 2015,22:51:08.2452
Adb driver is not enough for that, you also have to install the HTC mobile driver. If it's still the same try changing the USB cable