yashsingh1/xdaforums huggingface dataset:
[One (M9) Android Development] biglo:
[MENTION=5060769]Mostafa Wael[/MENTION] hey sorry for long absence, had alot going on with my father's health and switching jobs so I did have time to report back. I noticed that you have made great strides since I've been gone though! One thing that I would like to add now that I have stopped the use of Xposed (as much as I like the extra features it brings) it seemed to always keep my device kind of warm, I tested it a few times and confirmed this. So now with my dropped use of Xposed I'm now testing the last config file you prepared for me again and will let you know how it goes, I'm actually looking forward to a much more cooler experience.
[One (M9) Android Development] BLEK0TA:
From the same reasons I don't use xposed anymore.
[One (M9) Android Development] DeeZZ_NuuZZ:
thx, so not only me
[One (M9) Android Development] blackflagsvn:
Do I need to root my device (stock, unrooted, 6.0) to install this?
[One (M9) Android Development] Roobwz:
Yes. Root is needed to mod these kind of things

Skickat från min HTC One M9 via Tapatalk
[One (M9) Android Development] BLEK0TA:
Which version of thermal mod you mean? V2 or...?
[One (M9) Android Development] Mostafa Wael:
Total revelation might be coming soon :cowboy:
[One (M9) Android Development] BLEK0TA:
I'm horny
[One (M9) Android Development] Elixir_:
Great work mate. I'm using the gaming config with CM13 and the temperature never exceeds 45°C even when playing games with high graphics.
[One (M9) Android Development] DeeZZ_NuuZZ:
45°C battery temp would be death for me xD playing hardcore games on htc 10, with a bit tweaking, max temp is 38/39°C battery
[One (M9) Android Development] Elixir_:
Well, 45° is the maximum. Without [MENTION=5060769]Mostafa Wael[/MENTION] 's thermal configuration it would easily reach 48° and even go higher :/
[One (M9) Android Development] Mostafa Wael:
Ah man it's been a long while since my last visit here :)

Anyways, I am trying to ditch thermal files for automated governor settings changes via Tasker, and I heard that Kernel Adiutor can be the app to handle that, via settings custom intent to change KA profiles. But my time is limited and tbh i am working on my primary DD (The OnePlus 3) with some governor tuning. However, I might give it one last shot with Tasker and KA. If governor settings change successfully, I will then proceed to seeing the governor settings for most scenarios and see if i can still benefit from pnpmgr or do i have to ditch it for governor settings to be changed.

Just charged my M9 yest and installed the remaining ROM (Golv's 10 port) so i hope i get it running well.
[One (M9) Android Development] Mostafa Wael:
Oh man, i have a very early build of Golv's 10 port and it is laggy af
[One (M9) Android Development] fhartane:
Weird, I flashed the new build today and all is smooth

Envoyé de mon HTC One M9 en utilisant Tapatalk
[One (M9) Android Development] Mostafa Wael:
well it was a very old build. Perhaps that is the cause. Anyways, residing back to the old stock-ish MaximusHD and i hope all the hassle goes away with it.
[One (M9) Android Development] fhartane:
You've given up Lee's work ? ;)

Envoyé de mon HTC One M9 en utilisant Tapatalk
[One (M9) Android Development] Mostafa Wael:
No but it will take ages to download latest Lee ROM.zip file on a 1.67 Mb/s connection. And i just have the zip file of the MaximusHD by luck
[One (M9) Android Development] fhartane:
[MENTION=5060769]Mostafa Wael[/MENTION] btw, are you happy with your OP3 in terms of battery life and thermal performances ? I'm considering getting one soon

Envoyé de mon HTC One M9 en utilisant Tapatalk
[One (M9) Android Development] Mostafa Wael:
I am obsessed with it! :D
[One (M9) Android Development] mihai.zaim:
Sense and Google play services keep crashing after installing this mod, I've tried restoring a system backup but it didn't work:confused::confused::confused::confused:
[One (M9) Android Development] DeeZZ_NuuZZ:
This MOD has nothing to do with it. Wipe dalvik cache and cache, if it doesn't work perform a full wipe. Your rom seems to be broken for no reason
[One (M9) Android Development] hhhfdq:
link dead...plz upload again..
[One (M9) Android Development] DeeZZ_NuuZZ:
will look up later, seems to be like my dropbox is deleted where the team folder was which contains the file. f*ck, you have to wait a bit longer, either [MENTION=5060769]Mostafa Wael[/MENTION] is uploading the file t somewhere else or i will have to fix the sh1t tomorrow or late in the evening
[One (M9) Android Development] Mostafa Wael:
First let me show my impression that someone is still hanging on that phone :laugh:

Next, isn't what you are looking for being stated in the same post? I mean, you can just apply those settings I wrote in the same post after the link or am I missing something?

Meanwhile I will be searching for the file in my dropbox, but I am not promising i will find it in any way
[One (M9) Android Development] hhhfdq:
thanks for reply, ok i will wait your file and plz tag me when the file ready..

tks for reply, i'm using ex kernel manager and i want that file to auto config cpu :D..sorry for my bad english and plz fix it :D
[One (M9) Android Development] Mostafa Wael:
You can apply the values via EXKM and then hit the save button to save the settings as a custom profile.

I am sorry but my dropbox is a whole mess and I couldn't find your file
[One (M9) Android Development] fhartane:
I think that's what you need [MENTION=5724934]hhhfdq[/MENTION]

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

EnvoyÃ© de mon HTC One M9 en utilisant Tapatalk
[One (M9) Android Development] hhhfdq:
tks for share.. i think that's i need
[One (M9) Android Development] Mostafa Wael:
Thanks a lot! You are a life savior!

And I am sorry [MENTION=5724934]hhhfdq[/MENTION] but I couldn't find the file for you. Tho I am still confused why don't you want to re-make the profile by manually applying the settings as stated in the post and re-create the profile by saving those settings?

Anyways, you got what you want. Peace out! :highfive:
[One (M9) Android Development] DeeZZ_NuuZZ:
Ah sorry forgot to reply. I could not get the ****ing folder working. But yes Mostafa already said you can apply the values with exkm which is very easy. But someone uploaded the file, thanks :)
[One (M9) Android Development] NDR_man:
Would this work with the ICE Android N beta?
[One (M9) Android Development] DeeZZ_NuuZZ:
yea it should, but untested as no one of us has the m9 anymore
[One (M9) Android Development] Mostafa Wael:
Neither I nor anybody in my team owns an M9 anymore sadly, so I can't confirm it plays nicely with N. However, I might get you something interesting in a while.
[One (M9) Android Development] NDR_man:
Oh ok, I'll test it out soon, hopefully this will solve the bad battery issue on ICE
[One (M9) Android Development] Mostafa Wael:
Can you assess the thermal situation and the performance with stock thermal file first? Run it for something like 2 days and tell me how it felt like
[One (M9) Android Development] hhhfdq:
hi, one mor question, can u congfig gpu too, how config for good batery, sorry for my bad english
[One (M9) Android Development] Mostafa Wael:
As far as I remember, the Adreno 430 was an overkill for that 1080p panel, so if I were you -aiming at max battery endurance- I would downclock it to 450 MHz or even 390 MHz.

No need to be sorry, English is not everyone's cup of tea
[One (M9) Android Development] hhhfdq:
and how about gpu governor? default?
[One (M9) Android Development] DeeZZ_NuuZZ:
I should start to read properly and not use the phone in school when a teacher asks me something xD lol
[One (M9) Android Development] Mostafa Wael:
Yeah leave as is, msm-adreno-tz
[One (M9) Android Development] tophe2009:
Tried to flash v2 with twrp,file corrupted. Running on nougat backup. Any suggestions? Or will copy,paste on file explorer work with the other files on your dropbox? Thanks in advance [MENTION=5060769]Mostafa Wael[/MENTION]
[One (M9) Android Development] Mostafa Wael:
Tbh I am going to flush all the thermal configs real soon, and start on something much better and more "dynamic"

But for the mean time, extract the thermal-engine.conf file and place it in /system/etc eith rw-r-r permissions.
[One (M9) Android Development] tophe2009:
thermal-engine.conf file and place it in /system/etc eith rw-r-r permissions? Where will I find the file to extract my good sir?I'm sorry, a bit noob here.? by the way I have HTC m9 running twrp backup on nougat temp is way high.
[One (M9) Android Development] Mostafa Wael:
If temps are not convenient, then drop the whole thermal files and revert to stock till I push a snoozer till i start on my big project
[One (M9) Android Development] tophe2009:
How will I drop and revert? So sorry man...?
[One (M9) Android Development] Mostafa Wael:
https://www.dropbox.com/s/icqbbokxk4nkmc2/thermal-engine.conf?dl=0

Paste that in /system/etc

Then change permissions to rw-r-r

Then reboot and see how it goes ..
[One (M9) Android Development] tophe2009:
Can I use es file explorer? Thank u for your help man
[One (M9) Android Development] Mostafa Wael:
Yes, any explorer with proper root permissions granted :good:
[One (M9) Android Development] adgadg15:
Hi I have installed your nougat thermal version. But do I have to use core control or msm_thermal?

