yashsingh1/xdaforums huggingface dataset:
[HTC One X] hamdir:
Gaming boost scripts for Franco R20

Both on and off scripts included, extract the zip file and run with root options using script manager, you can also set it to run at boot or create a script manager widget

Update: This enable GPU520, disables 3D clocks scaling and set gaming boost values for the onDemand governor, also use the 1500mhz step since it's quad core on Franco R20 (Works great with WildBlood 1.0.7 - effects version)
[HTC One X] nashshafrulrezza:
Thank mate! This really make it easier for me!
[HTC One X] timlambo:
Why are the minfrees divided by 4? I thought I had to enter it with the full amount. My bad, also thanks for fixing it now. Also I think you can update the op again with this script.
[HTC One X] hamdir:
apparently this is how the values are converted

regarding OP and even the renovate app

just give me time to try it with more games and grasp whats going on

for example i know realized we can still use the old min frees, makes no difference to speed and franco's minfrees are actually causing the sense launcher to reload after games

all games are performing the exact same as faux except wildblood is better, very strange, maybe its the BFQ scheduler? or maybe Franco implementation of GPU OC is better
[HTC One X] Actura:
hey hamdir, if you want the sense launcher to not reload after games...why don't you just renice it ? like renice -19 `pidof com.htc.launcher`

or you can use this trick ->http://xdaforums.com/showthread.php?t=1889300 ... i am using both but i am sure the first one is working ... not sure if the second one is working:confused:

but i am still using the both tweaks on my hox :rolleyes:

btw your gaming script is great :D i will try the franco kernel tomorrow

and don't you think you also need to tune another tweak to make your gaming boost better ? i have some additional on my gaming script

hope that can help you to make htc one x better:D
[HTC One X] hamdir:
thx for the tips, ive been relying on gaming boost app actually

ill try ur script ;)

many values in there i wouldn't dare touch though :)

the problem when u miss with android internals you don't know what ur really doing, like you advice in the end to restart the device after being done with gaming

my scripts and gaming app, was always meant to be a simple trigger that you can switch on the fly, the tweaks therefore should be minimal and elegant
[HTC One X] Actura:
well you can improve the gaming boost app by adding some tweaks :D

gaming boost app makes gaming become so simple, you do not need to go into terminal bla bla bla, just one click and it's done :good:

i hope you can extract the full potential of htc one x even more :;)

hmm maybe we need the original values for each tweaks so it could be easily returned into the original values after finished gaming ?

as for renice command, i don't think it would mess with android internals, so you can try it by yourself

before you're going to playing a game, write the renice command for sense launcher

and see if that tricks is works or not
[HTC One X] hamdir:
Actura mate sorry i tested your script and i saw no visible benefits, keep in mind we really don't need this much free RAM anyway ;)

anyway here goes (deep breath)

So i've tested faux 10u with and without franco minfress

i've also tested with GPU scaling turned off and with three different schedulers (deadline, noop and BFQ) and i tested Franco with supercharger minfrees and default ones, always the same results wildblood is indeed running a lot better, wildblood on faux is not only laggy but its actually "Slow", on Franco its a lot more enjoyable

this concludes it has nothing to do with scheduler or minfrees

now before we celebrate and give it the title of best gaming kernel, this situation doesnt apply to other games, with GPU520 Nova3 actually throttles too quickly on franco (from 1500 to 1200) on Faux 10u throttling happen later (from 1600 to 1400 on variant 3, 1550 to 1350 on variant 2 1500 to 1300 on variant 1, and 1400 to 1200 on variant 0) so for Nova Faux is better, I've even noticed beach blitz buggy running better on Faux

so i tried wildblood on stock with gaming boost (while making sure not to screen off and mantain the 1400 quad lock) surprise! it runs better on stock too, on GPU416! and cold like ice!

so this is really confusing, there is something in the faux kernel that makes wildblood run better on both franco and stock

