yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] patorm:
No, no LINEAGE boot animation. But apparently my device is in s-off / locked which causes the problem. How do we go about s-off / unlocked? the htcdev does not work because it is not generating the code. it returns:

fastboot oem get_identifier_token

...

(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp

(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock

(bootloader) [KillSwitch] oem unlock Turn Off!

OKAY [ 0.007s]

finished. total time: 0.007s
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
as long as your bootloader is locked no custom rom can be flashed/booted.

S-OFF is OK. actually it will allow you to get rid of the red message warning that will appear every time you boot that unlocked bootloader is not safe !

my HTC is S-ON (Security ON) and no issues.

to unlock HTC 10 see the guide here

it is important that you have the latest ADB tools correctly installed on your PC (win/linux) and the HTC 10 usb drivers installed;
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] patorm:
Thank you ,

This method not work for me. No possible with htcdev .

Result of procedure

fastboot oem get_identifier_token

...

(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp

(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock

(bootloader) [KillSwitch] oem unlock Turn Off!

OKAY [ 0.007s]

finished. total time: 0.007s
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
What is the current ROM you are using? You need to flash latest Oreo firmware. Go to Developer Settings, and allow OEM unlocking. Then try to unlock bootloader.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
new build available lineage-18.1-20210616-UNOFFICIAL-pme.zip

log:

June 5 2021 Security patch

upgrade A11 from r37 to r38 build RQ3A.210605.005

LOS 18.1 changelog here

pme device code fixes
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Jupp Pütta:
I had two random reboots these last days. After the screen turned black while I used the phone, it started rebooting but took very long, like when first booting after flashing the OS. I got the logcat, but it does not list anything before I started the phone. Would any other log potentially be of interest? Run a full bugreport in case there is anything in it, that could help.

Build: lineage-18.1-20210516-UNOFFICIAL-pme

Will install the new build later. Who knows, perhaps the problem will be gone anyway.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
only log useful would be "last_kmsg" which is a dump of the kernel log until the last shutdown.

in case it happens again try and run adb shell su -c "cat /proc/last_kmsg" > last_kmsg.log after reboot (need PC).

it never happened on 0516 to me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Jupp Pütta:
Ok, thank you, will do so. I had this problem with a prior version of linageOS 17 but that has been a while.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bikeboy24:
Thanks for the update! Seems like the power menu broke. The System UI crashes when it tries to display things like google home, google pay, etc...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Jupp Pütta:
After flashing the new build, the sound is very cushioned when using the phone’s speakers. With headphones the sound is ok.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
Power menu works OK here. Just installed Google Home to test and all good ... Can't check GPay as not available in my location.

i use LOS 18.1 version with Nik Gapps version 2021/06/12 (latest for A11 released)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
indeed. have re-enabled some audio features ( deep buffer, offload ) that did not performed as expected... will fix it in next release !
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lpedia:
I can confirm that the power menu and Google Home work with the latest build, with BiTGapps-arm64-11.0.0-R26.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bikeboy24:
Which one? stock, omni, basic, core?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
i use core and if needed some other apps from G I flash on top addons (maps, mail, ...) (do not use the GO variant)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
new build available lineage-18.1-20210622-UNOFFICIAL-pme.zip

log:

Fix - encryption support enabled for /data partition

Fix - speaker sound

New - included LOS 18.1 changes from 16.06 to 22.06.2021 (inclusive)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
@raul16 Thank you so much for your great work. Its because of you that we get to enjoy the perks of latest Android on our 5-year old modest device. Keep up the good work. We really appreciate it. (y)

I haven't tested the latest build yet. I will try in the next 4-5 days. Right now I'm on 20210516 build and its awesome. :love:

I wanted to ask if there is any chance we can expect crDroid Android 11 builds for our beloved HTC 10?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
no chance as neither the time budget nor the infrastructure required costs allows me to support such !
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kayuz:
Sorry guy this rom is sure to be nice, but I flashed this over Oreo EU with TRWP the latest and when it booted asked me about a Password.

I didn't know that, and I pressed power button and select safe mode. Now it is stucked at rebooting and nothing else works even pressing for 10secs the power button. My vol - is broken and also vol + not work well.. I guess I have a new bootlooped device :((((
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
First of all, you shouldhave followed the instructions strictly. The reason it asked for password was because you did not format the DATA partition from TWRP (the option where is asks to type "yes" to confirm).

In TWRP, you should perform factory data reset. Then wipe /system /data /cache /internal storage.

Then go to Format Data and type "yes" to confirm formatting data (this is necessary because coming from stock ROM, data partition is encrypted. So formating removes that encryption).

Reboot to recovery again. Then transfer related ROM flashable zips to your HTC 10, and flash them.

Secondly, if HTC 10 is ever stuck in bootloop or anywhere, you have to keep pressing vol- and power down, for 20 seconds I think, until it turns off and reboots. Thats the way to hard reset HTC 10. In your case, since vol- is broken, your best bet is to connect your phone to PC and run the following adb command (assuming that you have ADB drivers set up on PC and USB Debugging was on your phone):

adb reboot recovery

Thats your best shot at this, although the chances are slim since USB debugging isn't ON by default.

The proper way is to get your vol- fixed. This is a fundamentally important button in HTC 10 as it is needed to hard reset the phone, to avoid situations like yours.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kayuz:
Thank you.

Isn't there any other method to trigger the reboot to recovery?

ADB is the thing I've used indeed to bring the download mode in first place because of vol down broken.

Now I only need to get recovery and I'll be done, I know that download mode is pressing volumes and power together.

I saw that I can get into keyboard setting in that LoS password screen, that should allow me to tap to authorize ADB from my pc.

Well let's see, is there any combo with vol plus and power?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
There is no combo with vol+ button. Not that I know of.

What ROM is currently running that is asking for password? Is it the official Oreo version, or this LineageOS ROM? Also, if you connect your phone to PC, is it detected as adb? Command below:

adb devices
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kayuz:
It is the lineageOS that Raul16 done. It's the latest June 22 or 24 build found in his androidfile repository.

That command told me before (should check again) ADB device "numbers" unauthorized. Then something like try ADB kill server or check if you press the authorization prompt.

Problem is that UI doesn't show me the prompt because I am in a pre-login window.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
Well, I can't think of any other way to get to recovery. Seems like the only soultion is get you vol- fixed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kayuz:
Hey... Will you believe, I pressed with one small tool we use for cooking and the vol down "miracolo" works again! Yeeeee 🤣 now I am in TWRP awaiting, hmmm what ROM should I try? I planned to return to Stock Nougat downgrading, but I may try pixel experience and also this one. What do you suggest?

_------- of course now I am awared, always format data partition if came from stock Oreo or another ROM, always better. And if you have ADB it's not that am hassle, sure HTC put great relevance to these volumes buttons, I had an S9 and it was just power on vol up and Bixby. 😂😂
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
@kayuz Thats great to know.

Well, you can certainly try this ROM. It has battery indicator issue (I don't know if its still there in latest build or not), but the solution is posted by me a few posts back.

Apart from that, try this ROM:

[ROM] [10.0] crDroidAndroid v6.4[UNOFFICIAL] 3/11/2020

Features Click for feature list - to be updated Always Have a full functional Backup. Just in case! ROM: DOWNLOAD ROM GAPPS: DOWNLOAD GAPPS - Not updated yet for 10.0 -- use Beta from link below Platform: ARM64 Android: 10.0...

xdaforums.com

I used for a long time. Its very stable. Make sure to download the latest build from following link, as the link is not updated in the post (latest would be at the bottom of page).

Downloads for : HTC HTC 10 | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

Following is the latest build actually, but updated by another user. I used this onw, its great:

Downloads for : HTC HTC 10 | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

P.S., make sure when you get to recovery, wipe all partitions. Then format data (where you have to type yes). Reboot recovery. Then copy required zip files to deivce, and flash. You can use NikGapps or OpenGapps.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kayuz:
I'll try these surely.

Now a thing, I've tried briefly official Oreo and I've downgraded to Nougat, always official and the phone when used, becomes a hot shuttle. Have you experienced the same issue?

I am trying to downgrade to Marshmallow to see if it was better... ahaha I think my phone is really toasted :D :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
@kayuz This is a general heating issue with HTC 10, but don't worry, its fine.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dron39:
Is there any custom kernel which could be used for this ROM?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
You can try @fagyi kernel. It's from his build of LOS18.1. Find from the link below:

Downloads for : HTC HTC 10 | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

I haven't tried it, so I can't recommend it. I suggest just keep the kernel bundled with ROM. But you are welcome to try out.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dron39:
Installed rom, magisk and basic gapps according to instructions (except that I came from MaximusHD rom instead of stock, but it's also based on latest oreo official fw).

I can't switch my mobile data (it's just grey and inactive). So can't use phone calls and mobile data.

Tried to reflash, but it wasn't fixed.

Any ideas how to fix that?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
@dron39 Do you get signals? I mean does it connect to cellular network?

My problem is that sometimes when I reboot, my network can't be eastablished, no signals, so obviously no mobile data either. But I reboot again and it gets fixed. Sometimes, I have to reboot twice, or maybe 3 times.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
@dron39 The reason it is needed that you come from latest firmware (in our HTC 10 case, its Oreo) because there are certain things only come with firmware, for example baseband, partition layout, etc. Custom ROMs don't generally interfere with that. So if you ever had Oreo firmware running, before switching to custom ROMs, then you don't need to flash Oreo firmware every time you wanna try a new ROM.

Note: This is my understanding why its usually required you come from latest firmware. Correct me if I'm wrong.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dron39:
No. I have no signals and I even can not turn radio on (it's grey colored and I can't tap on it).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
Hmm. I gues you already have tried rebooting phone a number of times and it didn't work either, right?

Try to clean flash only ROM zip, don't flash anything else, no Magisk, no Gapps. See if you get network signals then or not.

Also, is your device S-on or S-off? What is your CID? And your OS? You can chek this info from Download Mode.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dron39:
S-Off.

Locked

Official

Something like that.

I flashed zip in download mode of official oreo fw and still have no cell.

Maybe it's hardware problem then :(
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
what are the info ref to your phone ? from bootloader (that should be unlocked)

RADIO = ?

OPEN DSP = ?

OS = ?

what TWRP version do you use ?

also S-ON/S-OFF do not impact flashing and booting. mine is S-ON and works OK; but OS / RADIO versions does (that's why you must come from latest OREO firmware)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dron39:
From Download mode:

*** LOCKED ***

*** FUSED ***

htc_pmeuhl PVT S-OFF

CID-HTC__034

MID-2PS620000

ColorID-WHT00

LK-1.0.0.0000

RADIO-2.0.U010241a@71204

OpenDSP-v23.0.8996.00007_1028

OS-3.16.401.2

Jan 3 2018,21:18:38(1012001)

From bootloader:

*** Software status: Official ***

*** LOCKED ***

*** S-OFF *** PRODUCTION

Any ideas? :(
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kayuz:
Ah I see. I am downloading some ROMs, including this. For now on stock Oreo and Nougat, it is sufficent 3/5min of gameplay, let's say, Sakura School Simulator, and it becomes a dog. It's better to avoid gaming
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kayuz:
Maybe try to downgrade to Nougat or even Marshmallow, since you're S-OFF would be easier and see if then works. Then of course you have to re-update to Oreo in order to use this ROM, because as shadabkiani said, the custom ROM doesn't interfere with basebands, internal partition or else :)

Use official RUU to do a complete reflash of your device
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
It feels hot because it has aluminum back. So its a good thing that heat is dissipated through the body. Don't worry, its fine. Nowadays, phones are coming with plastic or glass backs, so they don't feel that heated.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
Currently your bootloader is *** LOCKED ***. First off, you should unlock bootloader in my opinion (I don't know if it matters or not at this stage since you laready have recovery installed)

Secondly, the reason I asked you about S-on or S-off was because I wanted to know if you could flash other regions' firmware. Well, now I know you are S-off, you can change your current CID-HTC__034 (that is known as Carrier ID) to super CID 11111111. After you change to super CID, you would be able to flash any firmware for any region. To do this, boot your phone to download mode. Connect to PC, and run the following fastboot command:

fastboot oem writecid 11111111

Thirdly, your firmware version is OS-3.16.401.2. I am running 3.20.710.2. You can try this. You need to have SD card for this process. Download from the following link:

3.20.710.2_FULL-WIPE_firmware.zip | by Santod Mods for HTC 10

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

Rename the downloded zip file to

2PS6IMG.zip

exactly. Copy this zip to the root of SD card, and put SD card into phone. Boot you phone to Download Mode (vol- and power buttons combo). It will automatically load the zip, and ask for confirmation. Do it.

By the way, this is only basic firmware (about 130MB), not complete OS. If you want complete OS, then flash the following zip (about 2GB) the same way as you flashed beore (you still have to flash above 130MB firmware first, then flash this):

2PS6IMG_PERFUME_UHL_O80_SENSE90GP_MR_hTC_Asia_AUS_3.20.710.2_Radio_2.0.U010241a@71204_84.09_F_release_523976_combined_signed_2_4.zip | by Santod Mods for HTC 10

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

Also, you should flash the latest TWRP recovery for HTC 10. Link below:

Download TWRP for pme

Download TWRP Open Recovery for pme

dl.twrp.me
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
all are good !

mine is also 034 / same DSP, OS, RADIO - for EU region (!)

if you restore to stock Oreo (assuming you did a full TWRP backup before) do you get back radio ?

how did you flash if bootloader is locked ?

and what's your TWRP version ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dron39:
Have no idea what was there previosly. I just remembered tha i had S-OFF until 2017 or 2018 when I drop phone to snow for 2 seconds and it damaged phone. =\

Then i repaired it in 2019 just to have some "backup" phone (replacement) and haven't used it until such phone is neede now. I mean I really do not remember what (and how exactly) I did with HTC 10.

From last things I remebered that there were installed MaximusHD 4.0 ROM, then today I instalalled some .zip in download mode with all files (except recovery). I also found whole oreo stock firmware in zip file and flashed it in download mode (im currently on it).

All seems to work fine except radio. I will try to perform tomorrow steps advised by shadabkiani but i guess it's hardware problem. =( Two roms, same result.

Recovery installed latest official for TWRP (

twrp-3.5.2_9-0-pme.img	27.6M	2021-04-05 15:29:59 UTC

)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dron39:
No, i didn't

>>how did you flash if bootloader is locked ?

What do you mean? If you ask me about LineageOS then I flashed it according to instructions from 1st post.

If you ask me about how I flashed stock oreo, then I found some alive firmware link, downloaded it, renamed to 2PS....zip put phone to download mode and pressed volume up.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
the only thing that you should check - when you flash the stock Oreo HTC FW - is that you have the correct FW version for your model make (CID, MID & OS) otherwise you lose modem radio.

you should try this RUU to flash with your current HTC 10 model.

also good info on how to recover your HTC 10 to stock here. huge thread but should be checked for your specific issues.

once on correct stock Oreo if still no radio signal your phone is broke...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dron39:
Yeah, it is exactly what I flashed yesterday.

>>once on correct stock Oreo if still no radio signal your phone is broke...

:(

I will also try to flash Nougat to check radio on it. But I think it's really broken then :(
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dron39:
Old Nougat .exe can't recognize phone (error 170). Tried other usb cables - nothing changed.

Don't know what to do. lol
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kayuz:
Try this guide https://forum.tuttoandroid.net/thre...-htc-10-anche-da-s-on-guida-e-download.58509/

--Anyway some bugs:

When I call someone the incallUI doesnt show, I type number and cant see the actual calling

---Keyboard doesnt change languages

---Some strange little waits when you open an app

--- I wouleb love to have 3 thumbs gestures for taking screenshot
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
what dialer ? have you set it as default ? i use AOSP and do not have that issue

if on AOSP keyboard you have to add languages first and then you can select/change

not notice here

not on LineageOS vanilla
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kayuz:
I used default dialer and when I receive a call I hear the ringtone but I can't see the interface for answering. Really strange bug.

I tried to do this on AOSP keyboard but it forgot the settings every time I exit the app.

For the gesture ok, don't worry this is already great 🤗

Also my phone is not a genuine HTC, it has been repaired and maybe that's the reason.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mfuerni:
Hi, thank you for the update. I tried it on my HTC 10, but unfortunately, it still results in a bootloop on second boot after encryption. I did a upgrade from last working version (20210209) and a fresh install of 20210622, same problem in both scenarios.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
I haven't tried encryption, but I would like to add the same that the bootloop bug is there. Sometimes when I reboot, it goes into bootloop a couple of times, sometimes 3 or 4 times, and then it boots up finally. Also, the booting time is bit long for this ROM. I'm not talking about any specific build. Its been the same with this ROM. Also, sometimes when I reboot, I lose network. Then I have to reboot again. Sometimes, a number of times before I get my network back.

But for all intents and purposes, its a very stable ROM for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
i've notice some random (re)boot bootloops. under investigation for now as could not identify a pattern / root cause for such.

when a fix will be available will be posted.

on encryption - when tested worked just fine; rebooted itself several times before completion and then worked just fine for me.

i apply encryption when all other setups were done - gapps & magisk installed and configured. also could install new apps and also rebooted once or twice w/o problem.

a logcat while the issue arise would be required to be able to analize and eventually fix.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] eyosen:
Go to Settings, Apps, Default apps, and explicitly select Phone as default phone app.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
new build available lineage-18.1-20210712-UNOFFICIAL-pme.zip

log:

July 2021 Security patch

los: upgrade A11 from r38 to r39 build RQ3A.210705.001

pme: device & kernel code fixes & optimizations
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] pme2020:
Hello @raul16

Thanks for the ROM.

I have this rom:

[ROM] [11.0] LineageOS 18.0 UNOFFICIAL Builds (pme)

+ google apps

+ magisk

What will be the install procedure for your rom?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
Same like other ROMS.

First of all, back up your important data (if any) to SD Card or to your PC.

Go to TWRP. Perform factory reset.

Wipe cache, system, data.

Format data (the option where you would have to type 'yes' to confirm)

Reboot recovery.

Then flash ROM and Gapps (NikGapps basic version, with optional addons for R if you want)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] brickhayabusa:
Bootlops fixed sir? thnx for your hard work :D