yashsingh1/xdaforums huggingface dataset:
[One (M7) General] hamdir:
[MENTION=4654138]py_martinez[/MENTION] [MENTION=2841310]jerrylzy[/MENTION]

I am currently testing a new version of the boost script for stock kernel which takes things a little further, basically it applies the same aggressive mpdecision values as EX' mpdecision performance option

but i have discovered that Asphalt 8 and many games like Ripetide GP2 never use beyond 2 cores on stock kernel and i suspect on EX as well

even when pushed to agressive mpdecision, the game rarely maxes out 2 cores, maybe sometimes a third kicks in but rarely (most likely for background activity)

did you guys monitor core usage in A8? can you confirm?

Eitherway, with the new throttle lock scripts on stock kernel, i have to say the difference in gaming between stock and EX are much reduced, Asphalt 8 almost runs the same on both stock and EX but ripetide 2 is still noticeably better on EX thanks to simple governor
[One (M7) General] py_martinez:
Good question.

I often have a look at my cpu stats using cpu spy . All I can say is that main of the time when playing a8, the cpu is at 1200 mhz. With pure on stock and on demand, it goes up and down, but mainly at 900 and 1200 mhz.

This is why I chose performance + max cpu freq at 2000 mhz with ex.

1200 or 1300 seems to be the good level of power for a8.

2 cores or 4 cores ? I don't know !:confused:

Can I ask you the same question about the gpu ?

How can I know if my gpu is really at 504 mhz (settled in ex.) When I play ?

Is it at 504 mhz during all game ? Does it vary ? How can I check real time gpu stats or freq ?

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] hamdir:
from my tests, especially with Riptidge 2 i have concluded that the ondemand GPU governor keeps the clocks up pretty well but not aggressively, simple governor however is better and instant (works like interactive governor for CPU)

Ripetide was clearly performing better with simple governor

you can always use my scripts to set both the CPU and GPU governor to performance before you game
[One (M7) General] morfini:
Hamdir I enabled tergra 4 graphics in dead trigger 2. The graphics are really good but I experienced a slight loss in frame rate. I am on stock kernel and I am using your script. Is there anything you suggest to get better performance?
[One (M7) General] hamdir:
first how did you enable it?

and i am afraid any further performance extraction needs custom kernel and GPU OC

you can try to set the GPU governor to performance during the boost state (copy it from my custom kernel script)
[One (M7) General] morfini:
http://xdaforums.com/showthread.php?p=46763352
[One (M7) General] hamdir:
did you try the GPU performance governor?

the game is 1080p so im pretty sure you can make it super smooth with the resolution 720p resolution script ;)

http://xdaforums.com/showpost.php?p=44952413&postcount=261
[One (M7) General] morfini:
I am on stock kernel. How do I enable performance gpu governor? Your script doesn't do that? Changing resolution will be my last choice because I don't want to lose sense
[One (M7) General] hamdir:
Just edit my script using notepad+ on pc or root explorer from your phone, copy the related line from the custom kernel script

Or just use trickster to change it after applying boost
[One (M7) General] datamage:
Appreciate the information Hamdir. I noticed from the get-go that my One was not performing properly in certain games. (Especially in 2D as mentioned.)

I have to admit, for a high end phone, this is quite disappointing. I did not experience these issues from the brief time I spent with an S4. If anyone happens to have the game Canabalt you can experience some pretty severe slowdowns in the game. None of the specified settings seem to improve this particular game. (Though I could be doing something wrong.)

Edit: Setting the governor to performance did improve performance.
[One (M7) General] sixk:
Does anyone know if there is a way to do this with automateit app?

Or would I have to have automateit open the cpu app when I play a game and get it to set the setting automatically?
[One (M7) General] hamdir:
As usual with these type of performance guides, its a learning experience

well i don't know about MSM-DCVS anymore seems results are unpredictable

i think we can get much better results by reducing CPU clocks a little (around 1400mhz) to prevent throttling and increase the ondemand aggressiveness

down_differential: 30

sampling_down_factor: 10

sampling_rate: 30000

