yashsingh1/xdaforums huggingface dataset:
[HTC One X] nyorbee:
For me this not working either, I don;t see any difference, I'm testing on GTA 3, and NOVA 3, gta performed even better on my sensation wic OC to 1,7. I have 2.05.401.2_OnDemandSwtich+MinFrees sript when I click on widget I see:

exec sh '/mnt/sdcard/ondemand-performance+maxminfrees.sh

rd/ondemand-performance+maxminfrees.sh

Is that mean is it on, or what?

Then I'm exiting program, start a game, and it's the same.

Btw, what a shame, that phone that strong and expensive can't handle hd games.....
[HTC One X] hamdir:
try the Powershift scripts, but you need superchager and diehard installed

man do u realize that nova 3 on the sensation HAD ALL THE SHADER EFFECTS TURNED OFF! ???? and its QHD! its joke to how it looks on the HOX especially when engaged in full mode

and we explained a million time it has to do with GL not optimizing for tegra

i dont care about GTA it might be its problem, but shadowgun THD, RipeTide are liquid smooth, also dead trigger, max payne and Mass effects and you really think this can't handle HD games

seriously why do i even try...save yourself the bother and jump ship while you can
[HTC One X] nyorbee:
Tell me If u can, when I see this

exec sh '/mnt/sdcard/ondemand-performance+maxminfrees.sh

rd/ondemand-performance+maxminfrees.sh

when I'm clickin on this script, this mean it is on?

If yes, than maby I should try other of u scripts?

I care about GTA III, when it's raining, it's lagging... :(
[HTC One X] hamdir:
man supercharger is the best way to clean RAM

so if you can use the OnDemandSwitch+Supercharger-v2.rar pack its better

but you first need to flash die hard from here

and follow the guide in here to run supercharger

its complex but once you set it up, its for good
[HTC One X] nyorbee:
Ok, I will try to do this, and u saying I only must do this once, and than only turn on script yes? Is this supercharger will not disturbed in daily bases use?
[HTC One X] hamdir:
supercharger boost you control on and off using the scripts, in the off state it will run in stock memory multitasking values and stock ondemand CPU level

all supercharge does is control your memory and multitasking priorities
[HTC One X] nyorbee:
Ok, than First I have to flash diehard (via recovery?) And than just add to script manager OnDemandSwitch+Supercharger-v2.rar pack and it is all?
[HTC One X] hamdir:
die hard via recovery

then install supercharger script like in the tutorial i showed u

then the powershift scripts

I promise to simplify the OP and clean it when i can
[HTC One X] nyorbee:
I must use Files for Base 2.05.401.2 when I'm using faux kernel?
[HTC One X] hamdir:
if you ROM is 2.05 use everything for this base

ill remove the 2.05 label from the rar names, because its confusing these are simply ondemand scripts unrelated to which base u use
[HTC One X] nyorbee:
I send u a PM to be sure I get everything right
[HTC One X] Cozer:
Thanks

Thanks for the guide, a wonderful one..... But so far farux123 or franco kernel which is better for gaming but battery life last too.
[HTC One X] hamdir:
both very similar

i use faux because he integrated so mcuh from the latest NV 3.1 drivers and ofcourse GPU@520mhz!
[HTC One X] timlambo:
Hamdir, look at the screenshot Played riptide, but just look at the CPU steps. Think you would like that. Did research last night and I edited your ondemand script.
[HTC One X] hamdir:
nice post all your values so i can have a look

keep in mind however 1400mhz step = 2 to 3 cores :)

ideally we want the 1200mhz step for games like shadowgun THD
[HTC One X] hamdir:
ok i just simplified the OT for new comers

all they need to do is simplify look at the QUICK METHODS section and go from there

ill update the ondemand packs and remove the base number from the script posts since its unrelated and confusing

