yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] ShinigamiKa:
You need fastboot, a TWRP img, a USB cable and to put your phone in HBOOT, please see my previous post it has all the instructions you would need except for the img which is here. https://eu.dl.twrp.me/m8/[/QUOTE]

Sorry if I missed a step.

Fastboot downloaded from ==> https://androiddatahost.com/uq6us

TWRP IMG downloaded from ==> https://eu.dl.twrp.me/m8/

Cable ok , HBOOT OK ,

it's the stage where I do not know what to do

---------- Post added at 09:40 AM ---------- Previous post was at 09:30 AM ----------

Sorry if I missed a step.

Fastboot downloaded from ==> https://androiddatahost.com/uq6us

TWRP IMG downloaded from ==> https://eu.dl.twrp.me/m8/

Cable ok , HBOOT OK ,

it's the stage where I do not know what to do[/QUOTE]
[One (M8) Android Development] CutGlass:
The section on the page https://twrp.me/htc/htconem8gsm.html

Fastboot Install Method (No Root Required)

Open a command prompt and flash the recovery twrp image. When you've got twrp on you can then get lineageOS installed.
[One (M8) Android Development] ShinigamiKa:
this method Fastboot Install Method (No Root Required)

require to activate debugging mode from the system

On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
[One (M8) Android Development] CutGlass:
OK you have forgotten that you are in the boot loader already. (or you can get to it from the previous post about holding volume down and power to get to HBOOT).
[One (M8) Android Development] ShinigamiKa:
I have no choice only to be on the boot loader
[One (M8) Android Development] CutGlass:
So you have a white screen with HBOOT

FASTBOOT

RECOVERY

FACTORY RESET

when you turn on the M8 with the power button and volume down pressed?

Because then all you do is use the volume buttons up and down (to check that you are in the menu) make it so that fastboot is selected in Blue and press the power button once, That gives you FASTBOOT USB in red and the you just use the command line on your computer typing fastboot devices should show you that you have a phone connected by USB.
[One (M8) Android Development] ShinigamiKa:
So you have a white screen with HBOOT ,==> Yes With the 3 Androids Skating

when you turn on the M8 with the power button and volume down pressed? ===> YES

FASTBOOT ==> Yes

RECOVERY ==> YES

FACTORY RESET ==> Yes

enven other options SIMLOCK,CHECK SMARTSD, IMAGE CRC and SHOW BARCODE

after fastboot selection it does not give me FASTBOOT USB , thats why i'm asking if i have a possibility to activate FASTBOOT USB remotely from PC,

I think FASTBOT USB is activated after enabling debugging mode from system with tping 7 time on a section
[One (M8) Android Development] CutGlass:
You have to have a USB cable attached for the text to change to FASTBOOT USB, you can reboot FASTBOOT from the menu options. (I'm using a phone with the developer options turned off to check all this, developer options only apply when you are in lineageOS and in the TWRP instructions it's only to use ADB to reboot to HBOOT).
[One (M8) Android Development] ShinigamiKa:
cable attached ok

reboot fastboot ==> no Fastboot USB activated

Power down and rebooted with buton power and buton audio down same issue no fastboot USB enabled :crying:
[One (M8) Android Development] CutGlass:
Have you tried typing in

fastboot devices

into a command window? or trying another USB cable?
[One (M8) Android Development] ShinigamiKa:
Have you tried typing in fastboot devices into a command window? ==> no i don't know how ?

or trying another USB cable? Other cable and other usb port same issue No fastboot USB enabled
[One (M8) Android Development] CutGlass:
I think you need to search up how to install fastboot on your computer might be on the original TWRP page I sent you, I installed it so long ago I have forgotten (and I use a mac or linux).
[One (M8) Android Development] ShinigamiKa:
C:\Program Files (x86)\Minimal ADB and Fastboot>

Fastboot and TWRP is downloaded and instaled

Thanks
[One (M8) Android Development] old.splatterhand:
Htc itself offers a htc_fastboot.exe. Try to search for it, or like others said, try another cable, usb-port or computer.
[One (M8) Android Development] OGdroidster:
Connect device and type fastboot devices. You will get a number shown upon tapping the return key. No need for USB debugging.
[One (M8) Android Development] molenovoy:
When you attached your cable to to your PC your phone shows fastboot AC instead of USB ?
[One (M8) Android Development] mhshahin:
VPN not working