now here is the interesting bit

Wildblood is one of the coldest 3d games i played on the One X, the device never heats up even wcith GPU520, if i go higher with the GPU it will BSOD on screen off but i've tried GPU600 and both wildblood and Nova ran, the performance was slightly better for wildblood and despite the extreme GPU OC it never really heats up

If i play Ripetide or Beach blitz buggy it freezes after few minutes with GPU600 EVERYTIME

this is the very proof that put simply Gameloft games are not using multicore coding AT ALL and by the look of the temperature situation on wildblood its barely pushing the cores on the GPU either!

So i ran Tegrastats and played Wildblood, voila! THE GAME NEVER CROSSES single core use and whats worse it never cross 82% single core load

this game is the final bullet for me from gameloft, its running like **** on Tegra and not running even in dual core, tomorrow ill be writing a massive email to Androidandme!
[HTC One X] edge3uk:
I'm also having a problem with supercharger. It will only get to 50% supercharged. minfrees and oom grouping fix are both not working. any ideas? I'm running andrev 6.0.0 with faux kernel.
[HTC One X] hamdir:
yes Franco is pretty good since it tweaks the OnDemand values for much faster jump between steps

CM9 well you have an optimised kernel plus bloat free super light ROM so no wonders

as for my sense tip, tis working for me

last and most extreme tip would be if you like to try is to lock the minimum clock during gameplay only to 1.0ghz + interactive but for me i don't use this anymore since it cause heat and drain
[HTC One X] hamdir:
you need to flash the patch files! otherwise supercharger will not work

HardToKill services.jar or DieHard

Hard to kill is best for gaming

http://xdaforums.com/showpost.php?p=26657345&postcount=173
[HTC One X] edge3uk:
I did flash the hard to kill patch in recovery, then cleared caches, rebooted and ran the script in root mode. I dunno what's going on.
[HTC One X] BiggerBux:
At least I have some lags during gaming in Shadowgun, even if I set Interactive governor min 1 ghz... Mah, something wrong with the versione of STHD? 1.1.2 is the tegra 3 version?
[HTC One X] Nubzori:
https://www.dropbox.com/s/enqbaw026lh5j08/2012-05-31 22.00.27.png

https://www.dropbox.com/s/5qk59l7ekd3vurv/2012-05-31 22.03.46.png

https://www.dropbox.com/s/1wz9i5xbghrgn83/2012-05-31 22.07.12.png

https://www.dropbox.com/s/z3sphhoitikauio/2012-05-31 22.07.04.png

https://www.dropbox.com/s/h06ehq66tkdkqj0/2012-05-31 22.21.07.png

Games request Quad 1.2Ghz mode only when needed, this works very well, no stutter, no lags in games, frames dont drop :)
[HTC One X] hamdir:
this is not magic so don't expect to fix a game that can't run faster, the whole point of these tips is to fix the shocking frame dips on stock firmware and most importantly stutter

transformer prime review of s4e2 said the game runs at 20fps-45fps

so really I'm happy with this given is running in 720p with ps3 grade quality

I must say t3 is the best thing about the One X

by the way this addition to build.prop is essential

mike didn't put it in ARHD 6.0.0

windowsmgr.max_events_per_sec=200
[HTC One X] Nubzori:
Fixed my post! I haven't gamed on much yet but I take it back, even if it only does 1Ghz and 3 cores on some games, fps remains high and playable. Could further OTA:s and kernel 3.0 for example optimise this even more, Tegra 3 is monster even now!
[HTC One X] hamdir:
never forget T3 is meant to be variable so don't expect it to lock into full speed, it ramps up when needed but on-demand is very shy

basically the most important things

. interactive governors

. HardToKill patch

. windowsmgr.max_events_per_sec=200

if you want more raise the minimum clock bht I strongly advice not to

