yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
KCAL or something similar. The video driver has changed a bit, so I need to have a look.

My daily phone is the HTC 10

The magnetic cover option is just to disable the screen on/off function of the magnetic sensor. I add this because I have a table with several phones and sometimes the screens go off an on when I set them on top of one another. I'm not aware of any performance improvement from this.

I'm not sure what exactly makes the red text show up (or not)

The backlight dimmer reduces brightness a little and allows the brightness to go lower. Some people like this for using the phone at night.

You can use it another way too, as the minimum brightness can be set to any value. This is helpful for those who want to keep the brightness from dropping below a certain threshold.

The mod loading hack is fine as long as the prototypes for any functions called by the module do not change. Basically, I don't want to modify the user's system partition at all, just the boot.img.

The CPU boosting is controlled by both kernel and pnpmgr. The cpu-boost driver is present on all qualcomm devices and does a quick boost when you touch the screen This one can be controlled on the CPU Boost options screen in EX Kernel Manager. There is another longer boost applied by pnpmgr. I haven't looked at how pnpmgr interfaces with the kernel on this device.

I will wait for [MENTION=3088420]tbalden[/MENTION] to refine bln and see how it works.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
I have the Tianma screen, but I wouldn't know much about fixing this even if I had the Sharp panel. It would require knowledge of all the screen commands. They are a bunch of hex values and I have no idea what any of them do without documentation. We'll just have to wait for the 1.53 source to be released.

Yes, it crashes. Generally you shouldn't use the other GPU governors, they are legacy code and haven't been updated to work with the latest GPU driver.

Ondemand is also not updated for the big.LITTLE chips, but it seems to work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
I don't know what is and isn't supported yet. The source is Verizon, but it works with my Canadian sim card on Telus/Koodo, which is a 3G/4G (LTE) network similar to AT&T
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
They updated the source to say "Gen Unlocked" as it was actually for the Unlocked Edition and not Verizon-specific. Though I think the Verizon source is probably going to be very similar once the other variants' source are released. But of course HTC takes forever releasing updates to kernel source, so who knows when that will happen.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] osmosizzz:
Anyone having issues with core 1 and 2 stuck at their highest clocked speeds? Ran fine for a few. After a random reboot, cores 1 and 2 are now stuck at their highest clock speed, core 1 has has 100% activity, the phone is noticeable warmer and battery is just tanking
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FearlessAZ:
I made sure to donate a few dollars to help him out. If he needs a tester or anything until you get yours, I can help.

Got my ElementalX! Patiently waiting for Maximus to come to my HTC 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
Why it's not working on my side?

I bought the app yesterday.

I'm on 100% stock with stock kernel.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ba7rani:
Working fine for me also, try to clear data of apps, or re install it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
Did you change your build.prop or something? IIRC, the app checks compatibility with Build.MODEL.equals("HTC_10"). So it should say HTC_10 in your build.prop.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] hamdir:
this is need to be clarified since i have spoken to viper ROM dev about it [MENTION=1792279]ivicask[/MENTION], this is actually what really happens [MENTION=4684315]flar2[/MENTION]

its still pretty bad though....

it's actually triggered by EMMC temp:

- at 35c the migration threshold is put at 80% (the default cap of EX 0.03)

- at 37c at 60%

- at 39c one big core gets the budget to 0% and the other to 100%, effectively killing one of the two big cores

- at 41c all the cores are dropped to 1.3ghz

effectively after 39c your HTC 10 on stock kernel becomes a 3 cores SoC...two small and one big core

EX's min performance cap is actually a hack, it allows the HTC 10 thermal config and pnpmanager from migrating the tasks beyond the set value in EX kernel, so the default 80 means the HTC 10 will not be able to kill the 4th big core and will not be able to set the budget of the big cores under 80%, thermal throttling and everything else like clock and core count caps per white listed apps in pnpmanager remain operational.

still the drop i have noticed in stock vs EX is huge, i am not sure losing one big kryo is enough to do so (i was sure before when i thought it was locking into the two small cores with less cache) so my assumption is that EX' massive performance advantage is the combined result of the governor tweaks, scheduler and migration cap plus the new Qualcomm commits, this is a brand new CPU core after-all, hell even the perceived frame rate of the UX is higher on EX, stock refresh rate feels around 45fps while EX is 60fps

here is how the stock kernel compares with EX in 15 minutes gaming session in DE2, exact same level (saved in a freezer) and gameplay, this game is a good test because its one of the heaviest graphically it needs both the CPU and GPU (ragdoll physics ai etc)

please observe the yellow graph, notice how stock kernel progressively goes downhill even when starting from a much cooler state, while EX is stable and sustainable even from a much hotter start up point (hence underclocked)