but ill wait for timlambo to show me his tweaks first
[HTC One X] ORStoner:
What optimized on-demand script do I download?
[HTC One X] hamdir:
If you have supercharger working, use the powershift scripts

OnDemandSwitch+Supercharger-v2.rar
[HTC One X] timlambo:
Hamdir, I sent you a pm. Only because it might be easier as I don't want to confuse people here with my opinions, which might be wrong. Who knows:D
[HTC One X] hamdir:
check my reply plz
[HTC One X] ORStoner:
I'm not using supercharger I set the memory limit to very aggressive. Which should O download then?
[HTC One X] hamdir:
u can use the first one or the +maxminfress if you want
[HTC One X] hamdir:
do you guys wants a poll to be added?

i think we have three so far struggling to get results
[HTC One X] timlambo:
Yes I think it will be very nice. Also you should if you can add something, like the ease of use(setup).
[HTC One X] hamdir:
done, i voted ofcourse :)
[HTC One X] ORStoner:
What did I do wrong?
[HTC One X] hamdir:
nothing is wrong :)

one value is specific to stock 2.05 kernel (down_differntial) and so it gives an error if it doesnt find it but it will keep going with the rest, don't worry it worked

ill remove this value from the next version since i'm not using it and add a success message :)
[HTC One X] ORStoner:
Great, my average in nenamark 2 this time was 59.4 FPS. Looks like they're going to have to make a nenamark 3 to keep up with this forum!
[HTC One X] hamdir:
awesome i didnt attempt nenmark yet it scores 53/54 on stock 1.29 with the latest version

you no longer have to set the minfrees yourself, you can simply use the scripts to go go back and forth (you can manually edit the .sh file and set your own stock values)

finally if it worked for you please vote :)

what's nice is that we unlocked the GPU relatively early in the lift of the device, usually such a development happens much later, it only takes some lobbying :D
[HTC One X] ORStoner:
Where can I vote?
[HTC One X] hamdir:
vote at the top of this topic

by the way all i get is 56.3 nenamarks, i guess Rom cleaner still doing its wonders for you :)
[HTC One X] hamdir:
i just rebooted and 73fps egypt offscreen

we are definitely memory bound guys
[HTC One X] ORStoner:
Ah I can't see the poll, I don't have a pc.
[HTC One X] hamdir:
its ok

can you give us a screenshot from your egypt screen 75fps? :)
[HTC One X] ORStoner:
I said 74 but yeah sure I will run it again when the battery is at a good level (12% and charging atm). By the way, using the max minfrees script as opposed to the normal performance one severely dropped benchmark scores.
[HTC One X] hamdir:
thats odd

ill do some tests
[HTC One X] Cozer:
Thanks i'm using faux too so far so good :fingers-crossed:
[HTC One X] hamdir:
vote plz :)
[HTC One X] DeeZZ_NuuZZ:
î get with gl benchmark 2.1 EGYPT 72 fps 8171 frames and 2.1 Pro 100 fps 4991 frames with faux 004b6 and with your ondemand script+maxfrees+powershift+gpulock on 7.2.0 de-sensed :p
[HTC One X] timlambo:
Hamdir take a look here. I think we are getting further with those settings. Again look at your pm. The first pic was playing shadowgun, and yes we still need to do some more to those values. The second pic was playing nova 3, and its buttery smooth.:D. Rest is in pm.
[HTC One X] hamdir:
timalambo i think we nailed it for faux i tried it yesterday and the thing is just flying

it has no problem ramping up to 1400 and calling all the quads, if the quads remain in use it scales down to 1200!

so ill be releasing specific scripts for faux004b6

guys just keep in mind with MaxMinfrees you are actually brute cleaning the RAM, which means some processes will keep attempting to open in the background this is why u see some stutter in the initial play of shadowgun

however play for a while and things will settle

a good advice is if you are using maxminfress DO NOT KILL TASKS before you play a game, lets those remaining process stay otherwise they will attempt to reopen

