yashsingh1/xdaforums huggingface dataset:
[One (M9) Original Android Development] Dredead:
Is anyone using EX Kernel with Viper 6.10? What settings have you had the best luck with in counteracting the insane battery drain?
[One (M9) Original Android Development] MC_Ohr:
Is it just me or does the ex kernel manager crash for someone else on activating hexacore mode?

Gesendet von meinem HTC One M9 mit Tapatalk
[One (M9) Original Android Development] dsg2003:
I can not confirm..... Works fine by me.
[One (M9) Original Android Development] flar2:
I will check it
[One (M9) Original Android Development] MC_Ohr:
Thank you for fixing. Now the app does not crash anymore. But unfortunately hexacore mode does not work for me. I selected it in aroma and it is deactivated. When I try to activate via app nothing changes. Does it depend on magisk? I'm using version 12

Gesendet von meinem HTC One M9 mit Tapatalk
[One (M9) Original Android Development] flar2:
I don't know. Its like swimming against the current to make it stick, not recommend It doesn't make any difference to battery anyway.
[One (M9) Original Android Development] adgadg15:
Hi [MENTION=4684315]flar2[/MENTION]

Are you considering to make a kernel for los on the m9?
[One (M9) Original Android Development] flar2:
No, on HTC devices I only make kernels for Sense.
[One (M9) Original Android Development] PonczekPL:
I have a question. Can I someway force this kernel to make A57 cores stay ALWAYS online? I would like to use them as main ones and A53 as secondary. I couldn't find a way to do that on stock kernel. Even with high performance mode it still turns A57 cores to sleep.

Thanks in advance
[One (M9) Original Android Development] flar2:
Unfortunately this chip heats up too quickly. They are turning off to prevent overheating.
[One (M9) Original Android Development] PonczekPL:
Hey

Thanks for the answer but they're also sleeping when phone is idle and cold. They only comes online for some time when I restart the phone. I guess apps I use are too simple to trigger bigger cores come online but I still would like to use them. I don't play games so they can't overheat. Just using simple apps and desktop. I just would like to use them instead of slower ones so my apps could start faster. I don't need battery life.

Edit Well I'm not sure how to check it. I'm checking it by quitting app and running Aida64 to check CPU cores but if SoC responds quickly then I won't ever see A57 as Aida is simple app

Edit 2 Okay I ran simple system monitor and checked usage after phone restart. With my daily usage A57 cores are mostly sitting with 0% usage with spikes to 20% when Im browsing so it's looks like system turns them off after long inactivity. Maybe governor change could do something here but as I can't root the phone (warranty) I can only guess.
[One (M9) Original Android Development] darretje:
You can change threshold up and down in the elementalx app. Just play without until you find your settings. I have for the little cores; up 25 down 20 and offline delay 200. For the big cores i have; up 30 down 20 offline delay 100.
[One (M9) Original Android Development] piterdemon:
Can you share screenshot with your settings? Thanks

Wysłane z mojego HTC One M9 przy użyciu Tapatalka
[One (M9) Original Android Development] SafiXS:
I'm sure you mean performance mode in developer options in phone settings?

I'm pretty sure it will activate all cores and keep em up

Gesendet von meinem HTC One M9 mit Tapatalk
[One (M9) Original Android Development] PonczekPL:
[MENTION=4282897]SafiXS[/MENTION] To be honest High Performance mode is the cause of these bugs. If you try to turn on this mode on android 7.0 with newest firmware then after your screen will turn off A57 cores will be sleeping until you turn this mode off. It's look like some bug in the firmware. You can check it with some simple apps like AIDA64.
[One (M9) Original Android Development] Spyrious:
I cant flash the kernel on latest venom rom.Installer starts,when i press next it just stays there and any other button i press is highlighted to.Only way back is by using the + - and power buttons.

Update : I solved it by updating TWRP.
[One (M9) Original Android Development] shaqman89:
[MENTION=4684315]flar2[/MENTION]

Would it be possible to have Energy Aware Scheduling also in our phone using your kernel?

It was ported on z5 (810 soc, also): https://xdaforums.com/z5-premium/general/announcement-energy-aware-scheduling-t3620897

Thanks
[One (M9) Original Android Development] kbal:
I'm looking for a Android 6 rom that would be the "best" for this kernel? Something slim that still has a working download link.
[One (M9) Original Android Development] PonczekPL:
Stock
[One (M9) Original Android Development] k3lcior:
Just flashed this over stock kernel in [MENTION=4445238]Golv[/MENTION] Leedroid HTC10 port, i underclocked little core to 1.3Ghz, big core to 1.5Ghz and GPU to 510Mhz, changed scheduler to fiops..