Edit: cpu 5 and 6 aren't getting online
[One (M9) Android Development] Mostafa Wael:
Just don't touch those core_ctrl and msm_thermal, leave them as they are on stock.

And cpu5 and cpu6 are offlined as per the thermal restrictions i did, so don't worry :)
[One (M9) Android Development] fhartane:
[MENTION=5060769]Mostafa Wael[/MENTION] still on the edge ! Cool thing.

I finally got myself a OP3T and like it very much :) now waiting for my old M9 to get Nougat to pass it to my mom ;)

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
[One (M9) Android Development] Mostafa Wael:
To make it a perfect phone for your mom, can you test some things for me ? It will be like the finale
[One (M9) Android Development] fhartane:
Well the device is back to stock at the moment since the release of Nougat for European M9s is coming in less than two weeks from what I've heard. After that, I can try to do some tests for you as long as I have the knowledge for them.
[One (M9) Android Development] Mostafa Wael:
alright :rolleyes:
[One (M9) Android Development] biglo:
Hey [MENTION=5060769]Mostafa Wael[/MENTION] I hope all is well. Was wondering if this thermal file would work on my 6p running 7.1.1, finally upgraded to the latest version of Android and I'm already tired of the heat again after using the last config for so long.
[One (M9) Android Development] Mostafa Wael:
Nougat has changed a lot, and I think that needs me to think out of the ordinary. I am now working on something that may be much more effective, final touches. So wait for it :)
[One (M9) Android Development] biglo:
Thanks, sounds like good news to me.
[One (M9) Android Development] 1riddim:
We're waiting for your magic Mostafa!
[One (M9) Android Development] HsHTCsen:
Hi, I'm considering giving your mod a run, will it work on m9 viperone 5.3.0? If so, not sure which file to get.. just looking to get a cooler device that remains fairly snappy. And lastly, if it is just a paste and replace file, can I rename the old file and keep it there if I want to revert back to stock? Thanks
[One (M9) Android Development] Mostafa Wael:
I think something exciting will be on the way to this thread real soon.

The problem is, the development of that new project has been unexpectedly halted since my left eye has had a big rash in it. Now it is a bit better so I can resume my development to a great extent.

I know I have been hyping it for so long, but it was unpredictable to have such a pain in my eye, and it is very hard to dev for a device I don't own :(

Hope I can release what I have to do real soon, and sorry for any inconvenience :angel:

P.S. if you are talking about Nougat compatibility, I am not sure how things will go on. So i suggest holding on the stock thermal file for now
[One (M9) Android Development] HsHTCsen:
Thanks for the reply. That's very unfortunate for you and I'm sorry to hear about your eye! But it's good to know it's getting better ??

Viperone 5.3.0 is still Marshmallow and I will be sticking with it for a bit longer. They have just released Nougat base update but I won't be updating yet.

I'll wait to see your new release and look forward to giving it a whirl ??
[One (M9) Android Development] HsHTCsen:
Hi again, I also see there is your cpu governor profile included with the ElementalX app. Does this only work with EX kernel or will it work with a stock m9 kernel ? Thanks
[One (M9) Android Development] gondor89:
Thanks, I'm new to flashing and Android software, I have a new HTC one M9 and I would like to fix the heating problem please guid me to what should I do first and what should I flash exactly because I found several files in the Dropbox?
[One (M9) Android Development] Techfan3000:
Hi Mostafa

I have just got my hands on a M9 and love the phone only for the heat issue, while searching on line for fixes I cam across your thread and was gonna give your files a try but then You where saying you may have a new method or are working or something that may be better suited so I held of.

have you finished this new method yet or are you still working on it ad would it be best to hold of until your finished? At the moment I am completly stock so I have to root phone and add a recovery before I try out your stuff, :)

Thanks
[One (M9) Android Development] Mostafa Wael:
I have got so much going on with the OnePlus 3, plus exams are also approaching so I think the files are still your best choice
[One (M9) Android Development] Techfan3000:
Hi Mostafa

Thanks for the fast reply.

Do the files Solves the heat issue when using the phone? also there seem to a few files in your zip archive, so does each profile automatically get chosen by the phone depending on how its used or do we have to pick a file from your zip archive to use that bests suits our own use of the phone (ie gaming, daily use ect)?

Also will this files harm to phone as I love the stock setup only for the little issue of it getting warm from time to time. My main uses on phone would be making normal phone calls, texts, website browsing, watching videos , youtube ect and emulation gaming with Bluetooth controller and shooting videos on the camera a lot so which file would you say best suits my needs here?

