yashsingh1/xdaforums huggingface dataset:
[One (M9) Android Development] Mostafa Wael:
OK, a quick changelog:

Updated Optimised to v2, although I lefted it as an option beside the elder optimized and not instead of it. This file has the following

1- Edited Task migration actions for better efficiency and more friendly thermal wise while still keeping the snappy performance

2- Ditched hotplug completely and using lower freqs instead, since hotplugging the little cluster may cause some crazy lags in some apps like HTC's default Camera app. Also the difference is not as huge as I have imagined, and with using task migration and lower clocks, you get the same temps or maybe even cooler, but with snappier and smoother performance. Using lower core count for the little cluster can cause some UI regressions.

3- a slightly more GPU throttling for cooler thermals in some apps, do not worry the GPU will still remain unleashed :)

A more detailed changelog will come later should there be something missing :angel:
[One (M9) Android Development] DisruptiveMind:
Damn.

One hour of screen on time 20 minutes browsing and 40 minutes gaming playing Deadmans Cross and barely made it to 40.0c and rapid cooling down! Just typing this after coming off Deadmen and already down to 37.5c. Thank you so much!

How can I get you a drink on me for your hard work?
[One (M9) Android Development] Mostafa Wael:
Well perhaps soon I will have my debit card or whatever. It is my hobby :)

Anyways, we are testing something brand new, Kudos to [MENTION=4388232]ZeroInfinity[/MENTION] :good:

Hope we can achieve proper L.b utilisation with it :fingers-crossed:

Thanks for the kind words :)
[One (M9) Android Development] Rhadamanthis:
Mostafa Wael after two day with v2 thermal config, i have force close when i open big app (i think), snapseed, tapatalk , fx editor....

revert to v1
[One (M9) Android Development] DisruptiveMind:
I've just downloaded and used the above apps without a problem BUT I also understand.

I have a weird arse phone that gets pleasure for force closing apps. I have tried Everything even returning my phone to full stock without any joy! Will be interested to see if your problems persist on v1 if for no other reason than to prove its not just my phone being a demonic sentient being!

Of course there is permissions and Data/Cache clearing and a prayer that somehow it will all be okay in the end.
[One (M9) Android Development] sksal169:
Currently on cm13 and using v2 since the moment it got released and i have seen zero force closes on any big app and the above mentioned must be a flash issue try clearing your cache partitions and then try flashing it again and clearing the cache partitions after flashing it again hope it fixes it...
[One (M9) Android Development] DisruptiveMind:
I've been flashing phones since the G1 the OG of mobiles and its Death/Danger SPL!

I've cleaned, twitched, tweaked, twiddled, full partition rebuilds and fsck checked, formatted, rm-rf, kicked, sworn, beaten walls and have finally come to the conclusion... That's just my phones little technological glitch. Every phone has them and we learn to deal and live with. For me I've found versions of apps that work and no updating it or just find something to replace it. One day it will all just fall into place eventually its why we root our phones and why we get bored and start all over again.
[One (M9) Android Development] Rhadamanthis:
with v1, work all ;) , with v2, when i open app that i write, fc, error
[One (M9) Android Development] DisruptiveMind:
Welcome to your phones very own little glitch :D
[One (M9) Android Development] Mostafa Wael:
That is very weird...

My thermal files do not touch any app-dependent algorithms or anything like that to cause "force closes".

As you can see from the name, it is "thermal file", meaning that it changes max frequencies, cluster's budget and previously hotplugging cores depending on thermal thresholds where each temperature reading triggers certain actions to be executed. It does not touch anything deeper than that,.. so try a ROM reflash or a dalvik wipe, maybe re-install the apps and I wish you good luck :)
[One (M9) Android Development] Rhadamanthis:
try a wipe dalvick cache and cache, flashed v2, wipe cache and dalvick, i test :fingers-crossed:
[One (M9) Android Development] Rhadamanthis:
Still fixed, recommended dalvik and cache wipe after flash thermal config mod ;) thanks

Inviato dal mio HTC One M9
[One (M9) Android Development] Roobwz:
You'll be missed man [emoji1]

Skickat från min HTC One M9 via Tapatalk
[One (M9) Android Development] Mostafa Wael:
well I will always be supporting the project, though I won't be of much help when it comes to testing something myself since the device won't be in my hands ;)

but thanks to my great colleagues [MENTION=4388232]ZeroInfinity[/MENTION] [MENTION=4645599]DeeZZ_NuuZZ[/MENTION] they will report any issues as soon as they detect anything fishy ;)

And even the broader audience here as well, I am not worried about that part, and as far as this thread is not tagged EOL, I will be still there supporting :)

