yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dRm42:
Cool, thanks [MENTION=4453138]fagyi[/MENTION]!

Can you please add if this was Stock vs. Custom Config v2, or Custom Config v1 vs. Custom Config v2? Just curious.

Hmmm...not sure about that to be honest. Probably the easiest if you just overwrite /vendor/etc/thermal-engine.conf with one of the custom configs. Can be done from your phone if you remount /system as rw, or with adb push if you don't want to mess around with that.

It should only throttle the GPU at relatively high temperatures (56C+). Since we step in so early to maintain a healthy core temperature (at 44C) and poll the sensor at every second, I don't think that will ever happen under normal circumstances. And yeah, you're right, I don't expect this to improve performance by a lot either, if at all. However, it's worth mentioning that previously the SoC was running on critical temperature under heavy load with only Qualcomm's hardcoded fail-safe-throttling in place, which was probably not ideal performance either. It's more like that I wanted to make sure that I was correct with my assumptions and that we don't cripple the CPU with early and frequent throttling. If we get the same or very similar performance as before but with a cold/lukewarm phone, we have already won :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
If you dont mind, i just merged your v2 config on my source, because its working well on my end too.

Thank you very much. Credit goes to you.

Now building one new build, that everyone get thermal fully working as builtin for fixing the overheating issue.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dRm42:
Sure thing! Glad I could help! :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KatsAwful:
Oh man, I can't wait. The heat problems were getting ridiculous. I couldn't listen to music some days
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RisingNoob:
Any ideia to when this new built would roll out? My HTC 10 is really getting hot with the latest build, started this hotness today.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
within one hour
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sly_North:
You can simply copy dRm42's thermal-engine-perfume-v2.conf.txt to /system/vendor/etc/thermal-engine.conf
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
New build is up!

Download: https://androidfilehost.com/?fid=11410963190603866961

Changelogs:

All los changes merged

Device:

pme: Remove system and vendor image dependency

pme: Move OPA property to system

pme: Enable audio perf hints and disable KPI optimization

pme: Add 'vendor.' prefix to a vendor daemon name

pme: update thermal config - fix overheat issue ( All credit goes to [MENTION=4221224]dRm42[/MENTION] )

Kernel:

pme: remove not needed ramdump for rpm

patch-3.18.127-128

pme: defconfig: thermal setups bring inline with marlin as well

pme: revert drivers/tty commits to make it BT working
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] daniyar-adilov:
HELP

thankyou for new build

can i dirty flash this build?

LOS 2018.11.18
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Just flashed and phone turns off after htc bootlogo... Reverted to 12.02. build and booted normally with notification that device turned itself down because of high temperature...:confused:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Hey [MENTION=4453138]fagyi[/MENTION]. I flashed this and now my sim card isn't detected. Dialler keeps crashing. Can't even get logs as syslog is stuck at detecting root. Reverting to old build.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dRm42:
Yeah same here. HTC logo then turns off. Also got the notification, even though the phone wasn't hot at all. Reverted to 20181125, reapplied my v2 custom thermal config and everything works fine again.

[MENTION=4453138]fagyi[/MENTION] What was the other thermal related change that you referred to as "thermal setups bring inline with marlin as well"?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Roocher:
Same here. Sim ist working but dialer is crashing.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Tirofog:
Have to say I'm impressed by this rom, thanks [MENTION=4453138]fagyi[/MENTION]

Not sure why people are bashing the prism launcher linked on here.. I, and plenty more, actually like sense, and the lineage/sense hybrid works really nicely. It's an alternative to pixel which has issues and quickstep is a little basic.. each to his own I guess :highfive:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KatsAwful:
[MENTION=4453138]fagyi[/MENTION]

Newest build would fail to properly boot. It gets to the lockscreen then instantly powers off, probably like the overheat warnings others have gotten. My phone didn't get much warmer than usual. Had to revert back to the 120122018 build
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aizuon:
same here as well
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Trackah123:
Same, sim card not working, temp warning, crashing apps. previous build worked fine.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
And what permission for that file? 644 is correct?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] pmdevita:
Same issue with the new build here, booted and when I finally made it to the lockscreen, RescueParty activated
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
Especially since the benchmarks are mostly manipulated by the smartphone manufacturers anyway. It's just a marketing strategy. But there are still people who believe in Santa Claus. [emoji38]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
I got same result with manually patch the thermal engine. Shutdown during booting for over heat.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sly_North:
Weird, that worked perfectly for dRm42, fagyi and me. On the other hand, my phone wasn't overheating previously.