if you find non minfrees scripts better for you, use them!

finally one last tip switch to Apex launcher as default and reboot, you will get some more free RAM

silly me i forgot to make the votes public :) so now you can kill this thread without me knowing who :)
[HTC One X] hamdir:
oh and one bit of bad news

our friend ORStoner broke the screen of his HOX yesterday :(

he is in college and he can't afford to fix it yet
[HTC One X] timlambo:
That's a bit bad. Damn just wish he could repair it somehow or get new phone via insurance.
[HTC One X] hamdir:
Gaming Boost Scripts: Ondemand Governor

| best for Faux and stock 2.17 kernel| last updated: 29-7-2012

I've prepared these scripts to simplify the process, no need for SetCPU, a restore script is also included in each pack, requires root

v3:

- Further optimization by raising sampling down factor to 10 and set max speed to 1400 to prevent single core lock

- Switches to deadline scheduler if available since we need better RAM management

- The GPU lock option is still available, this will lock the GPU at its max available clocks during 3d games only (520mhz) it will cost some extra heat and not really needed since the governor is now aggressive enough to keep all the clocks up, i recommend the non GPU scripts for better temps

- Added onscreen messages to the non supercharger scripts

ALWAYS REMEMBER You must re-run the script after screen unlock, otherwise parameters like 1400mhz multi-core lock and sampling rate will reset, which reduces the main speed benefits of the script, you also have to close script manager before you re-run the script

faux004b_OnDemandSwitch.rar-v3

Switch to optimized aggressive/ondemand governor, plus optinal GPU lock

faux004b_OnDemandSwtich+MinFrees.rar-v3

Switch to optimized/aggressive ondemand governor and set max memory MinFrees, plus optinal GPU lock

faux004b_OnDemandSwitch+Supercharger.rar-v3 - recommended

MaxMinfrees supercharger Poweshift + intergrated optimized/aggressive ondemand governor, only for those already using supercharger, plus optinal GPU lock

Download Script Manager

Download the scripts you choose and extract to a folder on your SD card

Browse to the folder using script manager and flag "Su" and "Fav" for both scripts, save and exit

Go to your homescreen and add "SManager" Widgets, place both scripts on your home screen

Now the process is a simple single action, you simply press on the script widgets you placed on your homscreen to switch between the two modes

Maxminfrees or supercharger, will switch to aggressive low memory killer, this will kill most of the background processes, keep in mind during initial play some of the process will load and cause some hitches, keep going and it will settle, i advice not to kill all tasks with maxminfress in order to leave those processes in the background and prevent reloads

In case you are going with minfrees use the DieHard patch if you don't want your sense launcher to close during gaming or HardToKill if you are ok with the possibility of gaming killing the launcher to free more ram, keep in mind the constant sense reloading will cause battery drain so I recommend DieHard

more info about supercharger in this post

more info about optimizing ondemand governor in this post

Warning:

play for a while and wait for the game to settle in memory before you judge

Tip:

You can switch to APEX launcher as default and reboot for extra RAM
[HTC One X] hamdir:
Updated the ondemand governor scripts for stock 2.05.401.11 kernel

v3:

- Kept sampling down factor at 1 because we can't lock out the 1500 single core step

- The GPU lock option is still available, this will lock the GPU at its max available clocks during 3d games only (416mhz) it will cost a little extra heat

- Added onscreen messages to the non supercharger scripts
[HTC One X] timlambo:
Hamdir, I think you should make that files zip format. Might be easier for people who extract it via their phones.

For the rest, well you must try this new versions. They are simply put, superb.:D
[HTC One X] hamdir:
no mate they might mistake it and think its flash-able via CWR :)
[HTC One X] timlambo:
Ah ok. I see what you mean.
[HTC One X] hamdir:
Updated Interactive governor scripts for stock 1.29.401.11 kernel, Faux003b11 and FrancoR12

v3:

- Set max speed to 1400 to prevent single core lock

