yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ondrasouk:
I don't know about this method, but i doubt it will work. Only in the PCs or maker-friendly hardware the firmware at the power up search other places than the main memory. It depends what the symptoms are. If your phone abruptly not boots up, only draws about 110mA-240mA and in the device manager (Windows) or on Linux in dmesg is device as qhsusb_bulk, the bootloader is not loaded because the firmware loader can't load it. It's then almost certain (especially if it was abrupt) that the phone is dead. It can be chipset or RAM or flash memory...but power subsystems are probably working correctly.

So before you do it way worse by writing data directly to your flash and possibly triggerring S-ON protection and bricking your phone even more. It would be helpfull to create new thread and described problem there. With every detail like: I left my phone two months ago over the night in the rain on the garden bench, but it was still working until yesterday or the battery is inflated so much that the screen has visible pink tint in some areas of display to "small" details like: I was flashing the images of radio partition from older RUUs in recovery with dd utility to magically fix the battery drain problem or something and after reboot the phone is not booting up...

As an advanced GNU/Linux user/developer that helps in linux forums when i think that i know how to solve it. I have seen lots of people only writing about problems and missing some important clues and expecting someone to magically fix everything. So be better than them and be as open about the facts as you can, because nobody would be spending few hours to share image of their flash memory with possible sensitive personal informations or risking leaking informations like serial numbers or phone numbers or something to someone on the internet to help if the method is not proven to even work.

So first create an thread in subforum Q&A of HTC 10. Post there info about what you was doing with your phone before bricking it and why you think it's about the bootloader. Also info like: display backlight/status LED blinks or the phone vibrates after you press the power button or if the phone is completely silent under what name is the phone seen by the PC. If you are under Linux post also relevant section of dmesg and what happens if you are for example holding power button or connecting/disconnecting atc. Also absolutely don't forget if the cause of problem is not absolutely certain to post broader info about how you get the phone or if the phone is bend or has been in other way physically damaged or if is there possible water damage. Also if you know what firmware you have on phone, then you probably get it before bricking it or after and then your bootloader is ok and you have only problems with booting..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shadabkiani:
You can go to this thread of HTC 10 firmware and look for the appropriate file from there. 3.16.401.2 firmware would be under WWE section.