Thanks
[One (M9) Android Development] Techfan3000:
Any advice on my previous post from any one?

Thanks
[One (M9) Android Development] Mostafa Wael:
I am sorry to disappoint some of you but i cannot maintain the mod anymore without the device in my hands, and cannot afford that much time for XDA as much as i used to do before. With that said, this thread is going to be closed. Thanks for your support everyone and see you some time soon!

P.S. As for the Tasker project, this will come some time later and probably would be having its own thread apart from this one.

-TDK
[One (M9) Android Development] SynisterWolf:
Thread closed at OP request
[One (M9) Android Development] Mostafa Wael:
Okay for the ones who are going to test the gaming file with games, here are few notes for the report to get accurate debugging of any stutters, should there be some :p

use STOCK CPU governor settings and NOT those in the recommendations post you need every bit of performance as you are already running throttled and with less cores, so making the CPU even less aggressive on ramping up will make it lag ;)

I need those info

->The game you played

->The duration of gameplay

->Max temps for battery

->Initial temp before gaming

->A comment on the performance and if stutters are present (a gamebench session of no less than 15 minutes will be awesome!)

Recommended games: Dead effect 2 and the games alike

Excluded games, Real Racing 3; it is pretty much a CPU intensive game that needs a higher max frequency than that set in my files, so it will be an utter mess and needs another carefully written file specifically that should come later on. ;)

In summer, I am thinking to increase number of throttle steps. These files use 3 hotplug steps with actions on one cluster each, other than those of the freq-limiting steps. Increasing those 3 hotplug steps may produce more interactive changes instead of switching off 2 big cores at once, I can switch off 1 big core from 38, then another one from 39, then another one at 40, then shut down a little core from 41, then turn on a big core from 42 since at this temp bound you would be gaming certainly ;)
[One (M9) Android Development] skodann:
[MENTION=5060769]Mostafa Wael[/MENTION] for some reasons, my device was left only with 3 cores active, all others went offline. Cpu temp reached 66 while playing Dead effect 2 with game thermal config, and only 60 with relaxed.
[One (M9) Android Development] Mostafa Wael:
That is a glitch! Sorry for that, will push another test shortly