As Clark Kent says, "I am always around" :) (though I do not like him that much actually, the Dark Knight FTW :cowboy: :p )
[One (M9) Android Development] 1riddim:
Thanks to you my phone is nice and cool, way better than when i first got it. It used to be always at least warm if not hot. Nowadays with your mod my phone has moments when the metal feels cold, which is amazing compared to my first impression. The overall experience is way better now. Thank you Mostafa and I'm really looking forward to the new updates, should you have the time and will to do them. thanks for making my m9 amazing, as it should be.
[One (M9) Android Development] BLEK0TA:
Hi mostafa, i can't find into your Dropbox that normal file for digital sound procesor mode, as you wrote few posts ago..

And there is something for you

https://youtu.be/ujwm8YrEgI4
[One (M9) Android Development] Mostafa Wael:
It is still WIP and to be in the know, it is the hardest one to make :/

However, I am almost done with the stable and the gaming one, in fact, I made a very good 'mid ground' preset :good:

Will check out the video when I am home :)

Thanks :D
[One (M9) Android Development] Mostafa Wael:
Ohh thanks for that sweet video, well remember I won't be 'away' but there won't be updates that i test myself beforehand ????

Hell maybe I can make some updates even if I am on the OP3, tho they will need more time to make since i won't make the testing myself :)

And of course i am always here if anyone faced anything weird, providing fixes and stuff like I always do :D

I hope we meet in other devices forums some time afterwards, always nice to see members from my legacy devices like Roobwz haha
[One (M9) Android Development] DocLem:
I'm using EX Kernel Manager, have a couple questions (I'm on ViperM9 4.3.0):

1. My present settings have pnpmgr enabled, core_control enabled, while msm_thermal is disabled. Are my settings correct?

2. My CPU governor is elementalX. Should that matter?

Thanks!
[One (M9) Android Development] 1riddim:
I think that's the default state. It is for me at least. It runs perfectly fine. Almost 6 hrs SOT regularly and cool temps.
[One (M9) Android Development] Mostafa Wael:
a beta test is incoming

I have beaten myself here and I think I produced a very nice all-rounder preset, more optimized for YouTube streaming for better efficiency and thermals, browsing benefits from those changes as well, some games like Marvel Future Fight will be much smoother and up till now works with my 3rd party sound add-ons (Dolby Atmos and Am3d Zirene, Viper4Android is untested)

and probably some other improvements I may not be aware of in other apps like snapchat or Instagram maybe, I do not use those.

finalizing the profile now, it is in the "Release Candidate (RC)" stage, I hope all goes well
[One (M9) Android Development] Mostafa Wael:
Okay latest update: no OnePlus 3 on the way. I am here to stay. I will always be here, I won't go away :)

Hope this ryhmed well ????
[One (M9) Android Development] 1riddim:
I think i can speak for all when i say thank you for your efforts!
[One (M9) Android Development] shadowxaero:
Thanks, great and necessary to keep this 810 in check.

Pokemon Go still finds a way to melt my phone even with the cooler present however v.v.
[One (M9) Android Development] DeeZZ_NuuZZ:
1. Yes everything correct

2. Go with interactive. It works better than elementalx, for big cores you can keep it, but little cores should use interactive
[One (M9) Android Development] ZeroInfinity:
I wouldn't play Pokemon Go on this phone ever, especially in the summer hahaha, unless you want your phone to explode ;)

Even on my secondary device Huawei Honor 5X, battery can go up to 43-45C after an hour of playing (And that phone is even using a S615 processor! Now, imagine what that would do to the S810!)

The constant GPS lock is what heats up the phone a lot, when I played Ingress (The precursor game before Pokemon Go) the same heat problem happened. If you really want to play Pokemon Go with decent thermals, I suggest you switch locations to battery saving mode and see if that helps.
[One (M9) Android Development] Mostafa Wael:
I hope the next no-pnp setup nails it. I toned down the A53 cores a lot and the A57 cores are a bit more conservative while ramping up, so you won't get that issue where the phone is aggressively using the top frequencies (stuck at 1958 MHz in group messenger talks for instance) ;)

