yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] gr0za:
Where even are APN settings? First time I launched, I saw none. And no, it just doesn't detect the SIM so I can't change anything when I go into Mobile Data in Settings.
[One (M8) Android Development] BimmerLad:
APN settings are the access point name profiles, it tells the phone where to connect based on your network.

Just to check, did you install the single SIM not dual SIM variant?
[One (M8) Android Development] gr0za:
Yeah, single SIM. I think I know where the problem may lay. Bear with me...

This phone is a Sprint variant. However, I am not a Sprint user. In fact, my carrier (Orange) is GSM-based.

BUT this is where it gets funky. I got this phone refurbished, it had Android 4.4.4 that wouldn't let me do OTA update to 5.0/6.0, but it has SuperCID, root, and S-OFF.

When I got it, I just put in my Orange SIM card, and didn't even think about what version is this. But 4.4.4 is veeeery outdated, security-wise as well, so I wanted to go to 6.0, and that's when I visited this forum to learn how to do this without working OTA updates. I screwed up, but eventually I got to 6.0. Then today I decided to go with LineageOS because that 6.0 Sprint Android was bloated and had some issues. From 4.4.4 to 6.0 to the first launch of LineageOS 16, SIM worked almost 100% fine. But then it stopped, after several tries to change the settings I flashed the 6.20.651.3 firmware for Sprint, and it didn't help, even when I reverted to my 6.0 backup, SIM still doesn't work. So the key is to find a firmware that allows GSM, it seems, because it did before. But I have no idea which one it'd be. International? Developer?

I realize I'm no longer talking about LineageOS, but I've searched this thread for some clues, and there were people having troubles with SIMs as well, I assume their problem is similar to mine. So please forgive the small derailment, as it might fix the issues in the future.
[One (M8) Android Development] Broman400:
Anyone else get random stuttering with this ROM? For example when scrolling it lags and stutters a little and switching between apps, etc.
[One (M8) Android Development] Vatharian:
I'm currently trying to upgrade from 14.0 to 16.0, and I cannot fit in GApps, even pico package (insufficient space on /system).

According to TWRP (latest) I've got 1020 MB on /system, 904 MB after last nightly install and 110 MB free.

I tried to remove some random files using file browser in TWRP (sounds, wallpapers), and managed to get free to 142 MB - still no luck, error #70.

How do you fit it? How much space I need?
[One (M8) Android Development] The_Walking_Playground:
Hi,

You need to switch to Sense firmware in order to flash GApps along with the ROM.

TWP
[One (M8) Android Development] Vatharian:
Oh crap - I did switch to Google dev. You nailed it :)

Now to track how to switch...

EDIT: I removed live wallpapers, wallpapers, ALL sounds, default calendar, messages, printing services (nothing I EVER used), and... it fits!

I was left with 13 MBs after GApps install.

I wonder if OTAs will work, though.
[One (M8) Android Development] eSouL:
Hi, does Netflix work for you?

For me, it stuck on loading after profile selection.
[One (M8) Android Development] nimik:
I have the same problem since a few builds ago. Not sure where to start analysis.
[One (M8) Android Development] Vatharian:
I had this in 14.0. App switch took sometimes good 3-5 seconds, apps were stuck on empty screen for loooong time, before window content appeared.

Wiping cache helped A LOT with that.

After switch to 16.0 it is gone completely, so I guess it's a matter of apps caching.
[One (M8) Android Development] Xinto:
Yes, sometimes, but i flashed magisk module called "NFS INJECTOR" it reduced lag
[One (M8) Android Development] nimik:
I wiped Dalvik and I still have the lags. It is not just about done small stutter, I was not able to answer an incoming call due to extreme lag. I sometimes fear that my m8 could meet the ground :D
[One (M8) Android Development] Vatharian:
These are exactly the symptoms I had in 14.0. They grew with time, btw.

If I were you, I'd probably try to wipe everything clean, flash system from scratch, and see if that helps. In 0928th build my M8 is perceivably butter smooth.

