Lightning Zap! Kernel Updated to p3.0 15APR13 - LG Nitro HD

Thomas.Raines presents
The Lightning Zap! kernel for the LG Nitro
ATTN:
I thomas.raines, nor it's affiliates claim responsibility for anything you do to damage, destroy, brick, explode, or otherwise mess up your device.
{
"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"
}
Features:
Improved performance
Improved battery life
Improved network speeds
Improved boot times
Smoother scrolling
Better responsiveness
Cleaner file systems
Governor tweaks for amazing speed and performance without sacrificing battery life
Improved Memory and Ram tweaks
Improved Internet speed
Amazing kernel tweaks, build.prop mods, init.d scripts and more!
Instructions:
Make a backup
Download BlazeLZv1.zip to PC
Transfer BlazeLZv1.zip to your sdcard
Or just download it straight to your phone
Reboot to recovery
Flash
Phone will automatically reboot after install**
Wait 10 minutes
Enjoy the Lightning Zap!
This kernel was tested on CM10 nightly. This kernel and tweaks will work with any version of CM10.
After first boot, ensure your I/O scheduler is set to cfq and your governor is set to ondemand to gain the maximum benefits of Lightning Zap!
See 3rd post for further instructions on improving and customizing your Lighting Zap! experience.
**The first boots always takes the longest especially after a fresh install. If you pull a logcat during the first boot, you may see a few errors with the vacuum script. This is normal, and will be "fixed" after the phone has built the databases for the apps.
Please allow 24 hours after install and 1 full charge cycle before reporting results. Always provide me with a logcat with any issues you may experience.
Source Code
vendor_lz-kernel.git(LZ vendor files for ROM compiling)
LZ Flashing Packages (For those of you just compiling the kernel)
Includes flashing script, binaries, etc for the Blaze, Nitro and Skyrocket
Thanks to:
Utaka for everything
Testers
nightlimits
david.degraw54
lordcheeto03
BigSexySCJCD
X0dus