the problem is not only the GPS lock, it is the fact that the interior design of the SoC is flawed and the use of any modules like the network module (4G or 3G) or the GPS module heats up the device. I for instance ran a sustained cpu load test where it converts a whole 1-hour podcast video to mp3 file and it barely topped the 40c mark, while on the other side, playing Marvel Future Fight with netowork (which is not as cpu-intensive as my sustained cpu load) it gave same thermals. so that indicates that it is the interior design which is flawed :(

but we are trying our best. I made a profile that checks almost all the boxes now. Works amazing with Dolby Atmos add-on, heat production is lower than the other thermal configs and can make things so much smoother in games like Marvel Future Fight (this games has never been such smooth actually)

now some common bugs:

1-gamebench enormously increases the cpu usage to the point that it can run the A57 cores at max frequency straight, which may probably melt your phone! lol

2- browsing facebook via chrome is a bit warmer than your taste, as the facebook ****ty site just keeps loading stuff when you touch the screen almost, so the A57 cores are always active, albeit on the low freqs (it was hard to tame it really) and that was the best I can do.

3- Gaming of some hard core games are not that tested, so I need gamers here to test. Marvel Future Fight is fine here, sorry guys but I am not that kind of a gamer :o maybe my bro will tell me :)

and last but not the least, I never believe in miracles these days, but it happened. I woke up yesterday opening my phone to find my Dad has ordered a OnePlus 3 with a Cash On Delivery payment as well, and that came out of nowhere. So in a matter of days I will have a OnePlus 3 in my hands, unless another miracle happens and changes that as well lol haha

as usual I will be always around, and with the M9 in the hands of my brother, you should benefit from that actually as he is a hell of a gamer. His Xperia Z2 is full of games actually so that should make gaming more tested and safe :)

P.S. I have defeated myself and made an all-rounder one profile, perhaps another battery saving one may come in the future but the current one gives very decent battery life actually. So I made a profile that works with external DSPs like [MENTION=5357345]ahrion[/MENTION] LeMax2 Dolby add-on, which is brilliant when combined with [MENTION=4388232]ZeroInfinity[/MENTION] mod. That profile also gives decent battery life (4 hrs SOT over 1.5 days and 4.5 hrs SOT over 18 hrs with some Marvel Future Fight gaming of 20-25 minutes) and is a good performer. Notice that all the disadvantages of turning off pnpmgr applies here, check them in the first page ;) but they are no biggies believe me :)
[One (M9) Android Development] acidspider:
Is this file uploaded yet?
[One (M9) Android Development] Mostafa Wael:
it will be in a few minutes :D

EDIT: here you are guys....

https://www.dropbox.com/s/jcd14d14r2xi27v/Stable_edit_v1.6_RC2?dl=0

instructions:

1- copy that file to /sdcard/Elementalx/gov_profiles

2- open up Ex Kernel Manager

3- go to CPU tab -> governor options -> load

4- select Stable_edit_v1.6_RC2

5- Profit! :)

for those who do not use EX Kernel Manager app, here are the settings to be applied manually

LITTLE Cluster (A53 cores)

go_hispeed_load: 75

above_hispeed_delay: 30000 60000:30000 672000:50000 768000:45000 864000:30000

timer_rate: 20000

hispeed_freq: 384000

timer_slack: -1

target_loads: 75 460800:69 60000:80 672000:79 768000:85 864000:81 960000:90 1248000:69 1344000:82 1478400:86

min_sample_time: 60000

boost: 0

align_windows: 0

use_migration_notif: 1

use_sched_load: 0

max_freq_hysteresis: 0

boostpulse_duration: 0

BIG Cluster (A57 cores)

go_hispeed_load: 72

above_hispeed_delay: 30000 960000:20000

timer_rate: 40000

hispeed_freq: 768000

timer_slack: 80000

target_loads: 84 864000:85 1248000:90

min_sample_time: 80000

boost: 0

align_windows: 0

use_migration_notif: 0

use_sched_load: 0

max_freq_hysteresis: 0

boostpulse_duration: 0

Max clocks are the default one for the LIttle cluster and 1440 MHz for the big cluster

ensure that input_boost in CPU boost is set to 0 ms and 0 MHz (aka disabled)

if you feel like the profile is a bit on the performance side, downclock both clusters to 1344 MHz

hope you enjoy it :)
[One (M9) Android Development] acidspider:
So we need elementalx kernel?
[One (M9) Android Development] Roobwz:
No ex needed

Skickat från min HTC One M9 via Tapatalk
[One (M9) Android Development] xunus:
Just tried this profile, noticed after i applied and restarted the phone, Hexa mode is on. Wonder is this normal?

Anyway tried playing Heroes of Incredible Tales while charging on a 1.5A charger, was impressed by the heat output. It felt cooler than what it came with the rom. Game play was smooth too. Thanks Mostafa. Will test more. :)
[One (M9) Android Development] shadowxaero:
Lol Thanks but nothing helps haha.

