yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] guorium:
You were right. I did some extra work and it turned out that m8tl which is mine needs a different kernel than the WWE version. Mismatched kernel to firmware is causing boot to fastboot. I found a m8tl version of lineagOS 16 on a the HTC forum and it totally worked! There was this one guy adapting m8tl kernels to the lineaOS roms in his spare time. Great work! Since his version was in 2018, some bugs were still present. I will try his boot.img which contains the kernel and adapt it to the 20190414 version of this lineageOS, will report back and see if it works.:good:
[One (M8) Android Development] jcp2:
(1) Layout : Normal

Is what I had to use to get it to show. Thanks for the tip. I missed having a soft button to turn screen off!! Thanks :good:
[One (M8) Android Development] wd9895:
May I kindly ask for the next update ?

The April version works pretty good but developments and patches especially security went on.

Thank you for the support on this old model.
[One (M8) Android Development] gazzacbr:
No. Please delete this question before you are thrown to the lions ;)

(please read xda rules)
[One (M8) Android Development] bgcngm:
I had no time to make a new build and will probably skip it since June's ASB is closer.
[One (M8) Android Development] wd9895:
That is appreciated well and clever as the June ASB is just around the corner.

Thank you very much.
[One (M8) Android Development] guorium:
I am so happy to see people still are keeping this old machine up to date. I like using the phone. Mine is a m8_tl version from china mobile. Some Chinese dev is adapting its kernel to your releases. It works but he is not keeping up with the updates which leaves many nasty surprises in the releases. I know not many users here have the chinese phone, but it would be kind for you to adapt its kernel to your latest release. Is it isn't much effort. I am happy to supply the Chinese adapted releases of your work. That is the least I could do.:good: Rock on!
[One (M8) Android Development] mcflygarcia:
I want to try this Rom on my M8 its an OP6B160 and my CID according to Simple CID Getter HTC__332 Latin America in some pages i see thats a variant m8_ul_cnd , at the moment its on stock firmware so i assume i only have to unlock the bootloader install the bootloader do the wipes and then install the rom and nano gapps right? or my phone isnt supported by this rom? Thanks a lot and very excited to try it!
[One (M8) Android Development] guorium:
Would it be easy to adapt the kernel to the chinese variant M8t? Some dev in China is adapting M8t to your release but he was on a very buggy version. Overall the pie system is very smooth on M8t. I could supply some files if needed :good:
[One (M8) Android Development] The_Walking_Playground:
Hi,

Does the official TWRP for M8 work on your device? I'm wondering if the issue is just some missing dtb files in the kernel source that would allow the ROM to boot on your device. If that's the case, it should be trivial for [MENTION=455439]bgcngm[/MENTION] to include them in the kernel source for future builds.

TWP

P.S. I scanned [MENTION=1162986]Captain_Throwback[/MENTION]'s kernel source, and I see (what appear to be) some relevant DTS files:

msm8974-m8tl-pmicgpio.dtsi

msm8974pro-ab-pm8941-m8tl-xb.dts

msm8974pro-ab-pm8941-m8tl-xc.dts

msm8974pro-ab-pm8941-m8tl.dts

Hope that helps!

EDIT: Also here's a direct link to the latest m8tl kernel source on HTC dev, in case the above isn't the most recent: http://dl4.htc.com/RomCode/Source_and_Binaries/m8tl-3.4.0-perf-g4c1aa5c.zip

EDIT 2: Actually I just tried the above link, and it doesn't work - it just redirects to the HTC home page. Maybe [MENTION=9933393]guorium[/MENTION] you can contact HTC Dev on Twitter and let them know this link is broken, since it's you that needs the files?
[One (M8) Android Development] guorium:
Hello! Your help is very appreciated! Thank you so much for providing the links! The lastest TWRP works flawlessly on my M8t.

I found the kernel source code on HTCdev under labelled as

One M8

HTC China

CHS CMCC

MR

3.4.0

v6.0	196 MB

6.24.1403.2

http://dl4.htc.com/RomCode/Source_and_Binaries/m8tl-3.4.0-perf-g4c1aa5c.zip