Download links and Changelog
Nitro_p3.zip
Moved to phase 3 Overclock/Undervolt. You can control your voltages with Voltage Control app (included). Other apps may work, but I wroke the kernel to work with Voltage Control (preferred app)
Added 32 64 and 128k pagesize to bootimage
Added badass governor
Added CPU Utilization
Added VDD userspace
Added ZRam
Added LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES
Tweaked sysctl
Revamped scripts (This version will remove your existing init.d scripts. If you have scripts with your ROM, then back them up and replace them after boot)
Refined build.prop tweaks
Added LZ bootanimation thanks to maxib12 But the resolution is off. I tried to fix it, but for some reason it wouldn't display after. I've never had good luck with bootanimations. If someone can lend a hand please?
BLN should be working now
Nitro_p2.7.zip
Removed un-needed scripts
Removed sysctl.conf --Not needed any more
Combined remaining small scripts to 1. Kept device optimizing scripts
Changed idle sleep time to 2000000 ns (Goes to deep sleep faster when screen turns off
Removed wakeup granularity and latency times...caused too much lag
Added max readahead=4096
Added page cache size=4096
Added child runs first to scheduled feature
Enabled bln
Nitro_p2.6.1.zip
Fixed flashing script...oops
Nitro_p2.6.zip
This is not FULLY tested guys. I will need your input. I'm trying to adjust the idle battery drain from 2-4% an hour (upto 10% and hour with wifi on) to 1% drop in 4 hours and counting. I need your feedback guys and gals...
**ATTN** If you have prop.conf in /system/etc then remove it BEFORE FLASHING 2.6
Lowered amount of time your phone has to be running before it enters sleep/deep sleep (from 20000000ns to 20000ns)
Lowered idle spin time (from 80000 to 60000)
Moved prop.conf to build.prop(2) which is a way better (probably best) approach at implementing build.prop tweaks
Changed sleep mode to power collapse (Phone goes into a bare minimum power state when in deep sleep)
Changed idle sleep mode to ramp down and wait for interupt (CPU goes to minimum frequency when idle/sleep. If you have random reboots, raise your minimum cpu frequency)
Removed power manager wakelock
Nitro_p2.5.zip
I'm attacking smoothness, network speed, and overall performance in this one.
Moved prop tweaks to a .conf file. Test this out for a day or 2 guys and gals and let me know how things are working out. I have a couple different approaches for this method but I want feedback on this way
Added a BUNCH more sysctl tweaks to the kernel. I'm sure there will be a bit of fine tuning with these...
Nitro_p2.2
Better approach at prop tweaks
Updated source
I have a few more things I would like to add throughout the week
Friday night I am looking for testers so we can bump up to Phase 3 provided I get to p2.5
Previous version change logs are posted here.

Source code
Kernel:
Lightning Zap kernel-Nitro
Vendor files (scripts, etc):
Lightning Zap Vendor Files
You MUST add this to your local_manifest.xml as I have made changes to the device tree and without them, then LZ will not build correctly:
Code:
<project name="TeamFahQ/vendor_lz-kernel" path="vendor/lz-kernel" remote="LZkernel" revision="master" />
<project name="TeamFahQ/lge-kernel-iproj" path="kernel/lge/iproj" remote="LZkernel" revision="android-msm-3.0-jb" />
<project name="Utacka/android_device_lge_iprj-common" path="device/lge/iprj-common" remote="github" revision="jellybean" />
<project name="TeamFahQ/android_device_lge_p930" path="device/lge/p930" remote="github" revision="jellybean" />
<project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="jellybean" />
Or you can just type this in terminal:
Code:
curl -L -o .repo/local_manifest.xml -O -L [URL]https://raw.github.com/TeamFahQ/Paranoid_manifest/master/local_manifest.xml[/URL]
Remove the entries you don't need (the samsung stuff) then:
Code:
repo sync
I forked the device tree(s) over to my repo and made the necessary changes to the dependencies and make files so you won't need to worry about adding/removing any entries.

Tips and Tricks
The governor tweak is set for a fairly balance of performance and battery life. If you find yourself needing battery life over performance, you can make some minor changes. Here's how:
1 Download Script Manager from the market (it's free)
2 Open Script Manager and navigate to /system/etc/init.d
3 Press menu/more/advanced options and select mount as RW
4 Select 01governor and select "edit" at the top (this will open the file in atext editor)
5 Uncomment (remove # in the particular line) and change:
Code:
echo "45" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold;
To:
Code:
echo "[COLOR=red]70[/COLOR]" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold;
6 Select menu/save
7 Press the skull and cross bones icon at the top (this will allow Super User)
8 Press run, close app and enjoy
This will result is slightly slower performance but higher battery life.
If you want even better battery life:
1 Following steps 1-4
2 Add a # at the begining of lines 12
3 Scroll to "pwoersaver" section
4 Remove the # at the begining of lines 31-33 and 43
Code:
#AWAKE_GOVERNOR="ondemand"
#SLEEP_GOVERNOR="ondemand"
# echo "70" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold;
etc
Code:
AWAKE_GOVERNOR="powersaver"
#SLEEP_GOVERNOR="powersaver"
echo "20000" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate;
5 Follow steps 6-8 (no need to select super user icon if you already did)
This will result in lower performance, but ultimate battery life
When running in a higher performance mode (especially for gaming) you can disable powersave_bias by changing the 1 to a 0 like this:
Code:
echo "1" > /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias;
echo "[COLOR=red]0[/COLOR]" > /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias;
Powersave_bias only allows the CPU to peak for small increments at a time, and not allow the CPU to remain peaked even when the system calls for it. In gaming, that could result in choppy, laggy perofrmance and slow FPS..
Always leave SLEEP_GOVERNOR="powersave" uncommented (no #) and do not uncomment any other SLEEP_GOVERNOR as this will keep ultimate battery save while screen is off.
Only change values in increments of 5 for the up_threshold.
Line numbers may be different. I'm out of town with my wife and she is demanding my attention now. I will update later...lol
I am not resposible if you do something wrong. Make a back up just in case.

Voltage tables
Voltage tables:
Voltage minimum
Was 1000mV
Now 700mV
Voltage max
Was 1250
Now 1350
With a 25mV step between frequencies; however, 192mV-423mV are all three 700mV

We have waiting so much for this! You specified that it works on cm10 so I guess it "could" work on cm9. Cm9 is a lot more stable. This kernel will certainly make more of us stick to cm10 though.
Sent from my LG-P930 using xda premium

So is this the same test kernel you sent me then?
Sent from my LG-P930 using xda app-developers app

el_venga said:
We have waiting so much for this! You specified that it works on cm10 so I guess it "could" work on cm9. Cm9 is a lot more stable. This kernel will certainly make more of us stick to cm10 though.
Sent from my LG-P930 using xda premium
Click to expand...
Click to collapse
I've only had Lightning Zap! kernel work on 1 device on both CM9 and CM10. You can try it tough. It won't hard brick your device. Worse case scenario, you will have to flash a CM10 ROM then flash LZ kernel...

X0dus said:
So is this the same test kernel you sent me then?
Sent from my LG-P930 using xda app-developers app
Click to expand...
Click to collapse
No, I updated the governor tweak to fix the governor issue... But the rest is the same...
Oh, and added build.prop mod script...
Speedtest.net clocked over 11.5mb upload/3.3mb dl on LTE...

Installed on SU640 CM10 stable , boot without any problem.
Will further report :]

Anyone know if flashing this on liquid nitro would cause any issues?
.... I know.. Probably a dumb question..
Sent from my LG-P930 using xda premium

I believe it is only for cm10 and jb pa... But I could be wrong.
Sent from my LG-P930 using xda premium
---------- Post added at 08:54 AM ---------- Previous post was at 08:50 AM ----------
If I at least hear from here that there is better battery life that's at least close to cm9, I will definitely be switching back to pa or cm10. Please anyone post their battery life experience after full cycle.
Sent from my LG-P930 using xda premium

cashy57 said:
I believe it is only for cm10 and jb pa... But I could be wrong.
Sent from my LG-P930 using xda premium
---------- Post added at 08:54 AM ---------- Previous post was at 08:50 AM ----------
If I at least hear from here that there is better battery life that's at least close to cm9, I will definitely be switching back to pa or cm10. Please anyone post their battery life experience after full cycle.
Sent from my LG-P930 using xda premium
Click to expand...
Click to collapse
This kernel should work on any JB/CM10 ROM. Apparently there is an issue with ROMs built before OCT though.

Updated source code for the vendor files. Check the commits in my github

Working good on cm10 figured it out about the stuck on lg screen it was because of the acid music mod was changing the build prop so if I install without build prop mod of acid it works great
Sent from my LG-P930 using xda premium

How's battery life so far?
Sent from my LG-P930 using xda premium

cashy57 said:
How's battery life so far?
Sent from my LG-P930 using xda premium
Click to expand...
Click to collapse
Not noticing much change from the LZ scripts to be honest.

lordcheeto03 said:
Not noticing much change from the LZ scripts to be honest.
Click to expand...
Click to collapse
You won't right now. Since its phase 1, I'm just introducing lightning zap into the kernel. Now I'm adjusting values and inputting more code to"fine tune"things which is phase 2. Then phase 3...oc/uv...
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

thomas.raines said:
You won't right now. Since its phase 1, I'm just introducing lightning zap into the kernel. Now I'm adjusting values and inputting more code to"fine tune"things which is phase 2. Then phase 3...oc/uv...
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Well... that explains it, lol.

I'm going to try this out on Liquid Nitro, I'd really hate to upgrade once again to CM10, I feel the camera is horrible but I guess I could restore my backup from v20
---------- Post added at 01:53 AM ---------- Previous post was at 01:50 AM ----------
Wait... do I need to do more then just flash the kernel? That is usually how it goes in other devices.. If I really have to do all the editing to those files I might just wait until a better time.

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.

[KERNEL][GPL] ezterry A100 kernel (ezT20) 2.6.39.4-ezT20-v1.0.1~ [Aug 12th, 2012]

~~~~~ Latest release
A100 - V1.0.0 (first stable release)[Size=+1]
ezT20-v1.0.1-a100_S.zip
MD5: d4febaf119f618afda9c749da4615445
[/SIZE]​
**Please remove all undervolting and overclocking before installing, as different kernels will use the CPU differently, This may require you thus to change the OC/UV levels to be stable with this kernel.
While plenty of work has gone into ensuring this kernel was fit for use: I take no responsibility for any problem the use of this kernel may cause, and/or loss of data if you fail to backup your data before installing it. Proceed at your own risk
A100 Installation:: simply flash the zip from recovery, this will extract and replace the zImage (linux kernel) from your current rom; and leave your existing ramdisk unchanged.
A101 Installation: : Experimental support only (this may or may not work): Your ICS rom requires to load the new simdetect_switch.ko module on boot, if your rom dose not have support for this, but has support for init.d scripts please first install the patchkit ezT20_a501_patchkit_S.zip MD5: 617f558555c13d215103cd3669d3c009, (This kit only includes the init.d script to load the simdetect_switch module if it exists, and doesn’t include the actual kernel or modules; Note its labeled for the A501, however ought to work as is on the A101)
After the patch kit is installed (or if it has been previously installed/is part of your rom) you can flash the a100 zip above to install the kernel + related modules.
Let me know if this works out
CM (9 and 10) installation Install per your device above, then install the audio patch init.d scripif you have audio problems: ezT20cmaudio_patch_S.zip MD5: 26251900115b0ca433f26f4d95e7f269
Are you an A500 user? you are in the wrong place see here
~~~~~ Kernel Features
- BFQ IO scheduler (details here)
(BFQ is now the default scheduler, previously was noop)
- Lulzactive CPU governor (by tegrak with a500 modifications by myself)
(Interactive will be the default governor for most roms, as defined on the ramdisk)
- Max OC speed: 1504MHz (default 1000MHz)
- Min OC speed: 216MHz (default 216MHz)
- Fixed voltage tables to allow OC on devices previously unable to on A500-OCTestV3 and A100-OCTestV1
- initial 3g support thanks to patches from Vash (v1.0.0 - a501) .. switched to acer's code in v1.0.1 (a501/a101)
- ability to disable acer audio settings (v1.0.1)
~~~~~ Kernel Notes/Warnings
** A specialized lulzactive configuration program can be found at: https://play.google.com/store/apps/...1bGwsMSwxLDMsImNvbS50ZWdyYWsubHVsemFjdGl2ZSJd
(note setCPU will also let you change the values, I only mention tegrak's app as it may make it easier to understand what is being changed)
** The kernel ought to work in place of the stock ICS kernel, roms requiring special kernels may not function with this kernel
** de-odexed roms may have graphical artifacts that are made more serious by this kernel, civato and I have been working on a build.prop tweak to re-generate odex like dex files on de-odexed roms to solve this
** Voltage display may not be accurate (a rework of the UV logic is planned) note UV offsets are accurate.
(for a quadrant sample on the a500 see the related post
~~~~~ Kernel History
This kernel is the continuation of the Overclocked Test kernel, originally posted for the A500 here and subsequently for the A100 here
~~~~~ Credits
Thanks to:
* richardtrip - original OC and MIN/MAX code
* tegrak - for lulzactive
* civato - for being a willing advanced tester
* Bobg1231, Metallkasten, pio_masaki, Moscow Desire - additional testers
* Vash - A501 3g modem patch set
* Acer/NVidia for providing the source to our devices
* The countless number of people that have created the linux kernel in the form it is today
~~~~~ Built list w/ source links
v1.0.1 ezT20-v1.0.1-a100_S.zip
MD5: d4febaf119f618afda9c749da4615445
Github: https://github.com/ezterry/AcerTabKernel
Tag: ezT20_kernel_v1.0.1
Tarball: https://github.com/ezterry/AcerTabKernel/tarball/ezT20_kernel_v1.0.1
v1.0.0 ezT20-v1.0.0-a100_S.zip
MD5: 3b3d3ee93528393384884066c25f2db7
Github: https://github.com/ezterry/AcerTabKernel
Tag: ezT20_kernel_v1.0.0
Tarball: https://github.com/ezterry/AcerTabKernel/tarball/ezT20_kernel_v1.0.0
v0.9.9 ezT20-v0.9.9-a100_S.zip
MD5: 1a7f6f296e5ec0d43836cbe318928d1b
Github: https://github.com/ezterry/AcerTabKernel
Tag: ezT20_kernel_v0.9.9
Tarbal: https://github.com/ezterry/AcerTabKernel/tarball/ezT20_kernel_v0.9.9
~~~~~ Change Log
v1.0.1
*) Import of acer's 3g code [A101 and A501]
*) audio updates to better work with CM roms when cm audio patch is applied ezT20cmaudio_patch_S.zip MD5: 26251900115b0ca433f26f4d95e7f269
*) Allow lower min-voltage
v1.0.0
*) cleanup graphics logic with more patches from the nvidia tegra test kernel (and other patches to prevent the graphic under-runs causing screen flashes on some roms) [applies to all devices]
*) modify lulzactive (yet again) to attempt to stem a rare deadlock .. frequently resulting in a SoD overnight on my tab (probably not most peoples constant SoD problem) [applies to all devices]
*) Add Acer A501 patches for 3g modem [applies to A501]
*) fix some touch events on the A50X caused by the a100 patch set rolling back the a500 touch driver, the touch drivers are separate so this ought not impact the a100 [a50x only]
v0.9.9
Initial release, providing some bugfixes and new features to the previous OCTestV3
~~~~~ Developers Corner
The building instructions for this kernel are identical to the ones for the A500, except that instead of using picasso_defconfig you use vangogh_defconfig (from the same codebase and same commits)
Therefor rather than copying the instructions here, and attempting to keep them in sync I recommend you review the original "Developer Corner" post in the A500 thread.
http://forum.xda-developers.com/showpost.php?p=27241693&postcount=2
Great work ! ! !
Anychance you could look at getting touch to wake with your kernel ?
Sent from my HTC EVO 3D X515m using XDA
maek_it_happen said:
Great work ! ! !
Anychance you could look at getting touch to wake with your kernel ?
Sent from my HTC EVO 3D X515m using XDA
Click to expand...
Click to collapse
I saw some patches (noted you mention it before) looks interesting but requires some work for our device.
May be trivial but requires a hook added to our touchscreens not just the ones from whatever device I grab the source from .. hopefully I will figure it out in the future.. there are still one or two things such as the UV logic I wish to cleanup first.
Wow! Are you sure is BFQ governor is stable? maybe SIO?
pomka78 said:
Wow! Are you sure is BFQ governor is stable? maybe SIO?
Click to expand...
Click to collapse
Given many have been using it on android now for a long time (kernels started using it as the default on the htc dream in cupcake days) not to mention its following of other linux usrers and the patch sets are well maintained..
Yes its stable.. more than deadline on our kernel anyway (also in the codebase but not in the build, got tired fast of the random reboots).
But if you rather noop its still included. Its horrible however when multiple apps access flash.
SIO is described as being bad timings on flash and a combo of noop and deadline.
pomka78 said:
Wow! Are you sure is BFQ governor is stable? maybe SIO?
Click to expand...
Click to collapse
When I was testing bfq seemed stable and benchmarks just as fast as noop. Keep in mind it was a test kernel so it was an earlier version so I would imagine it would do fine. I ran into no IO related issues during testing. Tested on my A100.
Oh here, lulzactive, BFQ 1.5ghz -145 UV all the way. Not my best, not my worst.
{
"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"
}
Tapatalked from my Galaxy S II.
Thanks for answers! I flash kernel on CyanogenMod9 Alpha 3 and all works fine...
ezterry said:
I saw some patches (noted you mention it before) looks interesting but requires some work for our device.
May be trivial but requires a hook added to our touchscreens not just the ones from whatever device I grab the source from .. hopefully I will figure it out in the future.. there are still one or two things such as the UV logic I wish to cleanup first.
Click to expand...
Click to collapse
Thanks for looking into it ?
Sent from my HTC EVO 3D X515m using XDA
Thanks for your work!
Keep up the good work. I will try it out soon. Is this built purely for high benchmarks or is it reliable as a daily driver?
mattyray1 said:
Keep up the good work. I will try it out soon. Is this built purely for high benchmarks or is it reliable as a daily driver?
Click to expand...
Click to collapse
I'm running the oc kernel with flexreaper, set to 1.4ghz on demand and its been daily use stable.
I'm running v0.9.9 with CM9 at 1504 mhz. No issues in over a week of use.
Sent from my Acer A100 running CM9 using XDA Premium.
Mordak said:
I'm running v0.9.9 with CM9 at 1504 mhz. No issues in over a week of use.
Sent from my Acer A100 running CM9 using XDA Premium.
Click to expand...
Click to collapse
I've (on the a500 build) have found some SoD on the lulzactive governor and we have found issues with some roms but the new test version seems much more stable.. so hopefully Monday will see v1.0!
Sent from my Galaxy Nexus using Tapatalk 2
ezterry said:
I've (on the a500 build) have found some SoD on the lulzactive governor and we have found issues with some roms but the new test version seems much more stable.. so hopefully Monday will see v1.0!
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Yeah I can report no SoD dispite trying. I left wifi on and keep awake off and left it charging for 16 hours. Fired up like normal. For those wondering....for me I find leaving wifi on always and leaving it charging can cause it on other devices.
My wife ran it her way as well, no issues. You kinda have 2 testers at this house lol.
No freeze, reboot, crashes or force close in normal usage and heavy usage. A100 at least shows its probably ready for release into the wild.
Tapatalked from my Galaxy S II.
How many of you play stressful games while being over clocked? I just picked up this tab yesterday updated to ics rooted n noticed n64oid was a little laggy. After installing this kernel bumping up to 1400 eliminated all lag. I just wanna know if I should worry being I play lots of games on here.
Sent from my A100 using XDA
h3r3tic said:
How many of you play stressful games while being over clocked? I just picked up this tab yesterday updated to ics rooted n noticed n64oid was a little laggy. After installing this kernel bumping up to 1400 eliminated all lag. I just wanna know if I should worry being I play lots of games on here.
Sent from my A100 using XDA
Click to expand...
Click to collapse
Rolls fine at 1.5 for me. Heats up a little under stress and battery will be gone in a couple hours, otherwise seems fine.
Tapatalked from my Galaxy S II.
v1.0.0
Version 1.0.0 is out See OP for the download and source links
This version improves stability on the A100/500 systems, plus adds experimental support for the A501 devices. (the a501 information is in the a500 version of the kernel/thread, a100 users ought not be impacted by these changes)
Already had a few times where when my screen times out by itself it takes me almost 3-4 mins to get it to come back on. Is this the governor issue? I was using lulz. At 1.5. I didn't noticed if this happened on v.99. I switched to interactive to see if it persists.
Sent from my A100 using XDA
h3r3tic said:
Already had a few times where when my screen times out by itself it takes me almost 3-4 mins to get it to come back on. Is this the governor issue? I was using lulz. At 1.5. I didn't noticed if this happened on v.99. I switched to interactive to see if it persists.
Sent from my A100 using XDA
Click to expand...
Click to collapse
I've never seen that on v1.0, nor heard reports of it till now: on previous versions 0.9.9 and the testing versions I have seen such things when the system became busy, and became stuck at min frequency.
Avoid screen off profiles, lulzactive automatically reduces speed to the 816MHz when the screen is off (assuming that is less than max) lower than that background tasks may take additional unexpected time and delay the device from full sleep where the cpu turns off.
Otherwise what rom are you using, any large apps running, logcat? dmesg? (logcat will tell us if its something installed, dmesg will show what the kernel did.
Well I'm on stock ota ics 4.0.3. Just your kernel when this happened I was just downloading SD data for n.o.v.a 3. Happened every time the screen timed out. It also happened on a multiple file transfer from internal to SD when I did the dirty swap for more space. Would maybe switching the governor for screen off fix this? To like on demand or interactive. To get a logcat I would need to replicate the problem using adb correct? Never actually did one before. I don't have anything special installed only large files are games. That's pretty much what I use it for along with internet.
Sent from my A100 using XDA

[Team Kernelizers][How To][SPR][TK MOD 1.0.4]KT747 Kernel Tweaks-Updated 5-14-13

About​Welcome to Team Kernalizers's SPRINT Thread. This thread will attempt to teach you and show you how to maximize the performance and battery life of your GS3 running the KT747 kernel by Ktoonsez.
In this thread, you will learn everything you need to know about Governors, I/O Schedulers, Underclocking (UC), Overclocking (OC), Undervolting (UV) and the KTweaker application. We will also provide you with pre-configured tweaks to use.
This is a friendly support community. You can post your benchmarks, battery stats, feedback and settings. We will also help troubleshoot any problems that you may encounter while using this kernel and our tweak packages.
Rules​Please consider these rules before using this thread:
1. Follow XDA Forum rules (http://forum.xda-developers.com/announcement.php?f=1712)
2. There will be NO FLAMING, NO SPAMMING, NO HARRASMENT of any kind. These will not be tolerated. You have been warned!
3. Search the thread first before asking questions. Most likely, your question may have been answered already.
4. If you are stuck and need help, DO NOT post comments like "this is not working". It will be ignored. You must provide necessary information like ROM Type (AOSP/TW), Kernel Version, OC, UV ...etc. You get the picture. The more you provide the better we can help
5. Please allow time for the team to find an answer if we can’t figure it out we know enough people to help us out finding a answer thank you
6. Be Patient We have our own personal lives outside of here. Allow the team some time to find answers. We will do our best to help.
7. If you post screenshots, you are allowed a maximum of 3 screenshots.
8. Keep posts/threads on-topic
By post in this thread, you are agreeing to the above rules.
Members​
Galaxys3Man30
mw86
GTOJIM
Ramondal
clothednblack1
RErick
chinkybean
daniel4653
steelers_exe
crazymook
castle_bravo
luis86dr
MorphiousGX
TexasEpic4G for awesome banners he makes for us!!!!!
​
Supported Devices​AT&T Samsung Galaxy SIII : http://forum.xda-developers.com/showthread.php?t=2144004
Sprint Samsung Galaxy SIII: http://forum.xda-developers.com/showthread.php?t=2032956
T-Mobile Samsung Galaxy SIII: http://forum.xda-developers.com/showthread.php?t=2207286
Verizon Samsung Galaxy SIII: http://forum.xda-developers.com/showthread.php?t=2201555
USCELLULAR Samsung Galaxy SIII:
http://teamuscellular.com/Forum/index.php?/topic/3472-[SUPPORT]-(Kernel)-ktoonsez-kt747
Thanks​
ktoonsez - For giving us this amazing kernel and the plethora of options available with it. His thread his here Make sure to thank him!
AT&T: http://forum.xda-developers.com/showthread.php?t=1756776
Sprint: http://forum.xda-developers.com/showthread.php?t=1800576
T-Mobile: http://forum.xda-developers.com/showthread.php?t=1871946
Verizon: http://forum.xda-developers.com/showthread.php?t=1853816
All of the Team Kernelizers members for their tweaks and dedication and help
All of the testers, and followers
All of the ROM developers out there for making our phones fun to use
And of course our Friendly Forum Moderator:
kennyglass123
Disclaimer​Team Kernalizers members, Ktoonsez, and ROM developers are not responsible for bricked devices or any other device issues you experience as a result of using information in this thread.
Every phone is different, especially since it was found that we have slow, nominal, and fast variations.
Tweaks provided are extremely experimental and should be avoided by beginners and people who have important responsibilities tied to the usage of their phone.
You Have Been Warned: Use of any information, tweaks and applications in this thread at your own risk. You assume full responsibility for your own actions.
Downloads
Team Kernelizers Tweaks​All of our TK bin files will be available here:
From Phone: https://m.box.com/s/5hazifi3odci94uyykws/1/698338185
From PC: https://www.box.com/shared/5hazifi3odci94uyykws
Reporting Tools​Huge thanks to MorphiousGX for our live report form. Please report battery usages at these links.
We will use this information to help make better adjustments to our tweaks. It will collect the necessary information to make sure people compare apples to apples*
You can also view results after you submit, and filter on any of the questions asked (i.e. Tweaker's name, governor, release date..etc).
The form can be found here*https://docs.google.com/forms/d/1-uz...3jPpg/viewform
The results can be viewed here*https://docs.google.com/spreadsheet/...Xc&usp=sharing
If you have any feedback (good or bad) please feel free to let MorphiousGX know he maintains it and you all should thank him.
Team Kernelizers Proudly Presents​TK Mod 1.0.4-REV 4​
Download​ http://db.tt/a1fiJtuF ​
Features​
Bin File Rename
Individual renaming of the following bin Files for battery savings:
gsiff_daemon
mpdecision
qosmgr
smd
smdexe
Renames bin files with .bak
Bin File Restore
Individual restoring of the following bin files:
gsiff_daemon
mpdecision
qosmgr
smd
smdexe
Restores bin files to their original state.
Mods
KT747 Bootanimation Fix:
Use only if bootanimation is broken. Usually occurs on TW Roms.
Team Kernelizers TouchWiz Build Prop Tweaks
Team Kernelizers AOSP Build Prop Tweaks
Restore of Original TouchWiz Build Prop
Restore of Original AOSP Build Prop
​
Changelog​Located in TKMod zip​
Contest Splash Screens​
You now have access to all Team Kernelizers Contest Splash Screens in one zip!
1st Place Splash Screen:
{
"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"
}
2nd Place Splash Screen:
3rd Place Splash Screen:
4th Place Splash Screen:
5th Place Splash Screen:
6th Place Splash Screen:
7th Place Splash Screen:
8th Place Splash Screen:
9th Place Splash Screen:
10th Place Splash Screen:
11th Place Splash Screen:
Stock Splash Screen: Reverts to Original Splash Screen.
Thanks from luis86dr​
Edgehood for answering all my questions about Aroma! Thanks buddy!
steelers_exe for his awesome splash screen for Aroma Installer.
RErick for his build prop updater script & for providing Splash Screen zips.
mw86 for his build prop tweaks.
GMan for testing and helping me. Also for providing mirrors!
decimalman for making the build prop script work!
Ktoonsez for such a awesome Kernel and inspiring us to do what we do.
Everyone who helped with testing!
Team Kernelizers for being so damn awesome!
Known Bugs​Splash Screens will only work on TouchWiz
Working on finding out the cause of these issues. Please report bugs in either of the Team Kernelizers threads.
This is still in Beta, more is yet to come!!!!!!
Kernel Information​General Installation Instructions (for both TW and AOSP):​1. Download correct version of kernel for your device and rom. This is important as you may brick your phone is you use the wrong version.
2. Flash kernel using your preferred recovery
3. Do the following AFTER installing the kernel and BEFORE you reboot your phone:
a. Clear cache
b. Clear dalvik
c. Fix Permissions
4. Reboot your device.
TW Specific Kernel Instructions:
(can be used with AOSP too)​There are some files on your TouchWiz phone that need to be renamed in order to maximize the battery life of your phone. There has been some debate on whether or not this is necessary, but for now we would recommend renaming these files to ensure that there is no chance of excessive battery drain.
Part 1:
These steps are only necessary on TouchWiz ROMs, however you can also do this on AOSP as well:
1. You must have ROOT. You will need to have a root enabled file explorer on your phone (ES File Explorer works very well and you can get it from the play store (https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en). When you get it, open it up and go the the settings and scroll all the way down until you see the Root Settings. Go in there and enable ALL of the root settings.
2. After that is done, navigate to your root folders using the Folder Up icon at the top. Once you are in your root folders, navigate to /system/bin and locate the following files. You will need to rename them with a ".bak" at the end of the filename
gsiff_daemon --> gsiff_daemon.bak
mpdecision --> mpdecison.bak
qosmgr --> qosmgr.bak
smd --> smd.bak
smdexe --> smdexe.bak
Renaming these files will not harm your phone. Many users rename these files every time they flash a rom, and no damge is done.
Also, some ROMs come with these files renamed or deleted entirely, so if you don’t find a file, don’t be alarmed.
You have to do this every time you flash the ROM and/or Kernel.
If you feel uncomfortable doing this yourself, you can use the TK-MOD (see Downloads section) and it will handle this for you.
Part 2:
Stopping mpdecision from being called:
1. Open terminal emulator and type the following code:
su
2. When terminal emulator asks for root permission hit 'Grant' or 'Allow'.
3. At the # prompt type:
stop mpdecision
Using Rom Toolbox (https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox) we will make a script that will stop mpdecision from being called at each boot so you don't need to use terminal emulator each time
1. Open Rom Toolbox and scroll down to the Scripter option
2. In the scripter, click the “+” button in the top right corner, then select 'Create'
3. Type a name for our new script, lets call it “stop mpdecision”
4. In the commands enter the following text:
#!/system/bin/sh
stop mpdecision
5. Hit the disk icon to save it
6. Select the script that you just created and a dialog box should pop up, select set at boot
Were done here
AOSP Specific Kernel Instructions:​When coming from a 3.0 Kernel to a 3.4 Kernel there is a new method with kernel updates. Skipping these steps will cause phone instability, due to some bad data left behind. This is a flaw in the Android OS, not the application. You must follow the instructions below (Thanks ktoonzs for the new method of the ktweaker app)
1. Go to Settings on the phone
2. Go to app manager then all apps
3. Scroll down to ktweaker app n open it
4. Once open hit FORCE STOP and then hit CLEAR DATA
5. Reboot and flash your new update of ktoonzs kernel
6. Repeat steps 1-4 in the above “General Installation” section
You should be good to go after that
Resources & Useful Links​
[*]Rescan Media Root (click link on phone and be sure to select launch link with play store)
https://play.google.com/store/apps/d...diascannerroot
[*]Kill Media Server (thanks for the link Jcdominguez)
http://www17.zippyshare.com/v/77111471/file.html
[*]Lux Auto Brightness (set brightness lower than stock minimum brightness on any rom)
https://play.google.com/store/apps/d...d=com.vito.lux
[*]Rom Toolbox Lite by Jrummy
https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox
[*]Build Prop Editor free by Rom Toolbox maker Jrummy
https://play.google.com/store/apps/d...ld.prop.editor
[*]Swipe Pad (thanks Naddict) make a easy to launch multitask launcher from anywhere a shortcut to Developer Options (great for aosp Hwoverlay)
https://play.google.com/store/apps/d...ipepad.android
[*]Known Wakelocks thread (Thanks T. J. Bender)
http://forum.xda-developers.com/show...php?p=31974989
[*]DS Battery Saver Pro (manage radios like juice defender with less overhead) (thanks for the link AdamDelozier)
http://forum.xda-developers.com/show...php?p=35046431
[*]Battery Review Thread including extended batteries (Thanks Rlatjs17)
http://forum.xda-developers.com/show...php?p=30478980
[*]Fast Reboot (closes/restarts apps and services similar to rebooting without a reboot)
https://play.google.com/store/apps/d...streboot&hl=en
[*]Better Batter Stats (track all forms of wake locks) (Thanks Sven Knispel)
https://play.google.com/store/apps/d...erbatterystats
[*]Carat (track and discover battery drain prone apps)
https://play.google.com/store/apps/d....carat.android
[*]Seeder 2.0.0b1 (Thanks Lambgx02)
http://forum.xda-developers.com/showthread.php?p=592
[*]Cpu Spy (check used mhz and deep sleep usage) (Thanks Brandon Valosek)
https://play.google.com/store/apps/d...valosek.cpuspy
[*]Universal Initd Support APK (Thanks RyuInferno) (enable check for initd support)
http://forum.xda-developers.com/show....php?t=1933849
[*]Lag Fix(fs-trim) (use trim to trim blocks labeled deleted from storage where blocks are still full) (thanks AuxLV)
http://forum.xda-developers.com/show...&postcount=122
[*]CrossBreeder Combo MOD (combines three discussed entropy lag/lockup tweaks)
http://forum.xda-developers.com/show...php?p=37062006
[*]Flashable Recoveries (please thank Naddict for this amazing resource)
http://forum.xda-developers.com/show...php?p=35741601
[*]If you flashed the KT747 kernel separate from your ROMs installer, you can enable the boot animations by following the directions in this thread:
http://forum.xda-developers.com/show...22&postcount=4
[*]This is a link to the Better Battery Stats thread. This app is only free to XDA members, but I strongly encourage you to donate. And please hit the thanks button while you are there.
http://forum.xda-developers.com/show....php?t=1179809
[*]Schedulers and Governors explained:
http://forum.xda-developers.com/show...php?p=19846276
http://forum.xda-developers.com/show...php?p=26884853
PERSONAL EXPERIENCES OF FOLLOWERS​ @Maybelle
I've been following along and will be so bold as to put in my two cents worth. I am a general/vascular surgeon. I got into Android because I was pissed off about a tablet I had that Toshiba wouldn't update. That lead me to y'all in time. I cannot say enough about how much respect I have for the Android and XDA development community. You truely "stick it to the man" while making the platform better.
I have been following the events related to Exit_Only and can say that while I have a hard time understanding the details of what is evolving I do understand that he, as well as all of you on the TK team, have helped me and my ability to communicate with my patients and my colleagues using a phone that does a lot more than its manufacturers or carrier would have it do.
We have "kanging" in medicine too. As a matter of fact it is written into the Hippocratic Oath IMO. What we do not tolerate in medicine is claiming credit for another doctor's work, although we are free to use it to benefit our patients as long as we do not claim glory for ourselves.
Kudos to EO for defending his hard work and kudos to all the rest of y'all for rising to his defense. I would be proud to support a TK website if that is the direction you wish to go in. I only wish I was more knowledgeable and could contribute in a more technical way. With your help I will get there.
I'm sorry if I am off topic but I had to speak.
*Users with Ktweaker settings reseting: Freezing system tuner and or rom toolbox is a possible fix for either min/max mhz, scheduler or governor resetting in Ktweaker. Another way could be making a backup of your settings, clear data on ktweaker, reboot and restore settings twice as not all apply right first time and reboot again with restore settings immediately at boot.
*Ktweaker Issues if on Kt747 Kernel: could have issues on roms like Freegs3 and it is noted that if you prefer to use Ktweaker to set your settings vs script than make sure no conflicting script is running for example check /system/etc/initd/ for 70tweaks and remove or place somewhere for safe keeping to prevent conflicts with Ktweaker for example min max changing or voltage tables, governor or scheduler. This script in the example is Freezas script to set phone based on screen on and off and current battery level for example of some of its functions, there is nothing wrong with using scripts nor is there a problem with this script in particular. Just be aware there will be conflicts if used in conjunction with Ktweaker and or setcpu and the like.
Ktoonservative governor presets from our thread
BALANCED PERFORMANCE BATTERY LIFE (no order)
Ktoonservative 50 30 67 68 Freecharlesmanson tunables
Ktoonservative 50 30 85 80 docnas tunables
Ktoonservative 33 11 99 35
Ktoonservative 42 11 99 99
Ktoonservative 75 11 95 75 tunables
HIGH BATTERY SAVINGS (no order)
-#*note#* (you can get away with one of these high threshold tunings and not feel laggy by using touch booster set to 384mhz on booster one and for touch two 486mhz which should help response time on any interactive action where in you touch the screen and immediately resume the normal minimum mhz as during touch boost the cpu still ramps based on load over the touch boost values if and as needed. It provides less frequency steps to target frequency during interactive use)*! 384/486 being conservative and 702mhz touch boost 1 756mhz touch boost 2 for more response and still will not be over target frequency during interactive use.
Ktoonservative 75 90 95 99 single core
Ktoonservative 85 94 95 99 single core 12 31 2012
Ktoonservative 60 35 97 75 Castle Bravo
Ktoonservative 60 35 90 70 Daniel4653
Ktoonservative 65 45 99 99 tunables
Ktoonservative 65 55 99 99 tunables old revision
Ktoonservative 65 45 97 95 Castle Bravo
SCHEDULERS
Jcdominguez chart
[Light usage] SIO> ZEN> NOOP> Deadline > BFQ > CFQ [medium/heavy usage]
************
Battery Saving:
-Noop: best battery savings for all mobile but not the best data rates. Considered a simple i/o
-SIO: similar to noop but uses a little more battery with benefit of some deadlines.
-Zen: Combo of noop, sio and deadline.
Balanced:
-BFQ: a good balance of battery and performance.
*tuning for solid state storage
# Freecharlesmanson tunables original
# MW86 tunables (use if above tuning resets ever time)
Performance with battery secondary:
-Row: fastest latencies on reads over all governors but may have the highest battery drain. Read Over Write.
#performance tuning Castle Bravo
-Schedulers/Governors Explained (thanks droidphile) (thanks for link Clothednblack)
http://forum.xda-developers.com/showthread.php?p=19846276
(thanks Grift) (thanks for link Clothednblack)
http://forum.xda-developers.com/showthread.php?p=26884853
Extra low Voltage Table:
! #@$ do not try this table if you have not tried the one in post one above. This is much lower and likely not okay for every phone but has been a non issue on mine and for a few others.
2106mhz: 1290 mV
1998mhz: 1260 mV
1890mhz: 1225 mV
1809mhz: 1200 mV
1728mhz: 1175 mV
1674mhz: 1160 mV
1512mhz: 1150 mV
1458mhz: 1145 mV
1404mhz: 1140 mV
1350mhz: 1135 mV
1296mhz: 1125 mV
1242mhz: 1110 mV
1188mhz: 1100 mV
1134mhz: 1085 mV
1080mhz: 1075 mV
1026mhz: 1035 mV
972mhz: 1025 mV
918mhz: 1010 mV
864mhz: 1000 mV
810mhz: 985 mV
756mhz: 975 mV
702mhz: 935 mV
648mhz: 925 mV
594mhz: 910 mV
540mhz: 900 mV
486mhz: 885 mV
384mhz: 880 mV
192mhz: 875 mV
144mhz: 870 mV
96mhz: 865 mV
Low Rider Volt Table
-note may not be stable using the same volts but a higher maximum mhz
-if the above table or the one in post one are not stable do not attempt to load these
-Thanks goes to Clothednblack1
1242 MHz - 995mV
1188 MHz - 975mV
1134 MHz - 950mV
1080 MHz - 945mV
1026 MHz - 930mV
972 MHz - 915mV
918 MHz - 910mV
864 MHz - 855mV
810 MHz - 850mV
756 MHz - 835mV
702 MHz - 820mV
648 MHz - 805mV
594 MHz - 835mV
540 MHz - 825mV
486 MHz - 805mV
384 MHz - 785mV
192 MHz - 775mV
144 MHz - 765mV
96 MHz - 700mV this may be too low for some
General Tips for faster UI
-enable Hwoverlay and force gpu rendering (leave out Hwoverlay on touchwiz to prevent a noted video playback issue)
-Disable animations and transitions on launcher (or set to as fast as possible)
-Use Launcher options to force launcher into memory like in Nova Launcher (Thanks Pberge)
Create localprop and force app in memory thanks nonato
- Go to terminal type su hit enter
-Type all of the following and hit enter to add an app to local.prop and force it in memory. Nova Launcher would be as follows. If local.prop doesn't exist the command will create it.
echo sys.keep_app_1=com.teslacoilsw.launcher-1 >> /data/local.prop
-(Thanks nonato for posting this trick in Seeder thread.)
Fix Gtalk fully disable if it was removed and causing a wakelock (needs credit need to find poster of this)
Cyanogenmod Based tweaks
-enable memory management options
-disable dithering (dithering on smooths color transitions off can show a banding effect) (if not on a CM based rom the use dithering 0 build prop has same effect)
-16bit transparency (close to half the bandwidth needed for 24/32bit color)
Rename these files on Touchwiz as pictured in System/Bin to prevent unnecessary battery drain (thanks for pic Jcdominguez)
Thread on Touchwiz safe to remove apps GS3 (Thanks Vegas Rooted)
http://forum.xda-developers.com/showthread.php?p=32212501
User suggestions for removable apps (Touchwiz)
Stop MPDECISION on a 4.2.1 Rom
- Navigate like in this pic to system/etc
- Open initpostboot.sh
- Go to line 223 (i use droidedit free at play store to edit the file it makes it easy to find line numbers)
- Place cursor in front of mpdecision and insert a #. Save the file and exit and reboot. Thats all thats necessary to prevent stopping mpdecision from starting or showing errors over and over in logcat on Android AOSP 4.2.1.
-*Credit goes to Decimalman thank you
Info on ROW Scheduler
http://lwn.net/Articles/509829/
-*Thanks CastleBravo
BUILD PROP
-tested on Freegs3(4.1.1), Goodness(4.1.1)rom, Paranoid Android(4.1.2), Chemistry(4.1.1), Unofficial AOKP(4.2.1), PACman(4.1.2), Cm10.1 nightly(4.2.1), Kiljoy(4.1.1)
- Build prop i use and has been tested on 4.1.1/4.1.2/4.2.1
- Gtojim and I are running these without issues. Tested on freegs3, cm10.1, Paranoid android and PAKman (#*has not been tested with Morphology need feedback*#)
-credit for the build props goes to Rom Toolbox and an XDA member Custodian. Thank you Custodian.
http://db.tt/q7S1s8yp
- Directions same as other build props we have listed. Until we have an easy install script this is for advanced users only who already have experience editing build.prop. I will always suggest using rom toolbox to do so vs manually editing your build prop file. Do not add all of them in without checking if the value exists already. You don't want double lines that one says the line and true and the other false, its hard to say but one may override the other. THIS IS NOT A BUILD PROP IT IS A SIMPLE TEXT FILE WITH ALL THE ONES I USE. THE BUILD PROP ENTRY IS TO THE LEFT OF THE EQUAL SIGN AND THE VALUE USED IS TO THE RIGHT OF THE EQUAL SIGN. YOU MUST SEARCH AND REPLACE OR ADD THEM MANUALLY.
-whats included in the build prop list:
debug.composition.type=gpu
debug.egl.hw=1
debug.mdpcomp.maxlayer=2
debug.sf.hw=1
debug.performance.tuning=1
debug.sf.nobootanimation=1 (set to 0 to reenambe Bootanimation or do not use this build prop)
debug.qctwa.preservebuf=1
debug.qctwa.statusbar=1
debug.qc.hardware=true
ro.HOME_APP_ADJ=1
video.accelerate.hw=1
windowsmgr.max_events_per_sec=256
media.stagefright.enable-player=true
media.stagefright.enable-http=true
media.stagefright.enable-fma2dp=false
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-rtsp=true
media.stagefright.enable-record=false
mot.proximity.delay=20
movfilter=40
move_hyst=0
lpa.decode=false
lpa.use-stagefright=false
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.hprof.vid.fps=25
ro.media.panorama.defres=3264x1840
ro.media.panorama.frameres=1280x720
ro.camcorder.videoModes=true
ro.telephony.call_ring.delay=400
ro.ril.disable.power.collapse=0
ro.config.nocheckin=1
ro.config.hwfeature_wakeupkey=0
ro.lge.proximity.delay=20
ro.min_pointer_dur=8
ro.max.fling_velocity=15000
ro.min.fling_velocity=4000
ro.mot.eri.losalert.delay=900
ro.HOME_APP_MEM=8192
ro.FOREGROUND_APP_MEM=6144
ro.VISIBLE_APP_MEM=8192
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
ro.cwm.enable_key_repeat=true
dalvik.vm.checkjni=false
dev.pm.dyn_samplingrate=1
drm.service.enable=false
persist.hwc.mdpcomp.enable=false
persist.gps.qmienabled=true
persist.sys.use_dithering=0
persist.sys.scrollingcache=3
per_sec=300
com.qc.hdmi_out=true
com.qc.hardware=true
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=256m
dalvik.vm.heapidealfree=8388608
dalvik.vm.heapconcurrentstart=2097152
ring.delay=0
TCHTHR=28
ENFORCE_PROCESS_LIMIT=false
wifi.supplicant_scan_interval=300
AOSP only
dalvik.vm.heaptargetutilization=0.25
Touchwiz Only
dalvik.vm.heaputilization=0.25
Systctrl settings via Init.d (requires kernel with init.d support or enable initd with RyuInfernos apk link at bottom) (tested on same roms as Build Prop)
- * Thanks Zeppelinrox for talking some settings over with me.
- Help entropy pool
- read_wakeup_threshold to 1366
- write_wakeup_threshold to 128
http://db.tt/NilQsqG6
- Init.d for systctrl with the above set already and other optimized values
- Here guys this one is without anything special for entropy the values related to it are set to default on this one
- read_wakeup_threshold 64
- write_wakeup_threshold 128
- randomize_va_space 2
http://db.tt/rHcNuTfR
- Instructions:
Download. Using a file explorer, i like es file explorer go up from internal storage with a root explorer till you are at / you should see system, sys and much more. Go to /system/etc/initd/ and paste this file in there. Select it and go to properties of the file and select permissions. Change them to rwxrwxrwx. In other words enable read, write and execute for the three options user, system and other or whichever they are called. Now exit and reboot. Now at boot systctrl are applied. These are the presets system tuner sets plus a few tweaks by Freecharlesmanson (if you see him please be sure to give him thanks) and a fix for entropy where noted above.
- What is changed in the two systctrl (initd commands are as follows in the above files except the settings mentioned) (you can pick and choose and make your own initd script):
#!/system/bin/sh
echo "524288" > /proc/sys/fs/file-max
echo "32000" > /proc/sys/fs/inotify/max_queued_events
echo "256" > /proc/sys/fs/inotify/max_user_instances
echo "10240" > /proc/sys/fs/inotify/max_user_watches
echo "10" > /proc/sys/fs/lease-break-time
echo "64" > /proc/sys/kernel/random/read_wakeup_threshold
echo "128" > /proc/sys/kernel/random/write_wakeup_threshold
echo "65536" > /proc/sys/kernel/msgmax
echo "2048" > /proc/sys/kernel/msgmni
echo "10" > /proc/sys/kernel/panic
echo "'500 512000 64 2048'" > /proc/sys/kernel/sem
echo "268435456" > /proc/sys/kernel/shmmax
echo "524288" > /proc/sys/kernel/threads-max
echo "2" > /proc/sys/kernel/randomize_va_space
echo "10485760" > /proc/sys/net/core/optmem_max
echo "8388608" > /proc/sys/net/core/rmem_default
echo "65536" > /proc/sys/net/core/wmem_default
echo "524288" > /proc/sys/net/core/rmem_max
echo "524288" > /proc/sys/net/core/wmem_max
echo "'10485760 10485760 10485760'" > /proc/sys/net/ipv4/tcp_mem
echo "1" > /proc/sys/net/ipv4/tcp_no_metrics_save
echo "1" > /proc/sys/net/ipv4/tcp_rfc1337
echo "0" > /proc/sys/net/ipv4/tcp_ecn
echo "'6144 87380 524288'" > /proc/sys/net/ipv4/tcp_rmem
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "'6144 87380 524288'" > /proc/sys/net/ipv4/tcp_wmem
echo "35" > /proc/sys/vm/dirty_ratio
echo "40" > /proc/sys/vm/dirty_background_ratio
echo "5" > /proc/sys/vm/swappiness
echo "900" > /proc/sys/vm/dirty_expire_centisecs
echo "300" > /proc/sys/vm/dirty_writeback_centisecs
echo "100" > /proc/sys/vm/vfs_cache_pressure
echo "95" > /proc/sys/vm/overcommit_ratio
echo "3" > /proc/sys/vm/page-cluster
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "3" > /proc/sys/vm/drop_caches
Recommended Juice Defender Setup - (Thanks Clothednblack)
Resources/Apps
#############
- Rescan Media Root (click link on phone and be sure to select launch link with play store)
https://play.google.com/store/apps/details?id=com.addz.mediascannerroot
- Kill Media Server (thanks for the link Jcdominguez)
http://www17.zippyshare.com/v/77111471/file.html
-Lux Auto Brightness (set brightness lower than stock minimum brightness on any rom)
https://play.google.com/store/apps/details?id=com.vito.lux
-Build Prop Editor free by Rom Toolbox maker Jrummy
https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor
-Swipe Pad (thanks Naddict) make a easy to launch multitask launcher from anywhere a shortcut to Developer Options (great for aosp Hwoverlay))
https://play.google.com/store/apps/details?id=mobi.conduction.swipepad.android
-Known Wakelocks thread (Thanks T. J. Bender)
http://forum.xda-developers.com/showthread.php?p=31974989
-DS Battery Saver Pro (manage radios like juice defender with less overhead) (thanks for the link AdamDelozier)
http://forum.xda-developers.com/showthread.php?p=35046431
-Battery Review Thread including extended batteries (Thanks Rlatjs17)
http://forum.xda-developers.com/showthread.php?p=30478980
-Fast Reboot (closes/restarts apps and services similar to rebooting without a reboot)
https://play.google.com/store/apps/details?id=com.greatbytes.fastreboot&hl=en
-Better Batter Stats (track all forms of wake locks) (Thanks Sven Knispel)
https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats
-Carat (track and discover battery drain prone apps)
https://play.google.com/store/apps/details?id=edu.berkeley.cs.amplab.carat.android
-Seeder 2.0.0b1 (Thanks Lambgx02)
http://forum.xda-developers.com/showthread.php?p=592
-Cpu Spy (check used mhz and deep sleep usage) (Thanks Brandon Valosek)
https://play.google.com/store/apps/details?id=com.bvalosek.cpuspy
-Universal Initd Support APK (Thanks RyuInferno) (enable check for initd support)
http://forum.xda-developers.com/showthread.php?t=1933849
-Lag Fix(fs-trim) (use trim to trim blocks labeled deleted from storage where blocks are still full) (thanks AuxLV)
http://forum.xda-developers.com/showpost.php?p=37029420&postcount=122
-CrossBreeder Combo MOD (combines three discussed entropy lag/lockup tweaks)
http://forum.xda-developers.com/showthread.php?p=37062006
-Flashable Recoveries (please thank Naddict for this amazing resource)
http://forum.xda-developers.com/showthread.php?p=35741601
galaxys3man30 said:
Reserved
jelly bombed SGS3 jelly bomber 4 life
Click to expand...
Click to collapse
Thank you good sir! Testing now..
firstish!
Great job galaxys3man30, well written, easy to understand.
WIFI TETHER APP
I'M understanding that people are having problems getting it to work i will explain what you have to do there a few steps that you have to do to get it to work
STEP 1: Always make sure you use the wifi tether that is baked into your settings the one in your toggles want work
STEP 2: Open it up and for the those of ya'll that's using it for the first time it will take about 45 seconds before you can use it because its has to get all the permissions from SU so once that is done tap on the wifi sign and start broadcasting the tether
STEP 3: Now you need to hit your menu button on your phone and you will see access control tap on it and enable this will let whatever you wanting to connect to the wifi tether see that it is there
STEP 4: Now go to your laptop,gaming system and etc etc and click on android wifi tether that is your phone
STEP 5: Now go to back to your phone and open up the access control and you should see mac address and ssid there with box's to be check them these are the device trying to connect to your tether now that you have check the box's hit apply at the bottom of the screen and that gives your device access to the internet
Hope this helps everyone that is having a problem with it
I'M always open for suggestions please let me know what ya'll want to have a how to on and i will get one up on it
Thank you to everyone involved to figure out and provide this for us.
Thanks for the great write up. Very easy to follow.
3 questions.
1: What is TPR?
2: What exactly are the process you had us stop used for? Just curious.
3: Do I want to run a particular I/O scheduler? I am using your suggested current Ktoonz governor tweaks.
Thank you again,
Whiteice
Thanks for this! Went ahead and stopped the mpdecision with the mw86 tweaks, Koonservative gov and bfq scheduler. Time to full charge and give it a run
WhiteiceDMSTech said:
Thank you to everyone involved to figure out and provide this for us.
Thanks for the great write up. Very easy to follow.
3 questions.
1: What is TPR?
2: What exactly are the process you had us stop used for? Just curious.
3: Do I want to run a particular I/O scheduler? I am using your suggested current Ktoonz governor tweaks.
Thank you again,
Whiteice
Click to expand...
Click to collapse
TPR is another rom called The Peoples Rom
The 2 files that are renamed r stop because they cause bad battery drain with ktoonsnative gov and the mpdecision is stop because it keeps core 2 going even with the tweaks I have posted so you stop it to keep core 2 running on the tweaks saves battery more less
We have found that bfq is about the best one to use but you can use whatever one you want to you use bud
jelly bombed SGS3 jelly bomber 4 life
Great work Galaxyman. Thanks for the great words! If I see anything i can further suggest ill be sure to chime in.
Paranoid Galaxy S3 on Tapatalk 2
mw86 said:
Great work Galaxyman. Thanks for the great words! If I see anything i can further suggest ill be sure to chime in.
Paranoid Galaxy S3 on Tapatalk 2
Click to expand...
Click to collapse
Thank you sir thank you for all ur hard work
jelly bombed SGS3 jelly bomber 4 life
Thanks galaxy man! Giving this a go...1 question...can I apply the freecharlesmanson I/o scheduler tweaks with mw86 gov settings? Should I just pick one set of tweaks or can I mix it up? Hope I make sense.
Sent from my SPH-L710 using xda app-developers app
Chinkybean said:
Thanks galaxy man! Giving this a go...1 question...can I apply the freecharlesmanson I/o scheduler tweaks with mw86 gov settings? Should I just pick one set of tweaks or can I mix it up? Hope I make sense.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
No you have too bud they can work together n yw n enjoy
jelly bombed SGS3 jelly bomber 4 life
I'm sorry still confused.... So it's okay to use free Charles Manson I/o scheduler tweaks with MW 86 gov settings?
Sent from my SPH-L710 using xda app-developers app
Chinkybean said:
I'm sorry still confused.... So it's okay to use free Charles Manson I/o scheduler tweaks with MW 86 gov settings?
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Yea its ok buddy lol
jelly bombed SGS3 jelly bomber 4 life
galaxys3man30 said:
Yea its ok buddy lol
jelly bombed SGS3 jelly bomber 4 life
Click to expand...
Click to collapse
Galaxy, Check Pm.. sent ya some stuff..
To clarify i use the same io scheduler and tunings lol so ha ha guys
Glad this thread is hitting it off so well.
Paranoid Galaxy S3 on Tapatalk 2
thanks a lot galaxy is there anyway to see if mp decision is disabled after doing these tweaks
Awesome. Thanks for making this thread. Keeps me from having to scan thru like 5 others, haha.
---------- Post added at 02:26 PM ---------- Previous post was at 02:25 PM ----------
ryandubbz said:
thanks a lot galaxy is there anyway to see if mp decision is disabled after doing these tweaks
Click to expand...
Click to collapse
Settings > Developer Options > Check "Show CPU usage" > at the top right, see if the process is running. If not, youre good
Great work
Thanks galaxys3man30 for starting this thread, and thanks mw86 for giving me the link. I can attest to the fact that the setting work and stick. Ive been following the several threads prior to this one. Ive use the tunings while tinkering with them, til I based my own off them.

[Team Kernelizers][How To][TMO]KT747 Kernel Tweaks [TKMOD2.4]

THIS THREAD IS A WORK IN PROGRESS IT HAS ALOT OF S3 STUFF FROM MY S3 THREADS BUT PLZ READ CSREFULLY CAUSE IM NOT REPONABLE OR MY TEAM IF ANYTHING HAPPENS TO YOUR PHONE SO PLZ READ CAREFULLY BEFORE FLASHING OR USING ANYTHING THANKS
About​Welcome to Team Kernalizers's SPRINT Thread. This thread will attempt to teach you and show you how to maximize the performance and battery life of your GS3 and GS4 running the KT747 kernel by Ktoonsez.
In this thread, you will learn everything you need to know about Governors, I/O Schedulers, Underclocking (UC), Overclocking (OC), Undervolting (UV) and the KTweaker application. We will also provide you with pre-configured tweaks to use.
This is a friendly support community. You can post your benchmarks, battery stats, feedback and settings. We will also help troubleshoot any problems that you may encounter while using this kernel and our tweak packages.
Rules​Please consider these rules before using this thread:
1. Follow XDA Forum rules (http://forum.xda-developers.com/announcement.php?f=1712)
2. There will be NO FLAMING, NO SPAMMING, NO HARRASMENT of any kind. These will not be tolerated. You have been warned!
3. Search the thread first before asking questions. Most likely, your question may have been answered already.
4. If you are stuck and need help, DO NOT post comments like "this is not working". It will be ignored. You must provide necessary information like ROM Type (AOSP/TW), Kernel Version, OC, UV ...etc. You get the picture. The more you provide the better we can help
5. Please allow time for the team to find an answer if we can’t figure it out we know enough people to help us out finding a answer thank you
6. Be Patient We have our own personal lives outside of here. Allow the team some time to find answers. We will do our best to help.
7. If you post screenshots, you are allowed a maximum of 3 screenshots.
8. Keep posts/threads on-topic
By post in this thread, you are agreeing to the above rules.
Members​
Galaxys3Man30
mw86
GTOJIM
Ramondal
clothednblack1
RErick
chinkybean
daniel4653
steelers_exe
crazymook
castle_bravo
luis86dr
MorphiousGX
TexasEpic4G for awesome banners he makes for us!!!!!
​
Supported Devices​AT&T Samsung Galaxy SIII : http://forum.xda-developers.com/showthread.php?t=2144004
Sprint Samsung Galaxy SIII: http://forum.xda-developers.com/showthread.php?t=2032956
T-Mobile Samsung Galaxy SIII: http://forum.xda-developers.com/showthread.php?t=2207286
Verizon Samsung Galaxy SIII: http://forum.xda-developers.com/showthread.php?t=2201555
Thanks​
ktoonsez - For giving us this amazing kernel and the plethora of options available with it. His thread his here Make sure to thank him!
AT&T: http://forum.xda-developers.com/showthread.php?t=1756776
Sprint: http://forum.xda-developers.com/showthread.php?t=1800576
T-Mobile: http://forum.xda-developers.com/showthread.php?t=1871946
Verizon: http://forum.xda-developers.com/showthread.php?t=1853816
All of the Team Kernelizers members for their tweaks and dedication and help
All of the testers, and followers
All of the ROM developers out there for making our phones fun to use
And of course our Friendly Forum Moderator:
kennyglass123
Disclaimer​Team Kernalizers members, Ktoonsez, and ROM developers are not responsible for bricked devices or any other device issues you experience as a result of using information in this thread.
Every phone is different, especially since it was found that we have slow, nominal, and fast variations.
Tweaks provided are extremely experimental and should be avoided by beginners and people who have important responsibilities tied to the usage of their phone.
You Have Been Warned: Use of any information, tweaks and applications in this thread at your own risk. You assume full responsibility for your own actions.
Reporting Tools​Huge thanks to MorphiousGX for our live report form. Please report battery usages at these links.
We will use this information to help make better adjustments to our tweaks. It will collect the necessary information to make sure people compare apples to apples*
You can also view results after you submit, and filter on any of the questions asked (i.e. Tweaker's name, governor, release date..etc).
The form can be found here*https://docs.google.com/forms/d/1-uz...3jPpg/viewform
The results can be viewed here*https://docs.google.com/spreadsheet/...Xc&usp=sharing
If you have any feedback (good or bad) please feel free to let MorphiousGX know he maintains it and you all should thank him.
Team Kernelizers Proudly Presents​TK Mod 2.4​
Download​ www.androidfilehost.com/?fid=23060877489998093 ​
Features​
Bin File Rename
Individual renaming of the following bin Files for battery savings:
gsiff_daemon
mpdecision
qosmgr
smd
smdexe
Renames bin files with .bak
Bin File Restore
Individual restoring of the following bin files:
gsiff_daemon
mpdecision
qosmgr
smd
smdexe
Restores bin files to their original state.
Mods
KT747 Bootanimation Fix:
Use only if bootanimation is broken. Usually occurs on TW Roms.
Team Kernelizers TouchWiz Build Prop Tweaks
Team Kernelizers AOSP Build Prop Tweaks
Restore of Original TouchWiz Build Prop
Restore of Original AOSP Build Prop
​
Changelog​Located in TKMod zip​
Contest Splash Screens​
You now have access to all Team Kernelizers Contest Splash Screens in one zip!
1st Place Splash Screen:
{
"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"
}
2nd Place Splash Screen:
3rd Place Splash Screen:
4th Place Splash Screen:
5th Place Splash Screen:
6th Place Splash Screen:
7th Place Splash Screen:
8th Place Splash Screen:
9th Place Splash Screen:
10th Place Splash Screen:
11th Place Splash Screen:
Stock Splash Screen: Reverts to Original Splash Screen.
Thanks from luis86dr​
Edgehood for answering all my questions about Aroma! Thanks buddy!
steelers_exe for his awesome splash screen for Aroma Installer.
RErick for his build prop updater script & for providing Splash Screen zips.
mw86 for his build prop tweaks.
GMan for testing and helping me. Also for providing mirrors!
decimalman for making the build prop script work!
Ktoonsez for such a awesome Kernel and inspiring us to do what we do.
Everyone who helped with testing!
Team Kernelizers for being so damn awesome!
Known Bugs​Splash Screens will only work on TouchWiz
Working on finding out the cause of these issues. Please report bugs in either of the Team Kernelizers threads.
This is still in Beta, more is yet to come!!!!!!
Kernel Information​General Installation Instructions (for both TW and AOSP):​1. Download correct version of kernel for your device and rom. This is important as you may brick your phone is you use the wrong version.
2. Flash kernel using your preferred recovery
3. Do the following AFTER installing the kernel and BEFORE you reboot your phone:
a. Clear cache
b. Clear dalvik
c. Fix Permissions
4. Reboot your device.
TW Specific Kernel Instructions:
(can be used with AOSP too)​There are some files on your TouchWiz phone that need to be renamed in order to maximize the battery life of your phone. There has been some debate on whether or not this is necessary, but for now we would recommend renaming these files to ensure that there is no chance of excessive battery drain.
Part 1:
These steps are only necessary on TouchWiz ROMs, however you can also do this on AOSP as well:
1. You must have ROOT. You will need to have a root enabled file explorer on your phone (ES File Explorer works very well and you can get it from the play store (https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en). When you get it, open it up and go the the settings and scroll all the way down until you see the Root Settings. Go in there and enable ALL of the root settings.
2. After that is done, navigate to your root folders using the Folder Up icon at the top. Once you are in your root folders, navigate to /system/bin and locate the following files. You will need to rename them with a ".bak" at the end of the filename
gsiff_daemon --> gsiff_daemon.bak
mpdecision --> mpdecison.bak
qosmgr --> qosmgr.bak
smd --> smd.bak
smdexe --> smdexe.bak
Renaming these files will not harm your phone. Many users rename these files every time they flash a rom, and no damge is done.
Also, some ROMs come with these files renamed or deleted entirely, so if you don’t find a file, don’t be alarmed.
You have to do this every time you flash the ROM and/or Kernel.
If you feel uncomfortable doing this yourself, you can use the TK-MOD (see Downloads section) and it will handle this for you.
Part 2:
Stopping mpdecision from being called:
1. Open terminal emulator and type the following code:
su
2. When terminal emulator asks for root permission hit 'Grant' or 'Allow'.
3. At the # prompt type:
stop mpdecision
Using Rom Toolbox (https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox) we will make a script that will stop mpdecision from being called at each boot so you don't need to use terminal emulator each time
1. Open Rom Toolbox and scroll down to the Scripter option
2. In the scripter, click the “+” button in the top right corner, then select 'Create'
3. Type a name for our new script, lets call it “stop mpdecision”
4. In the commands enter the following text:
#!/system/bin/sh
stop mpdecision
5. Hit the disk icon to save it
6. Select the script that you just created and a dialog box should pop up, select set at boot
Were done here
AOSP Specific Kernel Instructions:​When coming from a 3.0 Kernel to a 3.4 Kernel there is a new method with kernel updates. Skipping these steps will cause phone instability, due to some bad data left behind. This is a flaw in the Android OS, not the application. You must follow the instructions below (Thanks ktoonzs for the new method of the ktweaker app)
1. Go to Settings on the phone
2. Go to app manager then all apps
3. Scroll down to ktweaker app n open it
4. Once open hit FORCE STOP and then hit CLEAR DATA
5. Reboot and flash your new update of ktoonzs kernel
6. Repeat steps 1-4 in the above “General Installation” section
You should be good to go after that
Resources & Useful Links​
[*]Rescan Media Root (click link on phone and be sure to select launch link with play store)
https://play.google.com/store/apps/d...diascannerroot
[*]Kill Media Server (thanks for the link Jcdominguez)
http://www17.zippyshare.com/v/77111471/file.html
[*]Lux Auto Brightness (set brightness lower than stock minimum brightness on any rom)
https://play.google.com/store/apps/d...d=com.vito.lux
[*]Rom Toolbox Lite by Jrummy
https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox
[*]Build Prop Editor free by Rom Toolbox maker Jrummy
https://play.google.com/store/apps/d...ld.prop.editor
[*]Swipe Pad (thanks Naddict) make a easy to launch multitask launcher from anywhere a shortcut to Developer Options (great for aosp Hwoverlay)
https://play.google.com/store/apps/d...ipepad.android
[*]Known Wakelocks thread (Thanks T. J. Bender)
http://forum.xda-developers.com/show...php?p=31974989
[*]DS Battery Saver Pro (manage radios like juice defender with less overhead) (thanks for the link AdamDelozier)
http://forum.xda-developers.com/show...php?p=35046431
[*]Battery Review Thread including extended batteries (Thanks Rlatjs17)
http://forum.xda-developers.com/show...php?p=30478980
[*]Fast Reboot (closes/restarts apps and services similar to rebooting without a reboot)
https://play.google.com/store/apps/d...streboot&hl=en
[*]Better Batter Stats (track all forms of wake locks) (Thanks Sven Knispel)
https://play.google.com/store/apps/d...erbatterystats
[*]Carat (track and discover battery drain prone apps)
https://play.google.com/store/apps/d....carat.android
[*]Seeder 2.0.0b1 (Thanks Lambgx02)
http://forum.xda-developers.com/showthread.php?p=592
[*]Cpu Spy (check used mhz and deep sleep usage) (Thanks Brandon Valosek)
https://play.google.com/store/apps/d...valosek.cpuspy
[*]Universal Initd Support APK (Thanks RyuInferno) (enable check for initd support)
http://forum.xda-developers.com/show....php?t=1933849
[*]Lag Fix(fs-trim) (use trim to trim blocks labeled deleted from storage where blocks are still full) (thanks AuxLV)
http://forum.xda-developers.com/show...&postcount=122
[*]CrossBreeder Combo MOD (combines three discussed entropy lag/lockup tweaks)
http://forum.xda-developers.com/show...php?p=37062006
[*]If you flashed the KT747 kernel separate from your ROMs installer, you can enable the boot animations by following the directions in this thread:
http://forum.xda-developers.com/show...22&postcount=4
[*]This is a link to the Better Battery Stats thread. This app is only free to XDA members, but I strongly encourage you to donate. And please hit the thanks button while you are there.
http://forum.xda-developers.com/show....php?t=1179809
[*]Schedulers and Governors explained:
http://forum.xda-developers.com/show...php?p=19846276
http://forum.xda-developers.com/show...php?p=26884853
Here you will find all of our tweaks to the kernel. We are providing these pre-configured settings as a means to assist S4 users with further improving their overall experiences on this already beast of a phone or to simply use as a baseline to work upon tweaking further. Please Keep in mind that results will always vary per device regardless on the settings being used. Apply what works best for you and your phone. We're here to help eachother out and with more options comes better experiences for everyone running the KT-SGS4 kernel. Big thanks to ALL who have contributed!
Download links will include the specified profile(s) as well as an "Adjustments" file. The "Adjustments" file is just for easy view of all changes made to a profile compared to stock settings.
1. Download the file(s) to your phone. In case of .bin files, optionally rename the file(s) as .txt
2. Copy ONLY the profile(s) (DO NOT copy the "Adjustments" file) to /sdcard/KTweaker folder using a file Manager of your choice.
3. Open Ktweaker app and click on "Restore Prefs from sdcard".
4. The file you just copied should be listed there. Choose the one you want to apply.
5. After applying, make sure the "Set options on boot" setting on the main menu of KTweaker has a little green text bellow confirming that the settings will be applied upon reboot.
6. Profit!
Balanced Bull: Reloaded (updated: 11~15~13)
These settings are very special to me as they were my very first, dating back to the Galaxy S3, and has gained an incredible amount of feedback. It has become notable for it's fairly smooth interface and amazing battery life. If this stacks up to your standards then I encourage you to use it!
https://copy.com/6DYYijYNqifx
Nightmare To Remember
This will likely become your beautiful, never ending nightmare.. It offers a unique balance between battery and performance but unlike Balanced Bull, it is slightly more performance oriented due to the more aggressive scale up to max CPU. However, only 2 cores will be used for the majority of the time so you can still enjoy a nice buttery smooth interface with just enough juice to last you through the day.
https://copy.com/qWU6AIeeAUyd
Bless The Child v3 (updated: 10~25~13)
Based on Ktoonservateq and aimed towards battery. This is specifically for all the battery hungry users out there wanting to conserve as much power as possible. So don't expect the BEST but rather decent performance out of this one.
https://copy.com/CZdfHiaZEOAu
Feed The Machine
The exact opposite of Bless the Child. This is a performance oriented option for all hardcore users. If battery isn't a priority for you then this is a great option.
https://copy.com/xWpFNDtIsQHe
Day Of Reckoning
Very similar to Nightmare To Remember but is aimed slightly more towards battery without deteriorating much of the performance. It is based off the Pegasusq governor.
https://copy.com/vynBURHcsOUl
Dead By April v2.2 (updated: 11~15~13)
This profile attempts to bring some of the best battery life possible to your device. It is similar to Bless The Child but takes things a step further . It now focuses more on snappiness but still maintains it's well known battery conservation. It manages to maintain a smooth ui for your average daily use.
https://copy.com/9k0rfu4iWKiO
Project Icarus by @mamba720027
So some may wonder why the name "Icarus",why not Hyper Performance or Deadly Good Battery.
Well the reason and to begin explination,short history.
Icarus is a greek mythology who is seen today as a mythical pioneer that tried to conquer the skies.
I like that mythology cause it kinda corresponds to my own saying "fly high or fall hard" which means to aim high or fail trying. So their you have it folks and thus the profile name "Icarus".
And onto explination of each profiles.
The first is "Performance" which is catered for straight out performance with also good battery performance.
This one is for when u dont give a rats flying balls about battery really and just want everything super fast and smooth. But you maybe surprise of battery performance. I recommend everyone try this profile first. My current favorite
The second is "Conservative" this is for those seeking performance but also better battery performance than the first.
This one is the middle man or lady as u may want to refer to it. It gives the best of both worlds,performance and battery. So if the first leave you stranded then fear not, this is the one to turn too
The third is "Kamikaze" which means "god wind". It either knocks the daylight out of your Galaxy S4 due to its high undervolteing and mean intent on Battery Performance but still snappy.
This one the undervolting is of my personal voltage table that runs stable for me with other tweaks. If it runs successfully for anyone else then battery performance may be great.
This one is for those that likes the thrill of trying something new and unsure if it will work
Click to expand...
Click to collapse
https://copy.com/dbSIz
Undisputed 3 (updated: 12~11~13)
This is a universal performance setup in which combines the essential elements of other profiles by providing equal battery life, speed, performance, and stability to bring the ultimate experience to your device.
https://copy.com/H0FUiELjgegB
ECLIPSE v2 (updated: 10~25~13)
This is a performance oriented option where great battery life is also expected to intervene. This not only will bring an incredibly stable, smooth, and snappy feel to your device but will also benefit towards longer lasting battery so you can love and enjoy your phone the way you were meant to.
https://copy.com/fgFWgW30IE38
Asking Alexandria
Another battery driven profile in which focuses on saving as much juice as possible while also maintaining stability and providing an extremely snappy feel to your phone. It is quite possibly one of the smoothest and snappiest battery saving profiles available.
Why Asking Alexandria?
It's named after yet another one of my top favorite metalcore bands and I chose this because Alexander The Great basically ruled the world at one point and "Alexandria" is the female equivalent to that name, which has become known to mean the "one who comes to save warriors".
"Asking" was an addition to the title name as an indication in the sense that we are all asking Alexandria what she can really do to our phone.
https://copy.com/71YlyrO7WWqc
Project Daylight v2 by @mamba720027 (updated: 12~23~13)
Day Light is focused mainly on battery conservation. I felt that its useless if its not smooth and lags alot so I add performance into the mix createing a profile that offers both while its first and foremost goal "battery performance" is still preserved and not diminish. This profile is yet unique and on a different level from my early release of "Icarus"
The contents are 3 profiles unique in their own way, "Daylight", "Daybreak" and "Experimental" along with a "Extra" folder containing wallpapers I created on our S4 for fun while testing . Kind of gives me some inspiration and sense of feel of what my objective is.
Daybreak is a crossbread profile of my Icarus Performance profile and Daylight. Its simply utilizing the performance power behind Icarus Performance profile while useing Daylight profile governor settings as its core to boost battery performance
The experimental profile is heavily undervolted/Underclocked with tweaked scheduler and governor. I taught if some of you could run it stable then it may produce great or mix results
Click to expand...
Click to collapse
https://copy.com/QK7LMmtp44sU
What Lies Beneath
This is an extreme battery performance setup in which essentially transforms your quad-core device into a dual core device.
Why "What Lies Beneath"?
You'll find that during light to moderate operations the cpu remains at lower frequencies for an extended period of time and will only jump to max when needed. Although it's clocked at a max of 1.3ghz it maintains a surprisingly smooth and snappy feel to your device at such low frequencies. This is where battery life is also expected to come in to play as well.
https://copy.com/PXAKKLMFdNDU
Ktoonsified v2 (updated: 12~23~13)
This profile was put together by none other than the BOSS himself, @ktoonsez! This is a performance oriented option in which also offers a great deal of battery life. Haven't tried these settings yet? then what are you waiting for!! Load em up and be prepared for one of the smoothest and snappiest experiences ever!
https://copy.com/4l4JOq9iSPQy
Sleeping Dragon by @mamba720027 (updated: 12~23~13)
Sleeping Dragon V2 Single Core
This is a single core profile aimed at consumeing the least battery for a time when you will be away from home or at work and away from the charger. It was a profile i played with at first as i did not expect it to mount as much with apps and system UI needing a right amount of performance from a CPU to meet todays tasks in performance. In the end i was able to tame the dragon and make it work as best as possible to achieve its goal
Sleeping Dragon V1 Quad-Core
This is the counter part of Sleeping Dragon V2 but with many tweaked parameters to make it a fully functional 4 Core base profile in hopes to achieve close or same battery performace as its single core entity. Unfortunately i still am not sure if it measures up but what i know from previous test with settings @Stock it hold its own in battery department. I am pleased with the results although i would wish to see some light usage results from users.I must give credits to Luigi for useing parts from his Balanced Bull Script, and Undisputed 3 Script and part from my Crimson Dragon Script. I am pleased to present users with this 4 Core or Quadcore profile
Click to expand...
Click to collapse
https://copy.com/hr1vhwiX7ux8
Smooth Operator v3 by @mamba720027 (updated: 12~23~13)
This profile utalize all 4 cores on demand and serves as being a balance between battery and performance. Its as smooth as possible and utalize the full cpu power while operateing sensibly in governor scaleing.
Click to expand...
Click to collapse
https://copy.com/R9Ldl
Hydra
Eclipse and Kamikaze clash with one another in this hybrid profile (BIG thanks to @mamba720027 for the amazing work done on Kamikaze!). This is perfect for those who favor one or both of these profiles. With the merging of some of the essential performance and battery elements of each profile as well as a few minor adjustments, this one also stands as it's own profile and it flies!.
https://copy.com/p2BLOBe4bb3X
Ghost Rider by @galaxys3man30
this setup can benchmark on 1890,1944 and 1998 and its been really good on battery even thou its a performance setup think im going to call it ghost rider cuz its a sleeper yea it shows good battery life but behind that is the raw performance that is on demand when needed.
Click to expand...
Click to collapse
https://copy.com/gEFAiosVLBqI
*Stardust v2* by @mamba720027 (updated: 12~7~13)
This Profile I put together is based on the "AbyssplugV2" governor.
Everything is tweaked and the profile can run by itself or either use the "smooth operator V2" Script or Luigi's "Hydra" Script.
Both are found in Post#8 of the OP. The choice is yours.
Click to expand...
Click to collapse
https://copy.com/siLoOsdy3FKp
Crimson Dragon by @mamba720027
This is a profile that i put together from a lost in the thread Dual Core profile "Lazy Dragon". What was suppose to be a V2 Update of it turned into a 4 Core profile and something totally new, Crimson Dragon. This profile is a variable of Performace and keeping things balance. Its very smooth on TW and produce great results on AOSP as well threw testing and feedback. Please enjoy this new addition :good:
Click to expand...
Click to collapse
https://copy.com/1OBdtbnfDE9M
mine 2
one more for the road
Op updated
Sent from my SPH-L720 using Tapatalk 4
The link to at least the flashable recoveries goes to a Galaxy S3 thread.
That is pretty dangerous to link to that from here as someone is going to try and flash those on his GS4 without reading thoroughly first.
If your first post is a work in progress and you just copied from your gs3 thread to get the formatting you should put a big disclaimer at the top warning people not to use what they fins here until you are done.
Just dont want to see someone yelling at you because they werent careful about what they flashed.
Sent from my SGH-M919 using xda app-developers app
Skipjacks said:
The link to at least the flashable recoveries goes to a Galaxy S3 thread.
That is pretty dangerous to link to that from here as someone is going to try and flash those on his GS4 without reading thoroughly first.
If your first post is a work in progress and you just copied from your gs3 thread to get the formatting you should put a big disclaimer at the top warning people not to use what they fins here until you are done.
Just dont want to see someone yelling at you because they werent careful about what they flashed.
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
@Skipjacks fixed good sir thanks for the heads up
Sent from my SPH-L720 using Tapatalk 4
galaxys3man30 said:
@Skipjacks fixed good sir thanks for the heads up
Sent from my SPH-L720 using Tapatalk 4
Click to expand...
Click to collapse
You just know some goofball would have flashed an S3 kernel and bricked his phone and come here blaming you saying "Well yeah I saw it was for the S3, but you linked it in the S4 thread so I figured I was safe! It's your fault!"
Theres an aroma bug i am facing, if i try to scroll down soon it wont let me, i get taken to first choice.
---------- Post added at 09:20 PM ---------- Previous post was at 09:17 PM ----------
also, after flashing this when i go to boot, it says ROM may flash stock recovery , this cannot be undone...
mgbotoe said:
Theres an aroma bug i am facing, if i try to scroll down soon it wont let me, i get taken to first choice.
---------- Post added at 09:20 PM ---------- Previous post was at 09:17 PM ----------
also, after flashing this when i go to boot, it says ROM may flash stock recovery , this cannot be undone...
Click to expand...
Click to collapse
I have this on my international S4 so you have confirmed both GS4 models have been effected. It's aroma itself. I'll let @RErick know and hopefully one day aroma has better touch drivers for us.
For now try this method I have been doing. Hold a finger low on the screen and drag up but do not let go with that finger. With your other hand, use a finger to tap the selections you could not get to. This helps where before you'd scroll and let go and you would be back where screen position started. Hopefully that helps eek the install through. For each section you must hit none for all installs you would like to skip or the installer will not continue as you go through the options.
Please continue reporting issues, this is greatly appreciated.
mw86 said:
I have this on my international S4 so you have confirmed both GS4 models have been effected. It's aroma itself. I'll let @RErick know and hopefully one day aroma has better touch drivers for us.
For now try this method I have been doing. Hold a finger low on the screen and drag up but do not let go with that finger. With your other hand, use a finger to tap the selections you could not get to. This helps where before you'd scroll and let go and you would be back where screen position started. Hopefully that helps eek the install through. For each section you must hit none for all installs you would like to skip or the installer will not continue as you go through the options.
Please continue reporting issues, this is greatly appreciated.
Click to expand...
Click to collapse
Great thank you ^.^
Working good so far btw I think lol, I have not gotten the chance of looking at ktz original setting, i flashed you guy's tweak after the first boot. Will post up a screenshot up in a min here of everything i got so far. I choose the AOSP balance setting in the aroma I believe it was suppose to be with ktoonservativeq and noop? but when I booted it was row..(so im not sure if settings were actually flashed or not?) I know for sure buildprop was edited.
Also, can I get some information about the section with crossbreeder? Is crossbreeder install alone? Because in that section of the aroma it gave you option to uninstall, I did not choose that, I believe I choose the first option. So that means crossbreeder is install along yes?
Battery seems good I believe. 1 hour screen time with 14% battery of normal use is not bad at all
Benchmark not as good as I had hope for a balance setting. But they rarely matters for me so its not that big of a deal
Sent from my SGH-M919 using Tapatalk 4
mgbotoe said:
Great thank you ^.^
Working good so far btw I think lol, I have not gotten the chance of looking at ktz original setting, i flashed you guy's tweak after the first boot. Will post up a screenshot up in a min here of everything i got so far. I choose the AOSP balance setting in the aroma I believe it was suppose to be with ktoonservativeq and noop? but when I booted it was row..(so im not sure if settings were actually flashed or not?) I know for sure buildprop was edited.
Also, can I get some information about the section with crossbreeder? Is crossbreeder install alone? Because in that section of the aroma it gave you option to uninstall, I did not choose that, I believe I choose the first option. So that means crossbreeder is install along yes?
Click to expand...
Click to collapse
The ktweaker back ups should be labeled but are not yet. They are from GS3 I should get some GS4 ones with RErick in about two weeks. I would try Raw Intellects file he posted some posts back for more performance via kernel settings.
I would try setting noop again if that is your preferred scheduler. It is always great on battery.
If you have 99TKmod and 98Cron in your intid our systctrl loaded as well.
Yes based on your selection you have the stock crossbreeder mod installed. I will get you link for info on crossbreeder. The uninstall is included for users with the stock crossbreeder installed and want to install our tweaks, both included crossbreeder versions were modded to work with our whole setup, the one labeled modified though only has entropy generation enabled and extra crossbreeder features disabled such as dns boost/tether boost/adblock and governor tweaks of which for some users have caused lots of issues so we included a version which after second boot on modified crossbreeder version is finished being setup automatically but must wait about 4-5min to be sure the scriot for it ran before reboot. So for you with the stock crossbreeder installed which has been made fully compatible with our setup, you are all set and should be running as normal for you.
Ill get link here for crossbreeder thread for info for you.
http://forum.xda-developers.com/showthread.php?t=2113150
[MOD] CrossBreeder - 7.2.13 -Lag-/Entropy+/DNS+/Tether+/Ads-/Censors-/.bit support!!
---------- Post added at 02:18 PM ---------- Previous post was at 02:16 PM ----------
mgbotoe said:
Battery seems good I believe. 1 hour screen time with 14% battery of normal use is not bad at all
Benchmark not as good as I had hope for a balance setting. But they rarely matters for me so its not that big of a deal
Sent from my SGH-M919 using Tapatalk 4
Click to expand...
Click to collapse
Looks good. Temps can greatly effect bench scores and also a balanced setup will always score when good for battery about those ranges. For more performance you can try @rawintellect setup for ktweaker gs4 version few posts back.
Pretty sweet battery if I must say so myself.
Sent from my SGH-M919 using Tapatalk 4
Lil now I feel like I'm just spamming but....sweet mod this is! For all who says aosp and alike have worst battery than tw...well...this mod will fix that with ktz. Still got 10 percent left! Can easily get 30 min on that!
Sent from my SGH-M919 using Tapatalk 4
mgbotoe said:
Lil now I feel like I'm just spamming but....sweet mod this is! For all who says aosp and alike have worst battery than tw...well...this mod will fix that with ktz. Still got 10 percent left! Can easily get 30 min on that!
Sent from my SGH-M919 using Tapatalk 4
Click to expand...
Click to collapse
Wow, that's impressive!
Sent from my SGH-M919 using xda app-developers app
Skipjacks said:
You just know some goofball would have flashed an S3 kernel and bricked his phone and come here blaming you saying "Well yeah I saw it was for the S3, but you linked it in the S4 thread so I figured I was safe! It's your fault!"
Click to expand...
Click to collapse
Your are exactly correct buddy I sure dont want that in my threads for sure if I got the time this weekend I will edit all the threads for the s4 with s4 stuff but our mod and tweaks are really universal in most ways but I can see where ur coming from thou buddy thx again for the heads up
Sent from my SPH-L720 using Tapatalk 4
mgbotoe said:
Lil now I feel like I'm just spamming but....sweet mod this is! For all who says aosp and alike have worst battery than tw...well...this mod will fix that with ktz. Still got 10 percent left! Can easily get 30 min on that!
Sent from my SGH-M919 using Tapatalk 4
Click to expand...
Click to collapse
@mgbotoe your not spaming the thread this is what I need to get people to see this works and that we know what we are doing with kernel and gov tweaks
Sent from my SPH-L720 using Tapatalk 4
galaxys3man30 said:
@mgbotoe your not spaming the thread this is what I need to get people to see this works and that we know what we are doing with kernel and gov tweaks
Sent from my SPH-L720 using Tapatalk 4
Click to expand...
Click to collapse
Haha sweet, well im about to test this magic out on wicked. I generally do not get good battery with that rom but since than i have changed my phone so (it was buggy)...will report back for TW set up later
mgbotoe said:
Haha sweet, well im about to test this magic out on wicked. I generally do not get good battery with that rom but since than i have changed my phone so (it was buggy)...will report back for TW set up later
Click to expand...
Click to collapse
Cool thank you for testing it on other roms for us for the tmo community
Sent from my SPH-L720 using Tapatalk 4

[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