- Switches to deadline scheduler if available since we need better RAM management

- Added GPU lock option, this will lock the GPU at its max available clocks during 3d games only (416mhz) it will cost a little extra heat

- Added onscreen messages to the non supercharger scripts
[HTC One X] KLUVJ:
hamdir, maybe this us asking for too much. is there any way that u can make a flashable zip with all ur recommended patches and settings? just so its a one stop solution for newbies while old timers can still use the old fashioned scriot way.

a lot of my friends have come to me asking how to apply this even after they read like 80 percent of the thread.
[HTC One X] timlambo:
If it is a flashable zip, then the settings would be permanently. This can be done, but it's of course not recommended. I will contact hamdir and see if we can't find a solution or an even easier way of doing things.
[HTC One X] Nubzori:
Awesome but is It Normal that System tuner says Interactive, even though i started it first time ever?

Is reboot required when changing governors?
[HTC One X] hamdir:
no it should be on-demand by default

do u hav a custom kernel installed?

no need for reboot its instant and it does not stick on reboot unless specified in boot settings
[HTC One X] Nubzori:
Nope yesterday night superwiped, installed clean arhd and supercharger+ultra smooth Rosie. Nothing else. Boom interactive governor o.o
[HTC One X] hamdir:
makes no sense :) something has switched it
[HTC One X] Nubzori:
Hmm, dunno, well changed it back to ondemand and it works fine
[HTC One X] hamdir:
make sure they are not sticking on boot, in system tuner CPU boot settings
[HTC One X] hamdir:
Ok update regarding supercharging

Use HardToKill patch instead for gaming

and apply miscellaneous tweaks
[HTC One X] BiggerBux:
hamdir, I have this problem: I've tried all in my HOX, but I can found a way to play all my thd games smoothly... Can you suggest me the best settings for gaming? The best of all... CM9, Sense-Based roms with stock kernel... What? Tell me, please =(
[HTC One X] hamdir:
this is what im suggest :| did you try the v2.2 advice? i just updated it with info about supercharger

for Sense use the HardToKill supercharger patch with the rest of my tips, this is working beautifully for me!

otherwise you go for CM9 the less bloat the better

Or ARHD with No Sense Rom Cleaner patch, to reduce bloat on the stock based ROM
[HTC One X] BiggerBux:
CM9 is the rom in Modaco forum, the TripNraver release?
[HTC One X] hamdir:
yes

also lots of gaming-centric ROMs in the development section in here
[HTC One X] BiggerBux:
Now I'm on LeeDroid 6.2.0, base 1.29.401.7 with kernel that came with it...

With supercharger script I can improve my performance, do you think ?
[HTC One X] hamdir:
so you didnt really try my advice! my tip is based on supercharger!

and stock kernel is in my opinion best or francos
[HTC One X] BiggerBux:
I've asked you about a suggestion because now I'm trying this Rom, and the next will be the one for gaming, understood? Only for that I've asked you!

Now I will try ARHD with Non Sense Patch, with francos kernel and supercharger =)
[HTC One X] hamdir:
ok let us know how it goes for you

don't expect 60fps in S4E2 it should run between 45fps and 20 fps at worst, the idea of this TIP is to get rid of those stutters and needless dips
[HTC One X] BiggerBux:
I will test ARHD with that patch and CM9 and let you know =)
[HTC One X] vua777:
let's try
[HTC One X] BiggerBux:
I've tried the supercharger patch, but I don't read at the end SUPERCHARGER LEVEL = 100 %... Games have lot lags as well... I'm on ARHD 6.0.0. stock Kernel with no sense patch...
[HTC One X] hamdir:
if you don't let your rom and settings settle and cache, don't expect anything to work if you are changing roms on the fly!

dont forget to change your governor to interactive before you play

