yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lpedia:
Here are a few tips that might help ...

DO NOT do anything to your device until you're sure you've understood what you'll be doing and why. Also, make sure you back up all the data you want to keep, and know how to restore the stock ROM (firmware) in case something goes badly wrong.

Some background information:

HTC's information sheet How to use the Bootloader - the button combinations to get to the bootloader, Download mode, Recovery mode.

Android Authority's Beginner’s guide to installing LineageOS on your Android device is a reasonable introduction to the terminology and the generic procedure for installing LineageOS. Ignore the link to download the ROM for your device - you will be using the 'unofficial' ROM linked to the first page of this thread instead of an 'official' LineageOS ROM. Otherwise it's all pretty relevant.

The lineageos.org installation instruction page for the HTC 10, Install LineageOS on pme, gives information about unlocking the HTC 10 bootloader and installing a custom Recovery image (such as TWRP) on this particular device.

The official TWRP for the HTC 10 is on twrp.me at Download TWRP for pme. Download the latest version to start with (try earlier versions only if you have problems with the newest one).

For general information about installing TWRP, CustomDroid's article How to install TWRP is quite good.

Once you've digested all that, you should be able to follow the instructions on the first page of this XDA Developers thread. ;)

Note: when you've unlocked the HTC's bootloader, it shows a warning in red at every startup: "This build is for development purposes only (etc)". This is irritating, but unimportant.

Good luck!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] echo top:
IMO this is the best current ROM. The latest download is stable. There is a newer android version (11 or lineage 18 aka R) but it is not as stable.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] khaninator:
The only thing this rom needs now is selinux set to enforce. It is a massive security hole without it.

Can Fagyi help us with just this?

Cheers.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] subAlot:
Wi-Fi Bugreport: privatevpn and always on vpn setting constantly loosing wifi. thank you for this awesme rom^^
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] musasalmanzadeh:
Hi guys, I was using pe 10 and the location wasn't working properly so I installed this build, now my location is completely dead, can anybody help me with that?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] robnhl:
I've just picked up a BNIB HTC 10 with the intent of running Lineage. I tried the 18.1 ROM and found it too slow and buggy for me. This one has been very good. Only issue I have is charging sometimes doesn't work on USB PD chargers but I can deal with that. I know it's a retired ROM but I wanted to express my appreciation for all the work and effort put into extending the life of this device.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Liuk_72:
Hello, does it work for HTC Desire 10 plus?

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] seba.kwiat:
Is it possible to use banking apps on this rom?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Building the latest build with all upstream fixes from the last week. Also patched the FP so hopefully working after a reboot now.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Hi fagyi, thanks for your hard work.:good:

Any news about USB tethering?

This is the only way to get my laptop online.

If it is working, I'll definitely migrate to LOS17. :)

[Off topic]

Will Pie get any updates from your tree?

If won't, I'll free up my space for PE Plus Q. :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] filjusz:
Will tell you if usb tether is working when return home from work
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] phi11ybo:
Hello Fagyi

As I understand it, there will be an update soon:D

How to install the update so as not to lose installed applications and data?

Your work is invaluable, thank you :angel:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] filjusz:
Just dirty flash rom, gapps, magisk or anything else you have
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Husni razikin:
Hai..i want to ask about whether Supersu working with android q..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RobertHaung:
You can use magisk. It works on q but you have to install beta version.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] minhajlk:
Titanic backup working properly for anyone. Its stops on a blank screen after granting root access. Any work around for to get TB to work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
I just tested with my windows/ubuntu seems to working on the newest (today) build.

https://androidfilehost.com/?fid=1899786940962601460

FP also after reboot, navigation bar also etc
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ba7rani:
Coming from 16.00 , do i need to format data or factory reset is enough? Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
dirty flash over previous LOS 17 build has me stuck on LOS loading logo ... coming from 16 u better do a full format maybe .

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

after clean flash everything working fine ... so avoid dirty flash if u can
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lhx_117:
Verizon HTC 10，Unable to detect SIM card. Always reboot to boot, ask you to help me! Thank you！
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Clean flashed, amazing work...

FP stays after reboot, navigation bar can be enabled, seems stable at the moment... Cant wait to see pixel experience 10;)

All in all, great work:good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lalu:
For people having problems with Open GApps, check out this post: https://xdaforums.com/showpost.php?p=80407879&postcount=6227