Up Threshold: 50
[One (M7) General] hamdir:
Testing custom kernels next
[One (M7) General] ArmedandDangerous:
Can't wait for your results when I get my phone back from HTC. Barely 1 week old and I gotta send it in for warranty /:
[One (M7) General] py_martinez:
My small contribution :

I do love real racing 3 but it throttles and lags quite often. I know, I know, let's say it isn't 100 %fluid ;)

I have tried many tests.

Seems the best compromise is to set set cpu in msm governor, frequencies min at 900 mhz and max at 1500 mhz.

The game is quite fluid, temp takes 40 minutes to reach 42 °c THEN the game begins to lag :mad:.

Then you quit the game 3 minutes , the temp goes down to 35 °c , and you can play again for 40 minutes...

not found a better solution for the moment...

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] hamdir:
the best solution is a kernel with thermals control, my previous device which i wrote my reviews from was apparently a cooler device for some sort of luck reason, check my next post for a working solution
[One (M7) General] hamdir:
I played around with Faux and ElementalX kernels

Problem with Faux' is the lack of documentation and so far no GPU OC

But it's clear for now ElementalX seems to be the most advanced kernel, it's fully featured and well documented as well

I panicked at first when i lost my camera on stock 1.29.401.16r but then i chose camera fix from Aroma and worked, for faux we need to install a seperate camera fix .zip

The only thing i liked in Faux was the mp intellidemand governor and its values, on elementalX it seems the intellidemand is an older simpler non mp version

Even clocks were not sticking on faux (unless you use snake charmer from his app), but this is what i have done to get excellent gaming on ElementalX

lock the clocks to 1536mhz in AROMA, we really don't need more so lets reduce heat

selected run hot from AROMA, lets delay throttling as far as possible

selected GPU 450

installed camera fix and sweep2wake

Now the only governor which seems optimized for the s600 is the ondemand (msm-dcvs but its non tweakable and has a mind of its own), so stick to it's default values in order to insure good temps

However I have seen a noticeable stutter reduction thanks to the SIO scheduler, so use it for gaming, it ran both MC4 and Beach buggy impressively with much less stutters than usual

The only thing puzzling me for now is why my old PVS2 device used to run games this smoothly without even rooting and remained cool, my guess is that phone had a stroke of luck when it comes to temps and was not throttling at all, otherwise 1.28 was a simply much cooler firmware
[One (M7) General] hamdir:
if anyone with experience from the nexus 4 can shed some light on mpdecision?
[One (M7) General] hamdir:
For those who want Faux's intellidemand values, you can tweak any other kernel's ondemand with these values (very similar parameters between HTC ondemand and faux' intellidemand)
[One (M7) General] py_martinez:
Hamdir, thanks for the explanation.

A few questions.

Why do you lock the clocks to 1536mhz in AROMA, why not in set cpu ?

You have selected run hot from AROMA, isn't it run cooler to avoid high temperatures ?

Which app do you use to do this ?

up threshold 75 (go to full speed at 75% load)

[*]down differential 30 (these values will delay scaling down)

[*]sampling down factor 10 (these values will delay scaling down?

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] ArmedandDangerous:
1)AROMA probably does it on the kernel level while SetCPU has to do it on an app level.

2) Run Hot would mean the phone is allowed to get hotter before it starts throttling down and start making games stuttering. There is slight throttling on stock at higher temps.

3) SetCPU can be used to change those settings :)
[One (M7) General] babakmaham:
i want to use this kernel and your setting dear hamdir but how much changes battery drain with a normal daily use,you think?
[One (M7) General] ArmedandDangerous:
It shouldn't drain more than stock unless you're running games all day or you manually changed the governor settings :)
[One (M7) General] babakmaham:
can i try kernel on a custom Rom like as InsertCoin 1.08?
[One (M7) General] ArmedandDangerous:
Yup, should be no problem :)
[One (M7) General] py_martinez:
Ok I understand now what means run hot, I thought it was the contrary !