https://xdaforums.com/t/8-0-htc-10-oreo-firmware.3756126/
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ondrasouk:
I have router with OpenWRT and i have more stronger and stable wifi now than on LineageOS 17.1. The difference in my case is big: from -85dBm to -66dBm (from router side) and the speed almost doubled (upload is like 10x higher) with LineageOS 18. HTC 10 have now signal as strong as stock ROM now (I have 3xHTC 10, one with broken display (and back camera...) and with stock ROM so I can compare). Sometimes HTC 10 with LineageOS 18 reconnects (i was unable to collect log (i don't run logcat reader 24/7)).

The mobile signal reception maybe got stronger (I don't know about exact numbers) and the other side finally don't have my echo now on LineageOS 18.

Some proces named "iorap" was using for about 7 hours CPU nonstop after instalation and phone was runnig really hot. After that the MediaStorageProvider was another power hungry process.

The nice adition in Developers settings is manual opt-out from scoped storage for aplication (Syncthing can now read/write files on mSD card without running as root!!). [MENTION=4453138]fagyi[/MENTION] thanks for great ROM.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fforimen:
After the first setup of the phone, the mobile Internet still does not work until you connect to Wi-Fi. There is still no NFC icon in the status bar (no, this is not a trifle). It is still unclear why the settings application might crash. There is still a drop in performance in simple Internet surfing for no apparent reason, and the battery from build to build is consumed in different ways and strangely. Should I list more? These are simple things that should work adequately in any firmware, because stability is the most important thing in everyday work. If one of your builds works fine, then something is definitely wrong in the next, and so on. Something comes back to normal, something breaks again.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] svekie:
Why dont you just reinstall OREO and get a Life? :mad:

A Custom ROM is nothing for everyday work if you depend on it!

Or you can post your problems in a more constructive way, with detailed information/screenshots/logs?

Fagyi is doing this in his free time as a hobby. He does not get paid for creating this ROM.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CAMERON1988:
All the bugs you mentioned I have never encountered them on this lineage 18.0 early build, my mobile data is working without toggling the WiFi or hotspot, settings does not crash, NFC is toggling well though I don't use it, LTE connectivity is amazing here, and right now I use this rom as my daily driver, the only issue I have is the fingerprint which I strongly believe he would fix in the next build. As for the battery life HTC 10 has this problem since the stock Oreo update, I replaced my battery but still no improvement then I decided to unlock the bootloader and flash ROMs, Fagyi's Pixel experience plus rom September update was one my favourite with no bugs whatsoever, like as fagyi said, you are welcome to developing ROMs, let's see what you are capable of, instead of trying to spoil someone's efforts. I only pray that Fagyi ignores whatever you are posting and continue with his rom development especially our HTC 10 device.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NSH021:
not able to set fingerprint

every time trying to setup fingerprint, this error is been shown
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jerryhou85:
Moderator Information

Dear all,

I would like to put a reminder here before everything / everyone is on fire. :cool:

This is a development thread and please focus your post on how to help developers to improve the work by providing valuable feedback such as logcat/screenshots/steps taken. While you are posting your questions, please be specific and civil, which would help developers and others to better understand you.

Smooth communication is the key here for a good ROM development. :fingers-crossed:

Last but not least, if you see anyone breaking our rules, just report the post. Moderator team will handle it swiftly. :cowboy:

Thank you for your contribution to XDA. Wish everyone stay safe and have fun here. :highfive:

Regards

Jerry
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Golv:
[MENTION=4453138]fagyi[/MENTION]

FP fixed for me (LOS 18 for U11) after "Move biometrics hax overlays to lineage-sdk"

Because overlays for biometrics hax introduce in android_lineage-sdk - https://github.com/LineageOS/androi...2c8d0247240716ad461cc151234e269331ef9f4171b6c
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fforimen:
If you start reading the message before responding furiously to it, you will see that it was about past ROMs, specifically about the PE Plus 10. This is first. Secondly, I said that there is no icon of the enabled NFC in the status bar, I did not say that it does not work. Thirdly, I'm not talking about battery problems, but about its strange consumption from build to build. Learn to read and understand before answering. Besides, I didn't write to you. And I do not need to be a developer to point out certain errors, I am a user who wants to help with my observations and reviews, but I wrote about all this before and no one paid attention. So relax and mind your own business.

---------- Post added at 05:39 PM ---------- Previous post was at 05:39 PM ----------
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] htctouchelfin:
Thank you for still developing for our (g)old htc 10 :) other then the things that other users have said, i have little problem with magsik, the version posted by fagy iworks, but when i open the manager it close after some seconds, some got it working?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
use latest Magisk beta 21.1 from git here works perfect (!) and passes CTS basic with hide. ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Nice, thank you, picked from your tree, fixed for me on my 10 also, after reboot too.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] htctouchelfin:
thanks mate, works perfect now :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] hoangquynhmaiqh@gmail.com:
I have installed this rom, but the navigation key backlight is too bright so it is dazzling, please guide me to set the navigation key brightness and timing, thank you very much
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CAMERON1988:
Hello Fagyi, are we gonna follow this procedure in order to get the fingerprint fixed, Or it is for the developer?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Only for me for now. But tomorrow uploading for us the next build.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] donkeykong1:
GPS not working. It won't get a fix at all. Otherwise, a great ROM fagyi
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
On the next build you can disable them or make it lower brightness for button backlight.

Thanks, I just moved back the gps to previous stack, need some more work/cleanups for precise accurate but locking good and fast here now wirh 11-20 feet.

Uploading the last build for testing at this stage.

EDIT:

New build its up: https://androidfilehost.com/?fid=10763459528675589345

Mostly:

- fp fixes

- GPS rolled back and fixes

- button backlight csn be disabled or reduced

- Sensors cleanups

- Graphics setup reworked

- many cleanups, look at my github
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] donkeykong1:
GPS working fine on new build. Thanks fagyi! I will test more tomorrow and report. So far so good
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Androloid:
Setting fp lock still doesn't work. I even tried deleting locksettings.db and set again, but no result. I get message something like: can't set fp now, please try again later, or use another finger.

Послато са HTC 10 помоћу Тапатока
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] donkeykong1:
FP working just fine here. Sad but true - it's working way better than on my Samsung S10+ [emoji1787]

Poslano sa mog SM-G975F koristeći Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CAMERON1988:
Fp seem to be working fine and other lags that I experienced on the previous build is been fixed though I clean installed, I'm still testing.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Clean flash?

Can you post one logcat about the issue?

Try setup your fingerprint few times and make an one logcat which you need posting here via attachment.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Androloid:
Dirty flash over previous version of this rom.View attachment 5140425

