yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jorikz:
I'm using this phone because of the USB-C alt mode functionality: I'm attaching it with one cable to a USB-C touchscreen monitor. But there's a bug within this rom: HDMI output functions fine while on battery, but not while reverse charging the phone (then the HDMI display doesn't work). I didn't have this problem with the Stock rom.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Basel.elGhaiaty:
Here is a question, I have the 1115 build installed, FP isn't working and I understand that it is fixed in the newer build, I've already downloaded it, but I have other problem that I was wondering if it is fixed (added)... Back light for the capacitive keys, it is always one whenever I touch the screen (not the buttons themselves) which is annoys me at night (I read on my phone at night) so I'm willing to live with the no fingerprint for now as I don't want to make a clean flash if I would have to do another one when backlight option is added, so is it added in the 1120 or should I wait?

I know the ability is there as Fagyi have this option on his PE ROM, so my question is, Is it available in 1120 or should I wait for future builds?

Final thing thank you a lot, Fagyi, you are making god's work in making this awesome phone work and I really love your work, and I understand that this takes a lot on development and don't mean to point at negative things as what you are doing is way way cooler than these small things, the thing is I understand the ability is their just want to know when is it going to be available on this ROM.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ondrasouk:
In newer build settings of button backlight is added.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Basel.elGhaiaty:
Thank you <3
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Roger W:
Hi, I've spent a bunch of hours on this and it's time to ask for pointers in the right direction...

tl;dr - TWRP says my /cache and /carrier partitions are missing, and when I boot this LOS build, it shows the boot animation for hours.

I've been running custom ROMs on this phone (617/unlocked) since it was new, but haven't touched it for a couple years so I'm stale.

I saw I need the latest firmware for this ROM, so I tried to RUU. (RUU_PERFUME_WL_O80_SENSE90GP_MR_NA_Gen_Unlock_3.16.617.2 - right?) That fails with error 155. So I extracted rom.zip and used a command I've now lost track of to flash it - it seemed successful. Then I used the HTC Batch Tool script I had around to "[10] Flash ADB Root enabled 1.30 WWE boot (creds: SunShine)" and then flashed TWRP 3.4.0.0 pme, wiped everything*, then flashed this ROM. Now I'm stuck at the boot animation.

* when I format data, it says that /cache and /carrier are not found.

Any tips to get back in working order? thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
Hi,

you must be on latest Oreo for your HTC 10 to be able to boot this.

first check the CID and MID codes for your device (showing on bootloader screen). based on that do RUU with a matching one - see this for more info !

on success do boot the stock Oreo and check you are on latest 8.1 - if OK then you can safe flash this LOS (A11) using latest TWRP 3.4.0.0 as per post #1 (wipe cache/dalvik + FORMAT /data (yes) to get rid of encryption of /data partition). first boot takes quite long ~5'
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Roger W:
Thanks - I think I had the right files and steps, but must have messed something up the first time; I tried it again (htc_fastboot flash zip rom.zip, from my RUU file), boot once, then flash TWRP 3.4.0.0, then format data, then install this ROM) and it seems to work fine. Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] plun:
"Long time, no see" :)

After a "flash party" last evening (I was rusty) my beloved HTC 10 is up and running again. (not rooted)

Android Auto is running great with my car (Skoda Octavia), I am thinking about permanently use this prhone in my car... Connect/disconnect the USB-C cable is just a mess with my normal workphone.

Waze and Spotify up and running

EDIT

Thank you fagyi for this rom!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] foobar2605:
When I try to root the device on this rom it always fails with "cannot mount vendor". I guess the latest TWRP doesn't support treble? Does anyone know how to fix this issue?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ondrasouk:
Try Magisk. Other root methods is probably unsuported on LOS 18.0.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rambojambo21:
I can't see or access OBB folder in any file manager, but when I try and view it in TWRP I can see it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CAMERON1988:
I need a little help, this might be off-topic, I lost my twrp backup due to encryption so I decided to revert back to stock Oreo but no imei/signal each time I flash Oreo stock firmware but aosp based ROM seem to restore my signal and imei, stock based firmware like leedroid seem to lose imei, everything seem to be working fine with lineage 18.0 or any aosp based ROM, my device is S-ON and unlocked pmeuhl 3.16.401.2, if someone can help me with a stock twrp backup
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
you can check this thread [STOCK] Guides and Stock Backups/Recovery/OTA/RUU and get the RUU /firmware that match you CID and MID.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NSH021:
no need of anything format data in twrp,

reboot recovery

enter this command in recovery

adb shell

dd if=/dev/zero of=/dev/block/bootdevice/by-name/persist

then again reboot recovery