If that doesn't help, probably it is good idea to check if your NAND flash is in good condition. I may be behind in current tools, but there should be a piece of software out there, which checks condition of the mmc.
[One (M8) Android Development] Broman400:
Don't know if this has anything to do with slight lag but are you rooted, and with magisk or the solution on the first page?
[One (M8) Android Development] Vatharian:
I used the su binary from rom's download page. I never used Magisk before.
[One (M8) Android Development] Dynamo_anik:
Waiting for LineageOS 17
[One (M8) Android Development] BimmerLad:
It's going to be a lot of work, it will likely need heavy development in unofficial state with huge porting work done. It's crazy that this phone even has 16 let alone officially supported 16! Hats of to the dev.
[One (M8) Android Development] gr0za:
Why can't I choose the "Preferred network type"? It's make or break for me, as it's a Sprint version, but I have a GSM SIM card, which it stopped recognising (it was working initially, but after a few restarts it stopped).
[One (M8) Android Development] bgcngm:
The Q port for m8 is actually in a very good shape. I am only struggling with NFC. As you may all know, this is a very legacy NXP chip and this time it's not being easy to forward port this code.
[One (M8) Android Development] Dynamo_anik:
[MENTION=455439]bgcngm[/MENTION] I think most of the m8 users don't use NFC. So broken NFC is not gonna be a big deal for all of us. We can live without NFC.
[One (M8) Android Development] The_Walking_Playground:
Hi,

You could release an "alpha" build with broken NFC while you continue working on it ;). It would be nice to see how 10 runs on our device :).

TWP
[One (M8) Android Development] bgcngm:
That's what I plan to do. Maybe later this week.
[One (M8) Android Development] Xinto:
Wow, already working Q? Dude i love you, definitely gonna check it out when you will release it, only used NFC 2 or 3 times, so no problem for me personally, and i think most of us here don't use it either
[One (M8) Android Development] BimmerLad:
*Cough* https://xdaforums.com/htc-one-m8/development/rom-lineageos-17-0-nightlies-htc-one-m8-t3976989