Послато са HTC 10 помоћу Тапатока
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] doanhongky:
hello fagi, thank you very much for listening to my feedback on the navigation lights, this issue was resolved quickly by you, but there is a problem half can you help me, it's not me Can sync contacts from Gmail down, help me, wish you happy, thank you very much
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
in case you are using NikGApps go here and look at " What to do if my contacts are not syncing?"

apply solution and you'll get your contacts synced ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CAMERON1988:
Simply go to "settings" open" apps and notification and locate "google play services and enable all permission especially contact and go to quick-settings and turn on sync then open your contact app and refresh..done make sure your mobile data or wifi is on.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] doanhongky:
After getting your support, I have synchronized the contacts, thank fagi for creating a wonderful ROM, making HTC 10 not forgotten, thank you for your support, happy looks, best regards
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ondrasouk:
I have discovered, that turning off the option wake up device using home button reduces idle battery usage.

Fingerprint sensor is still waking up device and the idle battery usage is about 1.4% per hour (or 10% overnight) when mobile data and wifi and bluetooth is off (no airplane mode or battery saving mode).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
I will be testing that what happen if fingerprint sensor disabled when screen is off via overlay. So that Fp stop working or improve the idle drain when i have some time at night.

The home button wake up screen will be setup to disabled by default on the next build.

Also some haptic feedback disables can be improve the battery.

Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Androloid:
I clean flashed latest build. FP now works.

Послато са HTC 10 помоћу Тапатока
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] n1rv9@vmani.com:
Thank you so much fagyi!

So far looking good.

The above mentioned GCam just caused a restart when in portrait mode
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Digiboog:
But that is not his fault, try to find a Gcam that works fine
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CAMERON1988:
Gcam 7.2 mod will be ok
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CAMERON1988:
Phone reboot sometimes and plugging the usb to the PC sometimes causes the screen to be shaking, this happened once but the reboot happens when I'm doing heavy task.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] heyChristo:
Bam! Another Home Run by [MENTION=4453138]fagyi[/MENTION]! Wow is all I can say. This is one of the longer lived and fully functional devices still up to date on XDA. Now I am on Sprint (now Tmobile) in the US which has some of the worst challenges for global devs. I clean flashed this and everything is working so far. Even the wifi/tether switch bug to enable 4g is no longer needed! I will say that I usually fly blind and randomly flash roms hoping they are flawless, and that my google restore works. Well, I backed up this time since I did have data issues with some of the 10 roms, and although the google "restore" did not come up in nikGapps, everything else seems to be working pretty much flawlessly. I am back running within an hour or so with all my apps back. Only hopes miracast is working and enabled since i use it for plex sometimes.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] datvp:
Awesome ROM

Is there anyway to backup app data before a clean flash?

I mean also LineageOS settings
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] minhajlk:
Try migrate, it works great.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Digiboog:
What the best Gapps to use that comes with wizard and backup restore
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Bingsen:
Thank you very much!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] n1rv9@vmani.com:
And our thread is finally back!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lpedia:
Many thanks to @fagyi for this excellent ROM!

Yesterday I clean-flashed 20201115, NikGapps, and Magisk 21.1 on a HTC 10 that had suddenly started overheating on LOS17 20200823. It had been working well with the older ROM until then (was being used as a temporary daily drive by a family member whose phone has a damaged screen).

It seems really good so far. The only issue I've seen is that fingerprint unlock doesn't always work:

Added one fingerprint yesterday - FP unlock working smoothly.

This morning (after phone slept overnight), FP was being ignored.

Added second fingerprint - now both FPs working smoothly.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ondrasouk:
There is newer build 20201122 with fingerprint fixed. You will need to do a

clean

flash to fix fingerprint sensor.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lpedia:
Thank you, @ondrasouk! I've now clean-flashed 20201122, NikGapps, and Magisk 21.1. I'll add a fingerprint and see if it survives the night. :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lpedia:
... and it has!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jorxster:
Hi Fagyi and others,

I've got my htc10 rooted, s/off, TWRP. After wiping everything but internal storage, I have tried flashing both this and lineageOS 17.1 (not at the same time of course).

Upon reboot it hangs at the loading animation and nothing happens. What am I doing wrong?

cheers
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lpedia:
What version of TWRP are you using? Some devices need a particular TWRP version, and symptoms of that vary: commonly that it's unable to flash the ROM at all, but can also be that the device gets stuck on LOS logo animation after what seemed like successful flashing, as you're seeing. The advice on twrp.me is to start with the latest version for the relevant device, then try earlier versions if it doesn't work.

I can confirm that TWRP 3.3.1-0 works with my HTC 10. I haven't tried 3.4.0-0 (started putting LOS on this device before it was released).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jorxster:
Thank you @lpedia !!!