Basically you have to delete /system/product/priv-app/Provision/Provision.apk anhd reboot. It worked for me and I am now finishing the setup.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Can anyone kindly confirm if encryption working or not?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
The new build feels smoother on avg by about 15-20% (and thats already over a smooth UI) .. this increase in smoothness just made this best rom for htc 10. In few days we might get a great Gcam port too .. much better than any previous apk .. considering it's only second build build i can be nothing but be impressed by this ! Great work [MENTION=4453138]fagyi[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] thisisapoorusernamechoice:
Is that in addition to having to delete the setupwizard.apk lzops from /core in the opengapps.zip?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lalu:
No, this is so that Setup Wizard from OpenGApps works, you don't have to delete/disable it anymore.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Next build should be fine for verizon users too. Releasetools working now.

1-2 days.

Also on the next build i will enable the ota feature for los17

Finally setuped my new pc as i needed, hopefully compiles fast for me. I7 8750H + 32gb ram + 20gb swap + 50gb ccache. Downloading all sources at night.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ahmet:
Thanks for this great ROM and hardwork. I have faced following issues

1) Could not restore the user apps by flashing zip file (Migrate App) in TWRP. It gives error. However in Lineageos 16 it restores without error.

2) It is a minor issue; Battery percentage not visible in bar, but appear in the top of notifications when pull down.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lhx_117:
WeChat payment from China。Are you using it? I want to give you a donation. Because I don't have a credit card. I appreciate your work attitude very much. You have worked hard and look forward to renewing it again!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] AsrielDash:
All working well:) :good:

Btw,is there new Q lock screen clock styles available?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Thanks!!

Now it is 10 out of 10 of my (HTC)10 on (Android)10.

Thanks for the tip.

Here is what I did during flashing:

1) Boot into recovery.

2) Flash the ROM.

3) Flash Gapps

4) Head into Advance section of TWRP and select File Manager.

5) Get into the directory as [MENTION=984583]lalu[/MENTION] said and remove the Provision folder.

6) Reboot and enjoy. :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JamesKinds:
Clean flashed latest version:

- Overall ROM is nice and stable with no lag

- Battery drain appears much the same as last (but have not run for a decent length of time yet)

- Encryption does not work and breaks the install (tried both with and without magisk installed)

- Search bar on home screen does not work and can't be disabled (I suspect this is upstream LOS)

the only thing that would currently hold me back from using this as daily driver is the lack of encryption.

[MENTION=4453138]fagyi[/MENTION], please let me know if you want anything specific rested and reported back on.

Keep up the great work!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Finger print scanner to home is still enabled after setting full screen gesture.

Is it an upstream bug?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Encryption is a working progress on upstream. So propably fixed soon. Also the home screen got a lot of updates soon which fixes the search bar.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
I think yes, but will look.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ahmet:
continue minor issues

3) There is no "clear all" icon/button for recent/open apps.

4) Even long pressed on back button, it looks killes the open apps, but in fact open apps still in background.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
There is a clear all button in my case.

I installed quick switch via magisk.

Maybe this enables the button or it was there by default.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ahmet:
OK let me try this. Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JamesKinds:
Two more observations:

Work profiles, which is notoriously tricky, works on this ROM. Pretty amazing.

Cast (Miracasting) causes pme to do a soft reboot. When cast is selected it does start to connect to the TV concerned, but then the soft boot occurs. This does work with Pie and pme is one of the few LineageOS devices that I've seen cast work on.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] a.sayad85:
hi fagyi,

Please find some other bugs at below:

1- lost the setting search bar.

2- keep playing music when unplug the handsfree jack.

3- cast not working.

will try more test and report to build a full Q ROM.

thanks for hard working.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sir-Shadow:
I have it by default.

---------- Post added at 03:53 PM ---------- Previous post was at 03:49 PM ----------

Unpluging headphone jack stops audio for me
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] a.sayad85:
hi Dear,

what is the mentioned music app?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kimush:
N/a
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sir-Shadow:
All of theme.

Sound cloud, Google podcast

But I tested LineageOS default player and it didn't work. Downloaded Google Play music and it works without problem.

Another problem that I encountered is that when audio is being played from phone speaker and I plug in audio jack, volumes decreases (volume slider doesn't decrease so I cant increase volume). Stoping play one time fixes it.

---------- Post added at 07:04 PM ---------- Previous post was at 07:01 PM ----------

Still having problem with aptX in new build
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] a.sayad85:
well noted.

Thanks alot.