Hey guys,

I've installed LOS 16 on my device, everything works fine except for VPN. L2TP just doesn't connect. Shadowsocks connects but there's no internet. Orbot VPN mode doesn't work either. For the record, I'm running L2TP and Shadowsocks on my own VPS and they work just fine on my other devices. Any ideas?
[One (M8) Android Development] ShinigamiKa:
thanks OG

But no serial number appears !
[One (M8) Android Development] api2001:
Display lock screen reappearing over and over again

Hi folks,

I have used LineageOS16.0 on HTC m8 for about two weeks now very fine. Thanks a lot for a great system!

But since today I cannot get rid of my lock screen anymore?

If I enter my correct wipe pattern, a black screen appears for about 2 seconds and then the lock screen reappears.

Again and again and again and again :crying:

If I enter an uncorrect wipe pattern, it just says "uncorrect".

I can receive calls but not enter the phone meanwhile (because then lock screen comes, black screen).

For short during a call I saw an error message "System-UI has stopped working".

I tried rebooting a lot.

I tried switching off completely.

I tried removing SD and SIM card.

I tried using TWRP to wipe cache folders but not working.

Help appreciated!

APi
[One (M8) Android Development] api2001:
Ok, I solved it by removing the display key lock by using adb shell.

So now I am not really sure what the initial cause was.

If anyone is interested:

- Boot phone to recovery (Switch off, switch on holding volume down, choose recovery from bootloader menu)

- TWRP gets loaded