The last OS version number is exactly what is showing in my bootloader so I think it is definitely for M8t, plus the file itself has m8tl in it. This is the same link you provided. Took me straight to HTC Australia somehow. Those crooks are known to not provide a thing if you wanna tinker. They told me the phone is EOL and they will not have ROMs for it (no ROMs for the Australian M8 from offcial channel). I shot a message through the comment link on HTCdev which addressed the USA HTC support team. Worst case I supply the LOS16 adapted to m8tl by the Chinese dev and useful stuff can be taken out of there right?
[One (M8) Android Development] KoMaSo:
I have done my installatoin by this https://wiki.lineageos.org/devices/m8/install.. ( i have an t-mobile M8 )
[One (M8) Android Development] Satori Tindalos:
Running the same version, with Magisk. /dev/block/mmcblk1 is present on mine and the external SD is mounted, but access permission to it hasn't been handed over to apps consistently.

Just upgraded over from CM 12.1 and SuperSU, which had been rock steady for years. Reluctant to revert back to CM but this doesn't seem tenable as-is.
[One (M8) Android Development] jack.ibreik:
Anyone found solution resizing system partition?

Having same issue with system partition stuck on 1GB after resizing with twrp (Running latest version)

And cannot install any Gapps due to insufficient space

BTW what is the type of system partition (EXT4)?

Please help with resizing tried every resizing way possible even advanced (gparted)

Nothing worked. If anyone could help saving my M8
[One (M8) Android Development] The_Walking_Playground:
Hi,

That has nothing to do with this ROM. The solution has also been discussed in the thread. You have to flash Sense firmware if you want the larger system partition. If you're on GPE firmware, you won't be able to make it any larger.

TWP
[One (M8) Android Development] Haverping:
Hi there,

please could anyone confirm that the temperature sensor work.

Maybe mine is broken.

Thank you
[One (M8) Android Development] ashyx:
What temperature sensor? :confused:
[One (M8) Android Development] Haverping:
the inbuild of course ;)
[One (M8) Android Development] ashyx:
Really. :silly:
[One (M8) Android Development] gazzacbr:
Get CurrentWidget by Rmdroider from play store as a simple check. Just click on current value on the widget and it will show you the internal temp, or not as the case may be...
[One (M8) Android Development] calvinfoo:
No audio/media playback is working for me. What is wrong?

using lineage-16.0-201900414-UNOFFICIAL-m8.zip on a verizon m8.

EDIT: Solved, previous rom modified adsp, fixed by adsp with hk/bs mod
[One (M8) Android Development] Haverping:
Yes I did checked/ tested via software. Although with another app

I shows only - no sensor or error -

I just wanted to known that this sensor works while running Lineage 16.0 on this HTC M8

You reaction says me it works on your device. That means mine isn't working caused by defect hardware.

So thank you ;)
[One (M8) Android Development] James_Oakley:
I haven't got my device to hand, but I certainly found that with this L16 ROM on the M8, a battery widget app I had reported 0 decrees C as the battery temperature, whereas the correct temperature is reported with older ROMs. I don't know whether that means the kernel also doesn't have it (so the device may not know when to pause charging due to over-heating), or whether it's only user apps that cannot access the temps.
[One (M8) Android Development] ashyx:
What internal temp sensor? I'm not aware of an internal temp sensor on stock or otherwise.

If you're referring to battery temp that is not an internal temp sensor as that is provided by the battery itself.
[One (M8) Android Development] bgcngm:
New builds are up, with this month's ASB merged. Enjoy. :cool:
[One (M8) Android Development] Cường Hồ:
Link, please

G
[One (M8) Android Development] gvsb:
The link is in the first post.

Thank you kindly for the update. I did a clean install and now am in the process of setting up the device. So far so good! Haven't observed image corruption of navigation buttons. Could be placebo but the screen's brightness can be adjusted better than in the previous build.

Would you mind letting us know what other tweaks/updates there are apart from Google security fixes?
[One (M8) Android Development] Haverping:
Yes indeed I meant the inbuild battery temperature sensor ;)
[One (M8) Android Development] Cường Hồ:
still can't download the new M8

G
[One (M8) Android Development] Cường Hồ:
Strange

G
[One (M8) Android Development] boxek:
Works great on my single sim variant, thank you for keeping our devices updated! :victory:
[One (M8) Android Development] trong2xx1:
Good job bro.. thank you so much
[One (M8) Android Development] wd9895:
Thank you for merging and compiling this rom..

Unfortunately the June security fix is not integrated yet and indicated in the rom "lineage-16.0-20190609-UNOFFICIAL-m8.zip"

The security level is shown May, 5th.

