yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] Hipersferus:
LO 16 builds have a big problem with the dose mode causing lag

[MENTION=455439]bgcngm[/MENTION]

Tried Single SIM variants:

lineage-16.0-201900414-UNOFFICIAL-m8.zip

lineage-16.0-201900305-UNOFFICIAL-m8.zip

latest GAPs nano for 16.0/32 bit

- It seems that these LO 16 builds have a big problem with the dose mode:

- I'm on M8 single sim variant (HK version GSM), but I see that other are reporting the same problems too:

- the OS gets very laggy, interface hags for good second after waking up the device from sleep, if the dose mode had time to kick in

- it will slowly recover to less lag state, but wont be smooth until a device restart

- disabling battery optimisation for all apps seems to reduce a little the incidence of the problem, but after a while with will get to same lag results

- I don't have any custom launcher

- I'm not rooted - even ADB root is disabled

- everything else is default and works ok (except NFC probably because of an old pn544 fw ( c1 ) ) - no crazy settings/ no apps data restore etc.

It's what we have after proper clean ROM install setup + some added apps like FB/Insta/FBMsg/Google Photos etc

I've seen similar issues even with LO 15.1, but were not that bad as in 16.0.

NOTE:

I've tried a clean install of another ROM distributions: like latest m8 Oreo from AOKP team - and the dose mode problem is gone - ROM was very smooth - but came back to your ROM since I like more LOS16 and want to help, if possible, to make it stable. Also AOKP has a big bug with unwanted touch events during calls with screen off, that your ROM does not have.

I'm opened to provide any needed assistance in fixing these issues and make this ROM awesomely stable if possible.

If you have time to help, please let me know and will provide more tech details for the case, testing fixes etc.

Thanks again for keeping m8 alive :)
[One (M8) Android Development] Ryokan:
I have wi-fi and navigation problem with this rom. It's delayed when i turn the corner in streets which makes me confuse and even take the wrong turn. Other problem is i can't connect networks

Here is the list i tried so far;

-I tried reinstalling rom

-I tried installing different roms

-I resetted my router and rebuilded it. Even changed my network name..

-I tried to connect other networks

-The network i try is just fine i am using it with my pc all the time

-I tried static dns/ip address

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.29.214500021.12G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.12.401.4

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno:

(bootloader) imei: ****************

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__M27
[One (M8) Android Development] KoMaSo:
I have setup my M8 (single sim / tmobile) in april with the april-rom. I have no lags. All works fine.
[One (M8) Android Development] Hipersferus:
Possible solution for AT&T no incoming calls

--------------------------------------------------

1 - Please post only relevant data - and keep the comments as short as possible

2 - It's "doze" not "dose" mode - I had a typo there - google it - search for "android doze mode" and find out what it is

3 - A possible solution for M8 - on your AT&T no incoming calls on custom ROMs - in this case LOS 16.0:

Source:

https://xdaforums.com/htc-one-m8/help/receive-calls-make-detailed-thread-t3146670?nocache=1

**SOLUTION BELOW**

Apparently AT&T is rolling out HD Voice in many areas. It's basically voice over LTE and it's not compatible with many custom ROMS. This is why flashing the stock AT&T RUU made everything work just fine but when I tried ANY custom ROM it wouldn't work.

If this happens to you try the following....disable LTE by turning off mobile data or simply switching to 3G. Then try to call yourself or have someone call you. If the call comes through on your handset it's due to HD Voice having been activated on your account. I called AT&T and explained that I needed HD Voice turned off for my account. You'll likely have to talk to tech support. Ask them when it was activated on your account. Mine was activated last week which is the EXACT time I started having issues. The AT&T tech will ask that you power down the phone whilst they make the changes. Then turn your phone back on (with LTE active) and try a test call. It should work for you.

- LTE settings on LOS 16 for M8 > go to Settings > Mobile Network > Advanced > Prefered network type

