[APP] RENOVATE Gaming Boost JellyBean v1 - HTC One X

First off i would like to say a massive thanks to henk2484 who made the original app then sent me the source code to modify/improve to my liking.
I would also like to say a massive thanks to hamdir for for finding all the optimal values.
Right here we go
RENOVATE GAMING BOOST
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What is it?
Renovate gaming boost is a simple app which optimized the kernel to be used while gaming. It will give you easily the best gaming experience you have ever had on a mobile phone.
How do i use it?
It's really simple to use, before you want to start gaming just open the app, grant root permissions then click on enable. After you've finished gaming, simply open the app again and click to disable the boost.
Which kernels/ROM support this app?
Theoretically, it will work on all kernels and roms, but if your ROM dev uses custom ondemand values the app won't work. Ask your dev to look at the source code I uploaded and get him to tweak the app to match his ROM values.
Any bugs/side effects?
Obviously, gaming on a device like the One X will cause big battery drain, so don't be complaining to me if your battery only lasts an hour while playing a multi core game like ShadowGun.
How to install?
Flash the zip in recovery.
Changelog:
JellyBean v1- 27/11/2012:
Compatible with JellyBean ROMs
Changelog:
v2.1- 15/10/2012:
Fixed Minfrees
Fixed CPU Clocks
v2- 15/10/2012:
Two versions for stock and custom kernels,
Removed 1.4ghz lock on custom kernels,
Re-added GPU scaling tweaks
Overclocks GPU on supported kernels.
v1-19/07/2012:
Initial Release
Download Link:
Renovate Gaming Boost JellyBean Stock Kernel
Renovate Gaming Boost v2.1 (Stock Kernel)
Renovate Gaming Boost v2.1 (Custom Kernel)
Devs if you wanna include this in your rom feel free, just send me a pm telling me so i can see how any people are finding it useful.​​

Reserved

HTC One X - Tegra 3
RENOVATE Gaming Boost JellyBean v1.0
This version is suitable for most HTC phones including the HTC One X+
Sets supercharger's max memory minfree values (8, 16, 200, 220, 240, 275), when turned off it returns to stock ICS/JB values (32, 40, 28, 56, 64, 80)
Optimizes HTC's ondemand governor to greatly reduce random CPU stalls, turning boost ON will always switch you to ondemand governor with the tweaked values, turning boost OFF will also switch you back to ondemand governor with it's original stock values (this will also help you apply the performance tip below)
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)
It will Attempt to set GPU520 for kernels using Franco's GPU interface
Does not attempt to change the scheduler, every kernel has it's own choice of schedulers, you can still set your favorite scheduler outside this app (using scripts or SetCPU)
It will not touch the CPU clocks, on stock JB ROM you can choose between 1300mhz and 1500mhz using the stock powersaver mode, on custom kernels you can still OC (using scripts or SetCPU)
For those who can't get it to work try to use the stock values fix zip from here
This version was optimized for HTC's stock JB OTA and Kernel, checkout the Stock HTC JB Kernel 3.14.x.24 review
PowerSaver mode
With HTC powersaver's CPU mode turned off, the device will use up to 1500mhz single and 1400mhz quad core, sadly for some rare quad enabled games like shadowgun this might cause random performance drops when the game calls the single core 1500 step
Enabling HTC powersaver's CPU mode will lock the device to 1300mhz quad core, effectively its a quad lock but slightly slower with less heat and battery consumption
Experiment with your game to find which mode works best along with game boost
Locking the quad
Simply set the CPU clock to 1400 on boot and it will stick, the powersaver mode will switch between 1300 and 1400, both quad modes without the buggy single core 1500 step
Place the attached 99CPU1400.txt script in etc/init.d folder, remove .txt extension and set all permissions, reboot
If this doesn't work or you are using a kernel without init.d support, simply use SetCPU, change the clock to 1400 and set on boot
Aggressive Performance tip
You can go further if you want to force max possible performance, unlike ICS, JB kernel allows the performance governor to use full quad, so you can enable boost ON and then switch to performance governor using your favorite SetCPU app, with powersaver off the device will use up to 1400mhz quad cores and idle around two cores 1200mhz, with powersaver on it will use up to 1300mhz quad cores and idle around two cores 1200mhz, naturally this tip will cause extra heat and battery drain, once you are done disable game boost and you will switch back to stock ondemand governor
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
RENOVATE Gaming Boost ICS v2.1: NCX gaming kernel v4 is the recommended custom kernel (based on pure stock kernel)
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 stock 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
For those who can't get it to work try to use the stock values fix zip from here
If you still have trouble getting this app to work since it doesn't request SU or do anything, check this post
you will know that the app is working, if it requests SU the first time and takes a second switch to the boost mode
Warning! due to HTC code, on many kernels including both stock and older Faux, turning off the screen will reset two vital parameters set by the app so you have to make sure not to turn off the screen between boost and playing a game
This issue was fixed in most custom kernels like Gaming Kernel, Faux and Franco, if you are not using such custom kernels always remember to renable boost mode after screen unlock
If you still have trouble getting this app to work since it doesn't request SU or do anything, check this post
If you like to set the boost mode permanently:
How to set the gaming boost mode permanently using SetCPU 3.x for any Kernel
For AOSP 4.0.x ROMs, you will also need this:
RenovateGamingBoost_SenseFramework.zip (for AOSP 4.0.x ROMs, it will add the needed Sense framework system files, flash first followed by the app)
For AOSP 4.1.x ROMs this app is currently not working
Thanks to rayford85 and h00py for the installation solutions
Special thanks to timlambo for helping us test and refine the parameters
---------------------------------------------------------------------------------------------------------
For information the One X should last 2.5 hours of non stop gaming on full boost with screen brightness at 20%, it reaches a max of 52c in ambiance of 33c, do not try this while on the charger
---------------------------------------------------------------------------------------------------------
here is a link the original gaming boost thread for those who like to understand what this app really does:
[GUIDE+TOOLS] How To Easily Maximize One X Tegra 3 Game performance - root

Superb. Thanks guys.
Something that would really be useful if possible is a Tasker plug in to automatically enable and disable when a game is launched.
Sent from my HTC One X using xda premium

Can I suggest you keep the MD5 Sum in your OP?
MD5: b78c274cfd484c787d0cca7ed61435fa
Great work man

Awesome! I just can't seem to install it though, says failed to install.

Pointlol said:
Awesome! I just can't seem to install it though, says failed to install.
Click to expand...
Click to collapse
Either push to system/app with adb or put on sd card and move to /system/app with a root explorer.

wilkyyyy said:
Either push to system/app with adb or put on sd card and move to /system/app with a root explorer.
Click to expand...
Click to collapse
Alright will do, thanks

wilkyyyy said:
Either push to system/app with adb or put on sd card and move to /system/app with a root explorer.
Click to expand...
Click to collapse
why? i can't install it either? we should make it into a zip file
also root explorer will require permissions no?

hamdir said:
why? i can't install it either? we should make it into a zip file
also root explorer will require permissions no?
Click to expand...
Click to collapse
Will make a zip now

Tested it out with Sonic thd and Dead trigger, it's working very nicely. Battery reaching up to 55C was fine right? Hit 52 degrees playing sonic, which btw is playing better than ever with the gpu overclocked and this app
Things like this make me really happy to have gotten a one x, by that I mean the things people such as you and Hamdir do, no way I would find that on another device

Nice work mate ... Will test it . ..

Well done Willkyy. Will test this soon, and see which values you use. Do you use the same ones, as which hamdir used in his latest scripts?

timlambo said:
Well done Willkyy. Will test this soon, and see which values you use. Do you use the same ones, as which hamdir used in his latest scripts?
Click to expand...
Click to collapse
I do indeed!

timlambo said:
Well done Willkyy. Will test this soon, and see which values you use. Do you use the same ones, as which hamdir used in his latest scripts?
Click to expand...
Click to collapse
My values for faux 004b6 for now
Soon wilkyyy will make versions for specific kernels, but this will do for now he is going on his well deserved holiday
wilkyyyy let me know if i can assist in that process

wilkyyyy said:
Either push to system/app with adb or put on sd card and move to /system/app with a root explorer.
Click to expand...
Click to collapse
You need to sign the app bro, then it can be installed how ever. Also maybe get your self a private sign key so you can upload it to google play for updates
Sent from my HTC One X using xda premium

rayford85 said:
You need to sign the app bro, then it can be installed how ever. Also maybe get your self a private sign key so you can upload it to google play for updates
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Im sure i signed it will try it now and test

playstore upload would be awesome

Thx wilkyyyy,
no problems with installing.
Just pushed the file as told nice one!
Obviously the HOX heats up a bit more but is to be expected.
Thx to hamdir and henk2484 here too!
Sent from my HTC One X using latest faux kernel and viperX Rom

The app should also explain that it's for the Tegra 3 One X

Related

[ROM][08-06-2012] ~×~ EliteMod & Kernel CM7 ~×~ [sd-ext/swap] (ics has own thread)