Could that change be problematic on some particular phones? Old ones, or having apps that constantly use the CPU, causing the heating-up? On the other hand, I haven't tried the last build, given all the negative feedback.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aqua_hopps:
Latest build is fine for me so far.

Got repeated messages of "com.android.phone has stopped working" after first boot, but it went away eventually, not sure what was the cause of it.

Thermal engine is working accordingly but I feel it is more on the aggressive side on keeping the phone cool, phone isn't as smooth while it barely heated and camera lags.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aligh2014:
Yeah :laugh: ....the fact is that stupid benchmark scores are not equal with user experience :rolleyes:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ikarbb:
If you scan those files with any other malware scanner, those scanners will not flag the files as malware or trojans. Microsoft is just weird, and I wish a new third party OS could overtake it. Ubuntu can't run the adobe CS6 suite that I own, so I'm stuck on windows for work.

I have Antimalware Bytes, and it is amazing for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sudoxd:
This is why i am also not running Arch Linux currently, because i can not run Dreamweaver natively.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sgokan03:
I've been running the latest build for like, last 16 hours or so and I have encountered a few more bugs. Some of them are:

Flanky SIM ("SIM added, restart phone?" prompt shows up even though the SIM is installed AND recognized. I can indeed make phone calls even if I don't reboot)

Super often reboots (Maybe it's because auto-rotate was on. I wasn't using anything at landscape but maybe it is. I just turned it off I'll see if it changes anything.)

You can register and use fingerprints for a session, but with the first reboot after that, it's all deleted.

My app switcher is for some reason like the old version. (like, android oreo version)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] i_think_i_am_wrong:
the last one is not a bug. in android p the recents screen depends on the launcher app installed in the system. yiu can go get yourself a lawnchair launcher and install an addon to it called lawnstep. this will make yiur recents screen look like p.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
I get the SIM issue whenever I lose service or airplane mode it, this seems to be the way it is for LOS 15.1/16 and I dont think its necessarily a bug/issue.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Good question. It is possible but depends on my free time and energy for debuging the real problem. Hopefully yes.

On the weekend i will moving to P as daily driver so hopefully i can be figured out faster these issue.

I just figured out, that kernel headers missing from hardware audio side, which hopefully fixes the woofer on my 10. Also missed on 15.1, an earlier working where merged that. Crossed fingers
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Does that mean woofer will work as intended? Not a choice between no woofer and woofer all the time? If so, THAT'S AMAZING! Great job. I'll finally be able to ditch nougat.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Solving this mystery was as complicated as JFK's mystery

If you solve this issue I'll faith in you instead of my God:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
LOL :D

Its not sure of course but the kernel headers its very important for the audio usecase.

Im faced few kernel headers issue when building because im used oreo based kernel which is different a bit compared with P hardware side.

Now its fine backported a neccessary patches, building the last one. I cant wait it when finished because im very tired, but tomorrow testing out after my job of course.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
If working the new patch, yes, after should work the woofer like on N

But im dont guarantee.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] azZA_09:
My fingers will soon explode. Hope it will work!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
No one has really posted any stats.. Can anyone give us some, Fagyi said this should be better on battery than oreo. Would really love to see some battery windows after a whole day or so???

Also big ups to you Fagyi, your a deving monster lol
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] heyChristo:
Call me stupid, but I have done this twice now. There is a bug when flashing greenify from magisk that will throw your phone into a boot loop. I did a complete format and reinstall Last night, and then my dumbass did the same thing again today. I'm not sure how to uninstall a magisk mod or pull a log at that point, but just an fyi to anyone else that might try this.

Edit: All right to make things even more weird, after a factory reset and plugging the phone into the charger, it starts playing this weird haunting alarm music. The only way to shut it off is to reset the phone or mute the device. :confused:. It starts playing again when I plug the phone back in. Not controllable by any volume.

Looks like another format is due.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mikemc2410:
Magisk greenify module

You can uninstall this mod from recovery, just flash the zip. What the module is trying to do is move greenify to priv-app so that may be what is causing the boot loop.

Did the problem occur after a clean install, I didn't have a problem with the module when flashing Lineage 16 over 15.1.

I experienced the same issue with a clean install also had a problem with installing TWRP manager from recovery causing boot loop.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Adelghaenian:
Thanks for creating this rom,