Hope it helps, and again, keep comments short and relevant :)
[One (M8) Android Development] starrfighter:
Yeah, I had a feeling that was going on after my last coversation with ATT but APNs do matter, GAPPS matter, I have two "Phone" apps, one that is old from the ROM or GAPPS and one from the play store, the kernel or true underlying build may need an update all may matter, and although I was overly descriptive it was so I could get a better answer at least one or two or none although yours to your credit is a good thing to look at. However this thread is about lineage OS 16 for the HTC m8 and although my comments were long probably because I had to ask a few times and I appreciate your advice everything I said was relative unless I made a joke or something such as there is nothing on play store or in GAPPS called Google dialer it's called phone and no one else on this entire thread as ever seems to realize that or apparently the other possibility is that I don't know how to type Google dialer? Thank you for your help but also don't criticize other people who ate trying to get everything right in one fell swoop because people are getting pissed at me that my phone doesn't ate or catalog that a call ever even tried on the incoming side, which again I will say is a little Zen and if my saying that little Joke is a problem for you I'm sorry not sorry. But I appreciate the assistance very much thank you.
[One (M8) Android Development] ravul:
Guys having issues with flipflap. Unable to disable it or uninstall it. I've rooted my phone, the root shows up under developer options. But when I try to access system files and try to delete the folder, it says access denied. How do I make sure root is working and disable flip flap?
[One (M8) Android Development] cexcells:
Go to settings> connected devices> connection preferences > smart cover and toggle it off
[One (M8) Android Development] sinahidden:
hi, im visiting my htc m8 after couple of years now and currently LOS 15. based of android 8.1.0 installed, i tried to install the latest build but when i was to flash it , it fails and shows skipping md5 check , context not available , this device id : unknown

can you please give me a tip on how to proceed about this ?

its a ONE M8 Single sim

thanks
[One (M8) Android Development] maciclazar:
If it shows error 7, try updating twrp to newest version and flash rom again.
[One (M8) Android Development] sinahidden:
hi guys ,so i finally could install the rom, but i can not connect to my home wifi, any idea? is it a bug? what is the fix?
[One (M8) Android Development] 1aladdin1:
wifi is working for me. so it must be a specific issue
[One (M8) Android Development] wiQbold:
It is hidden? I had same issue, but then I changed in advanced setting that it is hidden and after a while it worked.
[One (M8) Android Development] woozie91:
I have annoying issue when using BT headset/car audio.

When playing music volume is ok, but when I'm calling I barely hear anything (both on BT headset and car audio).

Volume on phone and BT device is set to max.
[One (M8) Android Development] hu016865:
Where can i download last version htc sense for this rom ?
[One (M8) Android Development] starrfighter:
There is no MMS option I can find in the messages app the normal settings and there's a lot of developer settings so I don't know if you could point me that way but I cannot send MMS messages in pissing everyone off because they all get cut to SMS one after the other not always delivered in black is a puzzle TV show game also at some point it just says you can't send this where can I find the place to go to or do I need a different app then the actual Google app just send one long message instead of what looks like a psychotic 15 message meltdown to someone else? Alot of times someone just sent me five questions and I can't even answer them it just says this is too much SMS I'm like well I don't want to use SMS I don't see in settings unless it's the APN but it's also in there and I don't understand do I need to use the non messages Google app? Not for other reasons like privacy or encryption I'm just asking must I use another app? MMS
[One (M8) Android Development] CutGlass:
I'm using google messages installed from the app store and last updated 9th May. When I installed with openGapps only a few days ago there were two messaging apps, one which appeared to be lineage and had a green bar and icon and is called "messaging". If I go on the google "messages" to the main screen listing all messages and then at the top is "default SMS app" which is set to messages now (I think I had to change that) and then on that same screen is "advanced".

There you have auto-download MMSand also I've found "automatic previews" useful as it loads thumbnails of web pages. After the install I was left with the two SMS apps, the lineageOS messaging and the openGapps messages. I found that I could drag the openGapps from the home screen to the top to uninstall it and then redownload from the Play store, whereas the lineageOS SMS app seem to be a system app and so can't be ignored, but there's also an advanced setting in there with MMS options which only are not greyed out when its selected as the default SMS app. I prefer the google one with it's web link previews, I like to see a thumbnail of whatever's been sent rather than click on an anonymous link but Your Mileage May Vary.

Summary : Google == messages, LineageOS == messaging.
[One (M8) Android Development] BLUuuE83:
Does anyone know any kernels that work well with this ROM?