Stock 1.30 kernel, session started from 30c ends at 42c (air conditioned ambient)

Stock 1.30 kernel, session started from 35c ends at 45c (hot ambient)

EX 0.03 kernel, session started from 39c! ends at 43c (air conditioned ambient)

as you can see the HTC 10 sustained 15 minutes after 39c in this game thanks to EX
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
Most tasks run on the little cluster, the scheduler makes an evaluation about the load and number of tasks and sends the heaviest tasks to the big cluster. The budget setting increases the threshold for tasks to migrate to the big cluster.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
No, I'm 100% stock now.

The build.prop on the Taiwanese HTC 10 is "HTC_10h"

Don't know why the ro.product.model is different on the TW 10, the mid and hardware is same as international.

You might want to add this into the support list.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] awareunlikeu:
Hey guys, first of all forgive my ignorance on kernel modification. Ive flashed a few in my days and usually went by settings that more experienced users had set and have loved them in the past.. I flashed Elemental last night and set both clusters to on demand and also set it to apply during boot which caused the system to boot loop at next restart.... Im assuming the issue was I set On demand to apply during the boot of the phone and this is why this happened? Anyone have some good solid settings you can share and I can copy to my 10? Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Genetic517:
will it be safe to install a viper update with this kernel running? Still a bit confused on what to back up for my stock kernel just in case something happens during the flash.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
Thanks, all I need to do is add HTC_10h to the app.

Others please let me know if there are other variants (and whether they are compatible with this kernel)

Stay with interactive. Ondemand is not updated for big.little chips.

If you want to tweak, check out the interactive governor threads

When you update Viper it will probably install the stock kernel. Do the update, make sure it works, use EXKM to back up the stock kernel, then install EX.

BTW, I remember you from the HOXL days. People really stick with HTC.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] IronicChloride:
So essentially with EX you're getting equal but sustained performance and less heat, basically everything you could ask for :victory:

Alright, this is starting to make sense. So on stock EX behavior, the scheduler will put normal tasks on little and heavier ones on big, but big can never have more than 80% of the load/tasks/whatever. The scheduler must be pretty conservative though: in my use case, the little cluster has been active 2 hours, while the big cluster has been active less than a minute in the same time frame (according to EX frequency times)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
CPU Times is misleading. Unfortunately on this chipset, the big cluster stats are reset whenever the phone goes into deep sleep.

But generally under normal use, the little cluster is used way more than the big cluster.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Genetic517:
Thanks for the reply and info, [MENTION=4684315]flar2[/MENTION] . I will try that tonight.

Ever since I used the HOXL Ive been hooked to htc. I had the M8 after that and now the 10. And not to kiss ass here but having your kernel and viper made the decision much easier. I'm glad to see you're here working on this phone. I'm excited to try the Viper / Ex combo again. [emoji2]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Mostafa Wael:
Wonder if it is the same on the M9 side...

Anyway, that sort of confirms my early finding, when i switched to Nexus 6P based thermal files, which obviously did not monitor the emmc and other things, it was lightning fast! And therr was no task migration whatsoever! Converting a 1-hour video to mp3 (requires big cores at max freq) have always made the big cores at their max freq and the little cluster was NOT engaged! Browsing also used the big cores so extensively as well! Even though i didn't alter the value of the min_budget while installing EX kernel ;)

So, that means the following i guess...

Stock thermal file that we aren't able to see its contents monitors emmc temperatures that excutes task migration actions based on some thresholds in the thermal file and pnp, right ?

Well, i see the best thing is EX's hack of min budget. On the M9, balanced mode (40% min performance) is ideal. Damn that is smart, but butchering the CPU is sooooo extreme! Thanks [MENTION=1144067]hamdir[/MENTION] [MENTION=1792279]ivicask[/MENTION] [MENTION=4684315]flar2[/MENTION] :good:

---------- Post added at 07:53 PM ---------- Previous post was at 07:48 PM ----------

But isn't this abusing Google's implementation of allocated cpusets? Where each task is directed to one cluster for more efficiency ? With the way HTC is migrating tasks, they are just scaling down to little cores, why don't they just be a bit less aggressive with the task migration and just lower the clocks ?!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xperia x root:
I played a little bit around with ex km today and found out that big cluster is locked to 1824mhz by default, although this doesn't prevent CPU clocking to 2150mhz? I did not played around with freqs. at all as I think its perfect by default, but im wondering how this settings could effect cpu behavoir after all?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Not totally sure, but going to the really gpu heavy parts as well in that game I still have pretty much the same characteristics on stock 1.21 kernel like on the graphs on your ex results till I don't enter zombie infested area (see gpu load, I used Max graphics settings too, there it declined as gpu load raised) . See attached shots.