However, the bug must be resolved.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Theme settings in the display settings not working at all
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
did u guys try disabling AUDIO FX ??
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JamesKinds:
Currently I have power drain of 9% overnight. This is pretty similar to what I experience on Pie. Just thought that I'd share the specific figure .
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
How you flash magisk in this rom? I try magisk beta (19.4), in twrp it says flashing is successful but in magisk manager it says magisk 19.4 still not installed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] v1r0x:
you have to flash magisk 19.5 (canary) build.

https://github.com/topjohnwu/magisk_files/tree/canary
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ahmet:
I have similar issue. I flashed the 19.4 in TWRP and then installed Magisk Manager V7.3.4.apk. But when open the app, it says Magisk is not installed and showing red icon with 19.3 (19300) I tried to patch 19.4 but it says unsupported/unknown image.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] v1r0x:
see my last post :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
I have tried it before. It make bootloop
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

Did you try using it to patch the boot.img, instead of flashing it in TWRP? I'm not sure if it will flash correctly since Android 10 uses system as root and TWRP for pme isn't updated to support it.

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] v1r0x:
Weird. It worked for me a couple of days ago (latest canary build is almost two weeks old, so should be the same version).

Do you have the latest TWRP (3.3.1-0)?

Also, here are the steps I took to get a working rooted phone: https://xdaforums.com/htc-10/develo...builds-pme-t3976079/post80421541#post80421541

Hope it works!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] filjusz:
Of course its working. Problems are related due to your setup
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ahmet:
Thanks for the advice. I will try 19.5. So I should first remove the 19.4 via Magisk uninstaller, then re-boot, then flash 19.5, correct?

I assume magisk-release.zip is the file you mentioned as 19.5 and magisk.uninstaller.zip for the magisk removal on this page? https://github.com/topjohnwu/magisk_files/tree/canary
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Yes, this is the correct page to download 19.5.

I guess that you can flash over 19.4.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ahmet:
Thats good. Thanks. Will try and feedback later.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
No, i just flash it in TWRP

---------- Post added at 07:45 PM ---------- Previous post was at 07:29 PM ----------

I just flash rom, opengapps, then reboot and setup my account, installing some google apps, telegram, whatsapp, lawnchair, and then reboot to recover to flash magisk. The result is not installed (19.4) and bootloop (19.5). Whats wrong with my setup?

---------- Post added at 08:37 PM ---------- Previous post was at 07:45 PM ----------

Yes, i have the latest TWRP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] v1r0x:
Try:

1. Wipe system/data (or factory reset note that this will wipe your sd card!)

2. Install rom and magisk 19.5 before booting

3. boot first time

4. reboot to twrp again and flash gapps

5. reboot system and setup accounts, install apps, etc.

6. enjoy!

Hope this works for you!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bessel:
Hi! I am wondering about installing this rom (from stock). Can anyone confirm if google pay is working? Do I need to install magisk to make it work or it should be ok by default?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

You will ALWAYS have to install Magisk to get Google Pay to work on a custom ROM with an unlocked bootloader. Just having an unlocked bootloader will cause the device to fail SafetyNet checks, so Magisk is necessary to hide the bootloader state. As to whether it's even working on the ROM, that I don't know :confused:.

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RsConqueror:
I have magisk canary installed and can confirm the phone passes safety net and Google pay works
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
Thanks, i will try to flash magisk just after flash the rom
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JamesKinds:
Random data point - Skype lite runs perfectly on this ROM. It works even without Play Services installed. If you don't have gapps installed, the app will complain, but will still work well (both camera and audio).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
Hello guys .. finally we have a great working Port of Gcam V7 (and its better than all previous versions so far).. its tested and working perfect on LOS17 for HTC 10 (flash now stays OFF during night site capture) . Link :

https://f.celsoazevedo.com/file/cfiles/gcm1/MGC-7.0.009_MiIXSE.RPII.MiVIII_V1b.apk

- heres what you need to do so that night sight saves pics properly : go to Gcam settings and turn 'PIXEL AWB' to OFF .

- to make th auti focus data disappear from viewfinder : go to Gcam setting > developer settings > search for debug in search box > untick "camera.debug.af.show"

- if u want a faster view finder turn off lens suggestions .

If this apk is working for you like this post so that others know its helpful :)

NOTE : this is LOS 17 thread .. any issues we face we can discuss on GCAM htc 10 thread not here .. thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ahmet:
Magisk 19.5 flash completed w/o error, then installed quickswitch in Magisk, but close all icon for open apps still not visible. Weird?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Weird...

