yashsingh1/xdaforums huggingface dataset:
[One (M7) General] hamdir:
Elemental X kernel for base 3.17 / Android 4.3 is now updated with a new GPU OC table

Now every step will earn you one more fps in Egypt HD offscreen

The full step can be seen in this location

/sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk

and you can change it using my gaming scripts (but you will need to edit the frequencies from the list below)

450000000 - 46fps Egypt HD Offscreen

477000000 - 47fps

490500000 - 48fps

504000000 - 49fps

531000000 - 50fps

558000000 - 51fps

585000000 - 52fps

For example I have Set up my default / unBoost to 450000000 and my Boost to 504000000, It's rockstable up to 558000000 but I don't want to increase my drain / heat
[One (M7) General] hamdir:
Lovers of stock kernel or custom kernels but with default GPU throttling, you can now control it thanks to [MENTION=2841310]jerrylzy[/MENTION]

I would use Stock no gpu throttling, the stock kernel max GPU is 400mhz which already underclocked and very safe

[How To]Modify HTC One's Thermal Files For Your Own Need
[One (M7) General] hamdir:
Updated my compilation of Gaming related posts / events in the second post

http://xdaforums.com/showpost.php?p=41625060&postcount=2

OP will be updated soon
[One (M7) General] morfini:
Hamdir I am using elementalX. I chose default cpu throttling. What does that mean for gpu throttling? I overclocked gpu to 504. Will this last during gaming or it will be underclocked?
[One (M7) General] DeSaint2:
Gpu throttling is disabled on ex. Cpu will still throttle at the normal levels but your gpu should still be at full clocks.
[One (M7) General] morfini:
Thanks for your quick answer.
[One (M7) General] hamdir:
Dont worry about GPU throttling on Elemental X and Faux, it's disabled as explained in OP

but Bulletproof, stock kernel and many other will need jerrylzy thermald patches (i'm using stock no gpu on stock kernel)
[One (M7) General] hamdir:
So those who want ES3.0 in their Asphalt 8 better update or purchase the game from Playstore using your Sense 3.1x.xxx.x / Android 4.3 ROM with ES 3.0 drivers, there is a difference between the initial 1006 obb file and the latest version
[One (M7) General] astrall:
Can I use the flashable zips on Stock 4.3 Sense kernel?
[One (M7) General] hamdir:
the thermald? yes
[One (M7) General] hamdir:
[MENTION=2841310]jerrylzy[/MENTION]

I just bought Asphalt 8 from my 3.17 ROM playstore, it the downloaded v1.0.1 apk and the 1008 ES 3.0 SD file, it appears as Asphalt 8 1.0.1 (1015) in Titantim backup

Theories:

- 1006 is either related to 4.2.2 or an early version, those who kept using their backups failed to receive the new version

- 1006 is the pirated copy being circulated only and also the modded money version

Sadly now i have to replay all the levels :rolleyes: but happy that i finally got rid of those ugly stutters and jaggies
[One (M7) General] jerrylzy:
Thanks very much for this info, though I cannot purchase anything from Play Store now.

Anyway, it's only 10 days left to leave this horrible place. After that, I'll be able to buy anything I want from Play Store;)
[One (M7) General] hamdir:
OP updated, i know its kinda of all dizzying at this point but i'm forced to choose between simple or comprehensive

I always go with comprehensive :)
[One (M7) General] py_martinez:
[MENTION=1144067]hamdir[/MENTION]

I used your tips to play correctly with a8 : ex kernel run hot, CPU 1300 mhz gpu 528 mhz, treshold 50 with trickster mod.

And governor on performance.

Have I settle the most important tips?

How do you see the gpu freq while gaming? Is there an app like CPU spy?

When you choose min and Max CPU in trickster mod do that stick during all game?

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] Matt:
I don't think this statement is true anymore (:
[One (M7) General] hamdir:
which governor on performance?

i never recommended a governor on performance

GPU = simple governor

CPU = boosted ondemand up_threshold 50

CPU and GPU clock up to your taste, im using GPU490 (49050000) but you are wise to downclock the CPU 1500 should be enough though, i noticed performance loss on 1300 when playing NFSMW
[One (M7) General] hamdir:
that's debatable to be honest

considering that many new games are being scaled and not running in 1080p, these graphs are misleading

check my comparative, which takes scaling into account, an actual game can run at 1080p (Modern Combat 4, Asphalt 7), 720p (Asphalt 8), even less (RR3) or leave the scaling up to the user (Ripetidge GP2, Beach Buggy Blitz)