Possibly kernels that have voltage control for undervolting?
[One (M8) Android Development] vldesco:
Well, after a clean install of April's rom, all seems to be Ok, after 7 hours of use, no lag appeared and no reboot needed.
[One (M8) Android Development] guorium:
Need help for LOS 16 on HTC One M8t

Need help for LOS 16 on HTC One M8t

I am trying to revive my old handset in the junk pile. The the carrier (China Mobile) halted the machine at Android 6 which is currently installed on it.

I found the correct version of TWRP for my phone and fastboot flashed it into recovery. Version is 3.3.0-0.

Then I wiped Dalvik/Cache/Data/System.

Then I flashed LOS 16 unofficial in the original post

Wiped dalvik/cache and rebooted. No error reports so far.

After all this my machine would only start in fastboot after the white HTC screen. LOS does not start at all! I have investigated this for days to no results! Very few people asked this very issue and none of them got work solutions. Please help? The phone is S-ON but I think that is fine for custom ROM. I suspect there is something wrong with the boot.img? People have shown successful upgrade with their HTC M8...:mad:
[One (M8) Android Development] KoMaSo:
Hi, in https://wiki.lineageos.org/devices/m8/install is described thar "format data" has to be.. section "5." this may help. After that delete system/data/dalvik and install again.
[One (M8) Android Development] guorium:
Thank you for the speedy reply! I followed your help to the letters and it did not work. Still not booting to ROM. :eek:
[One (M8) Android Development] Pisiu:
What to change in framework-res_auto_generated_rro.apk? Guess under res/values. Can you help? :/
[One (M8) Android Development] nemosad:
Hope to see stable build soonish. Uuuu lala.
[One (M8) Android Development] tubinhbong:
It is good rom.
[One (M8) Android Development] Technoolli:
Can I just upgrade from the current LineageOS 15.1?
[One (M8) Android Development] Szamuel:
No, you have to wipe /system partition. Together with /data.
[One (M8) Android Development] shahinischal:
hTC Desire 10 Compact.

Will this ROM work on HTC desire 10 compact?

My HTC desire 10 compact is stuck on boot loop and I cannot reboot on recovery mode. I cannot even unlock bootloader for my device.

:crying:
[One (M8) Android Development] faxel:
this thread is for htcone m8 single sim.
[One (M8) Android Development] bgcngm:
New official OpenGapps for Pie are up, by they way.
[One (M8) Android Development] zurjskj:
Thank you for your wonderful works [MENTION=455439]bgcngm[/MENTION]! Now that 15.1 is discontinued, I was wondering if it will be officially released any day soon. I really appreciate the port of LineageOS 16 to HTC One M8, just that I need the su addon, which doesn't seem to have been released for 16 yet. Will 15.1 su addon work on 16? Would like to move to 16, it's just that this is my regular phone... when something breaks it's a bit of a problem.
[One (M8) Android Development] Hashim Ali Awan:
Update

I have been using this rom for a couple of days (still using it), so here is a small review.

I must say how surprised I am to see this running quite well knowing its the first build! The only problem I had is with the memory card not being supported (which will be fixed in the next builds hopefully :) ). Battery life wow, Standby time is amazing and the screen on time has increased almost 45+ min for me. I never changed or replaced my old battery which means yes I still am using the official old one. Is it me thinking or does the battery monitor actually works? It tell me about the apps which I take up too much battery juice and recommends actions. My speakers now sound louder than oreo, I don't use viper or the fx audio that comes with this rom. There have been no force closes what so ever. Sometimes the animation frame rate drops and then its gets back to normal.

The only issue other than the memory card one I have with this rom is ram management it keeps a few apps in the memory and when loading a few apps and keeping them in memory at the same time drops the animation frame rate. THAT'S IT!

Everything else works perfectly fine for me! Hats off to the developer

P.S: If you liked my review feel free to like my post :)
[One (M8) Android Development] john_matrix:
Is Bluetooth working properly?

In the 15.1 build, it was unstable (BT address randomly start with 00:00:00:xx:xx)
[One (M8) Android Development] Hashim Ali Awan:
Its working perfectly fine for me
[One (M8) Android Development] dalfshiro:
M8d pleae..:crying:
[One (M8) Android Development] Szamuel:
If you need root you can use Magisk
[One (M8) Android Development] DanGeorges:
Just curious - if you pretty much use the M8 almost exclusively as a universal remote, why would you want to load a custom ROM on it? And one that's in alpha/beta testing at that?