With rr3 I was at max 42 °c with stock kernel, and at max 46°c with elemental kernel and run cool.... (1500 mhz max in set cpu ...)

I will have a try this evening with run hot...

Stutters begin annoying at 43°c on my device...

I will have a try

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) General] hamdir:
My gaming tips always sacrifice battery endurance since we are trying to achieve best performance

1500mhz plus run hot plus gpu450 is definitely the way to go, maybe without need to change the governor, my phone is finally achieving the speed from my old PVS2 and finally able to delay throttling during normal gaming (while inside a case)

These krait SOCs are defiantly loosing a lot of speed due to throttling

They should have never crossed 1500mhz, GPU speed is more valuable, the only reason they can pushing these CPU clocks is for sales

Learn form the iPhone which is still at 1200 despite being dual core
[One (M7) General] babakmaham:
this is true idea completely but we know that htc one has a screen resolution with 3 time further than iphone .this means rendering power 3 times more than iphone is needed for same results in addition to Android is a hardware killer os.

I tested rr3 on some devices .xz one iphone 5 ipad new and nexus 4.

xz and one with 1080 res had a similar behavior about draining and game performance,some lags and high draining.

nexus was better a bit.Ipad was lagy too.

best performance and draining was in iphone because lower resolution and a powerful gpu as powervr .

I am wondering about to need people a full hd screen in new android devices.

is it really necessary?!
[One (M7) General] ArmedandDangerous:
Not necessary. The Adreno 320 would have been super crazy awesome on a 720p device. It's doing pretty well on native 1080p for most games too, but some games not at max, and not at 60fps :P
[One (M7) General] hamdir:
So i compared Dead Trigger 2 on the iPhone 5 to the HTC One and i also tried the hacked ultra high mode (wouldn't work with the xml trick so i had to use a cracked apk)

Firstly its amazing how everytime i switch to the iPhone i simply can not stand the screen resolution difference, for those who claim 1080p 400ppi+ screens are useless, you are so wrong, after getting used to the HTC One screen the iPhone screen looks incredibly low res and its not just density it lacks contrast, colors and the blacks look grey

On the iPhone 5 the game is running in ultra high already, fps rarely goes above 30fps and often dips below it, but its very playable, also the animated vegetation is very smooth, the device gets fairly heated and the screen gets warm as well but unlike our device, it basically hover around those temps, it doesnt keep getting hotter like Snapdragon 600 devices

On the HTC One the default maximum is high graphics which lacks the reflective water and animated vegetation, it runs in the 45-60fps range rocks solid in full 1080p, even the high mode looks significantly better than the iPhone 5 thanks to the much higher resolution, when you patch the ultra high settings, it has the same graphics as the iPhone 5, ie: reflective water and animated vegetation except the vegetation animates badly, the swaying is made of just a couple frames instead of constant smoothness, it looks ugly and i rather go back to high, anyway in ultra the game runs fairly well, the fps is slightly less than the iPhone 5 seems to run between 20 and 30fps provided you disable GPU throttling

(no need for boost with this game just GPU throttling disable)

This is just a clear example of how much better gaming the HTC One can provide, the screen is quantum leap ahead of the iPhone and even scaled back effects games looks immensely more enjoyable and let's not forget the massive sound advantage as well

Sadly it's Android so tweaking is always part of the whole equation, while on the iPhone you always download and play without ever trying to extract better performance or better graphics

Also when the dual core CPU / 3 cores GPU iPhone 5 gets hot as well it makes me feel better about our s600 beast thermals
[One (M7) General] The-Last-Hylian:
It is a really nice looking game, I'm quite happy with it in High settings, not really bothered about Ultra atm...

I'm just pleased to see that we can switch back to the old Dead Trigger 1 control scheme in the options menu, not a fan atm of the 'auto shoot'.
[One (M7) General] hamdir:
yea bro this is what i said, it looks better on our high / 45fps / 1080p than the ultra / sluggish / jagged / washed out on the iPhone 5

if you can get to compare them, i am pretty sure you would be pleasantly surprised

still im doing my job to report performance and graphics quality of games in this thread ;)
[One (M7) General] Reilly9:
Guys, I flashed the no GPU thermal throttling script. Then shortly after I flashed a kernel which overclocked my GPU to 450mhz. I selected the 'run hot' option in aroma when flashing the kernel. But, now I'm wondering if the previous script is still in effect. Will the flash of the kernel overwrite the previous script? I really want some kind of thermal throttling with these OC settings. Thanks
[One (M7) General] hamdir:
kernels like EX and Faux have their own thermal throttling instead of thermal and even with GPU450 there is no reason to throttle the GPU