Build number

lineage_m8-userdebug 9 PQ3A.190505.002

eng.bgcngm.20190609.142327 test-keys.

Are you going to correct this ?
[One (M8) Android Development] ColdFire InOx:
Could you give indications about what was corrected in this new version? [MENTION=455439]bgcngm[/MENTION]
[One (M8) Android Development] evo17paul01:
Hi, can I just get a clarification on the process for installation of the latest update if I am already running LOS16 but an older build please?

I am also running MagikGapps as well to get around partition size problems
[One (M8) Android Development] CutGlass:
I have an issue with the pixel launcher when it's added on, I can't swipe from the left to get my feed but this works with the built in trebuchet launcher. I'm running the latest version dirty flashed over the last version which was a clean install (and it didn't work in the previous version). OpenGaps Nano I believe.

I also ran 14.1 for a long time and I have no idea if when I originally installed it I changed the system partition but I've never had an issue, but on my 16Gb with 64Gb card formatted for f2fs instead of portable storage, I still seem to be running out of space on the 16Gb built in memory. Most likely to be my **** up in formatting something or other. TWRP is the latest version, I don't believe anything is encrypted which is "odd" though I know I had some issues removing the 14.1 encryption and failed boots, I thought 16 was encryption by default?

Thank you.
[One (M8) Android Development] wd9895:
That's simple: Swipe from the left doesnot work under Android Pie.

I had the same coming from LOS14.1 and somewhere I found this information here in XDA.
[One (M8) Android Development] BimmerLad:
OTA Update?

Sorry for the noob question but can we update via the system updater or is that not possible? Appreciate all the hard work it's a truly amazing rom. :o:p
[One (M8) Android Development] Hashim Ali Awan:
The system updater works only on official rom. These builds are unofficial. If fingers crossed we do get official then only we can update via the updater.
[One (M8) Android Development] Satori42:
Updater process ended with ERROR: 255
Error installing zip file '/external_sd/addonsu-16.0-arm64.zip'

That section of the first post appears to be outdated.
[One (M8) Android Development] CutGlass:
I believe that the HTC is 32 bit and so requires the add-on su for the version 16, I believe that's the one I installed which worked until an essential app started complaining and I removed it. Try this one:

https://mirrorbits.lineageos.org/su/20190304/addonsu-16.0-arm-signed.zip

.
[One (M8) Android Development] Satori42:
That installs successfully from TWRP. Thank you.

No superuser app appears for me as a result. LOS behavior seems the same, and still isn't handing external SD access to apps.

Do you know whether perhaps the LOS su addon is mutually-exclusive with Magisk's own management?

[Edit: Restarted with Magisk in 'core-only' mode and apps successfully requested and received external SD write access. Success!]
[One (M8) Android Development] CutGlass:
To enable it you go to "about phone", tap on the build number at the bottom of the many times until it enables "development settings", then search for them and you can turn root access on for ADB or Apps with a slider. (This is all from memory a few months ago but seems correct).
[One (M8) Android Development] Satori42:
That's indeed accurate. I'd had it enabled [as well as Developer Options > Force allow apps on external], but it appears LOS su and Magisk's su management were either competing or superceding each other somehow.
[One (M8) Android Development] foxy6800:
What is the best way to install new release? Could someone kindly explain.

Thanks
[One (M8) Android Development] Satori42:
If it's your first install of LOS 16, the instructions are in the first post. Do take notice of CG's correction of the appropriate su addon.

If you already have LOS 16 and are merely updating, I've found that you can easily get away with omitting flashing /data and you'll have all your existing installed apps when you update your version.
[One (M8) Android Development] foxy6800:
I have the LOS 16 installed and was wondering how to install latest release? is there any benefit in having the latest release installed?
[One (M8) Android Development] Hashim Ali Awan:
It is best to do a clean install. If in case you don't know the steps, here's what's you gotta do. Using twrp wipe system, data, dalvik and cache. Then install the rom zip file, nano gapps and if you need root install magisk v19.3 zip file. Then just reboot and wait for device to boot up and you'll be good to go.
[One (M8) Android Development] ColdFire InOx:
Is the extreme lag on interactions fixed on this new build?
[One (M8) Android Development] BimmerLad:
What extreme lag are you facing? My phone is rapid now zero lag! I believe this build is also just an update of the core Android base with security patches. There will be no "HTC m8 specific fixes" is my understanding. Apologies in advance if I am very wrong!
[One (M8) Android Development] Hmarasly:
Thank you

