yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] AntaresFP:
I have a similar issue with my Bluetooth headsets since a while. When the screen is off and I pause playback for a minute or so, I cannot resume playback again with the headset buttons. I always have to turn the screen back on to resume playback. Or keep screen on all the time.

---------- Post added at 09:21 AM ---------- Previous post was at 09:09 AM ----------

Also wanted to ask of there is a way to keep wifi connected during doze?

Usually when my HTC is idle for a while, it drops the wifi connection and only keeps celular. So sometimes it drains a lot of mobile data, although it could have used wifi for free.

Apart from these minor wifi and Bluetooth issues, it's running super stable!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] UsernameShortage:
Could someone please help me with the OTA updates? I've installed the version from the first post, and according to an earlier post, updates were broken but should be fixed now. However, for me the link still points to a file that doesn't exist. I've refreshed the list, rebooted, and cleared cache and dalvik. What am I missing?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Seems to i need the ota link updating after one week, because afh move the file to another server where ota link use the previous.

Maybe i need search another place where i can drop the ota.

Hopefully today merging the july sec updates, im ready to updating for the 10.

Few things ported from op3 pie release, like thermal, time service, etc.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Sounds good :) . thank you fagyi.

I noticed that oneplus got official pie update on OOS.

Maybe some parameters/tweaks can be ported to our phone :confused:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Yes ;)

But still waiting for merging that july sec updates by los team.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Hubird:
Flashed lineage-16.0-20190519-UNOFFICIAL-pme.zip and then no sim card detected.

Reverted to lineage-16.0-20190114-UNOFFICIAL-pme and it works again
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rmw98:
Hi!

I had the exact same issue. I fixed it by going to the download link, clicking on his name, selecting the HTC 10 and downloading the newest version. Hopefully this works for you too!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] InvicTech:
[MENTION=4453138]fagyi[/MENTION] I have the same issue as [MENTION=5574678]Sly_North[/MENTION]

My watch and headset both disconnect when the phone screen is turned off! Unfortunately I can't find any useful energy options to change this annoying behaviour.

Edit:

- using latest available version of your ROM June 9th Build

Steps to reproduce:

1. Connect Bluetooth Speaker with Media Controls

2. Start playing music

3. Pause music via speaker controls

4. Wait for about 10 to 20 seconds

5. Try to resume playback with Bluetooth media controls

This issue is big, because smart watch users can't use Google Assistant nor can you resume media playback with the watch...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KACE321:
Has anyone been having issues with the auto brightness? It always seems to be stuck on a very high setting when I turn the screen on, then I have to manually lower it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Hubird:
I had lots of trouble and to be honest I am not sure what ended up fixing the no sim issue.

It was a family members phone and was supposed to be a quick update..

I fixed it once just by flashing an older build and then tried flashing newer builds to pinpoint the problem but couldn't, it broke again and flashing the same file that fixed it last time didn't work.