If I used mine for just a remote control, I would definitely stick with the stock ROM. But that's just me.
[One (M8) Android Development] The_Walking_Playground:
Hi,

Because it's not my main device, I can flash whatever I want on it, and as a modder, I like to use the latest available versions for my device. And it helps the devs to provide logs for things that aren't working, since I see a lot of people that report bugs don't. If it was a huge deal, I would just go back to a ROM where it works. But it isn't. Thanks anyway for your concern.

TWP
[One (M8) Android Development] gregneal:
I am getting an insufficient storage space error (error code 70) when trying to install Gapps nano.

I wipe ART cache/cache/system/data beforehand and the /system partition size is 2641MB with 2599MB free.

Then I install lineage-16.0-20180902-UNOFFICIAL-m8.zip and the /system partition size changes to 1020MB with 97MB free, and "Backup Size" of 922MB.

Because there is only 97MB free the Gapps zip doesn't install.

Is the lineage-16.0 zip meant to change the /system partition size?

Can anyone think how to help me solve this?

Thanks!
[One (M8) Android Development] Szamuel:
Remember to read the comment thread. That's been reported before along with the solution.

You have to resize the /system partition before flashing GApps.

You can do it in TWRP.

I think it's in Wipe > Advanced > here select /system only > hit repair... > hit resize
[One (M8) Android Development] gregneal:
Oops I only read the last couple pages.

Thanks. When I go to wipe > advanced > select only /system > repair or change > there is no "resize", only "change file system". Using TWRP 3.2.3-0

I searched the thread for "resize" but didn't find solution.

Edit: mounted /system and still no resize option
[One (M8) Android Development] Szamuel:
[MENTION=4883605]gregneal[/MENTION] You're mounting the /system partition as read only. Check that and see if it works.
[One (M8) Android Development] KoMaSo:
Hi,

there are some different roms for differnt hardware. ...and there is an other one M8S in the world... this is not m8.

Verizon, Sprint At&T and other. For me runs https://xdaforums.com/htc-one-m8/development/rom-lineageos-16-0-htc-one-m8-t3837538 on an german t-mobile.
[One (M8) Android Development] guorium:
Oh mine is definitively not M8s. It is a M8t which is a China Mobile variant that should work with LOS designed for M8 I think. I even tried to flash LOS 14 which is an official ROM and it had the same issue.
[One (M8) Android Development] KoMaSo:
Do You have opened the bootloader? (https://htc-one.gadgethacks.com/how-to/unlock-bootloader-root-your-htc-one-m8-0154444/)

- fastboot oem get_identifier_token

- http://www.htcdev.com/bootloader/

- fastboot flash unlocktoken c:\temp\Unlock_code.bin
[One (M8) Android Development] guorium:
Yes. I can't flash TWRP.img into recovery without unlocking bootloader first.:cyclops:
[One (M8) Android Development] KoMaSo:
but it can be relocked... is the bootloader still open?
[One (M8) Android Development] guorium:
Yes says unlocked
[One (M8) Android Development] KoMaSo:
Hm, I would say the used rom works not on this device.
[One (M8) Android Development] guorium:
Yes I am afraid so. I am patching the official ROM from Android 6 to no avail. Just a bit of extra research on manually flashing boot.img. If that has no results them I donno what to do... Thank you for the help!
[One (M8) Android Development] jcp2:
Wipe SYSTEM as well as data [not just data] that's what I had to do on mine.
[One (M8) Android Development] guorium:
TWRP only had a data partition formatting option. How did you format your system partition?
[One (M8) Android Development] Pretorious:
Hi all,

First off this is amazing, so crazy that my 5 year old device is running an up to date version of Android and running it WELL. I've been using it for about 2 weeks and things are snappy and stable.

Only issue I've found is that I can't change the lock screen shortcuts. Selecting "Change shortcuts" under "Lock Screen Preferences" in Settings just crashes and shows "System UI keeps Crashing" in a popup. Not a huge deal but I love being able to use those shortcuts to quickly access messaging and calls. Is there a better place to report/keep track of small bugs like this?

Thanks again bgcngm for all the hard work!!
[One (M8) Android Development] BimmerLad:
Select WIPE category and then "advanced wipe" which lists all partitions. Just tick the ones you need :)
[One (M8) Android Development] jcp2:
Yes. Make sure to wipe system partition. That is what I meant to say in my previous post. Sorry for the confusion.
[One (M8) Android Development] guorium:
Haha thanks for the help guys! Really appreciated it. I tried them. Not working! My theory is something is effed up in my China Mobile issued M8t. In fact I cannot get NFC to work on OEM ROM soooo probably some middle man stole my NFC antenna.... My only hope to get it to work is probably paying $25 to sunshine s-off but srsly that is steep for an age old phone and android 9. :cyclops:
[One (M8) Android Development] ckpv5:
Is your m8t is actually m8_tl ? CID is HTCCN701