This heavily underclocked aand ntutu score went from 76k on stock to 82k ... this SoC should have appeareance in X-Files. :good: I know antutu means "nothing" but still..
[One (M9) Original Android Development] Wolf_vx:
Curious question here.

Dev stated that there will be no Aosp version. I wonder just how much of a difference is there between Sense and Aosp versions between underlying calls from os and kernel? There are plenty of infos stating that you can use this kernel with LineageOS. Wouldn't that mean that all of the required functions are implemented?
[One (M9) Original Android Development] donmarkoni:
Well then, you shouldn't "waste" money on octa-core phone in the first place. ;)

But seriously, I would like my phone to use 8 cores to the full potential. I find use for it. Also, I don't mind my CPU going over 70-75℃. My M8 did and it's still working happily. I want my phone to be powerhouse, as someone said, that's why I paid so much for octa-core phone.

But, that's just my opinion, as you stated yours.

No offence meant mate. Just saying... :)
[One (M9) Original Android Development] flar2:
They could be hotplugged, but it would be inefficient. Hotplugging introduces too much latency and would remove all benefit of having the big cluster. That's why there is no hotplugging with big.LITTLE SOCs.

I don't think it's even worth hotplugging within the little cluster. I think hotplugging is over, even the Nexus six runs with all cores online all the time.
[One (M9) Original Android Development] Johnny424:
I could agree more. When the n6 did away with hotplug I assumed the battery would go down. But the battery life was just as good and the performance to me already was so much better.
[One (M9) Original Android Development] SafiXS:
I totally agree with you. I'm sure there are much other things who can save battery.

Question: For these people who only want hexacore, is it not so easy to disable two cores by an app?
[One (M9) Original Android Development] Whiskey103:
There are a bunch of apps out there that can manage this.

Perhaps flar2 will/can build it in his app too at some point.
[One (M9) Original Android Development] DeadPotato:
Should I disable some specific cores from the second cluster, or is any is good to go?

And [MENTION=4684315]flar2[/MENTION] if hot plug is not an option, how about reducing minimum frequency when idle? Wouldn't that be more power friendly and still make them available when needed? A more agressive scaling governor would be required for the second cluster though
[One (M9) Original Android Development] Quadrider10:
i would still like 2 cores disabled by default, maybe an aroma option. :D

So hot plugging the small cluster would be pointless?
[One (M9) Original Android Development] flar2:
Wouldn't need a different governor, any gov would ramp up to the necessary frequency.

According to CAF log, there is a problem with this soc, the min freq is supposed to be 384. I tried to lower the freq but it didn't boot.
[One (M9) Original Android Development] timsah:
I had the CPU Governer set to "powersave" mode, i had heavy lagging. Anyone else also experimenting the same?
[One (M9) Original Android Development] SafiXS:
Really? ? Crazy Things Happen...

Powersave gov is hold the minimum frequency of CPU all time. Really no good choice. Use interactive
[One (M9) Original Android Development] avs333:
First, thanks == great work!

I've been messing with that, I'd say an hour already.

Are you sure with their device tree? Looks like someone at htc forgot to, say sensors&? Did you succeed in this direction maybe?
[One (M9) Original Android Development] DeadPotato:
Dang! I never expected seeing these things on a Qualcomm processor, maybe I was so innocent and pure :p I'm running out of ideas on how to improve battery life here, I guess I'll turn off 2 cores, are any of the second cluster good to go or should I disable specific ones?

I heard some rumors that HTC was working to improve PnP with the 5.1 update, I really hope this is one of the things they're covering. Besides is there a way to disable pnpmngr from HTC to use custom settings from your app? It keeps rewriting the values :confused:
[One (M9) Original Android Development] timsah:
I was using the same option on M8 without lags.. ;)
[One (M9) Original Android Development] ivicask:
adb shell stop pnpmgr

adb shell start pnpmgr

Or you got option inside Venom Tweaks to disable it, but as it was mentioned many times its not recommended to disable it because its manages lots of stuff not just CPU.. (GPU, WIFI, Read-ahead values, thermals, schedulers, governors..)
[One (M9) Original Android Development] flar2:
Powersave governor should never be used.

What do you mean?