Got it to work again eventually out of sheer luck and am now reluctant to mess with it!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] espoir.:
hi all, i haven`t any nandroid backup, i want to remove the lineage and back to oreo official rom, can u help me ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Added one patch for the kernel for this, hopefully solve the issue ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] InvicTech:
[MENTION=4453138]fagyi[/MENTION] You're a legend man!

Can you give us an ETA for the update?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
LOS just merged the July security update, so I am sure that fagyi will update the ROM soon.

Everyone is busy in their real life, fagyi spares his free time for this.

So maybe try not to ask for ETA though ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Building the latest now 1-3 hr with quick test for boot and basic test needed for me before pushing.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
New build is up!!!

Download it right now :)

Thanks fagyi :good::good::good:

can't wait to try out new thermal blob
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Neeosx:
In-call volume settings don't work on newest build. Stuck on way too loud. Does anyone else have this issue?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ThaiLe_1025:
I have the same problem :confused:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] musasalmanzadeh:
Hi guys, Does anyone know that how can I build ambient display on stock oreo?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rmw98:
Same issue. Kinda... Here my phone lets me hear the other side for like a second and then goes silent. :confused:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Hi [MENTION=4453138]fagyi[/MENTION]. It seems as if kernel support for Wireguard has been removed in the latest build. Any reason why? I use Wireguard to connect to VPN and after updating to latest build Wireguard isn't in kernel mode anymore. Could you please re-add it? Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
Hey [MENTION=4453138]fagyi[/MENTION], I updated to your new kernel/vendor/device tree, for crDroidandroid ROM

after I get:

ninja: error: 'vendor/htc/pme/proprietary/lib64/libaptXHD_encoder.so', needed by '/home/andrew/android/cran2/out/target/product/pme/system/lib64/libaptXHD_encoder.so', missing and no known rule to make it

removing this added code will let me build, is this the right correct change, or no?

+ vendor/htc/pme/proprietary/lib64/libaptXHD_encoder.so:system/lib64/libaptXHD_encoder.so \

+ vendor/htc/pme/proprietary/lib64/libaptX_encoder.so:system/lib64/libaptX_encoder.so \

Thank you as always my friend!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Uploading one new build with audio blobs reverted back from op3 for now. Just something with afh, not saving the file.

I have a kernel issue with latest wireguard so removed for now, it will be back soon.

Yeah, aptx blobs should be system side. Will be correcting the repo ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rmw98:
Damn nice! Thank you for your quick work! I reverted for now, but when the new build is up, i'll download and test it! Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Can you test this please? If good i will pushing to the ota, if still not working the incall audio after i need add back the compress_offload stack.

I just dont have sim on my 10.

Other changes that cpu boost completely disabled on kernel side.

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

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rmw98:
Sure! No problem! It is downloading and taking about 10 mins (since the mirror nearby isn't up yet).

Will report back after that.

EDIT:

Unfortunately it is not working. It still hangs and sometimes puts out a second of audio :eek:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
thanks man!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Neeosx:
[MENTION=4453138]fagyi[/MENTION] im stuck at 1st boot for 15min with the new build.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
[MENTION=4453138]fagyi[/MENTION], i guess your daily driver and future active development is xiaomi mi9. Is it a good phone?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Thanks, Today reverting back the compress_offload which solve this kinda issue. I will test with sim later.

Will pushing to ota when its ready. sorry gusy :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] InvicTech:
Bluetooth Connectivity Issues remain...

[MENTION=4453138]fagyi[/MENTION]

Unfortunately, the issue with Bluetooth Connectivity remains. Smartwatch still loses connection and even if it remains connected, can't reach google / the internet via Bluetooth. This issue occurs as soon as the smartphone screen goes black. It seems like the watch tries to talk to the phone but doesn't get a reply.

Running latest version: 07.07-01

Issues observed:

Smartwatch either loses connection to phone or can't reach internet while connected (both only occurs while screen of the phone is off)

When music was paused via the watch and afterwards you try to resume playback with said watch, nothing happens. However when you turn the smartphone screen on, it resumes playback.

same behavior with the Bluetooth media controls on the headphones

Pausing and resuming music with just Bluetooth headphones or Bluetooth speakers seems to work now. Works only sometimes

All these issues point towards some kind of power saving problem. Further more I've seen multiple reports of Bluetooth connectivity issues when it comes to Anroid 8/9. Might be on Google/LOS to fix it :(

Edit:

Funnily enough, the smartwatch remains connected as long as music is playing over Bluetooth xD

Edit°2:

Sometimes it does work while screen has been off for a while, but very unreliably
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Hi everybody, I'm currently running the June build. Recently the July build was released and I got a notification for the OTA update. When I try to install the update, my phone only boots into recovery and does nothing else. Is this because I activated encryption? How can I remove encryption and do the upgrade?

Thank you all!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] AntaresFP:
Hi, thanks for posting. I can confirm that. I think fagyi is aware of the problem.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] InvicTech:
How to clean flash HTC 10 Custom ROM

[MENTION=9475352]BlackBox27[/MENTION] The only thing you can do if you are running encrypted is to download the latest build from Android File Host yourself and reinstall it.

Step-by-Step guide:

Make a backup of everything you need beforehand (on SD-Card)

Download latest TWRP and flash it as an image (Recovery)

twrp-3.3.1-0-pme.img

Download the latest Build from the ROM lineage-16.0-20190707-1-UNOFFICIAL-pme.zip

Download latest GApps Gapps Android 9.0 ARM64 Mini-Version

(Optinal) Get latest Magisk Flashable zip Magisk-v19.3.zip

Boot into recovery mode

Go to Install and select "Install Image" then go to the "twrp-3.3.1-0-pme.img"-File and select it. Select "Recovery" in the following screen.

After flashing the recovery go to "Reboot" and then press "Recovery"

Select wipe and hit the left button that says "Format Data" it should then ask you to type "yes" to confirm it

Afterwards, go to wipe again and this time select advanced wipe. There you should select the following partitions: "Dalvik / ART Cache", "System", "Cache", "Data", "Internal Storage"

!WARNING! Formatting the Internal Storage will delete everything that is saved on the device. Including the downloaded Files, so put them on your SD-Card (Formated as external storage within Android)

After that you can go to "Install" and select the "lineage-16.0-20190707-1-UNOFFICIAL-pme.zip" than "add more Zips"

Select Gapps.zip

(Optional) "add more Zips" and select Magisk.zip

Swipe right and let it flash

After successful flash, reboot system and let it boot

The first boot can take a lot of time, so don't loose hope if it hasn't booted fully after 5 minutes ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Its very impressive phone.

Only thing for me that speaker audio is mono. My 10 its better on speaker audio, other than for me its perfect. The water drop its not option for me, i dont want take photo under water. The camera also very good.

Speed and performance its awesome. Antutu shows 380k on my los ( im sure i can get it over 400 but not priority, the balance its good ) with 6-8 hr sot

Comes with eas as stock

Building the incall volume fixes build right now for the 10.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Thank you very much for your answer! So it is true that encryption blocks any rom updates? Is there a way to back everything up and restore all the apps the way they were?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Neeosx:
Volume. settings work fine in the newest build (7/8).Thank you [MENTION=4453138]fagyi[/MENTION]

PS. also, is this build equipped with OP3 thermals?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Yes, its equal with OP3.

Differents from yesterday build is that incall volume fixed and completely disabled cpuboost & cpu-input boost on kernel side.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rmw98:
Seems to be working great! Thanks! Can also confirm the in call volume works & no more stutter and weird behavior. :victory:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] minhajlk:
Try Migrate its an awesome app to restore your apps.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Perfect, thank you! I will look into it! :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Is there any way to hide quick settings and power menu on lock screen?

I can do it on Pixel Experience but could not find a way to do it on LineageOS
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KACE321:
Can someone tell if this is a bug or normal behaviour - the autobrightness seems to always on a high setting when I unlock my phone. I keep having to the lower the slider everytime I unlock??

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sly_North:
Yeah that happen sometimes. And the default brightness auto handler is not too efficient. It's a general issue, as the ROMs have generic settings, not tuned per device's ambiant sensor and screen.

I use an app named Lux Light that learns my preferences faster and better.

And in other news, the Bluetooth cutting off when the screen is shut is still there in yesterday's build.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] InvicTech:
[MENTION=9475352]BlackBox27[/MENTION] I just looked it up online. According to another xda user this issue has been fixed in twrp-3.3.0 and above, so try to update twrp to the latest versionand try the ota process again.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] InvicTech:
[MENTION=4806969]Clemenator[/MENTION]

KISS = Keep It Short & Simple

Nobody gives a **** about your damn life story!

Bug reports are very simply structured:

- Bug (can't send nor receive mms)

- What you tried (setting, mods, ...)

- (What should have happened)

On top of that, the developer [MENTION=4453138]fagyi[/MENTION] you're addressing here isn't a native speaker of the English language. So sending this wall of text to him will probably just shift the priority of your problem down.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Neeosx:
There is 20190708 build. Fixes all of the problems above
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] InvicTech:
Thx [MENTION=4489805]Neeosx[/MENTION] just noticed myself, editing my comment atm xD
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
20190708 fixed the problem you mentioned.

You can grab it on AndroidFileHost(search PME or fagyi).

----

Oh I'm late :P
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Thank you InvicTech for looking it up!

I have the problem, that I can't update my twrp due to encryption. Normally I could always update my twrp, I never did S-OFF.

That is the cmd output if I try to update twrp:

C:\Users\Alexander Biro\AppData\Local\Android\Sdk\platform-tools>fastboot flash recovery twrp-3.3.1-0-pme.img

target reported max download size of 536870912 bytes

sending 'recovery' (26792 KB)...

OKAY [ 0.695s]

writing 'recovery'...

FAILED (remote: cannot flash this partition in s-on state)

finished. total time: 0.755s​

I also tried to update the twrp by flasing the .img file with trwp directly. Sadly, it can't access the phones internal storange where the .img file is, due to encryption... I guess I have to wipe everything and start over again.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] InvicTech:
[MENTION=9475352]BlackBox27[/MENTION]

You can update twrp with twrp.

- Go to install

- Select image

- Navigate to twrp.img

- select it and then select the type of image (recovery in this case)

- reboot into recovery mode again

Edit:

Put the image file on a micro sd card this way you can access it even when the phone is encrypted
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Neeosx:
Is it me or this slider doesn't want to go below 39%? Latest build

Update-- interestingly, after removing dtsX anuir and aml, slider works again
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

You need to be in Download mode to fastboot flash TWRP, not bootloader.

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Clemenator:
Don't be so rude I was mealry trying to put the most detail in so the problem may be resolved easier, thank you for updating me on the structure of how one puts in bug reports however you could have easily done that without the sentence (Nobody gives a **** about your damn life story!) and I would now have had respect for you instead of thinking you're just a rude POS!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] InvicTech:
[MENTION=4806969]Clemenator[/MENTION] yes, I was rude and I'm sorry for that. Let's be constructive then.

Did you even run the latest build of his ROM before you reported this bug? (lineage-16.0-20190708-UNOFFICIAL-pme.zip)

I'm asking because as you can tell by the other comments, I also made a mistake here. I reported a bug that was already fixed in the latest version of the ROM.

Ps: MMS works fine with my provider (Sunrise) in Switzerland using the latest build, so there's a big chance that your provider may have fudged up here ;D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Neeosx:
On 20190708 phone feels a lot smoother but battery life for me is atrocious.

I'm getting weird idle drains (6% over 30min screen off with 4g+) and that is with fresh flash.

Dirty flashing June update to compare some more.

Anyone else experiencing battery drain?

Update: Definitely better battery life on 20190609 build
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Clemenator:
Thank you for the respectful reply I appreciate bro :) I have downloaded the latest rom today will flash it now and if the MMS issue is still a problem I will make telstra send me a new sim to see if that fixes it as you guys do not seem to be having this problem with MMS.

Thanks for taking the time to answer my issue :good:

UPDATE: Just flashed latest rom and MMS is working again :) I will be sure to always flash latest version before reporting any bugs in the future ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] amirss1376:
bug

Hello yesterday, a file has come up as an update for RAM, and I've been in control since I've upgraded it for voice recording, whether it's in other apps.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Hey fagyi,

I noticed that watching videos through mobile data(e.g. YouTube), the phone heat up fast.

Some sensor reach to 50°C quickly(numbers from CPU-Z).

Some said that they got battery drain with 4g standing by.

So maybe there are some issue with mobile data related code?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
No, this is thermal related :(

Need decrease some °C after that on thermal config
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xdadevelopers-user:
Flashed 20190708 when it first became available. All was well. Today the phone completely froze up while I was trying to send a text. I held power+vol dn to reset. The buttons blinked about 15 times until the screen went black but it didn't reboot and now it appears to be bricked. When I plug-in a charger the led doesn't light. Long pressing the power button doesn't seem to do anything. I think it was reporting around 40% battery when it died. Any ideas how to recover from this?

Maybe (like everyone around me keeps trying to tell me) it's time to move on from the HTC 10 - but I don't want to yet.

thanks

-xdadevelopers-user
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rmw98:
Try holding the volume up and down + power buttons. That seemed to help my phone. ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Maybe you can try put into charger and wait about some time. If the battery completely drained than need more time to recognise.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xdadevelopers-user:
I left in on a charger for several hours (the led doesn't light up) and it made no difference. I tried holding VolUp+VolDn+Pwr for 3 minutes - nothing.

When I plug it in to my Linux computer this gets logged in dmesg.

[Thu Jul 11 08:37:00 2019] usb 2-1.7: new high-speed USB device number 18 using ehci-pci
[Thu Jul 11 08:37:00 2019] usb 2-1.7: New USB device found, idVendor=05c6, idProduct=9008
[Thu Jul 11 08:37:00 2019] usb 2-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Thu Jul 11 08:37:00 2019] usb 2-1.7: Product: QUSB__BULK
[Thu Jul 11 08:37:00 2019] usb 2-1.7: Manufacturer: Qualcomm CDMA Technologies MSM
[Thu Jul 11 08:37:00 2019] usbcore: registered new interface driver usbserial_generic
[Thu Jul 11 08:37:00 2019] usbserial: USB Serial support registered for generic
[Thu Jul 11 08:37:00 2019] usbcore: registered new interface driver qcserial
[Thu Jul 11 08:37:00 2019] usbserial: USB Serial support registered for Qualcomm USB modem
[Thu Jul 11 08:37:00 2019] qcserial 2-1.7:1.0: Qualcomm USB modem converter detected
[Thu Jul 11 08:37:00 2019] usb 2-1.7: Qualcomm USB modem converter now attached to ttyUSB0

Thanks.

-xdadevelopers-user
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Hello, i will uploading one new build today. The bluetooth setup reworked, seems to fine here, but i can test only with my honda. Pause, resume, skip track etc working with screen off here now.

My gear s3 paired with my mi 9, so i dont want reset my gear for a new pair. Can you help me for testing out?

Its available soon on my afh.

Also wireguard readded to the kernel if someone needed ;) few thermal cleanups also managed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] InvicTech:
Gladly :D

One more thing though. OTA-Downloads have been very slow and very unstable 300 KB/s (my Gigabit-Internet was very sad with the afh-server)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Here you go

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

Wipe cache & dalvik before booting.

- BT setup reworked

- Wireguard is back

- Thermal cleanups

- One idle error fixes

Yes, i need searching another server for better speed.

Dont pushed to ota yet. Still debug my 10.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Little off topic, can we use latest boot.img from LOS on PE rom:cyclops:

Will we have any benefits from it or those new fixes need to be implemented deeper in the rom...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RobertHaung:
Why do you want to do that?

I think the answer is no.

If you do that may cause few unnecessary bugs.

Just wait for update for PE.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Because PE and LOS uses exactly the same kernel... that's why i ask...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Its working basically. The neccessary init files located on system and system/vendor side since treble.

Which is in the boot.img mostly same as, the kernel only different.

You can test it, but backup your boot.img before ;)