all we need to achieve is prevent serious ramps down of MHz and no app in the background to interfere
[HTC One X] BiggerBux:
Can I ask you if I can try the HardToKill patch to CM9?

And if I can add that string to the build.prop? And, if so is possible, in which part of build.prop?
[HTC One X] thedan55:
Hey hamdir quick question

Why shouldn't we game while charging?

Also while I was charging through my external battery the top led was flashing green and red, what does that mean? The battery temp was 47

That only happens to me when it's connected to my external charger not when I'm on mains.
[HTC One X] hamdir:
heavy use during charging is bad for the battery, might stop the device from charging and most important will result in much extra heat

flashing LED during charging means the battery is getting hot due to heavy use and it stopped charging, this is a normal safety precaution as mentioned in the One X manual, the same measure is applied in the iPad3
[HTC One X] hamdir:
no use the supercharger webapp to patch the supplied services.jar with CM9, don't use my patch since its purely for the Stock sense base

you can add whatever you want to build.prop if its not already there
[HTC One X] hamdir:
so now i have a new habit

i'm using the conservative governor when downloading huge SD files for games

the device stays cool and cold and barely any battery is spent :D

of course don't dare showing it to any iFriend during this state lol

update: so far downloaded 1.2GB for NOVA3 over wifi over 2 hours and only lost 10% with this trick :D
[HTC One X] edge3uk:
Nova 3 isn't up for hox is it?? what's the trick?? :)
[HTC One X] hamdir:
want the best possible performance? :D

apply all my tips, interactive + Franco r8 :cool:
[HTC One X] gffmac:
Tell us your secret for getting Nova 3 to run :P

I was thinking maybe a build.prop mod.
[HTC One X] hamdir:
no secret yet

it downloaded 1.2gb and stopped working
[HTC One X] gffmac:
I just get Your device is not compatible with this game. etc.
[HTC One X] hamdir:
Someone asked me the best possible settings for gaming

There is a reason why iPhones and consoles have very limited multitasking, multitasking will always share performance, CM9 runs better since its much less bloated but start downloading app, widgets and soon it will perform as bad as Sense in games

So the best recipe for THD gaming:

- Reduce as much bloat as you can on your own like needless apps & widgets etc

- Use supercharger HardToKill patch

- Enable supercharger Misc options

- Using supercharger select the most aggressive minfrees, 1000HP option 9 or 8, this will kill 90% of background processes at the cost of multitasking, you can always change the minfress on the fly or add script manager widgets

- Set the governor to interactive before you play

- For extra boost use Franco R8 kernel (use on-demand gov)

say good bye to gaming stutter, this will give you very similar performance to gaming on clean empty Cyanogen ROM

say good bye to heat, believe me when i say one of the main reasons of the heat on this device is background processes, you have a quad busy with all sort of stuff, reducing multi-tasking will reduce the quad usage
[HTC One X] Actura:
hmm, that's sad :(

hmm about wldblood, do you have any solution to make it runs better on our device ? :confused:

i mean like modify some game files or something like that
[HTC One X] hamdir:
I've been using the stock 2.17 kernel since last night, i have to say its not bad at all with the gaming boost app (as long as you make sure not to turn off the screen after triggering boost)

Games perform not bad at all, its not as good as unlocked GPU ofcourse but if you are willing to settle with the second best i think the stock 2.17 kernel is good, almost zero heat and good batter consumption

dunno about the JB kernel, i think i will try to flash it on my ICS Rom to preview it

regarding wildblood like i said, i will no longer spend a minute of my time on gameloft games, if anything im contemplating writing androidandme about the situation in details

Gameloft continues to sell us games ignoring completely the existence of Tegra 3 and hoping we won't notice
[HTC One X] Freddy1X:
That is one awful attitude from Gameloft..such a shame a big company didn't recognize (or refused to) one of the best processors..

Why in the world they made games like that..:confused:
[HTC One X] hamdir:
because their games are written to completely rely on the GPU, this is the old school of thought in the world of gaming