eitherway you can always flash stock_thermal.zip before flashing a custom kernel just to be safe
[One (M7) General] hamdir:
As explained in this post we can finally select and lock the max frequency of our choice for the main core on stock kernel (it wasn't working before), this is ideal if you want to underclock boost slightly down from the max 1728mhz

Gaming Boost scripts for stock kernel updated

It will lock the main core to the selected speed and prevent it from throttling, the other three cores will remain unlocked and free to throttle on their own
[One (M7) General] faisaldante:
Allright I moved from the HTC One x to the One, and I gotta say Im loving the gaming on this device amazing, I have installed elemental kernel with running extra cool 450 gpu and -25 umv. Thats fine right, do I need to do much more to increase the performance, does this setupmean I play with less heat yes.
[One (M7) General] hamdir:
Need for Speed™ Most Wanted v1.0.50 updated with HTC One support
[One (M7) General] hamdir:
no your fine with the latest EX you don't need to use gaming scripts, just use graphics boost from kernel installer, if you want even better choose the simple GPU governor from the installer as well

if you want to use stock kernel simply use my gaming boost scripts (there is no need for the thermal patch anymore)
[One (M7) General] faisaldante:
Cheers mate I remember you from d one x forum lol shall do that I'm loving this phone so glad I've moved on lol
[One (M7) General] hamdir:
Upcoming Asphalt 8: Airborne update will bring new cars, tracks and price tag
[One (M7) General] hamdir:
Finally downloaded v1.50 of NFSMW , the game is running in 1080p with motion blur

No need for boost either

Impressive :laugh:
[One (M7) General] hamdir:
[MENTION=4654138]py_martinez[/MENTION] [MENTION=4914682]Shan89[/MENTION]

i want to play Asphalt 8 on stock kernel with half brightness and prevent heat as much as i can

so this is the best combination i found so far boost.sh

this will cap the main core to 1566mhz and put the device in powersaver mode (from within the script)

meaning the other three cores will cap at 1134mhz while the main will lock to 1566mhz max

i have to say it runs the game fairly well, starting with a cool phone on standby, it takes quiet a while for it to arrive at 40c battery (aka heating screen)

echo ""
echo "Tweaking...ondemand governor"
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo ""
echo " Locking...Max CPU frequency"
echo 1 > /sys/power/powersave
chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1566000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1 > /sys/power/powersave
echo ""
echo " Switching...GPU governor"
echo "ondemand" > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/trustzone/governor
echo ""
echo " Locking...Max GPU frequency"
chmod 666 /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
echo 400000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
chmod 444 /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
echo ""
echo " Switching...scheduler"
echo "cfq" > /sys/block/mmcblk0/queue/scheduler
echo ""
echo " Done"
echo ""
exit 0

otherwise playing this game with GPU lock and CPU boost, while at powersaver 1134mhz x4 cores has a noticeable reduction in smoothness or speed
[One (M7) General] Dustman317:
Can you port your work on galaxy s4 I9505 ?
[One (M7) General] Headless96:
Just use Ktoonz's / Faux's kernel and change the parameters through Trickster or something

Afaik the stock kernel on S4 brings no benefits which custom ones have. Plus you'll have better performance than with these scripts
[One (M7) General] hamdir:
GT Racing 2 is out and Free (IAP)
[One (M7) General] hamdir:
well you can use the scripts i think, just change the clocks to match your device
[One (M7) General] morfini:
Hamdir i played gt racing 2 using your latest script for stock kernel and it seems to me that the game is running very smoothly. Have you tried it?

Is there anything specific you can say about kernel, resolution, performance on htc one?
[One (M7) General] hamdir:
well everyone is reporting its running smoothly even on the One X lol

so i guess no worries, im still to download it
[One (M7) General] jerronchua55:
Great work on the script!! I just downloaded and used it, there was a more than noticeable improvement in fps especially for RR3, gameplay felt more smooth and enjoyable.

I have one question though, I'm using EX6.1.2 kernel with the script for EX6.x, my phone seems to run really hot during gaming that makes me kinda worried. I'm not sure how android phones run but I'm afraid I may exceed the thermal limits of the phone and spoil it, is there a way to gauge or is there an alert if the phone is overheating near its thermal limits? I'm living in a country with a pretty high ambient temperature (26-29°C room temp) too so that could attribute to the high heat output of my phone.
[One (M7) General] DeSaint2:
Most chips can handle pretty high temps. I try not to let mine go over 45c. Best way to gauge is by checking trickster mod on the info tab. If it starts getting hot, set it down for about 5 minutes with the screen off(on the home screen) and it should go back to close to normal temps. Metal casings are a God send with these hotter chips.
[One (M7) General] hamdir:
Elemental X kernel now updated with HTC 4.3 Sense 5.5 kernel source (fully functional with Sense 5.5 ROMs)

For pure odexed stock users you might need to clear cache from fastboot in order for the kernel to boot

and some of my feedback for gaming:
[One (M7) General] nukeman239:
hamdir, can you change the GPU governor on the fly with Trickster mod?
[One (M7) General] hamdir:
yes or using my scripts
[One (M7) General] morfini:
Hamdir i didn't see any improvement in asphalt 8 using latest elementalX. In my opinion your script on stock kernel gives better results, and also the ui of the phone feels a lot smoother
[One (M7) General] hamdir:
I'm still judging the kernel, did you clear cache? the ROM might be resettling

from my experience it needs a week to settle

besides you can also use the EX scripts, graphics boost is not locked 100% like my scripts
[One (M7) General] morfini:
I didn't cleared anything and i didn't give it any time to settle. I thought i would see a significant improvement, i didn't and i reverted to stock.
[One (M7) General] hamdir:
well then this just vouch for my scripts :laugh:
[One (M7) General] morfini:
Hamdir your script and Jerryizy's zips don't seem to work on 4.4 sense roms at least for Asphalt 8. Have you tried them?
[One (M7) General] morfini:
Well i tried stock and custom kernels, nothing seems to work. I guess asphalt 8 isn't optimized for kitkat
[One (M7) General] hamdir:
didn't get the chance to try KK yet but it's very worrying what you are reporting

other games?

[MENTION=2841310]jerrylzy[/MENTION] can you please test?
[One (M7) General] jerrylzy:
I never succeeded in purchasing/downloading asphalt 8 in Play Store. Since it's free now, could you please send me the apk file? :laugh:
[One (M7) General] hamdir:
no it doesnt work like that

you will need to download it from your device, even the stupid .obb file can not be copied, if you copy the obb the game crashes!

i am downloading your backup right now, i will be testing the games situation

a regression is pretty worrying :rolleyes:
[One (M7) General] jerrylzy:
When downloading it always says error 941. Any ideas?
[One (M7) General] hamdir:
yes like i said you need to download it both the apk and obb from the playstore normally, any copying will results in download error
[One (M7) General] jerrylzy:
it's the google play store that tells me error 941. if i could have downloaded it from play store i would not have asked for the apk...
[One (M7) General] hamdir:
yes ok delete everything that has to do with the game

including the stuff inside the data/user folder, restart and redownload

maybe its not compatible with KK?
[One (M7) General] jerrylzy:
my /data partition is fully wiped by the ruu, and I can't download it on both 4.3 and 4.4.

Maybe because I am in China.
[One (M7) General] hamdir:
well your best bet is apkmania
[One (M7) General] morfini:
Other games seem to work fine for me though in other threads people are reporing low fps generally on Kitkat