[ROM][08-06-2012] ~×~ EliteMod & Kernel CM7 ~×~ [sd-ext/swap] (ics has own thread)
EliteMod 120316 + EliteKernel 120319
Turbo just got a new meaning.
This mod is a custom ROM based on CyanogenMod7 nightly and modified CM7 Kernel.
The primary aim is to dramatically increase device speed without requiring frequencies above 1GHz in daily use.
The secondary aim is to improve battery consumption where possible by fine-tuning system settings.
The bonus is getting rid of some annoying post-flash steps and settings.
To achieve this required highly experimental steps outside of the scope of Android's security system and direct intervention in userspace.
Be aware that I made this mod primarily for myself, I went to extremes to squeeze the last bit of performance out of my device. Expect no flashy stuff, just raw power and great base for your customization. I guarantee no support whatsoever and any modifications you make to your device are solely your responsibility. It's a good idea to nandroid backup first!
Warnings - must read:
1) Do a nandroid backup, this ROM is not for everyone.
2) Full /data /cache wipe is mandatory before moving to EliteMod, even from CM7! Not kidding!
3) This ROM relies heavily on the bundled EliteKernel. Flashing any other kernel unless I explicitly put a link in download area is probably a bad idea.
4) Flashing gApps or any performance-boosting packages is not recommended. Latest gApps are already included and tweak scripts may in some extreme cases break sd-ext support.
The ROM requires a manual reboot after account setup, you will see REBOOT REQUIRED on screen. Tap it and reboot the device as usual to apply additional tweaks. Any settings done before this reboot may be lost.
6) If you want to do a "Factory Reset" of this ROM, wiping /data /cache /sd-ext wipe is not enough. You must re-flash the zip to really start clean.
The usual: Do not use TitaniumBackup to restore System components unless you know what you're doing. Restoring LauncherPro user data will forfeit fine-tuned launcher settings. Wipe deletes battery stats and recalibration is necessary to see real battery usage. You can backup your battery stats first before wiping - just use my tool - EliteMod will automatically restore the backup and save you the need to recalibrate. If you really want LWP or ADW, mv them yourself from /data/local/ as well as live walpapers and other useless garbage.
Some screenshots of the default launcher + my customized homescreen:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Changes from stock CM7 nightly:
- moarrr speeeed (optimized for lower frequency range to save power)
- kernel tweaks for better snappiness/battery balance
- more battery 100% guaranteed
- replaced ADW with LP (it crashes once after boot but still the damn fastest out there) and Go Ex
- replaced gallery with QuickPic
- Opera with performance tweaks
- added some MIUI stuff
- extra sounds and bootanim for my convenience
- removed LWP
- more in changelogs
Credits:
Big thanks to all the amazing devs who made this compilation possible.
Cyanogen and crew for his amazing ROM base
Federico Carnales for the smoothest launcher
Nanling Zheng for the best gallery app
SparksCo for the original sd-ext mounting script
JaeKar99 for the boot anim
Sybregunne for his OC daemon
nhnt11 for the gorgeous NTSense themes
MIUI team
Virtuous team
And many others I'm sure I forgot to mention - thank you and keep it up.
Download Link
Download from my high speed server:
High speed download:
http://elite-force.eu/elitemod/EliteMod120316.zip (see THIS for sd-ext and ext4 migration)
Mirror (slower):
http://www.mediafire.com/?3k5bvbk5uinn4no (see THIS for sd-ext and ext4 migration)
Standalone CM7 Kernel:
http://elite-force.eu/elitemod/MOD_EliteKernel_120319.zip (for any CM7 nightly based ROM, including EliteMod specifics)
Standalone ICS Kernel:
http://elite-force.eu/elitemod/MOD_EliteKernelICS_120608-79.zip (for any CM9 or AOKP based ROM = do not use with CM7 based EliteMod)
(SEE THIS if you have sd-ext or swap partition on your SD card)
Old versions:
Old versions:
I will be trimming old versions soon, here are most mirrors http://www.mediafire.com/?613ufmrzd2ovt
Click to expand...
Click to collapse
Undervolting tools (Windows only):
http://elite-force.eu/elitemod/UV_TOOLS.zip
Click to expand...
Click to collapse
Mods, fixes and tools:
http://elite-force.eu/elitemod/TOOL_BackupBattStats.zip (flash to save battery stats to SD)
http://elite-force.eu/elitemod/MOD_OldVending2.zip (flashable/default)
http://elite-force.eu/elitemod/MOD_NewVending3.zip (flashable)
http://elite-force.eu/elitemod/MOD_GTalk2.zip (flashable)
http://elite-force.eu/elitemod/MOD_OriginalDockIcons.zip (flashable, restores LauncherPro dock icons to EM default)
http://elite-force.eu/elitemod/MOD_GPS_Stock.zip (flashable/default)
http://elite-force.eu/elitemod/MOD_GPS_CM7.zip (flashable)
Click to expand...
Click to collapse
Old mods only up to #244:
http://elite-force.eu/elitemod/MOD_UmaroKernel_106.zip (flashable/default)
http://elite-force.eu/elitemod/MOD_TiamatKernel_114.zip (flashable)
Click to expand...
Click to collapse
Kernel source:
http://elite-force.eu/elitemod/elite_kernel_vision_source_120122.rar
Click to expand...
Click to collapse
Frequently Answered Questions:
- if the phone is not smooth, make sure you only have ONE app that controls CPU active at a time. Daemon OR SetCPU OR System Tuner etc. You can disable other apps by not giving them superuser access.
- changing your locale to english-us fixes the new market issue if you have problems but don't want to flash the old market.
- to save even more battery, undervolt your CPU by following the guide below and my easy to use UV TOOLS package. Alternatively use this program to modify your voltages https://market.android.com/details?id=com.incredicontrol .
- please include your ROM and kernel name if you ask an undervolting question in this thread and you are not running EliteMod
Click to expand...
Click to collapse
Recommended SetCPU settings (daily driver - EliteKernel only):
P7 (Temp > 46C) @ 122-768 smartassV2
P6 (Charging) @ 768-1248 smartassV2 (do not set too high, it can get hot if you use navigation in a car)
P5 (Screen Off) @ 122-768 smartassV2
P4 (B < 15%) @ 122-864 smartassV2
P3 (B < 30%) @ 122-902 smartassV2
P2 (B < 50%) @ 122-940 smartassV2
P1 (B < 101%) @ 122-1036 smartassV2
Click to expand...
Click to collapse
These settings implement my own "Final Fortress"(tm) philosphy of battery management. The speed will decrease progressively with battery discharge - basically this will make your battery last longer the longer you are not charging. The goal is to save that precious last drop of power you might need in a tight situation at the end of a long day. All that without sacrificing speed when you have plenty of charge left. You should not notice significant speed decrease until you hit the reserve @ 15%.
UV hint: If you've built your own stable undervolting table, you can maximize speed with no impact on battery by aligning the max frequencies to your specific voltage peaks. (example: if there are 3 different frequencies stable on the same voltage, always use only the fastest of the group)
~CHANGELOG:
(changes with ! require full wipe)
120319 (kernel only)
+ allowed undervolting all the way down to 700mV
120316
+ updated to latest kang
+ updated apks
+ much more resilient sd-ext mounting
+ verbose mounting script (see logcat for debugging)
+ tiny sd-ext performance increase
120315
+ latest kang
+ updated apks
+ new performance tweaks
+ optional sd-ext and/or swap support
+ relaxed swap priorities compared to experimental build
+ tweaked sd-ext I/O speed (ext4 only)
+ tweaked internal storage I/O speed (need ext4 on /data and /cache)
+ fixed Opera settings transfer
+ new set of Opera tweaks for sick performance
+ removed ROM Manager, recommend using 4EXT recovery from now on to take advantage of ext4 I/O tweaks
+ forcing dalvik-cache to internal memory for performance reasons
120310
+ latest kang
+ updated all apks
+ Scary not used by default (screen-off is now @ smartassV2 /w 768MHz max)
+ OC Daemon disabled by default, use control app to enable
+ default UV not applied by script (it is built into the kernel anyway)
+ new boot anim
+ different default theme
+ speedy postsetup script on update (second boot no longer takes eternity)
+ enabled swap support in kernel
+ improved kernel performance
120122
+ 22-01-2012 Kang build
+ added freqs below 245MHz with heavier UV
+ switched to andrev_oc and daemon
+ changed default wake frequency settings to 122-1036, SmartassV2
+ reverted ondemand gov to CM7 defaults
+ updated all apks
+ greatly improved ROM update speed (second boot)
!+ lockscreen clock not centered by default (weird in landscape)
+ changed default data mode to auto instead of preferred
+ updated default UV table in userinit.sh to match kernel internals
+ updated UV_TOOLS package to match EliteKernel
+ added tweaked Go Launcher Ex + most widgets + Sense theme
+ added 2 Sense themes to CM7 theme manager
120107
+ Updated to 05-01-2012 kang
+ Fixed garbage collection bug
+ Tweaked garbage collection and hardcoded defaults to standalone
+ Tweaked SmartassV2 for better scaling (EM + standalone)
+ Tweaked Scary for better battery to do better what it's supposed to do (EM + standalone)
+ Tweaked SIO scheduler for better I/O speed and battery (EM + standalone)
+ raised default frequency from 940MHz to 1GHz
+ lowered default frequency from 768MHz to 245MHz (raise back for more smoothness if you don't care about battery)
+ Tweaked storage subsystems for better I/O performance (EM + standalone)
+ moved hard-coded kernel settings from ROM to Kernel config (better maintainability)
+ updated all bundled APKs
+ updated SU
+ if you're using SetCPU, I recommend to update your profiles
111227
+ improved kernel performance
+ fixed undervolting support
+ released a standalone kernel
+ Important: Use the 111224 to 111227 patch instead of standalone kernel to improve stability above 1200MHz
111224
+ changed versioning to a date string until nightlies resume
+ updated all apks
+ updated to latest kang build 111222
+ faster new market as default
- dropped support for Umaro and Tiamat Kernel
+ EliteKernel 111224
+ major performance improvements
+ SmartassV2 governor
244
!+ new Opera tweaks
!+ wifi sleep fix
!+ updated settings template for 2.3.7
+ new GPS driver
+ camera fixes
+ performance and battery tweaks
+ updated all bundled apks
+ fixed goggles and youtube
+ new superuser + binary
227
+ loads more speed
+ dramatically reduced stuttering under heavy load
+ highly optimized Opera for butter-smooth browsing (tweaks for full wipe only)
+ QuickPic is now default gallery
+ set K9 mail as default email app
+ re-based on latest nightly, obviously
+ more
209
+ fixed camera effects
+ updated DSP speaker profile
+ some performance tweaks
+ support for Virtuous OC daemon (install SetCPU to disable it, uninstall to enable)
+ default undervolting profile (for people who don't care, the tailored real deal is far better)
+ default market is now the old one to prevent problems on non-us locales
186
+ first public release (CM7 nightly #186 + Umaro 1.0.6)
Click to expand...
Click to collapse
Changelog
NIKER's UnderVolting Tools Manual
Friendly warning: If you use this guide with any ROM or Kernel other than EliteMod and need to ask a question here - mention your ROM and Kernel in your post or I can't help you.
Be aware: This guide and the default voltage file assume you are using EliteKernel, other kernels will require different starting point voltage table.
Introduction:
By undervolting I mean decreasing voltages at which your CPU operates on specific frequencies.
If done properly, this can lead to dramatic increase of battery life with no performance loss, it also decreases CPU temperatures.
If done wrong, this can lead to freezes, graphic stuttering under heavy load or unability to boot without reflashing. Do a nandroid backup NOW!
I take no responsibility for your modifications, burned CPUs due to too high voltage and/or frequency, data loss, nuclear explosions, your girlfriend breaking up with you etc. You know the drill.
You should know this takes time - a lot of time. I spent 3 long evenings optimizing my table but I didn't have these tools to help.
You should also know this has to be done just once and you can reap the benefits of insane battery life with any ROM or kernel that supports undervolting - forever.
Essentials:
I am assuming you have a Windows PC at hand. SetCPU installed (disable profiles and on boot for safety), YouTube installed and Angry Birds or similar graphically intensive game of your liking for stability testing.
Next download the UV_TOOLS package I provided above, extract it somewhere and let me explain what each file does:
tools folder just contains ADB essentials and a simple free unix-capable text editor
voltages.txt - this is THE file you are going to edit and consequently THE file you never want to lose after you are done.
voltages.default.txt - this is a copy of the starting point for your convenience
start_edit.bat - this will open the voltages.txt file in an improved text editor capable of unix line endings, we are going to use this editor to make modifications to the voltage table within voltages.txt. Windows notepad is not sufficient for this task!
undervolt_temp.bat, undervolt_temp_periodic.bat - these two files are your best friends, they will push the voltages.txt to your device and apply it temporarily. It's effects will be lost after reboot. Periodic variation will push the file every 10 seconds, allowing you to always have the latest saved version of your voltage table on your device. Some may prefer the normal variant that will only re-push on a keystroke.
undervolt_persistent.bat - be careful with this baby, it does the same job as undervolt_temp.bat, but permanently so, simple reboot will no longer save your ass after you use this. You don't need to wait until you have all 4548648 frequencies optimized but do not use this unless you are pretty sure you have a stable voltage table.
remove_screwup.bat - did you just use undervolt_persistent.bat and your vision threw it back in your face and wouldn't boot? This will save you - 100% guaranteed.
Step by step guide:
First send your girlfriend to sleep, get a huge cup of tea, kick back, run a movie and connect your device, this is gonna be a long night and a lot of reboots.
Do a nandroid backup. Copy it to your PC, **** happens and we don't want that.
Run start_edit.bat - voltages.txt will open, this is not the stock voltage table, it is my own table with +25 overvolt added to every entry. Let's take a look:
Code:
echo '245760 900' > ./vdd_levels
...this says that for frequency of 245MHz the voltage will be 900mV. Valid voltages for vision are ranging from 750 to 1525.
Our objective is to find the LOWEST stable voltage for each frequency (yes - I know there's a lot of them). If you set it too low, your device will freeze and you will need to pull the battery and reboot (suggest removing your battery cover now). Too high frequency should not freeze your device but they will increase operational temperatures slightly and of course battery drain.
As I said the provided voltages.txt is specific for my device with slight overvolt, so let's see if your device can handle it or not - run undervolt_temp.bat to push and activate the default table. SetCPU to 122-1036 ondemand. Now if by now the device haven't froze, it's a good sign.
Next step we will test stability - connect to wifi and disconnect charger. Run youtube app, run a demanding test video with high quality - in high quality mode. The video should not stutter weirdly and the device should not freeze. Actually everyting should be pretty much normal. After 30s try to run your game instead for a half minute. After that hit the power button, let the device sleep for 30s and then try to wake it from standby. Should any of these steps fail, edit the voltages.txt, increase all the voltages by 25, push the changes and try the stabily test again.
Everything went smoothly? Well congratulation, you have taken the first step towards awesomeness. These settings should already improve your battery life compared to stock.
But we want moar battery! There's never enough when it comes to battery life. Well here it comes.
Take frequency 122880, it is the lowest ever used by your device out of standby. We currently have it set to 825, so let's try 800. Save the file and push the voltages to the device if you're not using periodic updater. Now SetCPU to 122-192 ondemand- it will be slow and tedious, frequencies below 768 can't run videos well so just play with your device a bit and watch for a total freeze. Short freezes that fix themselves are to be expected at those speeds. The good thing is, if your device starts suffering from sleep of death - the culprit is most likely one of these two frequencies - remember that.
Everything went well? Set all frequencies below 122880 to 800 as well. If not, leave them all at 825. Going any lower than 775 is asking for a sleep of death - just don't
Don't forget to always save voltages (floppy button) and then push them using the bat or use the periodic update - otherwise your changes have no effect, obviously.
Now move to the next frequency 192000 and set it -25 to 850. Leave SetCPU at 122-192 ondemand- we always want two adjacent frequencies switching while testing - it is during this frequency change when the device is most likely to freeze. It also triangulates the problem to these two frequencies, making it easy to fix a problem. Test stability by whatever means - no videos yet. If everything works you can try for 825.
Do this for every frequency up to 768.
Undervolt 122-192 then 245-368 then 768-806.
By now you have the sleep frequencies covered and your device should last incredibly long on standby.
Now optimize each and every frequency up to the maximum you want to use on daily basis. For 768MHz and more use additional video stress test.
Hints:
Never lower voltage more than 25 at a time between tests.
Always test with ondemand between previous and current frequency to ensure stability.
Consequently never lower more than two adjacent frequencies in one step - and even that is unsafe (but twice as fast, obviously), missing one unstable frequency means long and tedious testing process to find the culprit - you have been warned so don't try to cheat
Best tests for stability are streaming movies, they stress every component to the limits much more than any synthetic test. Even when SetCPU stability tests succeed, video streams tend to have much lower tolerance for low voltages - the video will stutter before it's even low enough to freeze whole device, do not underestimate this. Also do not mistake buffer stuttering for a CPU problem, the device would eventually freeze if it's CPU, stay close to your wifi AP.
Secondary test could be a game that doesn't stress the device as much - that will test frequency switching. Angry birds worked well for me and its fun
SetCPU profiles:
when you've finally built your own stable undervolting table up to your maximum desired frequency, you can maximize the impact of your hard work on battery by aligning the max frequencies to your specific voltage peaks. (example: if there are 3 different frequencies stable on the same voltage, always use only the fastest of the group)
Does your table look like this?
Code:
echo '368640 875' > ./vdd_levels
echo '768000 875' > ./vdd_levels
In this case always use 768 instead of 368 in setCPU where possible!
Higher frequency will do same work much faster
and in turn the CPU can sleep longer - saving battery.
kewl thanks bud
Isn't umaro an older kernel? Why not use a newer kernel. Just curious
Sent from my HTC Vision using XDA Premium App
A month old kernel is not enough to justify one that is not tried and tested unless it offers something extraordinary. Besides it offers all features one could ever dream of. Smartass, greaselightning, undervolting, very granular OC steps and mainly great stability. If you have a better candidate I will gladly take a look
I've used tiamat kernel it's pretty good and should have vipermod now so you can control voltage
Sent from my HTC Vision using XDA Premium App
If we can't flash the Gapps over the ROM, then how are we supposed to use it properly? Are they included in the ROM itself?
Mardenator said:
If we can't flash the Gapps over the ROM, then how are we supposed to use it properly? Are they included in the ROM itself?
Click to expand...
Click to collapse
Probably prepacked already
Sent from my HTC Vision using XDA Premium App
Any type of screenshots?
nik3r said:
A month old kernel is not enough to justify one that is not tried and tested unless it offers something extraordinary. Besides it offers all features one could ever dream of. Smartass, greaselightning, undervolting, very granular OC steps and mainly great stability. If you have a better candidate I will gladly take a look
Click to expand...
Click to collapse
**** the haters. Bleeding edge is not always the best edge to have.
I'll check into this in the next day or two.
This is really fast, so far no problems except market. I had to replace the new market with old one because it was force closing within 15 seconds whenever I opened it. Anyone else having similar issue with new market? I seem to have it on ILWT cm7 too.
Other than that, I think I'll keep this rom for awhile. Will see about battery life..
Sent from my HTC Vision using xda premium
miksa666 said:
This is really fast, so far no problems except market. I had to replace the new market with old one because it was force closing within 15 seconds whenever I opened it. Anyone else having similar issue with new market? I seem to have it on ILWT cm7 too.
Other than that, I think I'll keep this rom for awhile. Will see about battery life..
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
same market issue here, anyway the new market has never worked for me on cm7.
the rest is quite flawless, ill see how my battery does later and report back.
That is an old issue and it had an easy fix. If I remember correctly all you had to do was change the language of the system to "English US" in Settings->Language&Keyboard. It happened to some people on CM based roms, not sure about other roms.
tsubus said:
That is an old issue and it had an easy fix. If I remember correctly all you had to do was change the language of the system to "English US" in Settings->Language&Keyboard. It happened to some people on CM based roms, not sure about other roms.
Click to expand...
Click to collapse
go it working right away. thanks for the tip!
Does any body have a quadrant score for this rom yet? just curious.
Quadrant is not the best way to determine anything else than gaming performance but just fyi I reached 3000 points at 1440MHz @ performance, didn't bother to try more.
EDIT: Curiosity got the better of me - 3591 points at 1.9GHz.
The market issue is weird, I am not EN-us myself and it never acted up. I can provide old Vending.apk in flashable form if you want.
As for the screenshots argument - its your regular CM7, nothing special visually except LP.
AWESOME!
This is by far the SMOOTHEST, FASTEST, SEXIEST rom i have ever flashed and i have been lurking for a really long time. Thank you so much for this ROM.
Will try your rom.
would quake3 (kwaak3) timedemo benchmark be a decent way to test gains? I know it's mostly video but still, how to tell between roms?
Sometimes I want to be able to see an actual speed difference from the roms than just placebo effect but it seems hard to find the right benchmark..
Thanks
eagerly waiting for the next CM7 nightly to play some more with it but looks like the automatic compiler has some problems.
kaijura:
Graphic benchmarks will not tell you much about day to day performance.
You need to take storage and sdcard r/w speeds, governor's ability to scale the CPU properly and garbage collecting efficiency into account to tell the difference - they have all been tweaked for better experience in this ROM. Synthetic benchmarks just can't test all of that.

[GUIDE+TOOLS] v12.6 ¦ How To Easily Maximize One X Tegra 3 Game performance - root

THE WAY IT MEANT TO BE PLAYED
if you use the solutions in this guide you will be amazed by your One X Tegra 3 abilities
Seeing is believing! checkout the gameplay videos in here
This guide is split in four parts, GAMING BOOST APP, PERMANENT METHODS, QUICK METHODS - Scripts, MANUAL METHODS and FACTS
GAMING BOOST APP METHOD - This app by wilkyyy, henk2484 and myself, does everything in this guide with a single click, a simple, easy and elegant solution, the best and one solution to rule them all
PERMANENT METHODS - These methods will set everything in this guide, using a single init.d script, the boost will stick on your HOX after reboot
QUICK METHODS - Scripts will help you achieve results with the least amount of effort, this should be enough to achieve this guide's goals, for users who like more control
MANUAL METHODS - Will show you how to do things yourselves and tries to explain it along the way, for more advanced users who like to understand how things work and why the performance is capped by default
FACTS - Tries to reveal everything you need to know about Tegra 3 as well as all the related topics, i strongly recommend to at least to have a look at this part to better understand how your One X functions
--------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------
CHANGING ANDROID RESOLUTION METHOD - last updated 14/10/2013
Change Android's Native Resolution, using Scripts (for both Android 4.2.2 and 4.3)
Change Android's Native Resolution on the fly, using Tasker by @neuTrue
How To Easily reduce your OS resolution in order to boost GPU / gaming performance (via ADB)
Thanks @neuTrue for his excellent work, more info about resolution scaling here
Use in combination with Gaming boost below
--------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------
GAMING BOOST APP METHOD - Stock Jelly Bean ROM - last updated 19/2/2013
This is currently the best method of them all, these apps will does everything in the guide for you in one click and unleash you One X to its full gaming potential with one click, you can turn it off once your are done gaming to conserve battery
Interactive Governor Method
Requirements:
- ROOT
and one of the following CPU apps:
- [APP Paid] SetCPU for Root Users
- [APP Free] System Tuner
Recommended Kernels:
- XM-Kernel #106 (GPU520, Quad unlock 1500, UV support, S2W, Interactive quad fix and best "linear" quad usage in all games thanks to the MPDECISION driver, more info here)
For the above custom kernel you can use permanent interactive governor instead of gaming boost, set at boot the governor to interactive and the following governor values in your CPU app (more info here):
Interactive:
go maxspeed load 85
boost factor 0
max boost 0
io is busy 0
sustain load 0
min sample time 30000
timer rate 20000
input boost 0
boost 0
Click to expand...
Click to collapse
Ondemand Governor Method:
Requirements:
- ROOT
and one of the following apps:
- [APP Free] RENOVATE Gaming Boost JellyBean v1.0 (Requires Sense Framework and HTC's default CPU governor Settings)
- [APP Paid] GameBooster 2 ★ Root (On stock kernel it requires quad lock, review here)
Recommended Kernels:
- KozmiKKernel 002 or XM-Kernel #41 (GPU520, Quad unlock 1550, UV support, S2W, cooler Nvidia CPU quiet driver and latest Tegra patches, more info here)
- Trip's ENRC2B 3.1.10 Kernel (GPU520, Quad unlock 1500, Interactive quad fix and latest Nvidia drivers, One X+ based, review here)
Simply enable game boost before you start a game and disable it once you finish to preserve battery life.
The following notes are related to HTC's Stock JB 3.18.401.1 kernel (more info here)
Free gaming boost no longer works on this kernel
The kernel now resets governor values few minutes after changing them, it's recommended to either use game booster 2 in ultra mode (performance governor) or switch to a custom gaming kernel
The following notes are related to HTC's Stock JB 3.14.401.24/32 kernel (more info here)
PowerSaver mode
With HTC powersaver's CPU mode turned off, the device will use up to 1500mhz single and 1400mhz quad core, sadly for some rare quad enabled games like shadowgun this might cause random performance drops when the game calls the single core 1500 step
Enabling HTC powersaver's CPU mode will lock the device to 1300mhz quad core, effectively its a quad lock but slightly slower with less heat and battery consumption
Experiment with your game to find which mode works best along with game boost
Locking the quad
Simply set the CPU clock to 1400 on boot and it will stick, the powersaver mode will switch between 1300 and 1400, both quad modes without the buggy single core 1500 step
Place the attached 99CPU1400.txt script in etc/init.d folder, remove .txt extension and set all permissions, reboot
If this doesn't work or you are using a kernel without init.d support, simply use SetCPU, change the clock to 1400 and set on boot
Aggressive Performance tip
You can go further if you want to force max possible performance, unlike ICS, JB kernel allows the performance governor to use full quad, so you can enable boost ON and then switch to performance governor using your favorite SetCPU app, with powersaver off the device will use up to 1400mhz quad cores and idle around two cores 1200mhz, with powersaver on it will use up to 1300mhz quad cores and idle around two cores 1200mhz, naturally this tip will cause extra heat and battery drain, once you are done disable game boost and you will switch back to stock ondemand governor
That's it! it's all you need! but you can learn more about the other methods and the One X/Tegra 3 performance related issues/information in the rest of this guide
--------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------
GAMING BOOST APP METHOD - Stock ICS ROM - last updated 15/10/2012
This is currently the best method of them all, this app will does everything in the guide for you in one click and unleash you One X to its full gaming potential with one click, you can turn it off once your are done gaming to conserve battery
Requirements:
- ROOT
- [APP] RENOVATE Gaming Boost v2.1
Recommendations:
- DieHard or HardToKill patch
- Custom 2.17 Gaming Kernel, Faux 011 or Franco R21 Currently the best kernels for gaming because of the following features: unlock the GPU to its full 520mhz speed, lock the quad at full speed, latest HTC 2.17 drivers and the latest Nvidia drivers from their NV 3.x repo
warning! due to HTC code, on stock ICS kernels, turning off the screen will reset two vital parameters set by the app so you have to make sure not to turn off the screen between boost and playing a game, the issue is not present on stock JB kernel, Faux or Franco
If you are a Gameloft fan check these extra tips: [FIX] Wild Blood Full Effects v1.0.7 Performance + other GameLoft games - Root
That's it! it's all you need! but you can learn more about the other methods and the One X/Tegra 3 performance related issues/information in the rest of this guide
--------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------
PERMANENT METHODS - last updated 15/10/2012
These two methods will do everything for you and unleash you One X to its full gaming potential for good
How to set the gaming boost mode permanently using init.d scripts for custom kernels
Requirements:
- ROOT
- any ROM with init.d support
- Custom gaming kernel, choose one of the recommended above
How to set the gaming boost mode permanently using SetCPU 3.x for any Kernel
Requirements:
- ROOT
- Any Kernel including Stock
That's it! it's all you need! but you can learn more about the other methods and the One X/Tegra 3 performance related issues/information in the rest of this guide
--------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------
QUICK METHODS - Scripts - last updated 15/10/2012
Use the listed kernel of your choice repacked for your current ROM, use supercharger in order to free more RAM/set proper application priorities and apply the recommended scripts to boost your CPU
Current tested kernels for gaming with their recommended methods, custom kernels are faster than stock in games:
Faux kernel version 011 + Supercharger & DieHard Patch + Optimized Ondemand Scripts
Franco kernel version R21 + Supercharger & DieHard Patch + Optimized Ondemand Scripts
Stock kernel for base 2.17.401.2 + Supercharger & DieHard Patch + Optimized Stock Ondemand Scripts (stock kernel from this base has a broken multicore in interactive governor)
Stock kernel for base 1.29.401.11 + Supercharger & DieHard Patch+ Optimized Interactive Scripts
That's it! it's all you need but you can learn more about the methods and the One X/Tegra 3 performance related issues/information in the rest of this guide
--------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------
MANUAL METHODS - Obsolete
Fixing the severe frame rate dips - Optimized CPU governor - The Way it meant to be played
For base 2.17.401.2 stock kernel and Faux kernels :
- You can use these scripts to simplify the entire process
or do it manually with the following steps:
- Download SetCPU 3.x or System Tuner
- Interactive governor have multi-core trouble on these kernels so leave it with the much improved onDemand
- Go to the governor tab and optimize your onDemand values
For base 1.29.401.11 stock kernel or custom kernels based on 1.28 source:
- You can use these scripts to simplify the entire process
or do it manually with the following steps:
- Set your CPU governor to Interactive using SetCPU 3.x or System Tuner
- Optimize your interactive governor behavior by checking the instructions in here, this is the most important step and will give the best results and completely fix scaling issues
- keep the clocks as they are so not to cause needless heat/consumption, this governor is much more suited for gaming as you start gaming it maintains higher clocks, during normal use i advice to return to onDemand for much better battery consumption and wake up speed, do not run in performance governor otherwise you loose 2 cores
- You can automate this process and set game profiles using SetCpu 3.x, read the instructions in the linked post
This tip is enough for the most part but more memory heavy games like Sonic 4 Episode II and NOVA3/Asphalt7 might need so further memory management tips as described below
----------------------------------------------------------------
Reducing stutter and background processes - SuperCharger Method - Best choice
- You can use Supercharger to optimize your memory management and app priorities permanently
- Install DieHard Supercharger's service.jar patch follow the tutorial on how to use the script
- Using the script set the minfrees, use the most agressive minfrees if you want to optimize for gaming like option 9 but go for little less if you are using SetCPU profiles so not to kill SetCPU background process, you can always change minfrees on the fly, they don't require a reboot
- You can add script manager widgets to switch between your multitasking minfrees values on the fly, using supercharger power-shift scripts
- Play for a while to let the game settle in memory, the more you play the better the performance will get
----------------------------------------------------------------
Reducing stutter and background processes - System Tuner Method - Second best
- If you don't want the complex supercharger method
- You can use System Tuner to quickly set your multitasking minfrees, simply go to the Auto-Kill section and load the most aggressive minfrees, when done gaming you can always restore whatever multitasking values you find best, changing these values happens on the fly and do not require reboot
- Play for a while to let the game settle in memory, the more you play the better the performance will get
this method does not attempt to fix the priorities.
----------------------------------------------------------------
Reducing stutter and background processes - Developer Options Method - Most extreme method and least favored
This is my least favored method since its impractical and the constant reloading of everything might actually cause its own set of trouble but its the only method for non rooted users
- Go to Developer options choose don't keep activities and background process limit to 1, don't set the process limit to non or sometimes games won't load
- Wait for Sense launcher to reload (which means its working since it killing Sense launcher)
- Immediately run your Game
- Play for a while to let the game settle in memory, the more you play the better the performance will get
Some games will not work with this method and fail to boot like MC3
The negative aspects of this trick is that your phone functions are limited during gaming and the battery will drain a bit more on every sense reload, this why you should restore your settings to normal when you are done
----------------------------------------------------------------
Always remember the Following
- Always remember to kill heavy tasks before launching your game, leaving system tuner running in the background probing the CPU might cause stutter
- Remember to restore your Developer options to default, if you want a normal working phone
- Remember to restore the governor to onDemand once you are done to save your battery or rely on SetCPU profiles
- Remember to restore your Minfrees if you want more multitasking, you add script manager widgets to switch minfrees on the fly using the supercharger power-shift scripts
- You can also place an auto sync widget and disable accounts sync during gaming, this helps in reducing the chance of interference with games
- Never game while the phone is charging! unless you want to kill your battery and overheat your device, discharge might happen
- Never lock the minimum clock! unless you want to kill your battery and overheat your device
- If it's On, Disable Force GPU Rendering in Developer options, it might cause issues with some games and apps
Read the following facts to better understand how your One X and Tegra 3 works
--------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------
The Facts
Using tegrastats you can see games like Glowball immediately requests and enables the full speed quad mode
On the other hand Sonic 4 Episode 2 fails to run beyond 2 cores and 640/1000mhz which means its not actually demanding full power, in part it's the stock governor but also it's the app's fault, another example is temple run brave which runs around 800-1000mhz sadly this means a low clocked GPU too since the GPU is coupled to the CPU speed on Tegra3
Tegra3 is a quad core 1.5ghz 40nm SOC and so learn to accept its operational temperatures i.e: 45c Battery and 75c CPU during heavy use
Tegra3 is a variable SMP design i.e: It's meant to go in and out into it's thermal maximum and so we should not OC this SOC
No chipset is a created equal, so depending on the yields of Tegra3 you might end up with a cooler or hotter running chip
There is a reason why iOS have a very limited multitasking and consoles have barely any, multitasking is always at the cost of optimal performance, lots of apps in the background will increase heat, battery drain and affects gaming performance on the One X
GPU
The Geforce ULP GPU included in the One X's Tegra 3 (AP33) runs up to 416mhz by default but the clock is linked to the CPU speed i.e: when the CPU clock ramps down so does the GPU
however AP33's GPU is rated 520mhz and so it can be unlocked to it's full speed using custom kernels like Faux and Franco R21
CPU clocks work in the following modes on the One X:
Single core = max 1.5ghz
4 cores = max 1.4ghz will scale down to 1.2ghz after a specified CPU temperature limit
the 1500mhz single core step is the main reason for lag in games since sometimes the CPU governor mistakenly locks into this step causing heavy lag, the method in this guide attempts to bypass this issue
The available CPU governors, each using the cores differently:
onDemand governor
The stock CPU governor on the One X tweaked for better battery life and temperature, however it often ramps down the CPU clocks during game-play which is the one of the causes of bad frame rate, interestingly it seems to have a faster wakeup speed than Interactive governor.
This is the most stable for phone operation and can use all the quads but its suffer in keeping the high clocks in games.
You can control the ondemand scaling behavior and use it to insure higher clocks check this explanation in this post
Interactive
Similar to onDemand but responds to your interaction, as long as your using the device it ramps up to full speed.
You can control the interactive scaling behavior and use it to insure higher clocks check this explanation in this post
This governor is supposed to be the best governor for gaming sadly it's bugged on stock kernel, it keeps getting stuck in single core mode, so stick to optimized ondemand or switch to custom gaming kernels
Performance governor
Locks 2 cores to 1400mhz and disable 2 cores for safety, perfect for non mp optimized games like GameLoft's but gives reduced performance in quad optimized apps like Glowball and Shadowgun THD
Starting with JB stock kernel, full quad now works in performance governor
Powersave and Conservative
The best to save battery life and ofcourse they mean compromised performance
They are bugged and sometimes cause reboots in stock kernel
----------------------------------------------------------------
Custom kernels for JB
Finally we have a lot of choices for gaming kernels on JB, check the above recommended kernels in gaming boost app method.
Stock Kernel for JB
HTC's stock 3.14.401.31 kernel fixed quad in the performance and improved GL performance, sadly the interactive governor still can break the quad core and the single core 1500mhz step is still there, however the new powersaver mode locks the phone to 1300mhz quad, check the review here
GameLoft Games
Gameloft games are rarely optimized for Tegra 3 devices, check the following tips
[FIX] Wild Blood Full Effects v1.0.7 Performance + other GameLoft games - Root
Performance governor for non optimized games
You can try the performance governor which locks at 2 cores and 1400mhz for games that don't use the quad core
Locking the clocks
For certain games you might might want to lock the performance you can raise the minimum clock to 1.0ghz for such games but always remember this risks more heat and to always restore the minimum clock if you dont want to fry your One X
Instead of locking the clocks simply use the gaming boost app/scripts or the safer dual core performance governor
Automating this process
SetCpu 3.x has profiles per app where you can choose a governor for you game, check this post
You can also try Tasker to simplify much of this process, thanks to AJerman for this tips and instructions in here
Rom Cleaner
If you are on stock based ROMs like ARHD and don't care much about all the Sense bloat, you can use Rom Cleanerhttp://forum.xda-developers.com/showthread.php?t=1589949 to de-bloat your ROM, this will free more RAM for gaming and reduce background noise, some users reported few extra fps in benchmarks
Cyanogenmod 9/10
Alternatively if you want your One X totally optimized for gaming, try AOSP ROMs, many games might run smooth without any tweaking, this probably due to the dramatically less bloated ROM and better default CPU configuration, but of course it all depends how you bloat it yourself, you can still use the above tips
If anyone can find more tips about Tegra3 gaming please post!
Very nice tip, I'll give it a try. Thanks a lot man.
Will this increase the performance in GTA3? It's horrible now.
Sent from my HTC One X using xda premium
well it should improve any game
I just tried CM9 and to be honest
you won't see what tegra 3 can realty do.unless you try CM9
without any tweaking all THD games ran liquid smooth includin S4E2
hamdir said:
well it should improve any game
I just tried CM9 and to be honest
you won't see what tegra 3 can realty do.unless you try CM9
without any tweaking all THD games ran liquid smooth includin S4E2
Click to expand...
Click to collapse
I came to know this a while ago . Every game ran atleast 5-10 fps higher on CM9
Though I'm still sticking with sense for now atleast, not sure I want to switch
yup this trick totally fixed gaming for me
60fps in riptide gp stable
still s4e2 was a little smoother in CM9 but its definitely impressive now
loving tegra3 best decision I've made, but we need to tame the beast
ok adjustment to this trick just set the minimum clocks to 1ghz and it will be as good or better, much better temps too
sonic 4 episode 2 is the best mobile game ever made for me, the most pleasent surprise with the one X
ok one more update
stock kernel:
min clock 1.0ghz, max clock 1.5
governor interactive
supercharger script at 512HP Super UL memfrees
holy smokes i love T3
very smooth frame rates on Shadowgun THD, RipeTide and S4E2!
I have used cm9 for a while and tbh I couldn't tell if games were better on it. I'm on pkmn Rom now with Franco's kernel and they seem the same.
robt772000 said:
I have used cm9 for a while and tbh I couldn't tell if games were better on it. I'm on pkmn Rom now with Franco's kernel and they seem the same.
Click to expand...
Click to collapse
did u try the clocks trick?
Yep and they run like a charm
robt772000 said:
Yep and they run like a charm
Click to expand...
Click to collapse
the clock trick is enough, actually even better then the kernel and cm9 tip
I only suggested Franco's kernel and cm9 for those who can't b bothered settings pre gameplay
hamdir said:
the clock trick is enough, actually even better then the kernel and cm9 tip
I only suggested Franco's kernel and cm9 for those who can't b bothered settings pre gameplay
Click to expand...
Click to collapse
Mass effect: Infiltrator runs in Quad mode with Franco's kernel, it's ultra smooth
Nubzori said:
Mass effect: Infiltrator runs in Quad mode with Franco's kernel, it's ultra smooth
Click to expand...
Click to collapse
I can't get mass effect. Must be my location.
how did you get infiltrator? I tried to buy it but it says that its incompatible with my device.
hamdir said:
T
- to kill the last possibility of a random OS caused stutter, use supercharger script and set the mem frees to 512HP Super UL values
Click to expand...
Click to collapse
I found 1000HP more responsive. Also Nitro Lag Nullifier script, and few Build.prop I found from TP Forum.
Code:
ro.kernel.checkjni=0
ro.kernel.android.checkjni=0
com.qc.hardware=true
windowsmgr.max_events_per_sec=300
debug.performance.tuning=1
persist.sys.composition.type=gpu
dalvik.vm.execution-mode=int:jit
ShyamSasi said:
I found 1000HP more responsive. Also Nitro Lag Nullifier script, and few Build.prop I found from TP Forum.
Code:
ro.kernel.checkjni=0
ro.kernel.android.checkjni=0
com.qc.hardware=true
windowsmgr.max_events_per_sec=300
debug.performance.tuning=1
persist.sys.composition.type=gpu
dalvik.vm.execution-mode=int:jit
Click to expand...
Click to collapse
I wouldn't go with nitro, I tried kernelizer n disabled 2 cores lol n nitro I would expect it to cause issues
of course 1000hp is better that's very aggressive and no multi tasking, ill try ur build.prop values but some of them r needless like jit
Drefsab said:
how did you get infiltrator? I tried to buy it but it says that its incompatible with my device.
Click to expand...
Click to collapse
Weird, works fine for me, although crashes on certain cutscenes
Alright i have an update for you guys
first of all my method in the OP of the minimum clock locking will heat up the device
i found better ways
i've been testing my device non stop for the past days and i can confirm the following
multitasking and background apps are a definite contributor to heat, battery consumption and lag in games
I just ran S4e2 for one hour of gaming, stock kernel, on just the interactive governor without touching the clocks, it ran the smoothest yet without any stutter, and the temperature never crossed 43c battery and 72c CPU
updated the OP with my new tips

[FAQ] AK Kernel 101

AK Kernel FAQs
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Q1) What are custom kernels? What are the benefits of using custom kernels?
A kernel is basically the bridge between the software and hardware. Whenever you command your phone to do something (launching an app), the software sends that request to the hardware which in turn, makes the launching of the app possible. Custom kernels for Android are unofficial creations of independent developers. Unlike the kernels that OEMs make, custom kernels offer more modifications that allow you to tweak your phone in every possible way.
Benefits Of Installing Custom Kernels
You can benefit from having better control of your device. These options are most helpful for users who want to maximize the full potential of their phone or perhaps want to extend their device's battery life. Below are some of the benefits of installing custom kernels.
-Adjust CPU frequencies and set profiles like OnDemand, Battery Saving, etc.
-Underclock and overclock CPU speeds
-Underclock and overclock GPU speeds
-Adjust voltage
-Adjust touch screen sensitivity
-Equip your phone with BLN (backlight notifications)
-Custom recovery that allows backups and restorations of entire ROMs as well as installation of .zip files
-Minimum screen brightness pushed past the limitations of stock kernel
-Conserve battery (with the right settings
Q2) Where can I get the AK kernel and which one should I flash?
The latest kernel is always linked in the OP. The kernel is broken down between the Purity version and Pirate version. The Purity kernel is meant to be as close to stock as possible. The Pirate kernel on the other hand is more of a experimental kernel with more options than Purity.
Q3) I have a XXXXX version of the Galaxy Nexus, will it work?
Yes, the AK kernel works on all versions of the Galaxy Nexus. This includes the CDMA and GSM versions. Download the kernel from the AK thread.
Q4) How do I make changes to my kernel settings? (ex: voltages, fastcharge, etc.)
Download the Trickster Mod from the Google Play store.
Q5) Can I use AK on xxxxx rom?
AK is known to work on any rom based on AOSP, AOKP, CM10, and even MIUI.
Q6) How do I install it coming from another kernel?
TWRP is the prefered recovery, although CWM recovery may also work.
The ideal way to install AK, especially if you are coming from another kernel, is to do the following.
Wipe cache and dalvik cache
Wipe /system
Re-flash your ROM
Flash AK
Fix permissions in recovery (this may take up to a minute or two)
Reboot
Q7) Do I need to wipe cache/dalvik/battery stats/etc if I'm just installing the kernel onto a previous AK version?
No, download and flash away. Only wipe battery stats if your battery percentages are off. Do not believe the myth that doing so will increase your battery life.
Q8) Do I need to run any other apps like SetCPU or equivalent?
No, if you plan to install and run Trickster Mod, please uninstall any other apps that may interfere with your CPU settings. If you are still running into problems (ex: reboots, FCs, etc.) please check your /etc/init.d directory for any left over scripts from other rom or kernels. These may interfere with how AK operates.
Q9) What is Smart Reflex? What is FSync? What is Thermal Throttling?
Smart Reflex is used to scale your voltages. Voltage will be increased or decreased when required. If you are overclocking, disable SR to have access to higher clock speeds.
FSync is a system call that can be toggled on to write buffers to disk (slow) or toggled off (fast) for performance. FSync defaults to on in the linux kernels, the option to disable it exists but it is advised to use this with caution. COMPLETE data corruption could occur if the phone crashes with fsync disabled.
Thermal throttling protects your CPU from overheating. If you are benchmarking, turn this option off to prevent throttling of the CPU that can cause lower scores. Just remember to re-enable it afterwards. Bear in mind that at 110C, the CPU will shut down no matter what. It is not advised to disable thermal throttling, however the option exists for those enthusiasts who are aware of the risk of permanent hardware damage. Please take the necessary precautions!
Q10) Does PGM (slide2wake) for the Nexus work with AK?
Yes PGM is supported on. But be sure to use the latest(March-25) version.
Note- The latest free or pro version of the pgm app is required.[/B]
Q11) What is the sleep of death (SoD)?
You turn the screen off, when you want to pick it up, you can not wake it up.
There is no blinking notification and when you call it, there is no ringing or vibration. When you press and hold power, it does not turn on, otherwise it was OFF.
If you play a game and it reboots, or freezes. That is NOT a SoD.
Q12) Can xxxxx option be implemented in AK?
Stefano wants to keep Purity as close to stock as possible but feel free to request features for Pirate within this thread or the dev thread. Whether or not it gets implemented is up to Stefano.
Q13) I want to keep my Rom's bootanimation, why does AK kernel keep trolling me?
The boot animation by Ciprian is hardcoded so it cant be changed.
Q14) How is battery life?
No one can predict your usage. However, most folks are getting great screen on time and performance.
Q15) I just experienced a reboot, how can I help to pinpoint the problem?
Open up terminal emulator and issue the command:
Code:
cat /proc/last_kmsg > /sdcard/last_kmsg.txt
Take this last_kmsg.txt file and show it to Stefano in this thread. It's suggested to copy the contents and use something like pastebin instead of spamming the thread with your log.
Q16) Whats with all the name changes?
Stefano aka AK changes the name whenever he makes major change to kernels, meaning they are different kernels thats why they have different names.. thats why the kernels went from berserk>dummy>pirate>cylon>AK/diamond>.. AK/Diamond are the same he just changed the name from AK to diamond thats why the changelog for diamond leads to changelog of AK.. as for purity that kernel is as close to stock as possible so its name has been purity since i started using this kernel, Stefnao stopped making the purity kernel and now BigBrother1984 makes Rubik in its place
Any other things that should stand in the FAQ? Did I make some horrible language mistakes? Write me a PM or post in this thread.
=============================
Credits-
Stefano - for this great kernel :good:
GideonX - for letting me use this format and some of the question from his post :good:
If you have any problems, you need to collect the following data before reporting it:
- Report Only with default Freqs + default Uv
- kernel version
- rom version
- governor
- scheduler
- freq cpu
- freq gpu
- logcat
- dmsg
- last_kmsg
- short description of the problem
First!
Great job on this.
jstn_hillis said:
First!
Great job on this.
Click to expand...
Click to collapse
thanks.. btw guys i think this thread should be in the Q&A section instead so i am requestiong that a MOD move it there :good:
Khizar said:
Q4) Can I use AK on xxxxx rom?
Trinity is known to work on any rom based on AOSP, AOKP, CM10, and even MIUI.
Click to expand...
Click to collapse
What? :silly:
Kakashi Hatake said:
What? :silly:
Click to expand...
Click to collapse
i used GideonX post that is linked in the OP to make this and looks like i forgot to edit that, thanks for the catch :good:
PS- if anyone finds something else or has any siggestions please let me know :good:
Honestly I'd like to see peoples custom and under volt settings.
Sent from my Galaxy Nexus using Tapatalk 2
thx dude
PGM(free and better version) can't work with my Gnex with PA 20/2/13 on both Purity kernel and Pirate kernel.
fishhelmet said:
Honestly I'd like to see peoples custom and under volt settings.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
users are more than welcome to post their settings here :good:
pponto said:
thx dude
Click to expand...
Click to collapse
your welcome
baiyy0906 said:
PGM(free and better version) can't work with my Gnex with PA 20/2/13 on both Purity kernel and Pirate kernel.
Click to expand...
Click to collapse
the issue isnt with AK, its with pgm, the free version is outdated
Khizar said:
users are more than welcome to post their settings here :good:
your welcome
the issue isnt with AK, its with pgm, the free version is outdated
Click to expand...
Click to collapse
you are right,I find the latest version,that's work , thank you
Khizar said:
Q12) I want to keep my Rom's bootanimation, why does AK kernel keep trolling me?
The boot animation by Ciprian is hardcoded so it cant be changed.
Click to expand...
Click to collapse
I have no problem with branding, but I believe just a splash of the logo would suffice. I am running the Pirate version and not a huge fan of the pirate splash and would really like to remove it or at least have the option to change it to the AK logo. Any chance of this ever happening?
ThePhantom97 said:
I have no problem with branding, but I believe just a splash of the logo would suffice. I am running the Pirate version and not a huge fan of the pirate splash and would really like to remove it or at least have the option to change it to the AK logo. Any chance of this ever happening?
Click to expand...
Click to collapse
You can download source, compile with:
CONFIG_LOGO is not set
Why do I get major lag after receiving a notification with this kernel?
Sent from my Galaxy Nexus using xda app-developers app
soccer568 said:
Why do I get major lag after receiving a notification with this kernel?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
i persoanly dont have any lag with this kernel(i use stock settings) but post the following info and we might figure out why you are getting lag-
- are you using custom Freqs + Uv?
- kernel version?
- rom version?
- governor?
- scheduler?
- freq cpu?
- freq gpu?
So I'm new to custom kernels, but I'd like to see super basic stuff for newbies in the faq. like "What is the benefit of installing a kernel and what does it do?" in the faq. or like "Is there a rom that works better with this kernel?"
uncola said:
So I'm new to custom kernels, but I'd like to see super basic stuff for newbies in the faq. like "What is the benefit of installing a kernel and what does it do?" in the faq. or like "Is there a rom that works better with this kernel?"
Click to expand...
Click to collapse
i like the first question so will add it in the OP, as for second question nobody can answer it but you, every device is different so the rom/kenrel that works best for me wont necessarily work best for you thats why i recommened that you try different rom/kernel combos
This might help with the question "is there a rom that works better with this kernel", or any kernel for that matter.
http://forum.xda-developers.com/showthread.php?t=2160723
Sent from my Galaxy Nexus using xda app-developers app
My personal opinion about this kernel
I really like the thing to keep it update to mainline linux, only 2 kernel keep this ( leankernel & franco kernel )
I noticed some strange things
the first is disabling MPU Smartreflex and set lower voltage than SR , device is hot and drain more battery WHY? it's unsense ( test with #704 ) anyone can confirm?
The second one too much battery ( using SR ), in the past i love check my phone every seconds and close all apps to keep some juice inside battery, now with AK kernel battery life is something incredible and it's annoying : / , i arrive to 21:00 ( from 7:00 ) with 30-40% and 4-5 hours screen on and ever single thing turn on ( i'm using google now only for meteo lol ), with others kernel same thing, i arrive with much lower %, like 5-10%
This is my settings:
AK kernel 704
AOKP Self Compiled updated with 22feb git
Interactive ( 350 - 1060 Mhz ) - ( Screen off max : 535 Mhz ) - ( hispeed_freq : 810000 ) ( brightness: 50% ) ( 135 apps installed ) ( Full disk encryption [ said only cuz disk operation use more CPU = more Battery ] )
I feel you should include the Wep not working on 704+ pirates.
SOS sent from my gnexus captured by the pirates.