and flash whatever rom u want to u r good to go

it had happened to me long ago, this solved mine
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CAMERON1988:
Thanks man, it worked, I now have a backup
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] deoladeola:
Is it just me or lineage Os 18.0-20201122 pme screen recording isn't working?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NSH021:
it is working fine
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jake.smiff:
I am actually having the same problem with the really bright nav lights. I can not find a setting to dim them nor turn them off.

If I enable the on screen nav bar they go out but this is not optimal.

I am hoping I am just being a blind noob and cant see the setting.

Is anyone able to advise? Kindest regards.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] minhajlk:
You can reduce the brightness

Go to system->buttons->backlight.

Reduce the bright to your liking.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jake.smiff:
That option is not there.

I installed the rom from the link in the op, so it is that version.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NSH021:
lineage-18.0-20201122-UNOFFICIAL-pme.zip | by fagyi for HTC 10

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

androidfilehost.com

Clean flash this build,
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jake.smiff:
That did it, thank you.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NSH021:
deleated
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] deoladeola:
Please what is the alternative to scrolling screenshot on 11!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] deoladeola:
Mi

Mine isn't working. Reflash a couple of times
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NSH021:
do a clean install it will work
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] doomalikaw99:
Please, could anybody help me?

I had a stock HTC 10 running Oreo. I decided to unlock the bootloader to install this ROM.

I unlocked it successfully, installed TWRP and then I Wiped Data as instructed and rebooted. Now here's where I got lost. I figured that I should reboot now in order to copy the build and such to the internal storage since I don't have an sd card. On reboot, it started "Encrypting" and when it finished I was back to the Factory reset splash screen. I continued, copied Lineage,magisk and gapps, booted to TWRP, backed up and proceeded to install lineage then magisk after I wiped system+data.

Now here's where everything got ****ed: I rebooted and the device was stuck in lineage's boot animation for over 40mins. I rebooted, nothing. Now I rebooted into recovery and it's asking me for the Decryption key. I tried "default_password" but it didn't work.

Any help is HUGELY appreciated, I don't have any other working phone right now and can't buy another one.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
you must FORMAT /data [type yes] not wipe to get rid of encryption. reboot to recovery to restart MTP and be able to copy to /sdcard the files you want to flash...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] doomalikaw99:
Thank you so much for the reply!

Will I be able to copy images from my PC in TWRP?

Edit: Nevermind, I understand now. Will try it now.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
yes, that is the reason to reboot to recovery...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] doomalikaw99:
Thank you SO much, all is good now!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] doomalikaw99:
Thank you for this ROM!

So far my experience has been fairly smooth. Though, I've encountered small annoyances in Whatsapp: Whenever I try to hear a voice note through the ear speaker, the screen goes black as expected but the audio never plays, it just pauses. Also, if I answer a Whatsapp call with my headphones already plugged, the mic never works and the call fails.

Anybody encountered these problems?

Thank you.

Edit: Issue resolved on its own it seems🤦
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] foobar2605:
That's what I want to install via TWRP. But after selecting the latest Magisk.zip it fails installing with the above mentioned error (cannot mount vendor).

What I found out after some research is that TWRP needs to support treble (don't know what this is). But the latest version for HTC10 doesn't work.

Any hints?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
what version of TWRP do you have ? what version of Magisk you try to flash ?

Magisk 21.2 is for A11. no other version. HTC 10 does not support treble and Magisk does not require such !
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] echo top:
Everyone claims this version is smooth but I've got some bugs. Location (gps) basically doesn't work. Turns on and off but no location. Battery indication gets weird toward low battery life (indication jumps), and after restarts if there's even fairly lower battery life it shows 0% even though there's 0<30%. Thought it was my battery so replaced it and it's the same. Charging is fun because when a slow charger is used the screen (digitizer) basically does whatever the hell it wants. Tap on a part of the screen and it instantly scrolls super far down. Try to scroll and it will select a part of the screen randomly. Fast chargers work fine. Scanning a qr or barcode usually leads to a reboot. In fact, making the phone think too hard leads to a reboot.

I know tax season is coming up @fagyi, so live your life first and foremost. But without an update in almost 2 months I'm going to have to revert to lineage 17.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dankovac1999:
This rom is great way to taste new android 11, but it still needs a to be polished a lot. I havent tried LOS 17, but in comparison to my OnePlus 2 on AEX android 10, htc is slower. But still I appreciate your work a lot! Thanks for that.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dankovac1999:
I havent used phone as daily driver, but I faced battery indicator errors as well. It basically works fine, but hits 0% and still has plenty energy left (accubattery shows me around 50% is used).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
is it just me or does the Preview have low FPS and a slowdelay? Compared to stock camera app.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Wilker0409:
Thanks for this Rom Fagyi, is perfect. but i have a problem with obb folder. I play cod mobile but the problem is when and reboot the device, vanish the obb folder. and then i need download the game again. scuse me for my english, i speak spanish. i hope you understand my messaje
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ondrasouk:
Camera PX works perfectly for me.