sorry but i don't know what to say games are running great for me and i've been running the full loaded ROM, HardToKill patch and the tweakes solved most my lag issues
[HTC One X] BiggerBux:
I've only flashed ARHD after a full clean wipe with Rom Cleaner non sense... And then used that script, followed your guide but I can't see the Supercharged = 100 %... Now I'm on CM9 with his kernel and it seems to be more flawless, governor interactive... Must try Eternity Project Kernel or Franco's, that maybe, for me, are the best for gaming...

At the moment I see some lags in Shadowgun THD when I'm firing enemies from a repair and they're doing the same thing...
[HTC One X] hamdir:
yup flashable zip won't do

i tried to simplify everything to the max, i've updated my guide and all they need to do is to check the Quick Methods part in the first post, its really very easy

scripts will always be the best way

finally there is suprise being cooked by wilkyyyy and myself :)

wish us luck
[HTC One X] timlambo:
For you sir, I wish luck.
[HTC One X] timlambo:
Hamdir, looks like Franco's kernel does have the sio scheduler. So you should maybe change it to that, instead of the deadline. Will test and report later.
[HTC One X] hamdir:
good point ill update the interactive scripts

my scripting skills can't go further however so i can't make it conditional
[HTC One X] timlambo:
I only know a little java code. Still in 1st year. Anyway, I only know if and or statements together with a few others, but not sure of we will be able to make use of if statements. Might be possible, we are only reading it from a file, anyway, I'm still learning.
[HTC One X] hamdir:
try to see if you can use the code in the kickass kernelizer, it has a scheduler selector by priority (sio>deadline>noop) i tried to import it but it failed saying permission denied

by the way i have the hunting suspession that 003b11 was as fast without the heat cost we have @ 004b6, needs to look this up
[HTC One X] hamdir:
finally we have one s3 lover vote :)

surprised it took this long :D

"No but its not the guide's fault"
[HTC One X] hamdir:
pretty intrigued by Gameloft's admission of not properly supporting Tegra3

Wondering how their games will run once properly supported

The SGS3 simply eats N.O.V.A.3 for breakfast, the exact same graphics as the One X full effects version plus Depth of field, it clearly runs over 60fps

now the One X is no where near, but for fun play the first level with my max powershift script

once you get near the fountain turn right where you see the flipped car and the newspaper stand, combat the enemies in that area mantaining this direction

you will notice its 60fps, even with the heavy shooting and heat haze effect

this to me looks like a major polygon clipping issue and the hint to this is the crawling polygons we see in most GL games

clipping is hardware supported method where the GPU will clip and hide every polygon you don't see, on PowerVR devices like the iPhones its simply ESSENTIAL since the vertex load is multiplied due to tiling and hence you absolutely must insure optimum clipping

if we are seeing visible clipping issues on T3 devices + GL games, this to me means clipping is not really working well and hence our vertex load is actually much heavier than on other devices, if this is indeed the case, its a miracle we are running these games at any acceptable rate, especially since T3 has only 4 vertex pipes (not a disaster considering the PS3 has only 8)

now add to this Tegra 3 THD optimization's like offloading lighting, particles, physics, ragdoll, animations as well as many other to the quad

and you have a very clear idea why GL games are fail on T3

play ripetide on the SGS3 and the frame rate is not any better than the HOX version minus a massive amount of effects, play dead trigger and same conclusion i don't see dead trigger running brisk on the S3 (by the way it auto detected graphics as low on the s3, i had to manually raise them to high, weird)

no way no how the same chip running Dead trigger with all its "ultra" beauty is unable to run Asphalt 7 or NOVA3, anyone thinking otherwise is simply fooling himself

Those jumping to the S3 simply on account of GL games are simply forgiving a software massive fail and ignorantly accepting the blame on a very capable hardware