and because they code for iOS, we all know that platform had been scaling GPUs instead of CPUs

as we learned in the PC world and especially consoles, multi core coding is the key for more evolved games

which is really what Nvidia tried to achieve by designing Tegra 3 sadly i'm starting to really believe its concept is ahead of its time (for the mobile space)

there is only a handful of games that actually did that, mainly Shadowgun THD with so much relying on the CPU cores, physics, ragdoll, rope simulation, particles and even cloth

some so called THD games simply strap a simple effect using the extra vertex shaders and call it THD

in the world of consoles, lazy ports are nothing new, in fact PS3 suffered so much from them despite having more power and specs
[HTC One X] hamdir:
Wildblood kernel mystery solved
[HTC One X] ORStoner:
Shadow gun dead zone one my TV and an xbox 360 controller. Who needs an xbox 360 if my phone can do this?

I do feel a bit like I'm cheating though...
[HTC One X] dragonesdenano:
What is an xbox? It s like the old commodore 64?:p

Got my ps3,gaming pc and of course my gaming hox:D

SkyDragon Sense Rom V1
[HTC One X] hamdir:
Updated FrancoR20 scripts to extract the maximum out of GPU520 (3D scaling off)

it should be fine with this kenrel, since it's as cool as the stock 2.17 kernel
[HTC One X] hamdir:
so here is our current situation

Faux will not use the compiled .lib file that brought up the cool temps and shader performance enhancements in 2.17, which gave FrancoR20 better performance on v1.0.7 of WildBlood

Franco will not use the 76hz pixel clock, which gives Faux the liquid smooth feel on 60fps reaching games like riptide and beach buggy

The best gaming kernel throne is now splitt in half :laugh:
[HTC One X] hamdir:
RENOVATE Gaming Boost v2.1

Unlinks the GPU from the CPU in 3D mode, that is when gaming if the CPU chooses to drop down, the GPU will keep using the upper clock (3d scaling off)

Set GPU520 for Franco's R20 GPU method

No longer tries to change the scheduler since every kernel has it's own choice of schedulers, you can still set your fav scheduler outside this app (using scripts or set CPU)

The custom version will not touch the CPU clocks, this way you can OC or UC on supported kernels (using scripts or set CPU) and still use gaming boost, the custom version is best for Franco R20 and Faux 11

The stock version is for both ICS and JB kernels, for the ICS kernel like always you need to make sure not to switch off the screen after boost, on JB the values no longer reset on screen off
[HTC One X] Freddy1X:
Hey hamdir..can I install only the apk, and not from flashing it through cwm?
[HTC One X] nashshafrulrezza:
just use root explorer to place it into system or oush it using adb if you are lazy to reboot your phone as me. :D
[HTC One X] Freddy1X:
Haha..thank you.. :D
[HTC One X] hamdir:
actually if you never had the app flashed into the system folder

simply unpack the zip file and install it as an apk normal (this is what i do)

some observations from Franco's kernel:

The low memory killer is too agressive, nearly any game will cause sense to relaod, also this means during the initial load of the game you will need to wait for some stuttering and hitches until the low memory killer finishes its work

with the exception of wildblood, faux is still my favorite gaming kernel
[HTC One X] nashshafrulrezza:
Yeah, I've noticed that too. BTW, should try faux latest beta.. I don't know what the changelog.. but it really getting better.
[HTC One X] hamdir:
well if he "Broke" and included the .lib :) it will be king again :)
[HTC One X] nashshafrulrezza:
I'm hoping for that too. :D
[HTC One X] hamdir:
i can quickly test that, i have Wildblood 1.0.7 on my phone

hold on

(but from his screenshots, the update seems more battery concerned)
[HTC One X] nashshafrulrezza:
From what I see, usb2 power is increased to be same as charge power. So i think he implant fast charge. but I really doubt he will do it.