And the gameplay, was it decent ?
[One (M9) Android Development] Mostafa Wael:
What was the battery temperature ? Coz the thermal file works depending on the battery temps ;)
[One (M9) Android Development] skodann:
I didn`t noticed:( I thought that cpu temp is important, not battery. Loaded again relaxed and I noticed that is doing a great job on my device, even on gaming
[One (M9) Android Development] Mostafa Wael:
Here is a new one

https://www.dropbox.com/s/rzkfbsdpkq56de9/thermal-engine.conf?dl=0

Should fix the mistakenly switch to 3 cores only

Left 3 cores online instead of two after 43 degrees battery-wise with a lower clock, maybe that can bring the CPU down and at the same time result in better performance,..
[One (M9) Android Development] Roobwz:
Next step is to make the file flashable! Nice work dev

Skickat från min HTC One M9 via Tapatalk
[One (M9) Android Development] Mostafa Wael:
Well it is important ti have an idea of how the CPU works and wipl it heat up the battery quickly or not ;) due to that ****ty pyramid design. However, tuning the thermal file to work with battery temps is easier and what matters, since this is pretty much equal to skin temperature, the one that makes you feel warm or cold ;)

Temp cap for gaming should be no more than 44 and performance should be sustainable
[One (M9) Android Development] skodann:
I had 2 little cores and one big core online, not three of a kind :o
[One (M9) Android Development] Mostafa Wael:
Well it was on my to do list, but that will be later. I have exams till 5-6 so, you know I am a bit busy now. It is just me being so much excited to know about the feedback and that is what keeps me around here :D
[One (M9) Android Development] Mostafa Wael:
Yes, the newer file should leave you with 2 little cores and 3 big cores :D

2/5 test -> 2 little cores at 1.2 GHz + 2 big cores at 1.4 GHz

3/5 test -> 2 little cores at 1.2 GHz + 3 big cores at 1.3 GHz

That 2+1 setup was a mistake so ignore it.

Give the 3/5 test a try and tell me :)
[One (M9) Android Development] skodann:
OK, I will probably do that tomorrow...for now, my battery is empty and I have to spend some time with my family. As soon as I will test it, You will know :D
[One (M9) Android Development] Mostafa Wael:
Yeah for sure

Fam deserves some time :)
[One (M9) Android Development] avivhaiser:
Just wondering if i got it right, im using daily (relaxed) atm, in idle mod/low use of phone all the cores will stay on but at min/ low freq.. Once the temp gets high enough, only then cores will start to shut down?
[One (M9) Android Development] Mostafa Wael:
Yes!

Till 38 degrees, no throttling is initiated ;)
[One (M9) Android Development] Mostafa Wael:
Grab that 3/5 test in the gaming folder

It is so much recommended imo for both daily usage and gaming.

I need some GSam screenshots and Gamebench values please, can't do all alone :)
[One (M9) Android Development] skodann:
With 3/5 config, after 30 min playing, battery reached 54 degrees, cpu 58
[One (M9) Android Development] avivhaiser:
Alright :). Besides that, which governor is recommended for the settings? Interactive? When i was watching videos online on chrome browser, my temp got to 66℃ cpu and 42℃ battery, my cpus didnt turn off tho, had to manually turn them off. I did put the file in system/etc, changed the permissions to rw-r--r. Am I doing something wrong?
[One (M9) Android Development] Mostafa Wael:
Check that your pnpmgr is turned on

Are you able to locate this file ?

/system/bin/pnpmgr ?

If you have /system/bin/pnpmgr.bak instead, rename the file to pnpmgr only

If you are not able to locate any of those files, tell me

And what file are you using ?
[One (M9) Android Development] Mostafa Wael:
Interactive governor FTW :D
[One (M9) Android Development] Mostafa Wael:
Battery is 54 ???????

And even weirder, CPU is 58 ???

Are you sure ? And there are no throttling occuring ? No cores turning off or frequency limits ?

Weird...
[One (M9) Android Development] avivhaiser:
Thanks for the quick reply. I managed to find pnpmgr, it is not .bak and its turned on of course. I am using the daily(relaxed) file provided from the dropbox link. Just some extra info: using leedroid 8.2.5 with ex kernel 4.0.1.
[One (M9) Android Development] skodann:
I had 2 little cores and 3 big online which was normal, if I understanded well from your description. Otherwise, no lag at all during playing
[One (M9) Android Development] Mostafa Wael:
Yes but that 54 degrees temperature of battery, are you sure that you read it right ?? If so, Then the gaming files project will be instantly abandoned! Since the max we can get with stock HTC thermal config was 47 !!

And never saw the CPU temps being that close to the battery temps... :eek:
[One (M9) Android Development] Mostafa Wael:
Try with Lee's kernel

And do you use a case ?

If so, then grab the one in the gaming folder in the "test 03052016" folder

And load it carefully as written in the OP

Copy the file to /system/etc and replace the old file and apply rw-r-r permissions. Make sure you mounted your system as RW ;)

Hope everything comes right now :)
[One (M9) Android Development] avivhaiser:
My phone runs naked ;). Do i still need the gaming one if i have no case?
[One (M9) Android Development] Mostafa Wael:
What is your ambient temp ?
[One (M9) Android Development] avivhaiser:
23-24℃ inside, 12℃ outside
[One (M9) Android Development] Mostafa Wael:
Do you use my CPU governor settings in the recommendations post ? I guess it gets warm only when youtubing or watching videos right ?
[One (M9) Android Development] skodann:
I am sorry to tell you that, but the temperatures were right. Maybe I have some other configurations for the kernel which are not ok for those files...btw, I have a dot view case on my phone...could it be the reason?
[One (M9) Android Development] avivhaiser:
I am using your recommendations from the post. I havent tried gaming yet but the photo of my cpu is from just being on google play and it got to 51℃
[One (M9) Android Development] Mostafa Wael:
Try with stock CPU governor settings.
[One (M9) Android Development] Mostafa Wael:
Try to change the kernel to stock

And if the issue still persists and you didn't have those temps before modding the file, then I sorry maybe the files do not suit your usage and you can easily reflash your ROM with no wipes

However, try with stock kernel and recommended CPU governor settings first

I will cook a more relaxed file later

Tonight maybe for you to test
[One (M9) Android Development] avivhaiser:
Alright! Thank you very much for your support. I will try to go back on leedroid kernel and give it 2 more shots. Ill try the relaxed and the gaming and see if any of them trigger the vores to shut down/ prevent cpu from reaching high temp. I was wondering if msm_thermal/ core control/ vdd should be enabled or disabled? (Im aware that only a single 1 is allowed to be enabled at a time). Once again, thank you.
[One (M9) Android Development] Mostafa Wael:
Don't touch that!!

If you touched it, then reflash the ROM before changing the thermal file!!
[One (M9) Android Development] avivhaiser:
Didnt touch, was just wondering.