*cough*
[One (M8) Android Development] A n d r 0 i d:
You're a genuine diamond, so much hassle rolls through this forum and yet you still support the faithful M8... It is great hardware, relatively reparable, quality audio is the clincher, I don't know of any other phone that has stereo and any form of bass about it. (but then I have stuck with the M8 so there may be better phones these days, unlikely £30 though

Keep doing what you're doing, loving it... oh and don't worry about NFC, it died with the official ROM/google pay (is that still impossible to gerry-rig?), I've used it once in 5 years & that was just to test it.

Cheers man.
[One (M8) Android Development] trasch2110:
rom not working

when i install last version on "lineage-16.0-20191003-nightly-m8-signed.zip" in my m8 it's not working. after reboot it's automatically

entering twrp recovery mode. i don't know what's the problem it happen.
[One (M8) Android Development] James_Oakley:
Did you wipe system before you did the install? What system were you running on the phone before you installed this rom?
[One (M8) Android Development] BimmerLad:
Absolutely correct, no Google pay no need for NFC. Seems our Dev is too much of an awesome perfectionist :laugh:
[One (M8) Android Development] BimmerLad:
I had this before... What option are you selecting to reboot? Is it power down or reboot to system?
[One (M8) Android Development] trasch2110:
yup i did it, i'm using previous version of LineageOS 16.0 i think it's around with January 2019

---------- Post added at 01:11 PM ---------- Previous post was at 01:08 PM ----------

i selected reboot. what can i do for it?
[One (M8) Android Development] BimmerLad:
Try reboot to system
[One (M8) Android Development] trasch2110:
i tried but same thing happen. i don't know what's the problem.
[One (M8) Android Development] BimmerLad:
Have you tried wiping all with an advanced wipe then installing again? Perhaps download the latest build in case your download is corrupted?
[One (M8) Android Development] A n d r 0 i d:
I had exactly the same with the 30-09-2019 build

Restored a backup and forgot about it, Q is on its way! :D
[One (M8) Android Development] Stephinnoye:
mehn, this dude is f***king good, I wish I cud be a developer like you someday, I would be glad if I can learn under your foot tho, would also be glad to have your WhatsApp digit... I cant appreciate your efforts for M8 enough, I hope I can buy u a cup oneday.

cant wait to port android Q on this phone, despite the poor state of the phone(Bad battery, broken screen, dilapidated body, etc) I cant still lay off my hands off the phone

:good:

---------- Post added at 09:15 ---------- Previous post was at 09:13 ----------

ive never used it before:crying:

I hope i can have practical experience of this feature one day

---------- Post added at 09:21 ---------- Previous post was at 09:15 ----------

can u kindly tell me how this NFC even works, i need practical explanations

Thanks
[One (M8) Android Development] BimmerLad:
NFC is the use of card emulation. This is used when say paying for something with Google pay. (Apple pay) in a shop with contactless payments.

It's also used for Android beam and other touch to connect devices.

By no means and essential feature and one I would happily sacrifice to not be on Android 6, let alone 10!!! :laugh:
[One (M8) Android Development] nimik:
Could anyone support me in deciding the best way to hide the custom ROM status from mobile banking app?

Interesting that I have 2 banking apps from 2 different banks. One works the other won't. But that is only because the app itself allows usage of custom ROM.

If this is the wrong thread please excuse me. I figured that the solution takes into account the used custom ROM that is why I posted here.

Thank you!
[One (M8) Android Development] ashyx:
It is the wrong thread. You need the Magisk thread.

https://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/page3608
[One (M8) Android Development] egortar:
No sim/no service on sprint m8 after reboot :(

Can't get back sim on any ROM now, was my radio completely broken?

Need help, please :(
[One (M8) Android Development] bgcngm:
Reflash stock firmware and then start over. It would be great if you could test the 17.0 beta build, since I was waiting for a confirmation from at least one Sprint user.
[One (M8) Android Development] egortar:
it doesn't helped, after reflashing stock RUU still "no service"
[One (M8) Android Development] bgcngm:
Oh well, if you flashed RUU and that happens in stock I think that's the end of the line for your device.
[One (M8) Android Development] Dynamo_anik:
do not use micro sd card.
[One (M8) Android Development] ckpv5:
Do you still need stock launcher without that search string ?
[One (M8) Android Development] vispa70:
Yes!!! :D
[One (M8) Android Development] ckpv5:
Here you go ... install this Launcher3QuickStep.zip in recovery.
[One (M8) Android Development] vispa70:
Many thanks!!!:D
[One (M8) Android Development] heronimus20:
I wiped /system, /data and /cache and installed this ROM via TWRP 3.2.3-0., but on the first boot I get an "encryption error"

LineageOS 15.1 was installed before. So what went wrong?
[One (M8) Android Development] Szamuel:
Can I dirty flash the new OpenGApps?
[One (M8) Android Development] Harrison Le:
This is the standard for playing custom roms but as a lot of members got same issue: AFTER SMOOTHLY INSTALL PROCESSING -->> DEVICE RESTART TO SYSTEM GOT ISSUE: POWER STOPPING AND RETURN TO TWRP, this problem not happen if your device conecting to laptop. PC.

I have seen a lot of same these issues reported here including my HTC M8 but still no solution to settle.
[One (M8) Android Development] ckpv5:
Standard ? Really ?

Read item 4 for current workaround for reboot to recovery issue.
[One (M8) Android Development] multiwirth:
[MENTION=455439]bgcngm[/MENTION] since LineageOS 15.1 is already pretty much stable and LineageOS 16 not even released offically, will LineageOS 15.1 ever go offical anyways?

Or may you skip 15.1 and make 16 offical or will you even stay on unoffical ?

I´m just curious, many devices have now 15.1 except the One M8 and some others and the 16 release may take some time.

Anyways thank you for keeping it alive!
[One (M8) Android Development] toneyobaze:
My recent apps page changed itself back to the old oreo style..
[One (M8) Android Development] BlackMambo90:
Got the same problem, i just dirty-flashed the rom to solve it
[One (M8) Android Development] bgcngm:
That only happens if you remove stock launcher.
[One (M8) Android Development] faxel:
how is work in progress of new build? :D
[One (M8) Android Development] bgcngm:
Whenever I feel motivated. I have other things to do.
[One (M8) Android Development] sulkbliss:
Just flashed it as the first ROM I've ever flashed on my HTC M8.

After following all the directions, it seems to work without any show stopping issues at all, as far as I can tell.

The only minor thing is the SD card capability, but that's temporary. The stock home screen has a google search bar widget that is unremovable which is annoying, so another launcher will have to do for now.

Anyways, sweet. Looking forward to future updates.
[One (M8) Android Development] vispa70:
Missing badge alarm clock, lock screen?
[One (M8) Android Development] bgcngm:
What?
[One (M8) Android Development] vispa70:
Corrected the translation. Sorry this is Google
[One (M8) Android Development] BimmerLad:
Does it say no service or no SIM?
[One (M8) Android Development] bgcngm:
Good point, I would make sure it's not a SIM card issue.
[One (M8) Android Development] BimmerLad:
My thoughts exactly!
[One (M8) Android Development] Broman400:
My phone gets pretty warm and battery life is pretty bad even when not doing anything and just having the screen on. Booted into safe mode, with wifi on phone gets slightly warm and without wifi phone runs cool. Battery is at 91% capacity according to AccuBattery. Any suggestions would be great
[One (M8) Android Development] BimmerLad:
My battery life is amazing. What I do find helps is charging the phone from completely flat to full charged REMAINING SWITCHED OFF THE WHOLE TIME. This seems to help restore capacity. It charges MUCH SLOWER this way.
[One (M8) Android Development] ashyx:
Am I the only one that gets random reboots?

I started again from scratch, reinstalled my apps and everything was good again for a while with no reboots.

Suddenly the reboots have started again. If no one else has the issue then it might be some sort of update that is causing it which I need to track down.
[One (M8) Android Development] BimmerLad:
I used to experience it occasionally when I had power mode set to "extreme performance" or whatever the max performance mode is. I've dropped it down to in-between max and middle and it seems to have fixed it.

Edit: I'm set to balanced
[One (M8) Android Development] ofir_a:
Hi [MENTION=455439]bgcngm[/MENTION], thanks a lot for your amazing work ?.

Would you like to share a link to LOS 17 so more people can test your greate work?

Thanks again !!!
[One (M8) Android Development] BimmerLad:
https://xdaforums.com/htc-one-m8/development/rom-lineageos-17-0-nightlies-htc-one-m8-t3976989
[One (M8) Android Development] RexZero:
Just a report:

2019-10-10, I tried to install with:

lineage-16.0-20191009-nightly-m8-signed.zip

open_gapps-arm-9.0-nano-20191010.zip

Magisk-v19.3.zip

(After 4-wipe: 2 caches, system, data)

But i got a fail: My M8 kept rebooting to TWRP.

After many attempts, i got success with:

lineage-16.0-20191009-nightly-m8-signed.zip

open_gapps-arm-9.0-nano-20191006.zip

Magisk-v19.3.zip

With "open_gapps-arm-9.0-nano-20191010.zip" or "open_gapps-arm-9.0-nano-20191009.zip", the installation was fine.

But after the boot animation, my M8 kept rebooting to TWRP.

I have no idea what happen, because i dont know how to get booting logs. Does anyone know?

BTW#1: I have a little problem now: when i try to open "Firefox Focus", my M8 will freeze on the first screen of Firefox Focus for a while, then reboot...

I checked last few error message in "last_kmsg", and i dont get it with my poor knowledge.

But my M8 is fine with open "Firefox". Does anyone know what happen?

BTW#2: What happen on "lineage-16.0-20191004-nightly-m8-signed.zip"?

I got CRC error msg with 7Zip and WinRAR.

[MENTION=455439]bgcngm[/MENTION], thanks for your great work. :)
[One (M8) Android Development] ColdFire InOx:
[MENTION=455439]bgcngm[/MENTION] There's a little bug that I'd like to report. The manual brightness slider only works halfway through it. Which means, if you set it to 50%, it dims your phone brightness all the way down to zero. Only from 50% and up on the scale is the brightness actually adjusted. Is this maybe something easy to fix?

Other than that, this is a wonderful ROM that's keeping my phone alive. Such appreciation for your work. Shoutout from a portuguese fella.
[One (M8) Android Development] Xinto:
It's Hardware problem, the panel itself doesn't allow lower brightness, even on stock firnware
[One (M8) Android Development] ColdFire InOx:
But on LineageOS 15.1 the brightness slider was adjusted to the hardware and worked all the way through. So, I suppose a software adjustment could be made on LOS 16.0 as well.
[One (M8) Android Development] Pumpiron579:
I had the same problem, Kept booting into recovery, I decide to move on and installed lineage-17.0-20191005-UNOFFICIAL-m8.zip and the same problem booted into recovery, so after it booted back into recovery, I installed it again,this time it booted into lineage.
[One (M8) Android Development] foxy6800:
OTA updates are not installing automatically for me.

After download and pressing install, my phone reboots into recovery and stays there. I have to install the update manually.

Is anyone else having same issue!?

Thanks
[One (M8) Android Development] cexcells:
That has always been the case on this ROM.
[One (M8) Android Development] Xinto:
That's how you install updates, updates tells you that too, there's no way to install them automatically for many reasons
[One (M8) Android Development] newlineageos0:
I have tried to find this a few times and I cannot, it seems I cannot load my local phone storage and my external storage because it claims it is encrypted (I use the only password I configured for encryption.)

is there a link someone can provide to help? I've read about 30% of this thread and cannot locate the solution for rebooting the phone into twrp and finding the zip which is non-existent for me likely because I cannot mount the local storage due to fake encryption, is there a way to have the update downloaded to external storage?
[One (M8) Android Development] CutGlass:
/data/lineageos_updates if you have downloaded through the updater, it's not on the /sdcard
[One (M8) Android Development] goosnarrggh:
I have found that if your phone is encrypted then TWRP for the M8 cannot access the /data partition at all, no matter what password you enter. It is basically impossible for TWRP on an encrypted M8 to install an OTA update.

The only method I've seen to install updates to LOS 16 on an encrypted M8 is to download the update to your PC and install it using ADB sideload.

This is clearly a bug, because it should never be necessary to enter any passwords for TWRP to be able to automatically install OTA updates, regardless of encryption status. LOS is supposed to create a raw block map version of the OTA update file, bypassing the phone's encryption, and pass a reference to the block map to TWRP. In turn, TWRP is supposed to recognize that it was passed a block map so that it knows that it doesn't need to decrypt storage before starting to install the update.

I don't know yet if this is caused by a bug in LOS, or a bug in TWRP.
[One (M8) Android Development] Claymore1297:
latest TWRP-release should be able work with Pie encryption - but be aware, that this device uses software encryption, which will have an impact to performance
[One (M8) Android Development] The_Walking_Playground:
Hi,

I think you're referring to [MENTION=1162986]Captain_Throwback[/MENTION]'s unofficial TWRP, right? I don't believe the official TWRP supports Pie encryption. That TWRP also defaults to system-as-root, so I'm not sure how that'll work for flashing.

TWP
[One (M8) Android Development] Stephinnoye:
Someone should help me please, I discovered since I updated to the September builds, my Whatsapp won't receive any messages again once the backlight is off, even if the phone is connected to charger, same would still happen.

I dnt knw what I activated or so, would b glad if anyone could help me rectify this issue

Thanks
[One (M8) Android Development] Verlog5454:
adb shell

cmd appops get com.whatsapp

What does it say?
[One (M8) Android Development] Stephinnoye:
How do I do this pls?
[One (M8) Android Development] Xinto:
Connect phone to PC, or run it inside Android Terminal if you have root
[One (M8) Android Development] A n d r 0 i d:
you've probably restored from a backup, apps like whatsapp hate this (something to do with push notifications but can't remember)

uninstall whatspp

delete the whatsapp folder (copy out any media first)

reboot to recovery and wipe cache/davlik cache

reboot, reinstall whatsapp from the play store and re-activate it by sms
[One (M8) Android Development] Stephinnoye:
i have root, its saying failed, i guess im doing somtin wrong

---------- Post added at 11:23 ---------- Previous post was at 11:21 ----------

Yh

dats tru i did restore from Titanium Backup bcox of my stickers,i wll still have to restore if i still need those stickers back, above all, I'm using Yowhatsapp

i need help pls
[One (M8) Android Development] UberMoogle:
I installed this a day or two ago and am loving it so far. Running MUCH better than my previous install (admittedly been needing to nuke it for awhile lol).

Anyway, anyone else having an issue with using the IR blaster causing a full crash of the launcher (I think) where the screen goes black then goes back to lock screen? I'm trying to use the IRPlus app, and no matter what device I put, touching any button in the app to send an IR signal crashes it all. I've tried using the alternate sending setting as well, same issue.
[One (M8) Android Development] Verlog5454:
How do you get encryption to work with OTA? TWRP asks for the pattern and after I input the correct pattern it fails to mount and continues to say the pattern is wrong.

Perhaps it's the TWRP version? I'm using the latest from https://dl.twrp.me/m8/ because the one the thread links to doesn't exist, the link times out: http://teamw.in/devices/htconem8gsm.html
[One (M8) Android Development] The_Walking_Playground:
Hi,

The latest official TWRP doesn't support Pie encryption. But I don't think the OTA will automatically install even if it did since it's not supposed to have to decrypt to install it anyway. I think it just doesn't work on M8. I did see mention of [MENTION=1162986]Captain_Throwback[/MENTION]'s unofficial version for Android 10 supporting Pie decryption, but I'm pretty sure that version is specifically for Android 10 because it's set up for SAR. Maybe he'll read this and build one for Pie.

TWP
[One (M8) Android Development] Claymore1297:
[MENTION=1162986]Captain_Throwback[/MENTION] just released a unofficial TWRP build, which should be able to handle Pie-encryption.

Link: https://github.com/CaptainThrowback/android_device_htc_m8/releases
[One (M8) Android Development] Verlog5454:
Is it normal to have Android security patches say "Vendor: out of date" ? Last time I did an OTA with stock OEM android was somewhere in 2018 and nothing was offered afterwards.
[One (M8) Android Development] maciclazar:
Yes. It is normal. Latest security patch HTC gave us was July 2016. That's why you can use lineage and get latest patch without depending on HTC.