[KERNEL] ElementalX 13.1

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kernel for Google Play Edition and Sense-based ROMs
FAST • STABLE • FULL-FEATURED
ElementalX brings the best performance and battery life on the HTC One. Stable and full-featured, you get complete control over your phone. The only kernel that offers individual control of all CPU cores without third party apps, automatic undervolting options, full compatibility with paid apps, thermal options, fully working sweep2wake, doubletap2wake and pocket detection to prevent accidental wakes. Other features include button light notification, 60Hz refresh rate for HDMI, HTC logo as menu button, sleep/wake with long press of the HTC logo, support for many gamepads and more.​​
Click to expand...
Click to collapse
Code:
* Standard disclaimer:
* Your warranty is now void. Use at your own risk.
* In other words: It is your choice to use this software,
* I am not responsible for any damage or problems you may have!
​
FEATURES:
easy installation and configuration with Aroma installer
optimized for extended battery life
overclocking/underclocking options
select independent frequencies for each core
choose auto minimum voltage (725mV to 850mV)
complete user voltage control
mpdecision options (battery saving, stock, performance)
optional GPU overclocking
GPU governors: ondemand, simple
CPU governors: ondemand, intellidemand
i/o schedulers: FIOPS, SIO, CFQ, NOOP, deadline
kernel based thermal control
thermal options (extra cool, run cool, default, and run hot)
sweep2wake
doubletap2wake
logo2wake
pocket detection
logo2menu
button light notification
optional max screen off frequency
optional graphics boost
/system writable
init.d support
force fastcharge
NTFS r/w support
exFAT support
CIFS support
OTG support
optional disable HTC color enhancement
color control (faux123)
remove/restore 3-dot menubar
support more game controllers (including PS3)
maintains compatibility with all paid apps
increased refresh rate for HDMI output via MHL adapter
optimized -O3 linaro 4.8.1
Please hit the Thanks button if you download this
If you really like it, please consider a donation to encourage continued development
Thanks to those who have donated!
Click to expand...
Click to collapse
DOWNLOAD
Sense 5.5 Android 4.4 and Google Play Edition Android 4.4.2
ElementalX-m7-Verizon-13.1
Note: I do not have a Verizon HTC one. Please look through the thread to find what ROMs this works with and any workarounds that are needed.
INSTALLATION
1. Install zip from recovery
2. Follow the instructions, if you don't know what to do, use the preselected options
3. Reboot
For installation, it seems a lot of people have finicky phones when it comes to flashing stuff with aroma.
If the installer gets stuck at 0% then you need to reboot to bootloader and do fastboot erase cache
If the installer reboots at 10%, you need to do a nandroid backup of /system partition and restore it. I think a dirty flash would also work.
After you install it, if you get a black screen or stuck at the HTC logo, no need to worry. Just hold down the power button untill the capacitive buttons start flashing and the phone restarts. The kernel installed correctly.
As always, with overclocking, not all phones can handle all frequencies. If it doesn't boot, or randomly reboots, or freezes, your first course of action should be to reinstall with a lower frequency.
Previous versions:
ElementalX-m7-Verizon-11.4.1
Special thanks:
@tbalden for l2m and bln and cam fix on sense 4.3
@amarullz for installer
@backfromthestorm for fstrim
@crpalmer for kernel based thermal control
@mkasick Fix for empty app-mounted directories
@jonas2295 for elementalx logo
@faux123 for simple GPU governor and color control
NOTES:
ElementalX Configuration File
Your choices in the Aroma installer are used to build a configuration file. The config file is located at /etc/elementalx.conf. You can edit this file to change kernel settings. Whatever is set in this file will take effect when the device is booted (unless other scripts or apps interfere!)
The settings can be changed by editing /etc/elementalx.conf and rebooting. Advanced users can apply settings on the fly by running /etc/init.d/99elementalx as root.
There is no need to edit /etc/init.d/99elementalx. All settings are configured in /etc/elementalx.conf.
If settings are not sticking, make sure the file permissions for /etc/init.d/99elementalx are set to execute. Every time the settings are applied, a log file is created at /data/local/tmp/elementalx-kernel.log. Problems can be diagnosed by looking at the log file.
Please check to see if any /etc/init.d scripts or apps (such as Kernel Tuner or Trickstermod) are interfering with your settings.
ElementalX Log File
Every boot, a log file is created at /data/local/tmp/elementalx.log. This file shows the date and time and all settings that have been applied. Use this to verify and troubleshoot configuration options. Also shows your PVS bin.
Kernel Tuner/TricksterMod/Venom Tweaks, etc
You don't need these apps because the ElementalX installer sets everything up automatically, but if you want to check or change settings, you can use these apps. Just be aware that some of them (e.g. Kernel Tuner) are set by default to apply settings on boot, which can interfere with the settings you chose in the ElementalX installer.
Note: on the most recent versions, fauxclock interferes with GPU overclocking unless you disable pnpmgr (not recommended)
Overclocking
Overclocking (or underclocking) is optional. The installer lets you choose a maximum between 1134MHz (underclocked) and 2160MHz (overclocked). You can set the maximum frequency individually for each CPU core in the installer. Whatever frequencies you chose in the installer will be set at boot for each CPU. Not all devices can handle overclocking. The stock maximum CPU frequency is 1.7GHz. I recommend a mild overclock, like 1836MHz. Clocking higher creates heat and wastes battery for very little performance gain.
CPU voltages
The installer allows you to choose from several undervolting options. These automatically undervolt the lowest frequency (384MHz) where the CPU spends most of its time. The voltages for other frequencies are assigned based on the PVS bin of your phone. CPU voltages are fully customisable with apps such Kernel Tuner or Trickster Mod, but I recommend leaving these other voltages as-is unless you are prepared to do a lot of testing. Be careful, lowering voltages can cause instability. Generally, having reboots while the phone is asleep is a sign that your minimum voltage is too low. The minimum voltage allowed is 700mV.
Be careful with undervolting. If you have bluetooth or sound issues, try increasing the minimum voltage.
Minimum CPU frequency
The minimum CPU frequency in this kernel is 384MHz. This chip was not designed to operate below 384MHz and I am respecting Qualcomm's design decision to have the CPU idle on pll8 at 384MHz. There is a way to achieve lower frequencies using the high frequency pll, however, this is likely to cause instability and inefficient operation (battery drain, ui stuttering)
GPU frequencies
You can choose stock GPU frequency of 400MHz or overclock. If overclocked, you can choose from a range of frequencies up to 585MHz. Overclock frequencies can be changed on the fly, but you can't use the stock frequency. Conversely, if you choose stock GPU, the overclocking frequencies will not be available. To change between stock and overclocking mode, you need to reinstall. The same voltages are used no matter if the GPU is overclocked or not.
GPU Governor
The default GPU govenror is ondemand. It works well and is recommended for best balance between performance and batter life. The simple governor is also available, but ramps up the GPU frequency much quicker than ondemand, so may impact battery life. The governor can be set in /etc/elementalx.conf
Graphcis Boost
The latest versions include graphics boost, which lowers the up_threshold for ondemand governor when GPU is at max frequency. This helps mostly with graphics intensive games that use gyro controls, such as racing games. It can be enabled or disabled in /etc/elementalx.conf or through sysfs.
/sys/devices/system/cpu/cpufreq/ondemand/gboost
0=gboost disabled
1=gboost enabled
Thermal Control
I've added kernel based thermal control and throttling. HTC's thermald is very aggressive and throttles the CPU frequency pretty much anytime you use all four processors. This kernel based implementation allow better performance while still protecting your phone from overheating. There are three levels of thermal control, which can be chosen in the installer or changed in /etc/elementalx.conf. The default option is recommended. With the run cool option, your CPU will run about 5C cooler than default while under heavy load. With the run hot option, the CPU will run about 5C warmer than default under heavy load.
MPDecision settings
There are three mpdecision settings available: battery saving, stock and performance. I think they are self explanatory. These can be changed in /etc/elementalx.conf
Max screen off frequency
This is optional and must be selected in the installer. I recommend enabling it. This limits the max cpu frequency while the screen is off. The default max screen off frequency is 702MHz, which is a good balance between limiting the voltage/frequency and the time required to complete tasks while the screen is off. You can adjust this with applications such as Venom Tweaks.
CPU Governors
The default governor is ondemand (recommended). Intellidemand is also available.
I/O Schedulers
The default i/o scheduler is FIOPS. Other available schedulers are CFQ, FIOPS, SIO, NOOP and deadline.
Installing a new ROM
If you install a new ROM, it will probably replace this with the stock kernel and will definitely overwrite /etc/init.d/99elementalx and /etc/elementalx.conf so you will lose your settings and certain features. So always reinstall the kernel after installing a ROM.
Sweep2Wake
Sweep2wake (S2W) allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep). The options are: sweep2wake/sweep2sleep, sweep2sleep only, and disabled. If you use apps such as Kernel Tuner, the sweep2sleep only option can be selected by choosing "On with backlight". You can edit /etc/elementalx.conf to change the setting on boot.
/sys/android_touch/sweep2wake
0=disabled
1=enable sweep2wake + sweep2sleep
2=enable sweep2sleep only
Sweep2wake button timeout
In earlier versions, sweeping to sleep brought you back to the homescreen. Starting in version 3.3, if you swipe fast enough, it will not register a home button press in the sweep, and your last app will be there when you unlock the phone again. Depending on how quick your fingers are, double tapping home could put the phone to sleep instead of opening recent apps. I've made the default button_timeout such that it is almost impossible for this to happen in normal use (button_timeout = 6). If you find that it happens too often, you can set button_timeout to a lower number, or disable it completely by setting it to 0.
/sys/android_touch/button_timeout
Accepted values are 0 to 15. 0 disables button timeout
• Higher values make it more likely that your last app will be open after you sweep to sleep, but there is a higher risk of accidentally putting the device to sleep when double tapping home.
• Lower values make it less likely that your last app will be open after you sweep to sleep, but reduces the chance of a double tap of home being mistaken for a sweep2sleep.
• Setting button_timeout to 0 disables this feature completely
The setting can be changed after installation in /etc/elementalx.conf
DoubleTap2Wake
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping in the bottom inch or so of the screen, above the capacitive buttons. You can edit /etc/elementalx.conf to change the setting on boot.
/sys/android_touch/doubletap2wake
0=disabled
1=enable doubletap2wake
Logo2Wake
Logo2Wake (L2W) allows you to sleep or wake the device by long pressing the HTC logo. You have to press just slightly above the HTC logo. The screen will automatically turn on or off with a long press. You can edit /etc/elementalx.conf to change the setting on boot.
/sys/android_touch/logo2wake
0=disabled
1=enable logo2wake
Pocket Detection
Pocket detection protects against accidental wakes while S2W, DT2W or L2W are enabled and the phone is in your pocket. Pocket detection uses the proximity sensor. A few people have a problem with their proximity sensor that makes DT2W not work, so I've made an option to disable pocket detection. You can edit /etc/elementalx.conf to change the setting on boot.
/sys/android_touch/pocket_detect
0=disabled
1=enable pocket detection
Logo2Menu
Enabling Logot2Menu (L2M) allows you to use the HTC logo as a menu button. You must press just slightly above the HTC logo. You can edit /etc/elementalx.conf to change the setting on boot.
/sys/android_touch/logo2menu
0=disabled
1=enable logo2menu
Button Light Notification
With Button Light Notification (BLN), the capacitive buttons will blink on and off when you have a new notification. As soon as the screen comes on, BLN is canceled and the lights will no longer blink until you have another notification. Please note that if you have your screen set to turn on when a message arrives, you will not see the buttons blinking because once the screen comes on, the button light notification is canceled. You can edit /etc/elementalx.conf to change the setting on boot.
/sys/class/leds/button-backlight/blink_buttons
0 = disabled
1 = BLN enabled
NTFS and exFAT support
This is for anyone who wants to use OTG to connect a USB stick or portable harddrive formatted with Microsoft's NTFS and exFAT filesystems. You will need Stickmount or a similar app, HTC Sense does not automatically detect these filesystems.
Paid Apps
All the cryptographic modules load properly, so you shouldn't have an issues with paid apps.
Other stuff
This kernel supports many game pads and controllers, including PS3 controllers and some X-Box controllers. It has full OTG support. A refresh rate of 60Hz for HDMI output allows you to play games on the big screen without choppiness. CIFS support is built into the kernel. Faux sound control is also supported.
Source:
Github
................
CHANGELOG
Changes
ElementalX Sprint & Verizon Downloads -kernel source
This is ElementalX kernel from http://forum.xda-developers.com/show....php?t=2249774 just compiled for Sprint and Verizon.
Downloads
ElementalX 17.0 http://forum.xda-developers.com/show...&postcount=796
ElementalX 17.2 http://forum.xda-developers.com/show...&postcount=871
ElementalX 17.2-3 http://forum.xda-developers.com/show...&postcount=875
ElementalX 18.0 http://forum.xda-developers.com/show...&postcount=901
ElementalX 19.3 http://forum.xda-developers.com/show...&postcount=993
kernel source : https://github.com/smokin901
Credits
@flar2 - Kernel Sources
@poondog : help making it work on sprint and Verizon
and others i may have missed.
I'll test now, will report back any issue i find!!
Flashed this choosing all default options in aroma. After the boot I ended up with a black screen with capacitive buttons lit. Would you like me to try to get a logcat?
Sent from my HTC6500LVW using Tapatalk
Edit: just reread the OP, after a second and third reboot the phone still did not boot fully. I'm using ViperOne if that matters.
I will need /proc/last_kmsg please
And also the installation log.
Will look at them tomorrow
flar2 said:
I will need /proc/last_kmsg please
And also the installation log.
Will look at them tomorrow
Click to expand...
Click to collapse
here the last_kmsg and installation logs. https://dl.dropboxusercontent.com/u/60449348/LOGS.zip
flar2 said:
I will need /proc/last_kmsg please
And also the installation log.
Will look at them tomorrow
Click to expand...
Click to collapse
I reflashed, and system booted fully on first try. Here are the logs anyway: https://www.dropbox.com/s/9fc9pm8dqq1wldf/logs.zip
Only difference between first and second attempts was I did not wipe dalvik/cache after the second attempt.
Sent from my HTC6500LVW using Tapatalk
Just flashed. I messed around with the cpu settings and got a bootloop. I'll flash again with defaults and get back to you. Thank you for your time and effort.
Sent from my HTC6500LVW using Tapatalk
unctucker said:
Just flashed. I messed around with the cpu settings and got a bootloop. I'll flash again with defaults and get back to you. Thank you for your time and effort.
Sent from my HTC6500LVW using Tapatalk
Click to expand...
Click to collapse
unctucker said:
unctucker said:
Flashed Elemental....bootloop after. Went back to my "STABLE" Viper 4.1 with the 4.2 OTA.
Sent from my HTC6500LVW using Tapatalk
Click to expand...
Click to collapse
Flashed again with all defaults and I'm good.
Sent from my HTC6500LVW using Tapatalk
Click to expand...
Click to collapse
Just thought this should be shared on this thread.
Sent from my HTC6500LVW using Tapatalk
ran all day with stock settings good work
Virus said:
ran all day with stock settings good work
Click to expand...
Click to collapse
Ran all day OC'd and UV'd with intellidemand. No problems here since the first install failed. Great work @flar2 !
Sent from my HTC6500LVW using Tapatalk
So it does work?
flar2 said:
So it does work?
Click to expand...
Click to collapse
Yes. Works great!
Sent from my HTC6500LVW using Tapatalk
flar2 said:
So it does work?
Click to expand...
Click to collapse
Works real well
Gonna run it all day tomorrow and report my findings.
Great! Thanks (I ran out of thanks for the day)
Let me know if everything is working as it's supposed to. I always get a bit nervous when I can't test things out myself.
flar2 said:
Great! Thanks (I ran out of thanks for the day)
Let me know if everything is working as it's supposed to. I always get a bit nervous when I can't test things out myself.
Click to expand...
Click to collapse
What kinds of things should be tested/how should they be tested?
Sent from my HTC6500LVW using Tapatalk
bschram said:
What kinds of things should be tested/how should they be tested?
Sent from my HTC6500LVW using Tapatalk
Click to expand...
Click to collapse
Mostly that the settings chosen during install are actually applied.
It should run nice and smooth with default settings. If performance or battery or worse than stock, something is not right.
flar2 said:
Mostly that the settings chosen during install are actually applied.
It should run nice and smooth with default settings. If performance or battery or worse than stock, something is not right.
Click to expand...
Click to collapse
All the settings I applied in aroma stuck (I confirmed them in venom tweaks), and my battery life was great today. Everything has been running smooth.
Sent from my HTC6500LVW using Tapatalk
My logo2menu doesn't seem to be working.