http://xdaforums.com/showpost.php?p=45700962&postcount=62

with my tips it runs Asphalt 8 in 720p with Anti Alising around 40fps, i think we are still fine ;)

performance lies between the iPhone 5 and 5s native, when scaled it's competitive to the iPhone 5s

I will rephrase it and link to the comparative post
[One (M7) General] py_martinez:
Good precision about the real definition of these good games! Rr3 is in my eyes very good detailed for the cars but outdoor details (trees... ) are ugly

Envoyé depuis mon HTC One avec Tapatalk

---------- Post added at 09:17 PM ---------- Previous post was at 09:10 PM ----------

I use your tip for treshold ok, for the CPU I use1300 or 1500.

Big question : can you tell me at what freq your CPU runs when you play at a8?

You can see it with CPU spy. ;)

How do you choose simple governor for the gpu? In ex kernel? I don't see this option in trickster mod...

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] hamdir:
its in EX or Faux kernels
[One (M7) General] py_martinez:
Ok I flashed last 3.22 base Rom and selected simple governor in ex kernel!

Let's play a8 with headphones (my wife is upset with all nitro sounds! )

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] hamdir:
gaming is very good on stock 3.22 kernel with the thermald no gpu patch, but EX still beats it by miles, even with CPU boost stock kernel can still drop fps during scenes with many cars onscreen or heavy particles, on EX such scenarios will run liquid smooth

my settings for this game on EX:

GPU490, simple GPU governor, ondemand CPU governor up_threshold 50, CPU 1458 with run extra cool, aggressive performance mpdecision, fiops

this seems to be might sweet as pot with speed and temps

(you can change CPU speed on the fly with EX5.4 and it sticks since pnpmanager is disabled)
[One (M7) General] py_martinez:
Thank you for the description of your settings with ex.

I have quite the same settings than yours.

I use trickster mod and I don't find your setting : aggressive performance .

you were right to push me to play a8 , very impressive game, like a console game, beautiful and smooth!

For info mc4 is today at 1.dollar in the French play store... :)

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] hamdir:
it's in EX aroma installer, be careful temps will increase but since you already under clock your cpu you will be fine
[One (M7) General] py_martinez:
Do you know CPU spy ?

I had analysed CPU freq, I always check them:)

With your settings the most used freq during gaming are 900 and 1100 mhz and the average battery temp is 42•

But for me there are Still some lags during pre load races in a 8.

I prefer lock the CPU at 1200 or 1300 mhz with trickster mod. No lags and battery temp is 43 • very little more drain.

Please check your CPU stats and tell me:)

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] morfini:
Hamdir I noticed stuttering and lags on ex 5.4 and 4.3 so I tried stock kernel and Jerryizy's scripts but after a while I saw the usual frame rate drops in asphalt 8. I think gpu throttles heavily despite I used "stock no gpu"
[One (M7) General] hamdir:
Something throttles after a while but it's not the gpu, because it's no where near as bad, something else is dropping maybe the memory?

I tested it using performance gpu governor and the temps well were above 40c the gpu clocks did not throttle

one more thing this game doesn't seem to do better above 1.2ghz cpu so you can save yourself drain and heat by using cpu powersaver and cpu boost

either way gaming and temps remain better in faux or EX, it runs buttery smooth on EX all the time with cpu boost (1008 version)

[MENTION=2841310]jerrylzy[/MENTION] did you notice the thermald_boot.conf file? you dont replace it in your replace it in your zip files, do you think we need to?
[One (M7) General] hamdir:
HamdiR's HTC One gaming setup (this post will be constantly updated)
[One (M7) General] jerrylzy:
I think that file is benchmark related. I didn't test it myself but I think it should not influce daily use:D
[One (M7) General] jayv1717:
I'm on a sprint HTC one 4.3.. would the stock no gpu patch work for my phone or is it just for international phones?
[One (M7) General] hamdir:
i think it would be wise to replace it as well in your zip files ;)
[One (M7) General] hamdir:
yes these patches are compatible with all HTC One
[One (M7) General] jayv1717:
Thanks man had I had no idea this was happening, just came across your very informative thread.. I thought I noticed a drop in fps rather quickly after starting a graphically intense game

another question

What would you say is the safe range for gaming temps?
[One (M7) General] hamdir:
remember as the OP explains, the gaming fix is a combination of two elements

thermal throttling GPU patch AND CPU boost