Are you sure that you flashed the latest ROM?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RsConqueror:
I'm having a strange issue that wasn't present in los16. It deletes my fingerprint data on reboot. I can save a finger and it will work on the lockscreen but as soon as I restart the device it's like I never entered it. Any ideas?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sir-Shadow:
You aren't using latest build. right now there are 2 build and the first one had this bug.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RsConqueror:
Ok I'll flash the most recent build, thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ja9740809:
If you brushed the lineage but stuck it on the boot screen

This is what happened?

Boot screen run Going inside TWRP again.

My brushing step is

TWRP 3.3.1.0 -> Wipe System,Cache,Data and Dalvik/ART Cache -> Wipe Format Data -> Install Lineage 17 and Gapps arm 64-10.0 nano -> Boot screen run run run many time can't into system

Who can help me? Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ahmet:
20191050 102127 test keys. Isn't it the latest Rom?

---------- Post added at 05:05 PM ---------- Previous post was at 05:02 PM ----------

After you flashed the GAPPS dont boot. See this https://xdaforums.com/showpost.php?p=80407879&postcount=6227
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ahmet:
Found the problem. I m using Nova Launcher and it hides that button. When I switched to Quickstep (default) Clear all button is visible and working.

Sorry for trouble. I will report it to Nova.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
its not the issue with nova .. google doesnt support third party launchers with proper quickstep support ... so nove cant do anything about it
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ahmet:
It is not good. So either should forget the Nova and use default launcher till Google provide solution or return to Android Pie. Thanks anyway.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] satreddy:
Thanks mate, Working perfect after your suggested settings. Now this is my primary camera. Earlier I was using MGC_6.1.009_MI8_V1a which was perfect. However, the slow-mo is not working in this and previous camera app. I guess it's OS limitation and It's a known bug mentioned in first page.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
Glad that its workin for you too... btw we can still use slowmo upto 1/4 beyond that its not working :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
[MENTION=4453138]fagyi[/MENTION],

hey my friend,

I keep getting stuck with this error trying to build lineageos17 and crdriod

any help would be highly appreciated. :)

my roomservice.xml looks like lineage16 but with lineage17, maybe I'm missing something there?

that or maybe snippits/lineage?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Lookso:
Same here. Crash, crash, crash (Android Config app). Can't recover previous installed apps with configs and text messages from Google Drive cloud because of that :(

But rom works veeeery smoothly and it's fast as hell ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Meshok:
I'm moving from the latest stock ROM. As provided in instructions, I've formatted /data and wiped /system.

After flashing this ROM, LOS boots and reboots ok.

But the issue is that I can't encrypt the phone. When I choose 'Encrypt' in LOS settings, confirm it and the phone reboots, it stucks on the very first boot screen (the one where 'HTC' and 'Prowered by Android' text is displayed). It never goes to a step of 'Phone is being encrypted' with a progress screen.

After waiting for almost an hour looking at this screen and forcibly rebooting the phone, LOS can't boot and I have to re-flash it.

Tried with and without setting Lock PIN\Password.

I'm actually not quite understand why LOS even allows re-booting to encrypt the phone without PIN\Password set.

What am I missing?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
You missed "searching" bro. ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Meshok:
Thank you, that's true :)

Can I workaroubd it by flashing an older version of LOS (or maybe even CM), encrypting the phone and flashing this build?

If so, what was the latest LOS\CM version with working encryption?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
No. Encryption is currently broken for LOS 17. It might be a LOS issue. The dev is looking into it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Meshok:
From the above, my understanding is that if we have an AOSP ROM with encrypted /data partition, there is no need to format it. In turn, this means that if we flash an AOSP ROM -> encrypt the phone -> flash LOS 17, it should work while keeping /data encrypted.

Am I wrong?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
TMP pick this one:

https://review.lineageos.org/c/LineageOS/android_hardware_qcom_audio/+/256374
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
For now its not working. Upstream working on it.

"if we have an AOSP ROM with encrypted /data partition" its only true for Q roms, but for now only available the LOS so no any other aosp Q rom for 10 yet.

https://review.lineageos.org/q/topic:"10-qcom-encryption"+(status:open OR status:merged)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

I think the OP is asking if they can encrypt on LOS16, where it's working, and then flash LOS17, will it stay encrypted and boot up okay. I assume the answer is that he would have to try it?

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Meshok:
Exactly! Basically, I'm looking for any suggestions to have encrypted /data and working LOS17 :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
No way at this stage.

Basically because on los 17 not merged these updates, so it is not handle correctly. You cant boot with encrypted data on Q. Later yes