Updating from TWRP 3.2 to 3.4 solved my problem. Now I can try this ROM, thanks so much!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] htctouchelfin:
Is anyone who are using this Rom able to use Android Auto with his car?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dankovac1999:
Hello,

I experienced weird bug. I factory reset this rom, wipe data, cache, etc. Then installed rom again, installed nik gapps and magisk. Fingerprint sensor works fine, but fingerprint data erase after every reboot. Anyone facing the same? Otherwise its working great!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ondrasouk:
There is newer build with FP fixed (20201122). Clean flash is needed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dankovac1999:
Ohh, thanks. I downloaded the one from thread :D. But Ive found it on file host. Thank you so much!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] galaktiker:
@fagyi

Hi, friend and thanks a lot for your efforts! Is it possible to add VoLTE Support to the rom? Like it was at Viper 10.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aviatorhh:
Hi folks,

I ran into the boot hang problem after installing 18-1122 and NikGapps 11-1122. The LOS boot logo comes up animated and after a short time the keys begin to lighten up. The logo keeps running but nothing happens then. I had TWRP-3.4 and tried now 3.3 but with no change. I also wiped the phone to have a clean approach but I cannot figure out what the problem is. Phone was previously encrypted with 17.1. 17.1-823 works fine though. Maybe someone a hint for me?

Thank in advance
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] minhajlk:
Try formatting the data partition.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aviatorhh:
Thank minhajlk, did that again but still no joy.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] minhajlk:
Did you fornat the data partition in TWRP and type yes?

After that do a clean installation.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aviatorhh:
Oh you meant "Format Data" and not just clean the data partition. Yes, I did that now again (and at some time I did that before) but as computers are magically black boxes it suddenly started to work. :-)

So I have to thank you for turning my head. Great! Enjoy your day!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aviatorhh:
But I have discovered something else now. As I was trying to add a work profile (Google Account) and the phone was starting to encrypt itself, I got the above mentioned behavior again. Will revert and start over .....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ondrasouk:
Some organizations is enforcing device encryption when you add work account into your phone.

HTC 10 on Android 10 and 11 have broken device encryption.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aviatorhh:
Thanks. The organisation now has changed the mandatory work profile setup to optional. So all is fine now.

Maybe off topic but where can I find a working solution to make my phone S-OFF (with LOS 18.0)? I want to update my firmware (e.g. radio [NFC and FP sensor not working]). Got sore fingers on using Google. Thank you.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] getintopccrack:
use this it works perfect .GetintopcCrack
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] minhajlk:
Try: theroot.ninja

I think it cost you about $25.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aviatorhh:
I tried that but the Sunshine App says it does not support the OS. It fails on running the checks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dankovac1999:
Its probably made for older OS version or possibly for sense roms only. Downgrade system and try again.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aviatorhh:
I tried on LOS 17.1 with no joy either.

Until I get to know a reliable OS I will try that one.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dankovac1999:
I would try something like android 6 or 7 which are versions it originally came with.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MrN1484:
Well I never, after giving away my Mi9Tpro to my girlfiend and replacing it with an LG V50 which I hated so sent back I've dug out my HTC10 and come here to see what's going on and we have Android 11.

Great job @fagyi !

This old phone still has life in it yet, the only issue I had was all cores were stuck on 1036 as a minimum so had to use EX kernel manager to set them to 307 otherwise the phone was throttling too much.

I can't find a donate button otherwise I'd buy you a beer ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MrN1484:
*Double Post*
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] htctouchelfin:
No one?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] UnwindingThree8:
Do you mind posting a step by step. I have no experience with ex kernel manger but if it keeps throttling to a minimum...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] UnwindingThree8:
Is a dirty flash from the latest LOS 17.1 to this one possible or is clean flash the only option?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Digiboog:
Clean flash, you'd have to format data too
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MrN1484:
Ex kernel manager needs root so setup Magisk in the normal way...make sure it's the latest version for Android 11.

Download ex kernel from the play store, open it, grant root permission, go to cpu in the drop down menu, scroll down to cpu options, leave maximum alone and set minimum to 307 for both clusters and click the little button next to both options so that setting applies on reboot.

2 other things that help on this phone from what I remember, make sure touch boost is disabled under miscellaneous and under governor / governer options load up a profile called butterflytenv8 for both cluster 1 and 2. This adjusts how the cores are used and scaled up.

Your mileage may vary and all that but it works well for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] UnwindingThree8:
Thank you very much. I'll try it as soon as I have updated from Los 17.1 to 18