I'm waiting for you test result hamdir, If yes, I'm gonna install wild blood for hard mod.
[HTC One X] hamdir:
so you will try going back to v1.0.7? ;)
[HTC One X] nashshafrulrezza:
If faux beta 12 really working better with wildblood, hell yes, I'm going back to 1.0.7 again. :D
[HTC One X] hamdir:
hold on
[HTC One X] nashshafrulrezza:
Yeah! I'm waiting the result. :)
[HTC One X] hamdir:
sorry for the delay i had a problem with all the kernel flashing :(

my data got corrupted

now im restoring my backup
[HTC One X] nashshafrulrezza:
Wow? That rare to be happen for kernel flashing?
[HTC One X] hamdir:
yea no clue how it happened
[HTC One X] hamdir:
Well i tested wildblood 1.0.7 countless times on faux 12b1 vs franco R20

seems they all match now :D we don't yet have confirmation if faux did anything but seems the case

also for some reason this game seems best with the BFQ scheduler

since gaming boost 2.1 no longer chooses the scheduler for you, just make sure to select BFQ using Setcpu (you only need to do it once)

surprisingly the stock 2.17 kernel also does well with this game using gaming boost
[HTC One X] nashshafrulrezza:
Hahahah, You were just right in time, actually, I just finish testing the game and gonna report it because you are so late and I already have my result. :D but I guess you are still faster than me when posting result :D and I agree, faux 12b1 is the king for gaming. :)
[HTC One X] hamdir:
no i tested so much my eyes bled honestly

so i would love to have confirmation, i almost thought im imagining it

i will not make it a recommendation until at least we have confirmation of changes from Faux

so please tell me you are back to wilblood 1.0.7? :laugh:

sadly this testing session today has lost me my most recent progress in Beach buggy :( (this morning i had collected 2000 coins n bought the 3rd upgrade for my buggy and finally crossed 1km)
[HTC One X] Freddy1X:
Lol..I can see you're not only actively changing kernels, but also ROMs too (from your sig).. :D

I still have no time to test Faux 12b1 so stop teasing..I'm drooling fast like Faux kernel too..hahah.. :p
[HTC One X] nashshafrulrezza:
Yes.. I am so flashaholic. need a cure for this. :D But I always end up with faux for kernel and stock deodexed ROM. But Renovated ROM is so great.. nearly don't need gaming boost for gaming. :) But I'm so sure, with only changing kernel already giving a big improve to our phone. :)

@Hamdir : How do I use 1.0.8 data with 1.0.7apk in wildblood? Do I really need to replay it from beginning?
[HTC One X] hamdir:
mmm i think mat but u can try to restore the app and once it runs at 1.0.7

restore data only from ur 1.0.8

worth a try

anyway lets not fool ourselves it wont be as smooth no matter what so keep it in mind, i find it very playable
[HTC One X] nashshafrulrezza:
Nah, I've try it and it only make wild blood fc. ergh! hate it so much!

Yeah I know, Let's hope it doesn't cause lag fest when it comes to chapter 6 or 7.. :)
[HTC One X] hamdir:
I was able to confirm Faux did something to multicore in his latest 12b1 beta

now WildBlood uses at least 2 cores all the time

still the performance is unpredictable

but i found a simple way to lock it ;)
[HTC One X] nashshafrulrezza:
So tell me the way. :D

I've make the test and the result is 2 hours and 15 minutes for 1st cycle with faux latest beta. :)