Finally i have to say kudos to Samsung for considering the gaming crowd and having their device run games at its best out of box without any user effort :good: (Samsung actually provides a power-saving/speed trigger unlike the stupid over simplification of HTC)
[HTC One X] timlambo:
Hamdir, I recently saw a post on xda portal, on how to enable tegra 3 effects on dead trigger, for non tegra devices. Can you try that and see the difference between the 2 devices. Lastly, what about the heat on the phone, and gaming time. Hox is about 3h right.
[HTC One X] hamdir:
excellent idea @ dead trigger
[HTC One X] hamdir:
Sorry these two thread are sometimes fighting with each other

Further evidence that memory bandwidth is playing a part in all this
[HTC One X] hamdir:
SGS3 - I9300

CPU: 1400mhz max - 200mhz Min

GPU: 440mhz (I'm sure @32nm it has a little more)

Governor: pegasusq

scheduler: CFQ

One X - Tegra3

CPU: 1500mhz max - 51mhz Min

GPU: 416mhz (stock, unlockable to 520mhz in custom kernels)

Governor: OnDemand

Scheduler: noop
[HTC One X] hamdir:
Reckless Racing 2 on The SGS3

HighRez Textures but no shader effects unlike Adreno2x and iPhone4s

Frame rate between 30 and 40fps (weirdly)

Reckless Racing 2 on The One X

Low Rez Textures than the One X (which are a joke Tegra2 stuff) and no shader effects unlike Adreno2x and iPhone4s

Frame rate 60fps

Ran much better than both on my old Sensation
[HTC One X] timlambo:
Do you think we can manually edit those files like on the asphalt 7. To force it to higher textures.
[HTC One X] timlambo:
Are you going to see if you can further optimize it a little bit, or are you going to keep it to a stock experience?
[HTC One X] hamdir:
no i cant root it yet, its not mine (so far) but samsung seems to have a smarter own governor (learn HTC) plus they provided a power-save performance trigger its even placed in the notification area
[HTC One X] hamdir:
This is a prime example of the problems on android

a very very good game, that didn't get updated for neither the SGS3 or Tegra3

very stupid, iPhone owners will run screaming fail, when it ran better than iPhone on the now old Snapdragon3
[HTC One X] hamdir:
waw crazy

Its basically an modified onDemand just like HTC is doing with onDemand on 2.05 (wouldn't be surprised if even rename it on final release)

PegasusQ: on SGS3

sampling rate: 50000

up threshold: 85

sampling down factor: 2

ignore nice load: 0

io is busy: 0

down differential: 5

freq step: 40

cpu up rate: 10

cpu down rate: 20

cpu up freq: 500000

cpu down freq: 200000

up nr cpus: 1

max cpu lock: -1

hotplug lock: -1

dvfs debug: 0

hotplug freq 1 1: 500000

hotplug freq 2 0: 200000

hotplug freq 2 1: 500000

hotplug freq 3 0: 200000

hotplug freq 3 1: 500000

hotplug freq 4 0: 200000

hotplug rq 1 1: 100

hotplug rq 2 0: 100

hotplug rq 2 1: 200

hotplug rq 3 0: 200

hotplug rq 3 1: 300

hotplug rq 4 0: 300

onDemand: One X - stock 2.05.401.2

sampling rate	30000

up threshold	90

down differential	3

sampling down factor	4

ignore nice load	0

powersave bias	0

io is busy	1

two phas freq	1000000

touch poke	1

ui sampling rate	30000

ui counter	5

onDemand: One X - stock 1.29.401.11

sampling rate	50000

up threshold	90

sampling down factor	4

ignore nice load	0

powersave bias	0

io is busy	1

two phas freq	1000000
[HTC One X] hamdir:
Dead Trigger runs exact same as the hox on high

couldn't enable the t3 graphics since it needs root

exact same fps, temps slightly over 40c, heat translates to the glass surface on the bottom part, but not nearly as bad as the hox
[HTC One X] hamdir:
Ripetide on sgs3 runs around 60fps but suffers from serious frame rate dips when there r on screen racers, guess its a governor issue too