https://xdaforums.com/t/gcam-camera-px-for-google-pixel-1-2-3-3a-4.3875663/#post-79951569

Don't forget to install magisk module "SELinux Permissive for Camera P3" or you will have issues like laggy camera preview, long processing times, 4k and slow motion not working properly (frame drops), overheating.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Wilker0409:
I find camera PX is perfect but i had your problem in the beginning, my solution is disable the ubication or gps in camera settings. i hope you find it useful
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
File doesn't exist anymore.

And the

Pixel_GCam_SEPolicy_v2.zip : Hexagon/Easel permissions.

doesn't bring any better fps performance to the preview.

Edit: well okay... it does... a little bit...

Just checked vs the stock camera and realized that this one also lags a bit in dark environement.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
so... IMS is broken... does anyone have a different Dialer app which doesn't remain invisible when making a phone call and actually alow one to end a call?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] doomalikaw99:
Anybody able to pair Bluetooth controllers?

I'm trying to connect with my ps4 controller but it doesn't seem to work. Just sticks with pairing.

I've downloaded an app or Bluetooth and it gives me the following error : read failed, socket might be closed or timeout, read ret:-1.

EDIT: Logcat gives this:

unable to connect socket during connection failure

java.io.IOException: read failed, socket might closed or timeout, read ret: -1

at android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java:758)

at android.bluetooth.BluetoothSocket.readInt(BluetoothSocket.java:772)

at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:404)

at com.solvaig.forcepair.BluetoothDeviceManager$ConnectThread.run(BluetoothDeviceManager.java :496)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Wilker0409:
dont cant install cod mobile with android 11.... Is a rom bug? or android bug?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lpedia:
You might try asking about this on https://xdaforums.com/t/call-of-duty-mobile-android-11.4115503/. Others seem to have had problems with it on stock Android 11.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ondrasouk:
Probably SafetyNet fails (i have no games on mobile). In Magisk Manager enable "Magisk Hide" (at the right top icon for settings -> Magisk Hide) and try SafetyNet in Magisk Manager, it will probably pass.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] doomalikaw99:
Unfortunately, I'm having a really bad time with this ROM. Performance has degraded a lot. I'm having lots of freezes and slows that I never had with sense, even though this is supposed to be a lighter ROM? Can anybody tell me how to diagnose?

Could it be the pixel launcher? Or EdXposed?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Dukenukemx:
Any plans to fix VOLTE? Without VOLTE this rom won't be able to make phone calls on T-mobile and AT&T here in USA.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cantayfun:
Thanks for the ROM. I'll give my old HTC 10 to my mother so can anyone help me going back to full stock? What should i do to go back to stock rom? Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
New build its uploaded:

lineage-18.1-20210220-UNOFFICIAL-pme.zip | by fagyi for HTC 10

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

androidfilehost.com

Clean flash needed for this ( dirty not tested )

Bumped to lineage 18.1

- https://github.com/Fagyi/android_device_htc_pme/commits/lineage-18.1

- https://github.com/Fagyi/proprietary_vendor_htc/commits/lineage-18.1
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] UnwindingThree8:
Do you still have the SELinux Permissive for Camera P3 module zip. The zip is gone in the thread you mentioned
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NSH021:
Tq for the build works fine
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NSH021:
@fagyi

but had 2 random reboots in 8 hrs
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CAMERON1988:
Welcome back @fagyi
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Perf stack moved back to stock O ( last build ), i just moved to op3 blobs for stability. Still testing.

Also kernel upstreamed and patched for clang. The kernel compiled with clang now ( backround ), many warnings/errors fixed but there is more 10-20 which is brake the boot so need some more work on that, but its closest.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NSH021:
Installing LKT Magisk module stops random reboots

tq @fagyi

had only 2 reboots now working fine

getting 4hrs of SOT

8% overnight drain

phone shutdowns at 10-20%
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sido201:
@fagyi

thanks for the great work. i use your ROM for about a year, and am fully satisfied and thankful.

I wanted to encrypt the device on Sunday, because of data protection, but it did not work. The phone could no longer boot or I could not enter the password because I did not get to see a keyboard.

but the best thing was that @fagyi uploaded the new version almost at the same time.

My question now: can I now encrypt the phone with the version (which also works great so far) ?