Never disable pnpmgr. Its better with it enabled. I have some tweaks coming in my app that will allow you to start tuning. I just have to find the time to do it.
[One (M9) Original Android Development] avs333:
I mean the set of *.dts files is incomplete compared to their stock builds.

These give a dts part twice as larger than the one you get with their sources.

It's +not+ entirely good.
[One (M9) Original Android Development] flar2:
HTC always plays tricks with the source code

I've been packing the boot.img with the generated dt image and it seems to work fine.

Maybe there are other hardware variations out there.
[One (M9) Original Android Development] avs333:
Yeah. It seems working in any case. But, I'd rather take their original dt.img in the releases as we're not sure of any missing entries (4.3 vs 2.8 Mb)? Of course it's up to you to decide. The kernel is fantastic anyway, good luck, sincerely!
[One (M9) Original Android Development] aer0zer0:
its probably already been answered, but do you plan on any verizon support?
[One (M9) Original Android Development] Quadrider10:
Hmm, it seems that nothing is sticking after reboot on v1.

EDIT: NVM, i had the app greenified by accident.
[One (M9) Original Android Development] shpitz461:
I'm having an issue with a magnetic car holder:

I am running LeeDroid r72 which is an HTC 10 port by Golv, andoird 7.0.0 July patch.

I've flashed EX 5.0 kernel and selected 'disable magnetic sensor' in aroma.

When i place the phone on the magnetic car holder, it still reacts to the magnet, many times when I remove the phone from the holder it will freeze and i'm not even able to turn the screen on. Sometimes the phone will be very sluggish and music will play very choppy.

Is anyone experiencing the same issue? Flar, any ideas how to tackle this? Drives me nuts...
[One (M9) Original Android Development] :
1:- Can someone explain what do the different I/O schedule modes mean ? Which is the stock one ?

.

2:- If i choose the cpu governor as STOCK then will there be the default governor in my custom rom or will there be the governor of stock htc firmware ???
[One (M9) Original Android Development] shpitz461:
Plenty of threads that explain the governors, just use search
[One (M9) Original Android Development] shpitz461:
[MENTION=298610]Flar[/MENTION], can you take a look at the magnetic sensor disable feature? It appears the sensor is still active, even if I uninstall HTC Dot View.

I'm running latest LeeDroid r73 Nougat 7.0 with EX 5.0 kernel.

Thanks!
[One (M9) Original Android Development] flar2:
Okay, I'll take a look.
[One (M9) Original Android Development] shpitz461:
Awesome, if I can provide you with any files please let me know.

What happens is the phone freezes, i.e. everything pauses, can't turn on screen, touch is disabled, nothing. I have to put the phone back on the magnetic car holder for it to resume functionality.

And sometimes I remove the phone from the magnetic holder and it works fine for that moment, but then when I try to turn the phone back on after a while it is non-responsive, so either I force-boot it, or put it back in the car and all is well again, very odd...
[One (M9) Original Android Development] flar2:
I don't think any of that is related to the kernel, sounds like system or app problems.

I tested the the disable magnetic sensor option on mine, running EX 5.00 on stock Sense Android 7.0 with a dotview case. Using EX Kernel Manager to change the option. It worked properly, I toggled between enabled and disabled a few times and the sensor was correctly enabled or disabled each time.
[One (M9) Original Android Development] shpitz461:
Oh, i only selected the disable sensor option in Aroma when flashing kernel. Do I also need to toggle it using the manager?

Could you also test on LeeDroid? I've never tried on a stock rom.
[One (M9) Original Android Development] flar2:
It won't make any difference which rom, it's handled in the kernel. EXKM is just an easy way to verify or change the setting.
[One (M9) Original Android Development] shpitz461:
Oh I see.

What I'm doing every time is flash the rom dirty (with clearing dalvik), then flash EX5, then reboot. Is that the proper way to do it?
[One (M9) Original Android Development] shpitz461:
Gotcha!

I tested again this morning, when I put the phone on the magnetic car holder it froze again when I removed it. Had to place it back on the holder for it to be functional again.

Any ideas how to troubleshoot this? Is there a way to log which processes are running that are using CPU when the phone is placed on the holder?

If it works fine for you on stock and it goes crazy on mine with LeeDroid then it must be rom-related don't you agree?

I uninstalled HTC Dot View before I rebooted after flashing, directly from priv-app folder.
[One (M9) Original Android Development] flar2:
I don't really know if your issue is related to the magnetic sensor. It seems to be something else.
[One (M9) Original Android Development] shpitz461:
Good point. Next time i'm in the car I'll run the sensors test app and see which sensor is triggered and report back.