On the hunt for some Growlithe my phone hit 69C (hotter than my 4790K lol though that's on water) >.> damn near burns your hand the aluminum does.

Edit: going to try that preset and Franco's pokemon battery saver app and see if it helps lol. I would just like to be sub 60
[One (M9) Android Development] ZeroInfinity:
69C cpu temp... jesus, your battery temp must've been around 45-50C, I advise you stop playing or switch to a secondary device if you have one to keep the M9 alive as long as possible haha. That's why I play it on my Honor 5X instead, it tops at 45C battery but even then it's pretty hot (also using a S615 so much weaker than the S810).

I'm guessing the cause is not the GPS but rather locations itself. With high accuracy setting (or whatever it's called), it uses wifi, mobile, gps simultaneously to constantly poll for location data every few seconds. No matter what option is chosen in locations, the app will need to poll the data every few seconds whether it be Wifi, mobile data, gps, or all 3 together.
[One (M9) Android Development] Roobwz:
Hexa is 100%normal when your Cpu gets hot. This is called throttling :)

Skickat från min HTC One M9 via Tapatalk
[One (M9) Android Development] Mostafa Wael:
yes that is normal

octa core is useless

hexa core FTW
[One (M9) Android Development] 1riddim:
Hello Mostafa and thanks for your great work. One question though, if your thermal mod is in place and running, will this governor profile create any conflicts?
[One (M9) Android Development] xunus:
To use the new Non-PNP profile, you have to disable PNPMGR. Which this would also disable the thermal mod.

---------- Post added at 12:18 PM ---------- Previous post was at 12:07 PM ----------

Roobwz, Haha Hexa is 100% of the time even idle and not charging. ;)

Mostafa, what i did observe is that the profile runs fast, smooth, less heat and i didn't find it a difference in speed vs a octa set-up. Tested on games (HIT , Sky Force Reloaded). If i were to use Ex kernel 4.02 (July 20), i would start to lag, as in low framerates. (FYI) :)
[One (M9) Android Development] Mostafa Wael:
Disabling pnpmgr will ignore the thermal config file, so there should be no conflicts with my no-pnp profile :)

Unlese you mean that you are running thermal file of mine with pnpmgr enabled and you loaded my no-pnp profile, this way, the governor settings will get changed partially to the stock values since pnpmgr is running ;)

I can't assure you what can happen and what will be your experience, but nothing will cause any damages. Worst scenario is a random reboot, which is a 0.0001% probability or even less :D
[One (M9) Android Development] Mostafa Wael:
Well his responsive answer is very much appreciated ;)

Octa vs Hexa is very controversial and everyone has his point of view, I see that it is better to have Hexa-core mode, but i must say difference between octa and hexa is minimal, in terms of performance and battery life, however your mileage may vary with thermals.

Anyways, I did not get that, you mean that EX 4.02 is not working properly with my no-pnp profile ?
[One (M9) Android Development] Mostafa Wael:
I forgot to mention that

The new no-pnp setup is applicable for AOSP ROMs as well, so AOSP users, you got some love now :D
[One (M9) Android Development] gamebenchjake:
Hey guys! Jake from GameBench here (if the name didn't give me away :) ) - normal GameBench CPU overhead is 1-3%, so if I can offer any help with getting that back under control please just ask.

Cheers,

J
[One (M9) Android Development] Mostafa Wael:
Hi there!

Well it is a very strange issue that gets in the play only when pnpmgr is disabled. And man, it gets hot!

In like 5-7 minutes it gets to 44c !!

So tell me what to do ?

Thanks for your co-operation :)
[One (M9) Android Development] gamebenchjake:
So it only clocks up when pnpmgr is disabled and gamebench is running?
[One (M9) Android Development] Mostafa Wael:
Yep

I will provide necessary logs and screenshots when i am home. In half an hour maybe :)
[One (M9) Android Development] gamebenchjake:
Okay thanks - and could you check and see if it happens when using the Desktop app as well as the Android app?

Cheers,

J
[One (M9) Android Development] xunus:
I would say yes to that on my set-up. Might be due to HTC10 Port rom?
[One (M9) Android Development] Roobwz:
Perfect for me [emoji13]

Skickat från min HTC One M9 via Tapatalk
[One (M9) Android Development] sksal169:
Can i get the link to this file please

[emoji4]
[One (M9) Android Development] Roobwz:
http://xdaforums.com/showthread.php?p=67826065