I've tested this rom and i ran into some issues :

It does'nt recognize handsfree or headphones,

Bottom speaker not working(only front speaker working)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aligh2014:
Really ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
That sounds more like a magisk/greenify bug than OS related. If the issue doesn't persist without the add-on mods then it's not ROM/OS related.

---------- Post added at 10:49 AM ---------- Previous post was at 10:46 AM ----------

Holy crap, please research or at least read back a few pages and the KNOWN BUGS before posting the same BS content we already know, this has been discussed to death, this is listed as a known bug.

Either do the work or DON'T comment!

---------- Post added at 10:49 AM ---------- Previous post was at 10:49 AM ----------

Just flash and test yourself, everyone's results will vary. I can tell you that my battery life is exceedingly better on this ROM/OS than N/O flavors.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mrhisme:
Any one get stuck at boot screen and auto reboot to recovery mode :(

When I flash the rom only, my phone start ok. But after flash gapps, it's boot loop to recovery. I've tried different gapps pack (nano, pico, full..)

I tried: restart to TWRP, wipe cache/Davik cache, reboot -Not work

Sorry for bad English
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] djp007s29:
Flash both together, than reboot.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mrhisme:
I did it first but not working :(
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Nightshadowxd:
Sure thing :) It was Stock vs Custom Config v2 (sorry for late answer)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cyborgxxl:
Same Problem here....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aqua_hopps:
Just noticed that I lost SIM on the latest build.

Was running wifi so didn't notice.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] burleanu:
On the last test build I could start the phone but it loose the SIM.

Dirty flashed with clear dalvik cache and cache partition.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Thanks the feedback guys.

Im also noticed the shutdown issue on boot because warm. I just waited one or two minutes with power down, after its booted. I will look at when im finished my job.

Im true, i dont flashed the last build yet. I just see, that los team bringed the volte stack which maybe brake the ril at the moment, but not sure.

Actually i just flashed the new thermal config and use.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
It's no problem. We're just happy you're still developing for our device.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
That's weird, I'm on Verizon and ever since i first flashed this rom.. When i boot up it says there is no SIM inserted. But i just click the back button and it finds the SIM.

---------- Post added at 03:20 PM ---------- Previous post was at 03:13 PM ----------

That probably won't work with our phones in the future either?? The VOLTE i mean.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] burleanu:
Have you try the last build?

5.12 ?

On all the rest is working except the last last.

Plus is already confirmed by others too .....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
I'm sorry i didn't see everyone was talking about the latest uodate.. So no. Two days with no sleep i didn't read the other posts also. My apologies.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GRIDSpawn:
My carrier support volte but when I call or send a text swich back to 3g (Telcel México)

I'm never been able to use volte so I don't have any experience with this

Your screenshot means it is working?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RisingNoob:
Dirty flashed it last night and got no SIM working, tried erasing Dalvik/Art cache and cache. So put up a backup I have previous to the overheating build and gonna stay there until some backup on the new build and have time to format every thing.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dRm42:
Yeah, we've definitely lost a bit of the smoothness. Nothing I couldn't live with, especially considering how much cooler the phone was, but still, we deserve the best :)

Frequency floor changes:

* I have reviewed the most used frequencies with v2 and made my decisions based on those. The new config file only does 2 steps back from max freq initially, and then it gradually gets more and more aggressive if this doesn't help and heat keeps going up. With this approach the phone initially stays at around 87% of the max clock speed, which is to maintain smoothness if the heat is only caused by a small spike, such as a quick but heavy UI load. The next three steps are all of high relative efficiency. In comparison, v2 was aggressive right from the beginning.

Shutdown temperature

* I have no idea if this had anything to do with the recent version's shutdowns, or it was related to the other thermal changes that [MENTION=4453138]fagyi[/MENTION] reverted, or a combination of the two. KTM (Kernel Thermal Management) hands over thermal management to the ThermalEngine at boot, which is when the shutdown happened, so it could have been either or. Perhaps KTM wasn't aggressive enough to maintain a low enough temperature and as soon as it handed over to the ThermalEngine, the sensor was already over 59 degrees, so ThermalEngine shut the phone down...not sure. In any case, I guess we can be more forgiving here. Afterall, we've had close-to-zero thermal monitoring before and we were almost fine...Set this to 75C instead of 59C.

I've tested many variations today but v4 gave me the best results overall: View attachment thermal-engine-perfume-v4.conf.txt

Cheers,

dRm