Thanks flar!
[One (M9) Original Android Development] shpitz461:
So I played with the holder in the car a little more, this time I turned off Dot Matrix in the app's settings and it's been a little better, but still, phone would freeze when I play with phone placement on the holder.

Maybe i'm confusing disabling the magnetic cover option in the kernel vs magnetic sensor.

I'll try and see if [MENTION=4445238]Golv[/MENTION] can help me out in the LeeDroid thread.

Thanks [MENTION=298610]Flar[/MENTION] for the attention!
[One (M9) Original Android Development] grabensan:
I am always stuck on hexacore mode.

I reset the app wiped dalvik and reinstalled the kernal but the other cores never appear.

Anything I can do?
[One (M9) Original Android Development] flar2:
Could be thermal protection
[One (M9) Original Android Development] grabensan:
So just let it cool down? Can I do anything or will it just fix itself?
[One (M9) Original Android Development] PonczekPL:
High performance mode is still bugged in newest firmware. A57 cores are sleeping after screen goes off and won't turn back online until I disable this mode. Only workaround is now to enable hp mode when using some heavy apps and do not turn off screen until work is done. This also happens on the launcher without any apps launched so it's definitely not a thermal issue as phone is also cold. It looks like it's stock kernel issue. My warranty will finally expire in 4 months so I can test your kernel and I think it will work properly.
[One (M9) Original Android Development] jab5555:
Works well on nougat had no problems at all, thank you for your work
[One (M9) Original Android Development] Zippy3435:
Non Sense based kernal?

[MENTION=4684315]flar2[/MENTION] I was wondering if you do any work with CM/Slimnougat? I have the Slimrom and noticed that the kernel provided is not taking advantage of the fast-charging. Also would be nice to have the extra tweaks that you cooked up.
[One (M9) Original Android Development] dying4004:
how to restore stock kernel?

with this kernel when i put my phone to a magnetic car holder phone becomes unusable. need to force restart.
[One (M9) Original Android Development] shpitz461:
This happens to me as well. To 'unlock' I put it back on the magnetic hold and it is working fine after that, without rebooting.
[One (M9) Original Android Development] takota6:
Stock kernel =either flash stock rom or extract and flash,.Or I use https://play.google.com/store/apps/details?id=eu.chainfire.flash to backup my current kernel etc...
[One (M9) Original Android Development] pi4a7a:
Can I use this kernel with LOS 14.1 ?
[One (M9) Original Android Development] shaqman89:
According to OP, this is only available for sense ROM.

You may try it with your own risk though.
[One (M9) Original Android Development] pi4a7a:
Can you recommend me one for LOS 14.1 ?
[One (M9) Original Android Development] shaqman89:
Unfortunately not. I don't really use LOS for the moment.
[One (M9) Original Android Development] lucyr03:
AFAIK doesn't exists any custom kernel for aosp roms, especially nougat.
[One (M9) Original Android Development] maciclazar:
Hello everyone! I'm new owner of htc m9.

I've flashed this kernel on LeeDroid rom and so far it is great but is there option to undervolt? On elementalX for htc m7 there is undervolt option in aroma during installation, but on m9 there is none. Also will battery life increase if I switch to hexacore mode?
[One (M9) Original Android Development] lucyr03:
No, you can't undervolt M9.

Hexacore seems to do nothing in battery for me, just disable 2 big cores but battery life is the same..
[One (M9) Original Android Development] Donnie267:
Link says page unavailable
[One (M9) Original Android Development] pi4a7a:
Refresh the page couple of times.
[One (M9) Original Android Development] yyj123hehe:
can u update kernel for sun dream's rom I want2 use but it not support that thx
[One (M9) Original Android Development] DeeZZ_NuuZZ:
No need to update, just flash it. The ROM uses the nougat kernel source, so everything will be fine if you flash it
[One (M9) Original Android Development] yyj123hehe:
ok thx
[One (M9) Original Android Development] kunalxda:
Hi Dev please add the latest dts commits in the kernel by [MENTION=6881234]Lazerlord[/MENTION] https://github.com/lazerl0rd/dts_project
[One (M9) Original Android Development] RisingNoob:
Is this Kernel better than use M9 with Oreo ROM?
[One (M9) Original Android Development] gregsarg:
This kernel adds many features to a sense rom that the stock kernel does not contain.

In that respect then I would say yes, this kernel being added to a sense rom is "better " than stock.