I'm sure, I can get 2 and half or 2 and 45 for next 3rd or 4th battery cycle.
[HTC One X] timlambo:
My guess is just change the governor to performance...
[HTC One X] hamdir:
[FIX] Wild Blood Full Effects v1.0.7 Performance + other GameLoft games - Root
[HTC One X] hamdir:
smart man :laugh:
[HTC One X] nashshafrulrezza:
Not good enough for me. Uninstall it.. twice hang and reboot in chapter 4 and 5..
[HTC One X] hamdir:
hang and reboot? i do get the hangs but also reboot? was it only after the performance governor? maybe its new faux to blame you should have tried 11 mainline
[HTC One X] nashshafrulrezza:
yup! only with performance. I love new beta.. no music hickup with music mod and the gaming with horn and sumioni is better. I guess, it is about overclock right?
[HTC One X] hamdir:
yes the Beta is variant free so it must locking to maximum OC speed all the time

an brute OCed kernel is not the best way to judge my tip

i might go to 11mainline if it causes issues, i want to play wildblood :laugh:
[HTC One X] nashshafrulrezza:
I just want to play it with High definition graphic. :D I've finish the game last 3 days.. then you saying, now it also smooth with faux and with full graphic enable.. that why i want to test it. :)
[HTC One X] py_martinez:
Hy,

Can anyone tell what is your battery life when gaming ?:confused:

For me, with brightness at 80 % , I can only play 2 hours with riptide gp, and about 2.5 hours with shadowguns and dead trigger.

Is it the same for you ? At a similar brightness of course, but at minimum ;)

Envoyé depuis mon EndeavorU avec Tapatalk
[HTC One X] hamdir:
2.5 is average yes @25% brightness

the iPhone 5 gives 3.15 hous in heavy 3d games too, to give u some prespective
[HTC One X] py_martinez:
Thanks Hamdir,

You can play 2.5 hours at riptide gp with full brightness ? :eek:

This is the game that strain the more of battery for me.

3.15 on iPhone 5 ? I suppose with automatic brightness not with hard being very brightness...:what:

Envoyé depuis mon EndeavorU avec Tapatalk
[HTC One X] hamdir:
2.5 hours on 25% brightness
[HTC One X] nashshafrulrezza:
I have to agree, faux 11mainline is current best gaming kernel.. have to revert back to 11m because of gaming. :( 12b1 not really stable when gaming hard and straight.. The game work flawlessly but and one point, the cpu seem stuck at highest frequencies for long time and will FC game without any warning or notice. :( Hope faux will give 12 mainline soon.
[HTC One X] hamdir:
im back to faux 11 mainline as well and im going to hold fort, in fact i think i won't update till JB when it comes to Asia until the source is released and we get it Fauxed :laugh:

Best kernel hands down, i can play beach buggy blitz with full graphics slider, it plays over 30fps and only slow down on the water splash effect

any stock One X or Nexus 7 owner would cry at this sight :laugh: (the game runs under 30fps @ half the resolution slider)

its not just about the GPU or all the tweaks, the 76hz panel is just GOLD!
[HTC One X] ArmedandDangerous:
There's a 76hz version of the HoX IPS panel? o.O
[HTC One X] hamdir:
The panel is 76hz and it was enabled by HTC but im not sure if they removed it by the 2.17 update and faux kept it (since its not there franco which is also based on 2.17 source)

Most kernel devs say its pointless but its not, in game which cross 60fps like ripetide you do get to experience it :)

It's most visible in vector unit's 3 racing games
[HTC One X] lesscro:
@ hamdir...

Dis you tried latest "EA game, Most Wanted...

this game seems to be non optimized for tegra 3... i tried sams DATA on my HoX and on My LG... it appear LG have correct speed and HoX have a bit laggy..; look like 30-40 fps...

Cheers...

Config :

Hox 4.0.4 (MaXimus) - franco.r21 @520 GPU - OnDemand...

Work for major game without other stuff like Supercharger Or Script Add'on !!

If you have time to test...
[HTC One X] Freddy1X:
Hamdir..do you know there is an app called as FPS Meter in the market?

I have tested it, and with Renovate ROM + Faux 12b1 = fps locked at 62 when playing games like Riptide GP! Wow!
[HTC One X] ArmedandDangerous:
All it does is show your FPS, not increase or lock it.