GPU patch is needed for all gaming, CPU boost is need for games (RR3, A8, Ripetide 2) with issues in CPU scaling but many games don't need it

safe temps? the CPU officially will not need to throttle before 57c but HTC was safeguarding the battery with the 40c battery threshold

so the CPU and the device is safe up to 60-70c

the only problem is the battery, heat is no good for the battery, it will drain double time once it crosses 40c

be aware of your battery temps and nevermind the CPU temps

I usually keep playing until i cross 45c battery, then the device starts to feel hot on the glass and i stop playing
[One (M7) General] jayv1717:
Ok cool that's right around where I would stop playing as well

For the cpu boost, would that make my battery drain any faster during normal usage?
[One (M7) General] hamdir:
For CPU boost ofcourse it will drain more as it will keep running the CPU at it's top frequencies a lot more often, but for certain games you can't play without it especially newer fast paced racing gaming like Asphalt 8 and Ripetide 2 with tilt controls, i guess it's mostly racing, Beach buggy blitz and Real Racing 3 as well

older games like Dead trigger, Shadowgun, Modern combat 4 did not need it

curiously Need for speed most wanted, is a title and a racing game but didn't need any CPU boost, guess it's old now and did not require so much CPU power, yet Iron Man 3 ran a lot better with CPU boost but it's also a sensor game

so i think we can come up with a general rule:

High graphics / speed racing / tilt games need CPU boost

Older / Slower paced / Touch screen control games will not need CPU boost

We will have to see about this rule once Modern Combat 5 is out ;)

i wish i had more time to maintain a list of games and their recommended settings, if i find this time i will post it

but i do maintain my own gaming setup in this post
[One (M7) General] Mr.Nice.ba:
I am on teaMSeven2.2.7 custom kernel and SinLess Rom, is it safe to flash stock_nogpu.zip ? From time to time i see lag in games like Minion Rush, giant boulder of death etc. Is it necesary to flash a CPU mod also? It would be nice if we can force every 3D game to use 1280x720, i think 1080p for adreno 320 is too much :)
[One (M7) General] hamdir:
I dont know if the temaMSeven custom kernel has thermals disabled you should asked them

and your are wrong the HTC One runs Modern combat 4 locked above 30fps in full 1080p, it runs Aspahlt 8 in 720p with Anti alising

Minion Rush is the very worst example, it's runs so bad and it's optimized so bad

when a game can not run well in 1080p, devs should scale it lower from their end, we see this in games like Iron Man 3, Real Racing 3, Asphalt 8 all running under 1080p

finally if you are on 4.2.2 there is a way to force any game into any resolution you want, check the end of the OP (first post)

check my Adreno 320 results for sub 1080p:

http://xdaforums.com/showpost.php?p=44950889&postcount=21
[One (M7) General] py_martinez:
[MENTION=1144067]hamdir[/MENTION]

If you have cpu spy installed, please could you tell me the most used frequency cpu used when you're playing a8 ?

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] hamdir:
[MENTION=2656131]morfini[/MENTION] [MENTION=4914682]Shan89[/MENTION] [MENTION=4654138]py_martinez[/MENTION] and [MENTION=2841310]jerrylzy[/MENTION] so I finally have an answer to above question

note: this is only regarding stock kernel and thermald patch

Asphalt 8 is a game of speed and lots of physics as well, so it's actually CPU dependent along it's GPU needs

the stock_nogpu patch keeps the default HTC CPU thresholds, ie: at 57c the CPU dives around 500mhz, a sharp jump from 1728 to 1134mhz and it will not scale back before 54c are reached, these thresholds are actually reached pretty quickly in Asphalt 8 since again this game is CPU hungry, so the stalls we are experiencing in this game are actually from the CPU throttling that's all, ofcourse it's still no where near as bad as GPU throttling but CPU throttling does have a noticeable effect on speed and frame rate of this game

the solution for this game + stock kernel would be the performance.zip by Jerry which has 76c/67c as thresholds but you will have to tolerate the temps, still it's better than our previous complete thermald shutdown we used to do for stock kernel, I also noticed Jerry is probing a lot more sensors in the performance thermald file, so i guess he knows what he is doing

by the way flar2 in his EX kernel, will only start dropping below 1728mhz at 68c in his default thermals, 64c in his run cool option and 71c in run hot option and when it starts its gradual

I will try to optimize a thermald file which gradually scale downs the CPU and fall in the middle of the stock and performance patches (similar to flar2 default thermals in EX) if jerry likes to help ;)
[One (M7) General] py_martinez:
May I suggest my settings.