- Now you can use adp (I could not use it before because I could not come to the Android's settings / debug options menus)

- Remove locksettings:

adb shell

cd /data/system

mv locksettings.db locksettings.db_bak

- Reboot phone - done

After that everything seemed normal, I reconfigured a new lock key and that is it.

Also I updated to the latest nightly.

APi
[One (M8) Android Development] Verlog5454:
LiveDisplay appears to not work. On and Off work but Automatic doesn't. Timezone is correct. Don't know yet if it will activate at the wrong time or just never.
[One (M8) Android Development] hu016865:
hi.

i tried to install rom + sense + gapps

after install all.and worked ok.

i tried to repartition in twrp but doesnt work

i reboot phone and in fastboot i choose recovery but twrp is missed and i see htc logo only .

and rom is missed too .

i tried install twrp again but in pc i see wait for device only.

and in device managmet in pc(win 10) android 1.0 have yellow icon.

how can i install twrp recovery again ?
[One (M8) Android Development] faustolg:
Big Thanks

I wanted to tell all of you a big Thank you, you made what my phone needed...
[One (M8) Android Development] Verlog5454:
OTA updates don't appear to work for me.

It reboots into TWRP but no prompts or anything, it's as though I just booted into recovery myself.

TWRP 3.3.1-0
[One (M8) Android Development] cexcells:
Same for me
[One (M8) Android Development] jcp2:
Same here.
[One (M8) Android Development] Hipersferus:
when it reboots into twrp, you need to flash the OTA zip manually - for update. So for that - go to TWRP "Install" menu, if you are not in the root path of the phone(like if you are in "/external_sd"), you need to tap "Up one level" to get to root path. Here look for "data" folder and tap it to enter it > scroll down and find "lineageos_updates" folder and tap on it to enter > there you will find the OTA update zip, select it and swipe to flash (don't check zip signature verification) > after flash is completed > wipe cache/dalvik > after that reboot system. And you are updated (dirty flash update)

After the update and phone restarts, if you want to delete the update file > go again in the Android menu for updates and click delete on the current update file. Enjoy!

And sending thanks to Bruno on making this build stable!
[One (M8) Android Development] mturner42uk:
I've been trying lineage 16 roms for a year now and finally they are running smoothly as could be expected. We'll done to all the people who worked on this and keep up the good work. Thank you. :D
[One (M8) Android Development] logman99:
thanks a lot man its works now
[One (M8) Android Development] BimmerLad:
I'm having trouble with GPS on the latest build. It shows available satalites but doesn't get a "fix". All apps show "no GPS".

I'm based in the UK if that helps. Is he "GPS.config" correct in this build?

Otherwise brilliant ROM you're truly amazing!
[One (M8) Android Development] Stephinnoye:
Can i go ahead of downloading the 2019-08-26 builds?

---------- Post added at 14:56 ---------- Previous post was at 14:41 ----------

can anyone help explain this;

Sideload the LineageOS .zip package:

On the device, select “Advanced”, “ADB Sideload”, then swipe to begin sideload.

On the host machine, sideload the package using: adb sideload filename.zip

(Optionally): If you want to install any additional add-ons, adb sideload /path/to/zip those packages in sequence.
[One (M8) Android Development] BimmerLad:
Any reason you're side loading and not regular ZIP flash via TWRP?
[One (M8) Android Development] Stephinnoye:
no reasons, just asking if there's any advantage of side loading the ROM since i dont know what that is really talking about

Thanks....

lest i forget, how u see d aug 26 update, any bugs?
[One (M8) Android Development] BimmerLad:
From my limited understanding side loading is flashing the ROM via a PC using the fastboot drivers. It negates the need for flashing via TWRP although I could be wrong since I've never done it!

The latest build is very good and smooth with no bugs, I do have a GPS issue but think that may be my issue since there are no other users reporting issues.
[One (M8) Android Development] Stephinnoye:
Thanks for the enlightenment, I'm grateful
[One (M8) Android Development] goosnarrggh:
The official LineageOS docs recommend sideloading now, so that they can publish a single set of newbie-friendly instructions that can be used generically for all A-Only devices , with either TWRP or Lineage Recovery, and without consideration of whether or not the device has encrypted data. The traditional method of pushing a zip file to /sdcard will not work on devices which use Lineage Recovery with encrypted data, because Lineage Recovery intentionally never even attempts to decrypt data. (Note: DO NOT attempt to use Lineage Recovery on an m8 just yet. You'll probably bootloop and require a complete fastboot wipe to bring your phone back to life.)

It so happens that decryption support in TWRP for the m8 seems to be broken right now, so even with TWRP sideloading ZIP files is a necessity if you've encrypted your m8. The ability of TWRP to decrypt /data is supposed to be irrelavent when you are installing a regular OTA update, because those updates are supposed to be decrypted in advance by the Lineage OS OTA downloader and passed to TWRP via a raw block map, but for some reason that mechanism is also broken in TWRP for the m8 at the moment.
[One (M8) Android Development] BimmerLad:
More than welcome, from my basic research it appears the "usual" way of ZIP flashing in TWRP yeilds best results.

These builds are all incredibly stable with little to no bugs. If you Google "lineage os HTC M8" you can view the official lineage download page which includes change logs.

I would then see if any of the nightly changes reflect features or fixes you want or need then update as required.

It's also acceptable to "skip updates" as long as you remain in the same version for example lineage 16 and skip the nightlies only updating when you want or need a fix included in that nightly. Going from say 16 to 17 one day would need a full format and flash.

---------- Post added at 12:32 PM ---------- Previous post was at 12:30 PM ----------

Sorry, posted same time! Listen to this posts warnings as they are no doubt more knowledgeable than I...
[One (M8) Android Development] Stephinnoye:
Thanks for this piece sir

---------- Post added at 12:51 ---------- Previous post was at 12:48 ----------

one more question... can we now use OTA using this official builds?

I'm tired of downloading 400mb+ every month and losing or reinstalling my apps afresh
[One (M8) Android Development] goosnarrggh:
Yes OTAs work. Sort of. LineageOS will check for available updates on a daily, weekly, or monthly basis (your preference), and will notify you when a new OTA is available. (Typically, a new OTA is built every day, but you absolutely DON'T need to install each one.) Once you give it permission, it will start to download the selected OTA. After the download is complete, it will notify you to reboot.

This is where things don't quite go the way they ought to, but normally it's a fairly small inconvenience: The phone will reboot into TWRP but it will not install the OTA automatically. (This is different from the normal way of doing things for LineageOS OTAs on most other phones.) Instead, you'll need to tap the install button, and use the file browser to go to the /data/lineageos_updates subdirectory. Select the file you just downloaded and install it. Reboot when done. No data or apps will be lost. After the phone reboots, you may want to delete the downloaded OTA update file to free up disk space.

However, if you encrypt your m8, then at the moment OTA updates are completely broken.

Instead, with an encrypted m8, you have to:

1. Use your PC to download the new installation ZIP from download.lineageos.org,

2. Manually reboot your m8 into TWRP,

3. Skip the error message about TWRP being unable to decrypt your phone,

4. Tap Advanced, tap Sideload.

5. Plug in a USB cable from your PC to phone.

6. From the PC, run "adb sideload FILENAME.ZIP" (Replace FILENAME.ZIP with the complete path to the downloaded ZIP file.)

After the sideload is complete, unplug the USB cable and reboot your phone. No apps or data will be lost.

However, these rules only apply for minor updates of the same major version of LineageOS. If you're doing a major upgrade (for example, 16.0 to a future 17.x) then you'll need to follow LineageOS's general wiki advice for installing upgrades. UPDATES are not the same thing as UPGRADES.
[One (M8) Android Development] Stephinnoye:
wow!:good::good:

so detailed

thanks abunch bro

and hope the OTA isnt as big as the the zip file?
[One (M8) Android Development] goosnarrggh:
Every OTA is a complete copy of the OS, approx. 400 MB in size. (That's what makes it safe for you to skip the ones you're not interested in.)
[One (M8) Android Development] Stephinnoye:
Ok

thanks abunch bro
[One (M8) Android Development] ashyx:
Sorry, but I still don't get this need for sideloading.

It seems there is some misinformation going on here.

Especially with references to Lineage recovery rather than TWRP.

Sideloading is only necessary if your data partition is encrypted and don't have external storage such as an sdcard or otg USB.

It's irrelevant where the zip is loaded from as long as it can be accessed.

There is no reason why the zip can't be downloaded or moved to your devices external storage and installed with TWRP using the regular zip install method.

If your data partition is not encrypted then the whole thing is irrelevant. Just install it from wherever is convenient.
[One (M8) Android Development] Verlog5454:
GPS doesn't work. GPSTest can get 2/21 Sats but doesn't display any coordinates - I suppose you need at least 3 sats for that.

Once every 10 or so attempts it manages to work, on LOS 14 it always worked.
[One (M8) Android Development] BimmerLad:
+1 here, no GPS...
[One (M8) Android Development] mturner42uk:
GPS working on build 27th Aug, getting 3D fix and accuracy +- 10 m.
[One (M8) Android Development] BimmerLad:
How long does it take to connect in? I'm on the 28th build and it doesn't connect even after waiting 15 minutes.

Have you amended any settings or changed anything to get it working?
[One (M8) Android Development] mturner42uk:
Less than a minute. Didn't change anything on my m8 single sim unlocked UK.
[One (M8) Android Development] BimmerLad:
That's annoying then, likely means I need a full wipe and re-flash! ?

Thanks for the help mate!

Edit: what GApps are you using? I'm running OpenGApps, arm, android 9, nano...
[One (M8) Android Development] mturner42uk:
Same but micro version.
[One (M8) Android Development] BimmerLad:
Tried flashing Micro and it's still not getting a fix. Full re-flash for me then! :good:
[One (M8) Android Development] SpanishFreeSoftLover:
Hello to all users and contributors, this is my first message in this forum, I am Spanish and my level of English is quite improvable, I hope it is not a problem.

I write with the help of the google translator.

A couple of days ago I installed 16.0 lineageos on my M8, the problem is that I have quite frequent random restarts.

I installed the most recent lineage package for m8 and added LineageOS’s AddonSU and Open Gapps "pico" during installation.

Apart from the reboots, which are quite frequent, I have another problem with the native mail application. I have set up several accounts in the mail application (Work, personal, etc ...), but when sending messages from the app, they remain in the pending folder.

I also can't do OTA updates, since the phone restarts and stays in recovery.

During the installation, I first tried the latest version of TWRP (twrp-3.3.1-0-m8.img), but I had problems, so I installed the previous one (twrp-3.3.0-0-m8.img), then Once installed lineageos, I updated to the latest version of TWRP. I had the problem that when the installation was finished, TWRP asked me for permission to install itself in lineageos automatically and thus be able to handle the updates and I accepted, but after finishing the installation and starting to start lineageos, it never started to start, so I returned to recovery, I removed the option of installing TWRP application and then it started lineageos.

Being the first time I installed lineageos, I don't rule out that I made a mistake. If you tell me that what happens to me is not normal, I will do the installation again to rule out that the fault has already been mine.

Sorry for such a long message, but I wanted to explain exactly everything that happened during the installation and then in case you can help identify the problem.

A greeting and thanks in advance.
[One (M8) Android Development] BimmerLad:
I've reflashed the latest build along with the gapps Micro and still no GPS ?

---------- Post added at 08:41 PM ---------- Previous post was at 08:36 PM ----------

I would suggest doing a full format in TWRP and wipe all the partitions in advanced wipe menu (BUT NOT THE SD CARD AS IT CONTAINS YOUR ZIPS)

Then do a clean install of LineageOS, wipe dalvik cache as prompted and then immediately flash GApps again with a cache wipe.

When prompted to install the TWRP app always click no and reboot.

This should resolve most of your reboot issues and for the mail app does the account work with the Gmail app to rule out bad settings?

Finally the OTA update is working correctly, when it boots to recovery you need to manual push it along by clicking install then navigate through internal storage to the lineage os update folder and flash the zip like you would a full ROM. Wipe cache and then reboot.

Hope this helps!

---------- Post added at 08:42 PM ---------- Previous post was at 08:41 PM ----------

P.S the initial boot after flashing is a long one, 74 bounces of the ball thing on the splash screen... ;)
[One (M8) Android Development] Verlog5454:
My GPS just started to randomly work without me doing anything. I think I'm going to just give up the notion of stability with this device.
[One (M8) Android Development] BimmerLad:
There is hope!!! I will wait for my GPS to "mature" hahaha
[One (M8) Android Development] SpanishFreeSoftLover:
The email is correctly configured because I receive the emails in all the accounts, and it fails me to send in all the accounts too, it puts the emails in the folder pending to send and if I go to the email, I select it and give the option to return to send, leaves the mail application and does nothing.

I'm going to try everything you've told me to see if that's how it goes.

In case the data is of any use, I have not installed from sd, I have always done the installations from debian with adb through terminal.

Thanks, when I tried it, I report the result.
[One (M8) Android Development] BimmerLad:
Couple of questions, what email account do you have? DONT POST YOUR EMAIL ADDRESS just say [MENTION=5499064]gmail.com[/MENTION] or [MENTION=5030872]Live.[/MENTION]com ect?

Are you setting up via "auto" or manually populating IMAP or POP3?

I have only flashed from SD not terminal, can you try the SD flash from TWRP?
[One (M8) Android Development] SpanishFreeSoftLover:
There are accounts of several providers, gmail.com, rocketmail.com (yahoo.com server) and two company providers that I work with and that have the name of the company server, one of them with its own server and the other is going to through the servers of ionos.es.

They all use imap settings and I had to configure them manually because the lineage mail app did not match the names of the servers (not even Google's).

I will try to install from sd, I already installed other roms from sd years ago, I do not think it has changed much, TWRP can also be put in Spanish, which is how I have it.

I will walk the dogs while the phone has just been charged and in half an hour I start with it. When I finish or tomorrow from work I report the results, that here is 12 o'clock at night now.

Greetings and thanks for all the help provided and for providing.
[One (M8) Android Development] BimmerLad:
BUG REPORT:

GPS issue reported on GitLab.com under ref: 1132.
[One (M8) Android Development] BimmerLad:
With the email accounts does the issue occur with all accounts?

It's possible the IMAP settings are incorrect? Have you tried using a different mail app from the play store?

The SD flash may not solve your issues but other uses who have flashed using SD like myself seem to have stable builds.

As a side note have you changed the "power management" to extreme performance? That caused my phone to crash before and I changed it back to balanced...
[One (M8) Android Development] SpanishFreeSoftLover:
Yes, the email accounts fail all, I was going to try to configure them in k9-mail, but with the reboots it was impossible.

I have always had energy management in "balanced."

I have already passed all the necessary files to the sd, as soon as the battery reaches 80% I start flashing.

Edit: By the way, the reboots have to be of some failure on my part to install, because when I am in recovery mode, for many things I do, it does not turn off or reboot, so I rule out a fault in the phone.

I will now erase all the partitions of the terminal except the sd and install everything again, to see how it goes.
[One (M8) Android Development] ashyx:
TBH the native mail app isn't too clever. Gave me issues when using multiple accounts.

Try the HTC mail app it works very well and much better than the native app.
[One (M8) Android Development] wd9895:
I'm on the today's release ( lineage-16.0-20190829-nightly-m8-signed.zip ) and have no reboots, no GPS errors and no struggles with Gmail-app and Email-App. I use imap and pop accounts depending on emailaddress, both works.

HTC M8 - European version.

Was it a clean installation by TWRP 3.3.1.0 ? Davik and Cache erased ?

Cheers

wd9895