MID is OP6B5000 ? If yes, all Intl ROM won't work on your device. No point to S-Off, won't work.

Intl ROM works only on m8_ul, m8_ul_ca, m8_uhl, m8_whl, m8_wlv & dual sim m8_dugl
[One (M8) Android Development] guorium:
CID HTCCN704 not 701, MID 0P6B50000, Product M8_TL. Yes it is a China Mobile version, the laser engraving is on the back housing of the phone. Is LOS 16 considered a international ROM? I thought international means some rom for verizon, AT&T alike, like carriers in another region and a custom rom like LOS should apply to all variants? Anyway, I am not doing s-off regardless, too much for this old phone.

I just saw you advising another person in a similar situation. It seems to be a dead end. My questions is why would LOS not work though, the hardware is probably all the same across all variants. Could it be that there is something within the Chinese stock OEM stopping the custom ROM from working? If yes then I could say it is not impossible to alter the Chinese official ROM to make LOS 16 load up.

Also I suspect something real dodgy happened to my phone. It appears to be a TD-SCDMA version but I can now use it on the WCDMA 3G network in Australia. Also I think the NFC antenna is bloody stolen... Any NFC related functions are not working. I hope there is a way find out if the antenna is actually still inside the phone without prying it open haha.
[One (M8) Android Development] grzewoj:
Firstly thanks for great job. ROM is fast and stable. But when I flashed the m8d version (dual SIM) to m8d phone GSM module hangs in several hours. There is no possibility to make calls. SIM card is not recognized. When I restart phone, everything works again but in several hours the failure comes back. On stock rom everything works ok.

Did anyone notice this problem on M8 Dual SIM model?

phone is m8_dugl
[One (M8) Android Development] trapq:
Which firmware do I need to flash this ROM? (Sprint)
[One (M8) Android Development] Dams068:
external sd card

Hi,

lineage-16.0-201900414-UNOFFICIAL-m8.zip works perfectly on my m8, but the system cant mount the extarnal SD card. /dev/block/mmcblk1 is missing.

My SD Card is ok. I can mount and use it on TWRP.

Could you hemp me ?
[One (M8) Android Development] BimmerLad:
My SanDisk 64GB works fine but is formatted as internal.

Have you checked there is no strange partitions or anything on the card?
[One (M8) Android Development] ainaz:
MM is better, but latest KK also is no problem (for me), I've tried before
[One (M8) Android Development] hu016865:
can i enable power button in navigat bar ?

in stock rom i can enable it , and it is very useful.
[One (M8) Android Development] ainaz:
Do You mean to switch "screen off/sleep" the phone?
[One (M8) Android Development] BLUuuE83:
Does using the HDR still crash the camera app?
[One (M8) Android Development] ainaz:
Yes , still crash n error
[One (M8) Android Development] hu016865:
yes,
[One (M8) Android Development] ainaz:
It's easy. Just go to:

Settings/System/Buttons/home double tap action.. (choose turn screen off)

enjoy
[One (M8) Android Development] hu016865:
i know it.

but i want power button in navigat bar.

can i active it ?
[One (M8) Android Development] ainaz:
That's possible, but you have to modify the systemUi n other system app by your self. if you can't, that's enough.. As long as the function is the same to put the phone to sleep / to turn off the screen
[One (M8) Android Development] MuhammadBilal:
Go to Settings > System > Advanced > Buttons > Buttons and layout

(1) Layout : Compact

(2) Extra right button type : Keycode

(3) Right keycode : 26

(4) Right icon : whatever you want