PS: If you have already downloaded v3, please update to v4. I have found a small mistake in v3 at one of the lower frequencies. It won't cause any harm, but won't help either.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mawdogbe:
Hey guys, bit confused by the last few posts. Is it safe to flash the latest build, or should I stay where I am?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dRm42:
Most of us couldn't even boot it up, some guys could but their SIMs weren't detected. I'd say stay on the previous version.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
My next feature the volte for los/aosp.

I need more work with that but i think i can get it working on the future.

But first, need correcting the thermals for us which is my first priority but i just very busy at this time. Hopefully the weekend i can spend a more time for it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
I wasn't sure, i can't remember if los14, and your los15 had VOLTE working or not? I know i would call ppl that have Verizon smartphones and it would show a "HD" on their picture and it sounded really good. Is HD calling part of volte?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Yes, HD calling is part of volte.

Im sure on 14,15,16 etc not working because we dont get the working blobs and setups for it.

If someone look the hd icon than its just an placebo. On device not correctly enabled/setuped.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Just tried a woofer fix for 8.1 roms posted earlier and it works but it kills microphone i think...at least on whatsapp...

I know motion gestures are device specific and we have lift to check and double tap to check in ambient display options. Is it possibleto get them to work on our device? Some people are saying that we need a pickup sensor, is this true? Because on stock rom we have double tap to wake but it only works if you picked up your device...does this mean that we have a "pickup" sensor? Anyway i thought that this works with gyroscope and accelerometer... Hand wave to chack is also good feature i saw in the earlier version of LOS.:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sudoxd:
Why did you need a woofer fix if the woofer is working?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
The fix is for los 15.1 and other 8.1 roms...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sudoxd:
then go complain about it in the 15.1 thread
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Look man, I don't know what is your problem...i was thinking of will i ignore you or reply you... And I decided to reply, usually i ignore such "fast thinking people"...

The woofer fix is posted in this therad, not in los 15.1 thread, and it is meant to work with all aosp roms based on android 8.1. and i am not complaining, i just reporting what is my experience with it... So calm down, if you don't have something smart and useful to say...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mbwambo:
Help guys what does it mean and how to overcome it every rom doesn't boot up
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Is your twrp up to date? Is your fw oreo?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mbwambo:
Yes my twrp is 3.2.3.0 and fw is oreo
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scutworker:
It says on the screen to reboot after you wiped it. Did you do that?

I recall that last time I did a full wipe of my phone, I had to reboot back into TWRP before it could access the wiped partitions
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
Sorry, I was a bit too fast.

Are you coming from another rom or from any stock FW?

Edit:

Apparently you are not the first one with the problem. Look here maybe you can find the solution in the thread.

https://www.google.de/amp/s/xdaforu...o-mount-devlog-invalid-argument-t3789757/amp/
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
Just reboot (to recovery) and flash the rom again and don't tap "wipe cache/dalvik" button.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sehzade548:
Hey fagyi

When is the new structure ready?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
https://xdaforums.com/showthread.php?p=77823811
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
when the industry is ready
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aligh2014:
Fagyi.exe has stopped working :eek:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nitishkrp:
Is substratum working for anyone???I'm on Dec 2 build
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Background info.

Ril/Sim is fixed. December security updates running well. Im looking the thermal issue now.

Pls dont flash the last build e.g. 05.12. If you do that, then reflash the before version, because of sim etc. Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sehzade548:
so let's download this version 02-12-2018
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Here is a link for you fine fellarz,, Version 2-12-2018.

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

If you flashed newest build and Your getting those sim issues, you can download this an wipe your cache, and dalvic cache and do a dirty flash of this build and should be "A OK!".

Thought I'd just throw this up t
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sehzade548:
Thanks bro
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Xtremepowr:
Just installed this today, everything works fine, +20k antutu score compared to stock oreo, AudioFX is better than BoomSound Dolby Audio sooo all good i guess
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Tirofog:
Just want to check if bluetooth and nfc icons are showing in the status bar for everybody. Bluetooth works ok, haven't tested nfc, but the icons don't show when switched on..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nitishkrp:
Hey, can u pls give me AudioFX link..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KatsAwful:
Bluetooth icon only appears when a device is connected that isn't a constant connected device, like headphones. I have a Pebble and it doesn't show up when my headphones aren't connected. I'm sure NFC is in a similar way, never had the chance to test it since I don't use NFC
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mbwambo:
Thanks alot it works