Have you tried stock 1.21 compared to 1.3x . Maybe it's just that and some slight bonus with budgeting that shows some difference on the ex kernel. I'll try ex maybe later, tho I'm OK with HTC " crippling" as far as chips and Emmc don't fry.

Is there a really heavy game which really shows bigger differences easier?

Edit, tried ex 0.3 and while gpu usage is even more intensive the fps graphs show deterioration/ deviance on my phone. Second batch of the shots. I'll play around a bit more with stock to double check

Edit2: Doh' since flashing EX 0.3 it gives me the red warning in the reboot first splash :( Don't know what changed, but I think I need to revert back to stock ramdisk and install just my zimage so it goes away

Edit3: back on stock 1.21 results while charging added.

Here it shows as well that the gpu usage is much more varied and not maxed out like on ex0.3. It means that it's delivering a much more fluctuating fps rate on stock 1.21, but the temperature stayed bearable for my hands.

Probably somewhere in between this could be fine tuned for gpu.

CPU seems to not interfere too much based on the graphs.

Indeed there's a kind of crippling going on, but that's just the way temperature remains bearable compared to current state of ex.

I'm sure flar will find the golden middle way for gaming.

Or HTC will tune it's thermal manager a bit further in later releases.

We will see
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Quadrider10:
What would be the best GPU gov that you would recommend for balanced performance and battery?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] IronicChloride:
As with most things, the default will probably give you the best balance.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Quadrider10:
That's what I would assume. Why does the default GPU gov stay at 233 but then when u scroll a page it drops to 133?

Also, how wise or beneficial would it be to add another frequency step for the CPU. Like an idle frequency that it can go to when idle or screen off. So instead of the lowest freq being 307, have it at 100mhz or however low it can go while still being stable.

I remember on my htc rezound snuzzo did something like that and it helped stand by time greatly. Idk how much things have changed since then though.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] silv3rkn1ght:
I am not sure what's going on, I just flashed ElementalX on stock 1.53, and now all my google apps stoped working. It keeps crashing.

Guys any ideas ?

Edit : Gives me a message everytime that the app stopped working. It's all related to google apps. Doesn't make any sense. I've been using ElementalX on the Nexus 5 since forever, never had something like that happen.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] wangateur:
Holy crap flars here woo-hoo:) more ex goodness for my 10 yeaa buddy:) love it thanks for all you do flar and keep up the awesomeness:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jayplusone:
Did you try wiping dalvik and cache from TWRP? I know it shouldn't be necessary nowadays but give it a shot. You're right though, that doesn't make any sense.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] silv3rkn1ght:
Deleted ..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] angelo.bautista5:
ElementalX with ViperRom really made a difference in the battery life.. before I'll be getting 14 hours max and 3+hours SOT only.. Now, I've been off charge for 10 hrs and having SOT of 2+ hrs and still on 50% battery!!

Can I say WOW now? LOL
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jayplusone:
Nope. Just wipe cache and dalvik from recovery. It will take a while for all your apps to be optimized again but it's worth a shot.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] silv3rkn1ght:
Well I did wipe cache/dalvik after flashing ElementalX, in the same go, but it gives me an error at the top saying it can't wipe the cache or something like that..

Now I just bought sunshine, and S-OFF my device. It's done already and I wiped.

I would have done it at some point anyway .. Always like to give support to developers, but the price is a little bit steep after having to pay 1000$CAN for the device itself.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jayplusone:
Ouch.. I'm never complaining about US $700 again! :p I will go s-off eventually to avoid any firmware/ROM issues. Hope that squares away the issues. :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] silv3rkn1ght:
Yeah that was 899$ + taxes, was around 1030$. At least they gave me free overnight shipping ... Woohoo the deal of the year I tell you !
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
What?...... here is mine....

ro.product.model=MSM8996 for arm64

ro.product.brand=htc

ro.product.name=pmeuhl_00709

ro.product.device=htc_pmeuhl

ro.product.board=msm8996

I've only installed a Recovery and Xposed... that should not change build.prop would it?

ro.build.sku=hTC Asia TW

ro.build.description=1.30.709.1 8.0_g CL738269 release-k
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
You sure there isn't a ro.product.model further up in build.prop that you missed? It only reads the first one.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] l2icky:
What governors are functional? I believe it's been mentioned that on-demand isn't working with CPU clusters, what about the others available in the EX app?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dandan2980:
Kernel is pretty bad ass just got around to flashing and purchased the EX app only thing is swipe to sleep isn't working for me
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nobnut:
Are you swiping in the correct place? Just above the bottom of the screen.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dandan2980:
Would ya look at that it worked my bad just got back into the rooting game I guess I have to be precise on that swiping
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] hamdir:
[MENTION=4684315]flar2[/MENTION] some rumours are speaking of an update in the works where HTC will deal with the red shift on the Tianma panel, by countering it via color balance....why don't we get ahead of them by introducing color balance in EX again :cowboy:

btw min performance is working perfectly at 60% and the phone is a lot cooler than stock HTC in normal web usage! i hovers around 32c which is amazing

yesterday i also forgot it with Powersaver mode and it achieved 3 hours SOT in the first 50% in 14 hours, i kept using it till i slept without PS mode and i hit the bed with 30% left

go EX! :cool:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
I had a pretty nasty battery drain when idle on both stock and Viper. Then I flashed v0.03 of this kernel and it instantly went away. Phone went down 5% over 6 hours overnight.

ElementalX is clearly doing something better than HTC when it comes to kernels.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] silvercat:
Any way to increase default headphone volume further.. Like support for Faux sound control?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] awareunlikeu:
When I flash EX do I want to keep everything stock as far as CPU goes, or overclocked and then just tweak down to desired level?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] skodann:
Can anyone provide some "recommended" settings?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] awareunlikeu:
I was told to just leave default for best performance . I'm just trying to figure out when flushing do I choose overclock for big and small cluster or stock?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
Interactive is the only governor I recommend

Color control will come, I'm going to look into it on the weekend. It could be a big job, but I don't know yet.

I will do a smaller release tonight with min_budget at 60, support for the home button in Button Mapper app, and a patch to reduce power consumption during video sessions.

Probably, but again I haven't had a chance to even look into it yet.

Set your desired max during installation. Setting the frequency with apps is difficult because pnpmgr and thermal daemon will always change them to something else.

The defaults are recommended
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jayplusone:
Stock from Aroma installer. Flar does a lot of work tweaking the kernel for optimal battery/performance. I wouldn't mess with it too much. :good:

Got ninja'd by the man himself. Crappy indoor reception at work :p
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
For battery life tweaking, I recommend looking at the interactive tweaks described in this thread:

http://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

There is an HTC 10 specific thread too:

http://xdaforums.com/htc-10/themes/root-ghostpepper-inspired-interactive-t3383465
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] IronicChloride:
[MENTION=4684315]flar2[/MENTION] just a quick note, EX manager is reading the max touchboost frequency from the little cores, so the tb on the big ones can't be set above 1592 MHz
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
Yeah, someone let me know already. It will be fixed in the next update, probalby this weekend.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
so can i flash this without s off??i flashed it but didnt see any cpu frequency change
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] hamdir:
I just flashed 1.55.709.5 update and wanted to test the new kernel before going back to EX

Camera is noticeably improved in low light it's no longer over blowing the image, personally I still prefer lesser ISO at the expense of shutter time but I get them, in short it's really improved

Sadly the cripple is still there, I played DE2 60fps locked from 35c to 40c and then it becomes terrible also the UX visibly drops fps when the migration happens

Can't wait to go back to EX, are you uploading it today ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
Yep, I'm S-On.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
weird some reason when i boot after flashing this is wont show any changes
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krassermensch:
[MENTION=4684315]flar2[/MENTION] when Qualcomm announced the snapdragon 820 they talked about two big and two little kryo cores but when I compile for our pme it tells me the second cpu cores are armv7 Cortex a53 cores. That's even another CPU architecture. Do I misunderstand something maybe?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
I know all the cores are Kryo, but I don't know anything about the cm build system. I think you would need a very recent toolchain to build specifically for kryo's instruction set.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
Update!!!

A quick update:

-change default min_budget from 80 to 60

-improve power consumption during video

-add support for home button in apps

One such app is Button Mapper, which I haven't released officially yet, but you can try the beta:

http://xdaforums.com/android/apps-games/app-button-mapper-customize-hardware-t3361340

With Button Mapper, you can reprogram your buttons to do basically whatever you want.

Download

ElementalX-HTC10-0.04-Sense

Changes:

-change default min_budget from 80 to 60

-improve power consumption during video

-add support for home button in apps
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tcnineteen:
Hi [MENTION=4684315]flar2[/MENTION], I found a small problem today. I have baadnewz's ICE ROM, and I dirty flashed the lastest SVN and xposed, rebooted into recovery via APM, installed your 0.03 kernel, rebooted into system, it was all OK. But when I tried to reboot into recovery via APM again, it just rebooted into system. "adb reboot recovery" didn't work as well. Could you take a look when you're available?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
This happens if you disable fsync. Nothing I can do about it, just leave fsync enabled, it's better anyway.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tcnineteen:
Roger that, thanks!