Skickat från min HTC One M9 via Tapatalk
[One (M9) Android Development] Mostafa Wael:
I am sorry I couldn't make it today, I went a little bit sick and went sleeping. Couldn't think of a thing, perhaps I can do so on Saturday after vacation. Excuse me :o :angel:
[One (M9) Android Development] gamebenchjake:
No worries mate - get some rest and feel better :) The guys and I had a discussion, and it might be due to our wakelock, so I'd recommend building a dummy app that just creates a wakelock and see if the same thing happens :)

Cheers,

J
[One (M9) Android Development] 1riddim:
Insomnia had me testing your new gov profile. What can I say, it is absolutely incredible so far. 11.5% / hr is simply amazing.

I can't thank you enough for this mate! How can I donate?
[One (M9) Android Development] albi74:
Hi,

which gov profile uses ?

Inviato dal mio iPhone utilizzando Tapatalk
[One (M9) Android Development] 1riddim:
http://xdaforums.com/one-m9/development/mod-htc-one-m9-enhanced-thermal-t3369574/post67826065
[One (M9) Android Development] Mostafa Wael:
disabling the screenshots feature saved the day a little bit.

Thanks for your help :good:

P.S. I will be leaving in hours, will be getting a OP3 :o
[One (M9) Android Development] Mostafa Wael:
Okay El Macho is here, the star of the show :D
[One (M9) Android Development] Mostafa Wael:
Okay I need some help here.

Anybody used any thermal mod with Minecraft mobile game here ??

Which one did you use?

If there is no one yet played it, can I have some time optimizing it ? My brother has reported shocking results with this game...
[One (M9) Android Development] Roobwz:
I tried it before, but it lagged after a couple of minutes

Skickat från min HTC One M9 via Tapatalk
[One (M9) Android Development] Mostafa Wael:
Well seems like upping the min freq of big cores to 633 MHz did the trick, tho i am not sure if this will heat it up too quick...
[One (M9) Android Development] DocLem:
Do I need to disable HTC pnpmgr in EX Kernel for this to work properly? I'm using the optimal thermal file together with this gov profile on Viper One M9.
[One (M9) Android Development] DeeZZ_NuuZZ:
with pnp on, only few values will stick. you need to disable pnp and re-enable the profile, so you will have it full working then.
[One (M9) Android Development] DocLem:
Thanks! Is this the most balanced setting we have so far? How does this file compare with having the optimized build with pnp on? (which was my setup prior to trying this out)

Edit: By that, I mean is this new file better than the Team Helix Thermal Mod V2.zip? Can we eve use them together?
[One (M9) Android Development] Mostafa Wael:
Well you can't use them together as the custom governor settings will get overrided by pnpmgr. You have to try them both and see as both are optimised for different usage patterns :D
[One (M9) Android Development] DocLem:
Thanks again! I went back to the optimized build because I was consuming more battery with the custom governor file.
[One (M9) Android Development] Mostafa Wael:
Well I am happy I helped in any way with any of the custom thermal files/custom presets :D :highfive:
[One (M9) Android Development] DocLem:
Yeah actually, the custom gov file really works well on its own, it's just that the optimized build is better, at least for my setup. Thanks for all the hard work
[One (M9) Android Development] LLegion:
Hi man just to confirm....whenever i flash v2 from dropnox...do i have to have enabled power management on or do i have to shut it down??? Is there any kernel mamager you do recommend to ibstall and use?? I just flashed in recovery v2 and have pwrmgmnt enabled...is it ok? Is this the best option/setting???? Thanks
[One (M9) Android Development] Roobwz:
Id recommend ex kernel manager

Skickat från min HTC One M9 via Tapatalk
[One (M9) Android Development] NDR_man:
Is this compatible with CM (ressursction remix to be precise)
[One (M9) Android Development] ZeroInfinity:
This benchmark was done in a Spigen Neo Hybrid case, the weather here is 19C, and the phone was stationary on a glass table. Using the latest thermal mod optimized version. Battery temp was capped at 40/41C.

I had my very own tweaks to the task scheduler which gained more cpu performance in this test.

sched_upmigrate 99

sched_small_task 50

sched_heavy_task 99

sched_downmigrate 80

You can change these settings in the ElementalX Kernel Manager app > CPU > Advanced options
[One (M9) Android Development] Mostafa Wael:
and for those who who wonder what was it before in these situations, it was 83k and temp was 43+ degrees Celsius!!
[One (M9) Android Development] BLEK0TA:
1. This governor must be used with stock thermal config file?

2. HTC pnpmng is on or off?

3. I'm using it with daily used relaxed thermal config mod and pnpmng on. Everything is fine until unplugged from charger.. after that r little clusters cores on highest frequency.. wtf?
[One (M9) Android Development] Mostafa Wael:
Pnpmgr is off

That is the answer for all your questions

Happy days :)