[PnP&Thermals tweak] Custom profiles for battery saving and/or better performance-v24

Addon was originally only available on Venom HUB but i decided to release it for everyone to use.Here is copy paste of description and changelogs from the HUB.I will update thread as i update it on HUB.
Also big thanks to @hamdir for testing my performance profile on various games, he will also post later hes review, pictures and comparisons to stock.
This addon is designed to save some extra battery, and reduce heat.Magic is done in 2 files:
1:Thermal-engine is tweaked in order to provide much better sustained performance and cooler phone, without big impact on performance.
2np file is another key component, its HTCs CPU/GPU/EMMC/MODEM and many more control engine.Here many tweaks where done, but gonna quickly list some of the important ones:
-Per app control, automatically suspends 2 BIG cores, and runs on 2 low power ones, it also limits the GPU speed to lowest.This will do only for some most commonly used apps, like Sense Prism, Nova launcher, Apex, other HTC apps, various chat programs(hangouts, facebook, messanger, whatsap etc), YouTube and some more.. as those apps dont require a lot power.
-Screen off is set to 2 low power cores for nice standby times
-Power saver is tweaked to actually save some power and not just lower screen brightness
-Extreme powersaver is also tweaked down to save even more power
-Input boost frequencies are also lowered (CPU ramps up moment you touch screen)
-And alot of other minor tweakups..
Also its recommended not to change anything CPU/GPU related in any other apps, like EX and just let this files do the job for you.
If for some reason you dont like this mod or have any problems with it, installer includes revert to stock option
Click to expand...
Click to collapse
Read more info in changelogs below.
List of battery optimised apps (feel free to post your suggestions):
Code:
com.ninefolders.hd3
com.applisto.appcloner
com.livae.apphunt.app
com.fillobotto.mp3tagger
org.polaric.cluttr
com.rgiskard.fairnote
com.glextor.appmanager.free
com.catchingnow.undo
kik.android
de.onyxbits.listmyapps
org.zloy.android.downloader
com.slaughter.look.of.disapproval
gaurav.lookup
cn.wq.myandroidtoolspro
com.embermitre.pixolor.app
de.toastcode.screener
de.munichsdorfer.screenittrial
com.glitch.stitchandshare
com.stumbleupon.android.app
org.de_studio.recentappswitcher.pro
com.happening.studios.swipeforfacebookfree
com.laurencedawson.reddit_sync
com.fifthelement.trimmer
com.camel.corp.universalcopy
com.google.android.apps.inbox
com.riversoft.android.mysword
com.taxis99
com.tbig.playerpro
com.tomtom.gplay.navapp
com.xda.labs.play
com.google.android.apps.translate
com.safeincloud
com.mobisystems.msdict.embedded.wireless.collins.p ortuguese.full
com.mobisystems.msdict.embedded.wireless.oxford.es sentialportuguese
com.accuweather.paid.android
com.mobilesrepublic.appy
com.pandora.android
com.slingmedia.slingPlayer
com.bumble.app
com.tinder
com.klinker.android.twitter_l
com.nam.fbwrapper.pro
com.timehop
jp.naver.line.android
com.linkbubble.playstore
kr.co.vcnc.android.couple
com.joshua.jptt
com.noinnion.android.greader.reader
com.netbiscuits.kicker
com.redictandcgdstudios.projectslenderonline
com.teotlstudios.slenderrisingfree
com.dvloper.slendermanriseagainfree
com.RexetStudio.SlenderTheRoad
air.com.sticksports.sticktennis
com.sticksports.sticktennistour
com.bauermedia.tvmovie
de.wetteronline.wetterapppro
com.redictstudios.projectslender
se.feomedia.quizkampen.de.premium
com.quoord.tapatalkHD
com.droid27.transparentclockweather
com.speedsoftware.rootexplorer
pl.solidexplorer2
com.appseleration.android.selfcare
com.google.android.apps.chromecast.app
rpkandrodev.yaata
com.andrewshu.android.reddit
com.xodo.pdf.reader
com.microsoft.office.word
com.microsoft.office.excel
com.kmobile.cb
com.nianticlabs.pokemongo
com.google.android.apps.maps
com.htc.laputa
com.papago
com.mapbar.android.mapbarmap
com.autonavi.cmccmap
com.baidu.BaiduMap
com.pdager
com.kingwaytek.naviking
com.htc.lockscreen
com.htc.fingerprint
com.xda.labs
org.mozilla.firefox
org.mozilla.firefox_beta
com.emoji.keyboard.touchpal.oem
com.nitrodesk.honey.nitroid
com.android.calculator2
com.estrongs.android.pop
com.tbig.playerpro
org.telegram.messenger
com.instagram.android
org.wordpress.android
com.touchtype.swiftkey.beta
com.gsamlabs.bbm
com.htc.android.worldclock
com.quoord.tapatalkpro.activity
com.anddoes.launcher
com.google.android.gms
android.uid.systemui
com.android.systemui
com.chrome.beta
com.android.chrome
com.chrome.dev
com.teslacoilsw.launcher
com.spotify.music
com.quoord.tapatalkxdapre.activity
com.google.android.apps.plus
com.twitter.android
com.htc.AutoMotive
com.google.android.talk
com.viber.voip
com.ninegag.android.app
com.android.settings
com.devhd.feedly
com.htc.weather
com.google.android.phone
com.htc.sense.mms
com.htc.contacts
com.htc.htcdialer
com.htc.music
com.maxmpz.audioplayer
com.google.android.apps.photos
com.htc.launcher
com.htc.sense.news
com.whatsapp
com.facebook.katana
com.facebook.orca
com.m0narx.hub
com.ice.tweaks
com.m0narx.tweaks
com.google.android.youtube
com.google.android.videos
Compatibility:
All 1,8x, 1.9x and 2.x based roms bases and kernels(even stock roms/kernel's).
Not compatible with 1.5 or below bases (will cause random crashes), use Version v8 for older 1.5x and 1.2x bases.
Download:
Version v24
Download link flashable ZIP - AFH
Older versions:
Version v23
Download link flashable ZIP - AFH
Version v22
Download link flashable ZIP - AFH
Download:
Version v21
Download link flashable ZIP - AFH
Version v19
Download link flashable ZIP - AFH
Version v18
Download link flashable ZIP - AFH
Version v17
Download link flashable ZIP - AFH
Version v16
Download link flashable ZIP - AFH
Version v15
Download link flashable ZIP - AFH
Version v14
Download link flashable ZIP - AFH
Version v13
Download link flashable ZIP - AFH
Version v12
Download link flashable ZIP - AFH
Version v11
Download link flashable ZIP - AFH
Version v10
Download link flashable ZIP - AFH
Version v9 TEST
Download link flashable ZIP - AFH
Version v8
Download link flashable ZIP - AFH
Version v8 for older 1.5x and 1.2x bases
Download link flashable ZIP - AFH
Changelog:
Code:
24.04.2017
v24:Fixed remove 50 -> 60 fps boost on touch on performance profile(60fps locked now)
- MaxPowerSaving profile optimizations to get even more battery life.
27.03.2017
v23:Added more user requested apps(30) for battery optimised profiles
- Attempt to smoothen Facebook app scrolling (App still lags while loading items on any phone)
- Increased touch input boost speed for MaxPowerSaving profile(smoother scrolling)
16.01.2017
v22:Viper Magisk compatible
- Merged with 2.41 base changes
- Added a lot more apps for battery optimised profiles
- Added new MaxPowerSaving profile:
Limits CPU to 1.3/1.78GHz(LC/BC), GPU 510MHz
Launching apps bypasses above limit for fast app starting/switching
Still uses balanced mode per app profiles which saves even more power
- Cleaned installer from unnecessary files (smaller zip size)
9.12.2016
v21:Lowered input boost, touch boost, long duration touch boost, app launch and per app frequencies for even more battery savings(N is still very smooth)
-Cleaning of code and some other fine tuning
24.11.2016
v20:Merged with Android 7.0.0 changes
-Also backwards compatible with 1.5x + bases
26.09.2016
v19:Fixed CPU doesnt drop to lowest speed for some users/kernels
- Merged v18 balanced changes into performance profile
22.09.2016
v18:(Balanced changes only)
- Adjusted CPU scheduler load distributions and frequencies in order to fix some stutters,
but also to save power while phone is idle with screen ON (drops to lower frequencies faster)
- Fixed weird HTC bug where task migration gets stuck in loop and cause phone to heat up for no reason
- (thermal file)Make it a bit cooler on higher loads
- Minor fine tuning here and there..
29.08.2016
v17:Prevent cores going offline if running Android auto (fixes lag on screen off)
- (Balanced)Tweaked 15+ various governor and boost settings for even more power savings
- (Balanced)Added more appps for CPU limiting profiles
- Allow 4 threads for oat proces if PlayStore in focus(faster app install)
23.08.2016
v16:Merged latest HTCs changes realted to PokemonGo thermals
- Removed 50 -> 60 fps boost on touch on performance profile(60fps locked now)
- Forced 60 fps for YouTube and Google videos on balanced profile
- Tweaked thermal file on balanced profile for better performance
07.08.2016
v15:Balanced and Performance profile update
- Fine tuned values
- Big cores go offline during screen off for Performance profile
- Tweaked low memory killer values on both profiles,
prevents often app reloading, which is waste of time and battery.
04.08.2016
v14:Balanced and Performance profile update
- Implemented dynamic swappiness
- Default swappiness reduced from 60 to 30 (less writes to nand)
- During app launch or touching screen event swappiness is reduced to 0
- During screen off swappiness is set to default 60 so it can do its job when we are not using phone
- Increased dirty_ratio to reduce even more writing to nand
- Overall goal is to reduce I/O on NAND while using phone and in that way improve performance,
but also improve battery by better utilizing the 4gb RAM that this device has.
- Added more apps for CPU limiting profiles(balanced only)
v13:
-Merged with changes from 1.9x base
(Mostly fine tuning battery saving for various video chat programs)
v12:Balanced profile changes
- Added more commonly used apps for lower power CPU profiles
- More fine tuning
v11:
- Fine tuned balanced profile to prefer a bit more battery life
- Cleaned up aroma installer (wont create unnecessary Venom folders for non-Venom users)
v10:Balanced profile rebuild
- Merged and fine tuned/adjusted thermal configuration from performance profile
- Should improve responsiveness and fix stuttering on some apps that happend before
- changed around 100+ lines of code, lazy to write full changelog :p
v9:TEST balanced profile update
- Big cores will now go fully offline during screen off and while in Extreme powersaver
- Lowered screen refresh rate while in Extreme powersaver(even more saving)
- Max GPU speed limited to 214MHZ while in Extreme powersaver
- Max GPU speed limited to 510MHZ while in powersaver
- Reduced app launch boost MIN frequencies speeds to 1.3gz for all cores.
v8: complete rebuild of performance profile
- Added extra 560mhz frequency step between 630 and 510 for GPU throttling
- Added 5 additional throttling steps for each CPU cluster per temperature
- Prevent big cores dropping to 1.3ghz too soon which drops FPS in games.
- Prevent killing one big CPU core too soon, instead 2 will run at half migration performance.
- Everything fine tuned and balanced, 10+ FPS boost in most games compared to stock
v7
- 1.8x base compatibility update
v6
-Removed battery saving profile as balanced does such good job, both smoothness and performance! :)
v5
-Many changes to balanced profile
-Lowered app launch Max CPU speed locking to more reasonable levels(Still ramps up to max if load demands)
-Reduced input boost duration a bit
-Governor will now drop CPU to lower speeds faster
-Added more apps to lower CPU speed profiles.
v4
-Aroma installer fixes
-BatterySaving profile fine tuning
v3:
-2 new more options
*MaxPerfomance
*BatterySaving
-Tweaked is now called Balanced
v2:
-fixed YouTube 2k+ videos lag
This is example of battery life i get with Balanced profile
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
XDA:DevDB Information
PnP&Thermals tweak, Tool/Utility for the HTC 10
Contributors
ivicask, hamdir
Version Information
Status: Stable
Current Stable Version: v24
Stable Release Date: 2016-06-23
Current Beta Version: v9
Created 2016-07-06
Last Updated 2017-04-24
Performance Profile
I've worked with @ivicask on optimizing gaming performance for the 1.80 base via the performance profile for this mod, in this post i will explain the gaming problem on stock HTC 10 and how this mod/performance profile solves it
by default HTC aggressively cripples the Snapdragon 820, not for the sake of thermals but for the sake of extending battery life, what happens is the following:
Stock CPU behavior on HTC ten (up to 1.80 base):
Starting with 33c battery temp CPU tasks will gradually migrate out of the big cluster, around 38c one of the two big Kryo cores (which enjoy higher clocks and bigger hardware cache) will be completely disabled, HTC smartly hides it in task migration rather than physically shutting down a big core
This means in CPU intensives games like Dead Effect 2 you will notice a sharp drop in performance/smoothness once the fourth core is killed, the game will drop from the 60fps range to 30fps, this behavior is noticeable in many games, if you are on complete stock you can only game at the full s820 speed if you are starting from a cool idle battery temp like 30c but then in about 5 minutes things will go downhill, considering that the HTC 10 idle state in average use is around 35c anyway you can see how most people probably start gaming on the 10 within the crippled state
Previously the only way to fix was to flash EX kernel with CPU migration hacked and already set by default to 60% limit, meaning EX kernel will refuse to let HTC 10 migrate tasks out of the fourth core under 40%, this is a good solution but you are forced to use EX kernel and not the stock kernel plus wait for the kernel source so that EX is updated whenever an OTA is rolled out, this mod will allow you to fix gaming on HTC 10 without touching the kernel plus it's thermally safe as its not a hack and will still gradually slow down the 10 to cool down, but it does so in a sane way
The performance profile in this mod was thoughtfully optimized by profiling the CPU usage in Dead Effect 2 (currently one of the heaviest games on the playstore) from 30c up to 45c, giving you enough time to actually enjoy this game at its full speed up to 30 minutes
The following tests will show you how the HTC 10 behaves in gaming when warm vs the performance profile, profiled using @ivicask tools and game benched in short sessions, the exact same level played from the same starting point to the same end at the same length of time, this level called "return to space gardens" is one of the heaviest sections in Dead Effect 2, at the end of this test you can see how performance drops to the ground because it meets a very dense and tough section in the game.
Stock kernel / PNP / thermals, Dead Effect 2 at 39c
The fourth big core is completely killed, GPU goes to 510mhz, small cluster drops to 1.3ghz, big cluster drops to 1.5ghz
As you can see on pure stock 1.80 base by 39c the games loses one of the big s820 cores and performance drops from 45fps range in this level to 30fps (which happens way too fast) also as seen in the yellow graph how performance stability is terrible, after 40c it will get even worse
here are the results from the same level using the performance profile of this mod
Performance Profile, Dead Effect 2 at 34c to 38c
full tasks are still running on all cores, GPU at 624mhz, small cluster still at 1.5ghz, big cluster drops to 1.5ghz
Performance Profile, Dead Effect 2 at 39c to 41c
both big cores drops to 80% task migration, GPU drops to 560mhz, small cluster still at 1.5ghz, big cluster still at 1.5ghz
Performance Profile, Dead Effect 2 at 42c to 43c
one big core sticks to 80% task migration the other big core drops further to 60%, GPU drops to 510mhz, small cluster still at 1.5ghz, big cluster still at 1.5ghz
Once the device gets warmer after 43c CPU migration will drop to 60% on both big cores with further reduction in GPU speed etc, but at this stage the HTC 10 will no longer heat up as fast and as you can see up to this point it was maintaining almost the same performance in this game; while keeping fairly high GPU clocks too; this is a much more subtle well thought performance degradation than HTC's stock blind brute crippling of the s820 which happens way too fast on low temps
This profile is so good actually HTC should probably copy it and imitate how it deals with default CPU migration, otherwise why are we buying an s820?
ivicask said:
Addon was originally only available on Venom HUB but i decided to release it for everyone to use.Here is copy paste of description and changelogs from the HUB.I will update thread as i update it on HUB.
Also big thanks to @hamdir for testing my performance profile on various games, he will also post later hes review, pictures and comparisons to stock.
Click to expand...
Click to collapse
@ivicask
does it work differently from butterfly v11?
or say does it conflict with butterflyv11 if you have already loaded that profile and flash this zip?
thanks for another tweak made possible for Perfume devices
SacredDeviL666 said:
does it work differently from butterfly v11?
Click to expand...
Click to collapse
Completely different, it uses HTCs native engines to control everything, u can basically flash this on stock un-rooted phone
And doesn't require custom kernel, it should work immediately as new bases come out etc..
ivicask said:
Completely different, it uses HTCs native engines to control everything, u can basically flash this on stock un-rooted phone
And doesn't require custom kernel, it should work immediately as new bases come out etc..
Click to expand...
Click to collapse
aah okay cool...does it conflict if i have already enabled butterflyv11 which disables pnq or its safe to flash while using that script
SacredDeviL666 said:
aah okay cool...does it conflict if i have already enabled butterflyv11 which disables pnq or its safe to flash while using that script
Click to expand...
Click to collapse
Half of this mod runs in PnP, if you disable it, your making this mod almost pointless.
Also, as i stated, this mod runs best standalone, its best not to use any other mods, or apps which change anything CPU /GPU related.
You can still flash EX kernel for example, i just dont recommend messing with any CPU/GPU related settings in it.
ivicask said:
Half of this mod runs in PnP, if you disable it, your making this mod almost pointless.
Also, as i stated, this mod runs best standalone, its best not to use any other mods, or apps which change anything CPU /GPU related.
You can still flash EX kernel for example, i just dont recommend messing with any CPU/GPU related settings in it.
Click to expand...
Click to collapse
cool so this would conflict as butterflyv11 disables the pnp
would try this and see :highfive:
hey
great to see you released this for all on xda!
I have a question. since you wrote on the ex kernel thread that pnp config file is encrypted how come you can edit it?
or can you englighten me how i can just disable all Input and touch boosts from pnpmgr while keeping pnpmgr?
i think that would be the best for my script but i wasn´t able to do so.
i found no other way to stop the touchboost other than disabling pnpmgr completely.
maybe we can integrate my interactive values with your mod? if you are okay with this of course!
thanks
Freak07 said:
hey
great to see you released this for all on xda!
I have a question. since you wrote on the ex kernel thread that pnp config file is encrypted how come you can edit it?
or can you englighten me how i can just disable all Input and touch boosts from pnpmgr while keeping pnpmgr?
i think that would be the best for my script but i wasn´t able to do so.
i found no other way to stop the touchboost other than disabling pnpmgr completely.
maybe we can integrate my interactive values with your mod? if you are okay with this of course!
thanks
Click to expand...
Click to collapse
I cant give you much details on how i edit them, theres reason HTC encrypted them, if we spill it out, HTC would change encryption and everything very soon i suspect, so hope you understand why i wont share that part.
I can disable input boost for you, but im still not sure how your mod works along with PnP, as PnP constantly changes values dynamically, if you chmod values, than PnP constantly tries to change freqs and fails(may cause some problems).
What i can also do, is incorporate your changes directly into my mod, and make "ghostpeper" profile which would work directly in PnP, and people can choose and test which one works better for them and their daily usage.
EDIT:You could simple disable input boost by echoing 0(maybe chmod remove write permission after that so it cant change it) to
/sys/power/pnpmgr/touch_boost
/sys/power/pnpmgr/long_duration_touch_boost
ivicask said:
I cant give you much details on how i edit them, theres reason HTC encrypted them, if we spill it out, HTC would change encryption and everything very soon i suspect, so hope you understand why i wont share that part.
I can disable input boost for you, but im still not sure how your mod works along with PnP, as PnP constantly changes values dynamically, if you chmod values, than PnP constantly tries to change freqs and fails(may cause some problems).
What i can also do, is incorporate your changes directly into my mod, and make "ghostpeper" profile which would work directly in PnP, and people can choose and test which one works better for them and their daily usage.
EDIT:You could simple disable input boost by echoing 0(maybe chmod remove write permission after that so it cant change it) to
/sys/power/pnpmgr/touch_boost
/sys/power/pnpmgr/long_duration_touch_boost
Click to expand...
Click to collapse
yep i totally understand this. it would be however great if you could disable Input boost for me directly in the pnp binary.
i already tried to edit the files you mentioned in sys/power/pnpmgr. when i did this I got heavy lags. really heavy. i think something is conflicting there.
yeah the chmod trick worked before base 1.80. i would simply chmod the min freqs for big and Little Cluster and touchboost from pnpmgr disappeared magically. this trick is no longer working with the new base. that´s why i was forced to disable pnpmgr.
if you want to you can incorporate the Butterfly values for the interactive governor in your mod. I think Butterfly works far better on our 10, that´s why i just updated Butterfly for base 1.80.
does pnpmgr also edit the values for the interactive gov dynamically?
if you could make a pnpmgr config where touch/Input boost, Setting min/max freqs is disabled i´d be quite happy.
---------- Post added at 11:17 AM ---------- Previous post was at 11:10 AM ----------
SacredDeviL666 said:
cool so this would conflict as butterflyv11 disables the pnp
would try this and see :highfive:
Click to expand...
Click to collapse
you may also just edit my script and comment out with a # or delete the line "stop pnpmgr" then the pnpmgr conflicting part will at least be removed.
Noice. Thanks for sharing
Freak07 said:
yep i totally understand this. it would be however great if you could disable Input boost for me directly in the pnp binary.
i already tried to edit the files you mentioned in sys/power/pnpmgr. when i did this I got heavy lags. really heavy. i think something is conflicting there.
yeah the chmod trick worked before base 1.80. i would simply chmod the min freqs for big and Little Cluster and touchboost from pnpmgr disappeared magically. this trick is no longer working with the new base. that´s why i was forced to disable pnpmgr.
if you want to you can incorporate the Butterfly values for the interactive governor in your mod. I think Butterfly works far better on our 10, that´s why i just updated Butterfly for base 1.80.
does pnpmgr also edit the values for the interactive gov dynamically?
if you could make a pnpmgr config where touch/Input boost, Setting min/max freqs is disabled i´d be quite happy.
---------- Post added at 11:17 AM ---------- Previous post was at 11:10 AM ----------
you may also just edit my script and comment out with a # or delete the line "stop pnpmgr" then the pnpmgr conflicting part will at least be removed.
Click to expand...
Click to collapse
PnP controls everything u mentioned, all your butterfly/ghost scripts has, and about 10x times even more
I checked your script, you just echo to disable input boost, try chmod it after you disable it with denial permission so it cant be changed..
Should work, if not i can mode PnP for you, but above would be better solution for you..
Maybe others might ask too, sometimes I'm using it too for a systemless mod: do you plan to add it in as a systemless mod, if it is possible?
tbalden said:
Maybe others might ask too, sometimes I'm using it too for a systemless mod: do you plan to add it in as a systemless mod, if it is possible?
Click to expand...
Click to collapse
There is no need for that, it wont affect android pay or similar, why exactly you ask?
ivicask said:
There is no need for that, it wont affect android pay or similar, why exactly you ask?
Click to expand...
Click to collapse
well, just related to OTAs, but that might be unimportant as you can flash back to original files, or restore no-RW mounted system image backups.
Or am i lagging behind, it's working to have a RW mounted system and do OTA updates? I don't follow that part much, my bad
tbalden said:
well, just related to OTAs, but that might be unimportant as you can flash back to original files, or restore no-RW mounted system image backups.
Or am i lagging behind, it's working to have a RW mounted system and do OTA updates? I don't follow that part much, my bad
Click to expand...
Click to collapse
Its so much easier just to restore original image, i think wont do it systemless, as they are key system parts, dont want some weird things to happen..
ivicask said:
Its so much easier just to restore original image, i think wont do it systemless, as they are key system parts, dont want some weird things to happen..
Click to expand...
Click to collapse
OK.
I'm testing balanced option at the moment.
Also, i know I'm off topic, but in the end what's the recipe: what does and what doesn't affect androidPay. (I'm lagging behind again in this topic, just avoid modifying system partition in my kernel as it seemed to affect it at that time... as i don't use androidPay I didn't follow what exactly makes it unworking).
ivicask said:
PnP controls everything u mentioned, all your butterfly/ghost scripts has, and about 10x times even more
I checked your script, you just echo to disable input boost, try chmod it after you disable it with denial permission so it cant be changed..
Should work, if not i can mode PnP for you, but above would be better solution for you..
Click to expand...
Click to collapse
Thanks I will try this and come back at you
tbalden said:
OK.
I'm testing balanced option at the moment.
Also, i know I'm off topic, but in the end what's the recipe: what does and what doesn't affect androidPay. (I'm lagging behind again in this topic, just avoid modifying system partition in my kernel as it seemed to affect it at that time... as i don't use androidPay I didn't follow what exactly makes it unworking).
Click to expand...
Click to collapse
It checks alot of things, and its constantly updated, its simple must be done for security reasons..
Okay so I tried it with 444 permissions and it still lags. Should I try 000?
Would be great if you could make me a file with touchboost disabled and frequency changing disabled.

Categories

Resources