not perfect but not complicated:)

In ex I set run hot to avoid throttle issues, cpu 1700, gpu 504,simple .

I use trickster mod before gaming and set max cpu to 1200 mhz, performance governor, and that's it !

The battery never cross 42 °c no lags, battery drain is correct, not perfect but correct.

A very simple method that works very well. After gaming I set trickster mod at cpu 1700+ on demand governor.:)

Envoyé depuis mon HTC One avec Tapatalk

---------- Post added at 01:29 PM ---------- Previous post was at 01:26 PM ----------

And as I love a8 and want to see All details my brightness is set at 70 %

If I set the brightness at 40 like Shan my battery will last more time but at the price of less good sensations of gaming for me:o

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] hamdir:
mate sorry i failed to clarify my post was discussing stock kernel and thermal patch, since i previously reported that it doesn't operate as fast custom kernel and that it has a bottleneck somewhere, turns out it's simply a matter of CPU throttling

it's weird your fullfilled with 1.2ghz, the actual step is 1248mhz which is a little jump over 1138mhz, keep in mind in EX you can't really cap the frequency ;) the other cores will still operate in max frequency which would answer why you think 1200 is fine ;)

to be honest i never tried performance governor i will have a look

why are using trickster? you can make the switch using scripts it's easier
[One (M7) General] py_martinez:
I just give you my method, trickster mod ? Because in one of your thread you were talking about this good app !:thumbup: I can set with it the threshold , the buffer, the governor and the cpu freq in one click, then deactivate it in one click:)

I have already asked you about the app cpu spy :rolleyes: did you notice that with on demand governor the average cpu freq used when using a8 is 1200 mhz ?

That is why I decided to block the max cpu freq at 1200 with trickster mod and set performance governor , so the cpu is constantly at 1200 mhz , never less (lags), never more (heat) !

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] hamdir:
are you sure? ondermand up_threshold 50 mantains the clock around 1700 until throttling, however stock up_threshold 90 is another story

plus like i said on EX you can not cap the max speed, the other cores will keep going in the default max
[One (M7) General] jerrylzy:
[MENTION=1144067]hamdir[/MENTION] Have you ever encountered this weird phenomenon? That if you disable mpdecision and have all cores runnning on 1.7g, even when cpu/battery temp is not above 40C, something forced the cpu to scale down at 1134mhz. The culprit I found was pnpmgr.
[One (M7) General] py_martinez:
[MENTION=1144067]hamdir[/MENTION] said :

are you sure? ondermand up_threshold 50 mantains the clock around 1700 until throttling, however stock up_threshold 90 is another story

plus like i said on EX you can not cap the max speed, the other cores will keep going in the default max[/QUOTE]

...'................................................................

Py_martinez answers :

Up threshold 50+ on demand doesn't make my average cpu stats climb very much...:confused:

This is why I forced them with performance governor..

I didn't well understand your last phrase : ex can not cap the max speed..:confused: can you give me an example with numbers?

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] hamdir:
well yes pnpmanager has a mind of it's own ofcourse...but its a main reason behind the incredible UI Smoothness on stock kernel, so really we can't hate it

as for EX / faux you can set the max clock to 1.2ghz from a cpu app but you will notice if you use CPU spy the other three cores (non main ones) still running at the max 1.7/1.8ghz or whatever, if you use the snake chamer feature from faux app and faux kernel it doesnt solve it
[One (M7) General] hamdir:
Stock_no_gpu patch is now updated thanks to [MENTION=2841310]jerrylzy[/MENTION], the first throttle step will be 1566mhz at 57c, then it throttles to 1134mhz once it crosses 66c, if you want even more delayed CPU throttling go for performance
[One (M7) General] py_martinez:
You learned me something ! :)

But I am sceptical:confused:

It would mean that I have one core at 1200 mhz and all the others at max speed (and sometimes I chose 2100 mhz on ex) . And if you're right when I play with performance governor my phone would be hot like even !

I will check all this !

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] hamdir:
Resolution change works in 4.3, it's just the command which have been tweaked

the previous resolution command in 4.2.2 was:

am display-size 720x1280

for 4.3 it becomes:

wm size 720x1280

that's it for android 4.3 replace am with wm and here are the new commands

wm [subcommand] [options]
wm size [reset|WxH]
wm density [reset|DENSITY]
wm overscan [reset|LEFT,TOP,RIGHT,BOTTOM]