Of course, this is my opinion. And you may disagree.

Flash it and test for yourself, then you'll know for sure....g
[One (M9) Original Android Development] shaqman89:
I believe he meant stock rom is the included one in Oreo.

Afaik, there are no stock (sense) Oreo.

In that sense, it's hard to tell which is better absolutely since there are system changes in the ROM that might affect the perceived performance.
[One (M9) Original Android Development] bipufirst:
hi all experts,

can i use this karnel on android pie?

htc m9 ( lineage os -16)
[One (M9) Original Android Development] shaqman89:
No. This kernel is only for sense based rom.
[One (M9) Original Android Development] bipufirst:
Please suggest me which karnel i can use on lineage os 16.

thanks.
[One (M9) Original Android Development] shaqman89:
Currently we don't have custom kernel for custom ROMs. Just use the current stock one for now.

Remember also that LOS 16 is still currently in beta.
[One (M9) Original Android Development] hafifzein:
Thank you for your good job

Can I install this kernel on Verizon version?
[One (M9) Original Android Development] MattP410:
Hello OP. I'm running a stock ROM on my rooted One M9. I just downloaded EX Kernel Manager, and I noticed the ElementalX tap, which tells me I can download and install the latest kernel. Is this something I can do, since everything on my phone is stock. Pardon the noob question, and thanks for any replies!
[One (M9) Original Android Development] flar2:
You can download the kernel in the app. You will need TWRP recovery to flash it.
[One (M9) Original Android Development] MattP410:
Great! I flashed it, and I can already tell a difference! Absolutely awsome! Thank you so much!

---------- Post added at 06:49 PM ---------- Previous post was at 06:36 PM ----------

If I could ask one more question....would using the ElementalX governor give me better performance and better battery life, as opposed to interactive? Or is it geared more towards one, than the other?
[One (M9) Original Android Development] flar2:
It's' up to you. Try one for a few days then the other.
[One (M9) Original Android Development] MattP410:
Gotcha! Just depends on preference. I really appreciate you responding to my questions!
[One (M9) Original Android Development] horlamedyy:
Pls can anyone provide me with a link to download steam rom latest for htc m9
[One (M9) Original Android Development] MattP410:
Did you have a problem with the battery after flashing the ElementalX kernel with the LeeDroid ROM? It starting draining mine faster than I've ever seen.
[One (M9) Original Android Development] maciclazar:
Sorry, I do not remember as I do not have m9 anymore. I suggest that you clean flash your rom and check battery life then after a few days flash elementalx kernel and compare if battery is draining faster. If it still drains too fast it might be an old battery that needs replacement.
[One (M9) Original Android Development] MattP410:
Cool! Thanks for the reply!
[One (M9) Original Android Development] flar2:
Could be a firmware mismatch too.
[One (M9) Original Android Development] bipufirst:
flar2,

Thanks again for adding ElementalX kernel to acip-14 build for htc one m9.

please share best kernel profile for best SoT.

Thanks in advance.
[One (M9) Original Android Development] terminator1983:
What setting should use on stock dedoxed firmware for good battery life
[One (M9) Original Android Development] Lavanoid:
I don't have enough posts to be able to create a thread in the development section of this forum, so I'll just make a request. If anybody wants to make a development post regarding my recent project "Kali Nethunter for the One M9", that would be cool. I've ported Nethunter for the One M7 Google Play Edition ROM, One M8 Google Play Edition ROM and now I've done it for the One M9 stock Sense Nougat ROM after owning an M9 for a few weeks.

Link to my Git repo: https://github.com/lavanoid/M9Sense_Kali

It is based off of ElementalX 5.00 for the M9, so whatever devices ElementalX works on this will too. More info can be found on the Github repo, as well as releases.

TY.
[One (M9) Original Android Development] leorock33:
Best score antutu v8?
[One (M9) Original Android Development] Xdavenezuela:
Se que mi pregunta no tiene que ver con el tema pero cómo hago para arreglar mi HTC ONE M9, que solo me agarra 2G?
[One (M9) Original Android Development] 123421342:
Just to make sure, is anyone running this with Viper rom 1.8.0? I have the t-mobile variant.
[One (M9) Original Android Development] kimthuesen:
Yes i am without problems, cpu gets a Little hot but cant see any different on battery drain, i am on international version.
[One (M9) Original Android Development] Hemotherapy:
Is this still international only?
[One (M9) Original Android Development] BUBBA DUB'S:
I'm on sprint bad boyz ROM and running kernel with no issues