Great job

Is there a compass tile in quick settings tiles?

Or can you add it like the previous versions from LOS?
[One (M8) Android Development] iloveheart:
low fps for games, missing optimize to play, nice rom.
[One (M8) Android Development] john_matrix:
Hello!

Are the Bluetooth issues still appear with the latest build of this ROM?

I mean, in previous one (I can't remember the version number) the Bluetooth MAC address was changing regularly causing Car Handsfree kit to unsuccessfull initiate the connection.

Thanks!
[One (M8) Android Development] Hashim Ali Awan:
I use Bluetooth a lot, so in my case on the latest build Bluetooth works perfectly for me. You should definitely try out the latest build.
[One (M8) Android Development] md303:
Been using the latest build since Sunday, so far it is running very well, no major issues EXCEPT two:

1 - With HDR enabled, both the LOS Camera app and the Google Camera app crash after taking a picture (which does get saved), briefly showing a message "Media server died, closing camera" and/or a dialog "Camera error: Can't connect to the camera".

Non-HDR images work fine though, and so does camcorder.

2 - As with previous builds, I am unable to connect to any hidden SSID. I can manually add the network, but it will never connect. The instant I un-hide my router SSID or connect to another un-hidden one, it connects without issue.

Great ROM, thanks a bunch!
[One (M8) Android Development] A n d r 0 i d:
Bluetooth on the latest build still causes my wifi connection to drop to around 2mbps, after disabling it and rebooting wifi returns to 30+mbps

---------- Post added at 08:19 AM ---------- Previous post was at 08:15 AM ----------

1 - HDR has never worked on any ROM past marshmallow,

2 - A hidden SSID can still be found with many wifi scanners + afaik windows 10 finds them now so its borderline pointless and may have the opposite effect by attracting more attention
[One (M8) Android Development] md303:
1 - HDR worked just fine on my M8 for the last 2 years running Lineage 14 (Nougat). If that was pure luck on my end, I guess my luck has finally run out.

2 - So not connecting to hidden networks is expected behavior for LOS16? I don't have permission to enable SSID broadcast on all the networks I connect to.
[One (M8) Android Development] guorium:
HTCdev did not reply to my tweet but somehow I was able to download the source code from their page just then. I uploaded the m8tl marshmallow kernel source code to google drive. https://drive.google.com/open?id=1DagQJ3fN-avSBLlSPjKi9Xap8IKp_C3j

The Chinese dev provided compiled kernel for m8tl. I attached it to this post too [MENTION=455439]bgcngm[/MENTION] would these files be of any use for potential m8tl adaptation to your build? Many Chinese users and people who bought m8tl from China would be benefited including me.

Also just a note to people having issue with LOS 15.1 which is discontinued and post closed. The black screen from wake issue is caused by "expanded desktop". You can avoid it by individually turning it on for each app. A global activation of immersive mode would cause black screen. Can also use adb command to turn immersive mode on for apps not shown in the expanded desktop settings. For example you can try to enable for trebuchet the default launcher app of LOS by trying this in ADB.

Search around /data in the root tree to find the app's folder name you need to add after =apps,-
[One (M8) Android Development] Phalangioides:
I'm facing reboots/bootloops on random occasions, both on this rom and aicp. Resetting battery stats looked like it helped just a little bit, but not fixed it, had no such issues on L 15.1 just few days ago. Any solution?
[One (M8) Android Development] OGdroidster:
On Aicp disable add users from lockscreen and you shouldn't get any reboots. If that does not work then clean flash and redisable it again. Worked for me although I no longer need to that after last few updates. As far as lineage I don't know I stopped using it because its not ready to use and I prefer something less stocky I guess.
[One (M8) Android Development] ColdFire InOx:
Does anyone face some occasional lag on the default launcher (Trebuchet)? Needs a reboot to get back in order.
[One (M8) Android Development] f0nt40:
Bootloop after Encrypting

Yesterday I encrypted the mobile phone successfully. I rebooted and it was always on and fully working (only need to grant root permission to apps again).

This afternoon when I was installing the ¨Multilingue O Keyboard addons¨ the mobile phone turned off (between 60%/70% battery and a good one)

When I turn on, the LOS logo appears, then asks PIN, it says ¨Starting Android¨ but stays in loop in the LOS logo (I left for 1h).

Tried to reboot again and it will ask for PIN first, after that the LOS logo appears and stays in loop.

Rebooted to TWRP, it asks for password but ¨wrong password¨ is always displayed! I'm sure it's the right password ( 4 numbers, the same from lock screen).

Tried others TWRP versions and same thing (currently I have the last one (twrp-3.3.1-0-m8.img)

I can't install / wipe nothing cause it appears 0MB everywhere and I can't mount anything.

Bootloader unlocked, S-ON, CID VODAP102, firmware 6.12.161.4, 200GB SD-card formatted as internal

Latest magisk & EdXposed installed.

Any tips?

Thanks in advance
[One (M8) Android Development] The_Walking_Playground:
Hi,

If you're running Pie on your M8 and you're encrypted, then TWRP probably can't decrypt it.

TWP
[One (M8) Android Development] OGdroidster:
Install a ROM from adb and don't encrypt it
[One (M8) Android Development] jerryspring:
You have TMobile m8? This ROM flash ok to it?
[One (M8) Android Development] Dynamo_anik:
Please HELP.

I am not able to connect my M8 to my 5Ghz wifi Router. My Router Tplink only support 5Ghz channel: 36,40,44,48.

My question is dose M8 only support channels 147, 151, 155, 167 on 5GHz band?
[One (M8) Android Development] mom8htc:
I have m8_ul_ca any problem with this model ?
[One (M8) Android Development] BimmerLad:
I can confirm this bug is also present when enabling a 5GHz hotspot whereby it Errors when starting.

I don't believe the 5GHz WiFi is working in this ROM.
[One (M8) Android Development] CutGlass:
Er, I believe that 5Ghz is working for the 9th June release (see attached), my router states this is channel 48, I don't have 2.4 Ghz connected.
[One (M8) Android Development] wd9895:
My M8 EU version with this June rom works flawlessly in 2,4 and 5GHz Wifi.
[One (M8) Android Development] Dynamo_anik:
I have changed the 5GHz wifi channel to 48 in my router.

But still, no 5GHz wifi band is showing. Should i reinstall the rom once again?
[One (M8) Android Development] CutGlass:
I'd suggest going to a public wifi space and seeing if you can detect 5Ghz routers, in fact can you see your router if you turn off 2.4Ghz ? My router can have a different SSID for each band so I can see both frequencies.
[One (M8) Android Development] BimmerLad:
Based on some people getting 5GHz WiFi working on the June ROM and people like myself not getting it working on the April ROM. I would say this is a bug that was fixed in the June release?!?
[One (M8) Android Development] foxy6800:
Will following this quide

https://wiki.lineageos.org/devices/m8/build

give me a working rom or more tweaks needed to make it usable ?

Thanks
[One (M8) Android Development] wd9895:
June and July security patches are out ;)
[One (M8) Android Development] GuilhermeEng:
I have an One M8 (Sprint) with LOS 14.1. Can I just flash LOS 16?
[One (M8) Android Development] CutGlass:
If you mean can you dirty flash over the top? I don't think so, also start with the smallest opengapps that works and then build up from the play store otherwise you'll be needing to resize your /system partition.
[One (M8) Android Development] GuilhermeEng:
Sorry if I were not clear enough. I mean that if I can download and flash over LOS 14.1.
[One (M8) Android Development] CutGlass:
I tried a "dirty flash" initially and it didn't work so wouldn't recommend it at all. One problem was that my 14.1 was encrypted and the 16.0 would then not read the memory card, another was a lack of space on the device after the flash, seems like a lot of files from the old installation was left over. The phone became really unstable and eventually unusable.
[One (M8) Android Development] Stephinnoye:
can anyone help confirm if the latest build has one hand mode, i need this features more than anything, because my phone screen is broken

thanks in advance
[One (M8) Android Development] mom8htc:
Is my m8 compatible

M8_ul_ca
[One (M8) Android Development] ravul:
Unable to receive missed and post call notifications, and incoming SMS notifications on secondary profile/user. Has this been fixed in the latest June update? Please advise.
[One (M8) Android Development] The_Walking_Playground:
Hi,

Have you enabled the option to receive incoming calls and messages for the secondary user? Also, are you using the Google versions of Phone and Messages (via GApps)? I know these things should work with the Google versions, but not sure whether it works with the stock apps.

TWP