Resolution Change Scripts updated

more here:

http://xdaforums.com/showthread.php?t=2424705

http://xdaforums.com/showthread.php?t=2404783
[One (M7) General] morfini:
Hamdir i am on android revolution 30.0 and for the first time i used stock kernel and not elementalX. I am also using jerrylzy's performance zip and profiles in setcpu with up threshold 50 for demanding games. Until now i used to think that with the help of custom kernel and gpu overclocking i could get better performance in games. Well with stock kernel and your suggestions i get equal if not better performance in games, and much better smoothness and responsiveness in phone's ui. I can't understand why.
[One (M7) General] hamdir:
yes ofcourse, because the main reason of the issue is the phone failing to CPU boost certain games (getting worse with newer games) and GPU throttling

once you fix both (like you did), the stock kernel is quite capable

at this point GPU OC on custom will simply increase few fps but keep in mind EX still has better temps than stock kernel

for example boost+ fixed Asphalt 8 on stock hovers around 30fps, with GPU 450+ and EX it can reach the 40fps range

also the UI is always smoother on stock kernel since HTC optimizes and boost the CPU to insure most areas in their UI is smooth, dont forget we still dont have a source for 4.3, so custom kernels are currently based on an outdated kernel source "patched" up everywhere to run on 4.3 Sense ROMs
[One (M7) General] hamdir:
HTC One Simple Gaming Boost scripts - Root (updated)

Add permissions lock to the max_gpuclk this will force it to read only and prevent the system from changing it, ideal for kernels with pnpmanager enabled, i've also included my version for EX 6.x (boost to 477mhz, unboost to 409mhz)
[One (M7) General] hamdir:
[MENTION=4914682]Shan89[/MENTION] [MENTION=2841310]jerrylzy[/MENTION] i think this is the best place to continue the thermal discussion

so we can CPU / GPU boost on stock kernel without touching thermald, i found out that stock thermald does indeed keep the phone cool and disallow it from crossing 40c in battery, it seems to control different aspects besides max frequencies

in other words CPU Boost + thermald patch / disable on stock = bad thermals once 40c battery is crossed and overheating screen

New read only CPU boost + stock thermald = better thermals hovering around 40c battery

My new Gaming boost for stock kernel will set both the max CPU and GPU to read only and set them to write again after unboost, it's curious because once you set the CPU to read only, it seems it will throttle in different ways like the other three cores will stop running at their max after 40c battery and mpdecision seems to scale down on multicore use as well but CPU0 will stick to 1728mhz :)

This is a curious setup, since it performs better than the previous throttled 1134mhz + locked GPU400 but worse than 1566/1728 + GPU400 and ofcourse it's clearly worse than custom gaming kernels like EX, however temps are clearly much better than thermald patch

but it's still a very good solution for moderate stock users, all it requires is root + scripts and that's it! no need to patch or to mess with anything else and once you unboost the phone goes back to it's stock state

Gaming Scripts for stock updated again and i think the OP now needs an update as well :rolleyes:
[One (M7) General] hamdir:
Flar2 has a new concept for integrated CPU Boost
[One (M7) General] jerrylzy:
cpu seems to be the bottleneck of real racing 3...GPU 400mhz, 3.57 base. I managed to achieve 40fps avg with 4 cores enabled [MENTION=2002771]max s[/MENTION]peed, but when I turned 2 cores off avg fps droped to 38. I'll do some deep ananlysis about cpu freq&gpu performance when I get time
[One (M7) General] LPTJared:
Pretty cool
[One (M7) General] hamdir:
It's a piss poor optimized game if you ask me, Asphalt 8 is doing 1000x the graphical / physics works this game is doing and performs better at 720p + AA

just give up on it and wait for Gamelofts GT Racing 2

OP updated, the rabbit hole goes deeper :laugh:
[One (M7) General] hamdir:
Flar2 solved HTC's gaming boost problem in his latest 6.1.x Kernel

He added a feature called Graphics Boost, which basically boosts the CPU when the GPU is being used to the fullest ie: in games

excellent solution and negates the need for gaming boost scripts

note with Simple GPU governor, graphics boost is a lot more aggressive bascially the moment you touch screen will boost the GPU and hence the CPU, so simple governor + graphics boost is the best peformance at the cost of battery, on-demand GPU govenor is better for battery but might have few random stalls

make sure to uninstall fauxapp with this kernel or the GPU clock will reset to 200, also you need to remove the up_threshold line from my scripts if you are using Graphics boost