Thanks in advance
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Digiboog:
4 hours SOT? New battery?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CAMERON1988:
How were you able to achieve such result? I tried LKT module and used powersave option but nothing improved and I even used balanced Which was recommended but it was a worst experience for me, I would charge my phone to 100% around 11pm and woke up around 5:30am to see 3% . this was my experience before I replaced my battery and even when I replaced it and downgraded and used all available aosp ROM on nougat nothing change 2hrs SOT now applying this LKT module made it worse. What tweak did you apply powersave or balanced?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NSH021:
nope I have not changed my battery!!!!!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NSH021:
I am using Taiwan Firmware,

in this firmware am getting very nice SOT

Clean flash this rom

I have applied performace and getting upto 3.5 hrs minimum and 4hrs max

i have flashed this one
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Hi all,

New build its uploaded.

lineage-18.1-20210228-UNOFFICIAL-pme.zip | by fagyi for HTC 10

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

androidfilehost.com

Mostly:

Decvice side:

Perf blobs updated to op3

Kernel side:

Fixed all warnings/errors on the source/boot/system run. Next step boot with clang. The kernel compile fine with clang without any warnings/errors because i just fixed it, but still not booting. Something with kernel config.

The battery also cleaned up, but i think needed more work on that, but better now in my case.

With gcc working fine, which the latest build uses.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
FYI

I just fixed the kernel for clang compiler. One more kernel oops showed up on boot which is cleaned up and bamm. Its booted here now. Bye bye gcc ;)

If you want testing:

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

Magisk needed reflash after this if you use.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NSH021:
@fagyi cant use battery saver shows (performance profile currently unavailable)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NSH021:
@fagyi

Upon flashing wil loose network (but wifi will work)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Thanks. Yes, the last kernel oops coming from htc ril, seems to more cleanup needed for that. I will insert my sim to my pme and will be debug that issue. If you can post one dmesg from clang kernel which booted with sim it would be nice too
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] heyChristo:
Dirty flashed new rom and kernel. reboot loop. Factory reset worked but no data or signal and "Mobile Network" is greyed out with no options. Trying format/wipe now, with clean install. Will update this post with results.

Update 1: Clean flash, same thing. No network options. Greyed out. Not sure if this kernel missing sprint blobs. Sais "No active SIM" and does not allow me to enable data.

Update 2: I know its not a bug report, but going back to the 18.1-20210220-unofficial.pme version works with sprint again. something broke sprint service in new rom.

Kernel version: 3.18.140Iceman-CAF-LAF.UM.7.5.r1-04800-8x96 0

Update 3: (Noob friendly instructions) Install NikGapps from sourceforge. Flash via twrp. It will give you errors during phone setup related to permissions. If you enter your google account info, you have to clean cache and data on the play store, go back to twrp, and wipe data. Then reboot and log back into google during phone setup. (This is posted elsewhere in the forum, but just thought i would re-iterate, because if your like me, i read the first page and the last page before actually doing any searching.) I am not sure if you could just install nik gapps, then wipe data, boot and then login to your google account since i haven't tried that method yet.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] heyChristo:
If you can point me to instructions to pull that log, I can post it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ImOBreezy:
I did clean install but can't get uber to get a gps signal
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
New test kernel its up!

IceMan_Kernel_Proton_clang_2021_03_07_21_01.zip | by fagyi for HTC 10

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

androidfilehost.com

Backported google wahoo`s radio driver and replaced the pme driver with that. With my sim working good now, mobile data also on clang compiled kernel.

The best things, that proton clang working good with our device so this kernel compiled with that.

Changelogs:

Commits · Fagyi/android_kernel_htc_msm8996-caf

Based on CAF - LA.UM.7.5.r1-04300-8x96.0 . Contribute to Fagyi/android_kernel_htc_msm8996-caf development by creating an account on GitHub.

github.com
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ondrasouk:
Thank you for your work.

I have flashed the new kernel and the UI feels smoother and it starts noticeably faster. Phone calls and Mobile data seems to work fine, no VoLTE (when calling it swithes to HSPA+) like other custom ROMs.

I will watch the idle battery drain and compare it to GCC build (saw some work in your repo around PM).

EDIT: First night with turned off wifi and battery drain 1% per hour (for me 1.5x better). I will try tommorow with Universal GMS Doze, Sensors OFF (developer setting QS tile) or something.

With wifi on the battery drain is maybe higher (~7% per hour), but wifi more easily connects to 5GHz. With mobile data drain seems a bit lower. Sometimes I have problems with quickcharge (after clean flashing from build from raul16 to build 20210228), but never have chance to measure anything or making dmesg/logcat (happened only three times).