[Team Kernelizers][How To][SPR][TK MOD 1.0.4]KT747 Kernel Tweaks-Updated 5-14-13 - Sprint Samsung Galaxy S III

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.

Related

[Kernel][ICS] Devil2_0.94 [24/05/12] - i9000 and i9000B

This kernel is based on teamhacksung's kernel, with updated Linux base to 3.1.10
Kernel working for Teamhacksung build 13 to 17 (+ nightlies) and also ICSSGS RC3/4.
Features:
- Brain **** cpu-scheduler (BFS) (this should be much faster than the default cpu scheduler) will be back later
- 378, 391 and 403 Mb Ram available (selectable in kernel, no need for a patch (403 mb breaks 720p) only reboot required)
- 2 different recoveries included (cmw touch recovery + twrp recovery)
- SIO scheduler (default)
- V(R) scheduler (maybe even faster than SIO, can be set as default by using NSTools for example)
- init.d
- Voodoo Sound and CM9 Color Adjusment / Voodoo Color (VC version)
- Devil Idle
- BLN V9 (thx to mialwe)
- USB Host mode driver (for more information about this, and for saying thanks to the guy, who ported this for our phone, please visit this thread: http://forum.xda-developers.com/showthread.php?t=1450298 )
-Ezekeel's Live_Oc
- Ezekeel's Deep Idle V2
- Touchwake
- vibrator intensity control (by mialwe)
- BLX (Batterie Life Extender, I don't think we need it, but maybe one feels better by using it )
- backports from Linux 3.2
- Swap/Zram support
- Zcache, Cleancache and Frontswap
- Smooth_ui included to ondemand, conservative, smartass, lulzactive, lagfree and lazy governor (only one setting for activating/deactivating it in general)
- 3 cpu governor presets (smooth, normal, powersave) for ondemand, conservative, smartass, lulzactive, lagfree (only one setting for switching the mode in general)
- many other small features and improvements
Changelog and FAQ in post 2
Click to expand...
Click to collapse
Many of the features (like Live_OC) require NSTools, which can be found at market for free.
Please also try this app http://forum.xda-developers.com/showthread.php?p=22430406, for setting many of the options which are only available with my kernel.
a pre configured file for use with command center can be found here: http://forum.xda-developers.com/showpost.php?p=26621026&postcount=5272 (you have to remove .zip extension)
a good explination/example of how to use it, can be found here: http://forum.xda-developers.com/showpost.php?p=26301176&postcount=4842
if you don't like additional apps (or are having problems with command center), i recommend using this init.d script: http://forum.xda-developers.com/showpost.php?p=26683004&postcount=5346
Click to expand...
Click to collapse
Kernels with VC in the name are coming with Voodoo Color
I try to support this kernel as good as possible, but due to family and university, I do not have much time, so please be kind, if it takes a little bit longer till I will answer your questions.
Many Thanks to:
Teamhacksung
Zacharias.maladroit
Onecosmic
ytt3r
TK Glitch
Ezekeel
Eugene373
franciscofranco
Sunra
scheichuwe
perka
sztupy, for his great work, to get usb host mode driver
mialwe
stratosk
F4k for the idea to flash bigmem libs
...
sources:
https://github.com/DerTeufel
If you like my work, please donate to me
Devil2 kernel up now:
http://devil.haxer.org/ many thanks to SysTem-X
http://rootaxbox.no-ip.org/divers/ many thanks to Rootax
Changelog:
changelog 24.05.2012:
- Smooth_ui included to ondemand, conservative, smartass, lulzactive, lagfree and lazy governor (only one setting for activating/deactivating it in general)
- 3 cpu governor presets (smooth, normal, powersave) for ondemand, conservative, smartass, lulzactive, lagfree (only one setting for switching the mode in general)
- no need for activating/deactivating of selective live_oc anymore --> just change target low and target high
- BLX back in
- fixes to devil idle to be more stable while in call
- 1,5 mb more ram (thanks to mialwe)
- added aroma filemanager to cwm recovery
- added fully working TWRP recovery optional to cwm recovery (to use TWRP, just create a file named "twrp" at /cache)
- added option to select ram config in kernel --> no need for flashing an other kernel to get more ram (thanks to stratosk)
you can change ram setting by doing (or use command center or similar):
echo 1 > /sys/kernel/bigmem/enable (this gives you xl mem of 391 mb)
echo 2 > /sys/kernel/bigmem/enable (this gives you bm mem of 403 mb (this is breaking 720p))
echo 0 > /sys/kernel/bigmem/enable (this gives you cm9 default mem of 378 mb)
you have to reboot to make changes work
Click to expand...
Click to collapse
- switched to new initramfs from stratosk and mialwe ( now there will be cmw zip and odin tar file of every kernel version)
- added possibility to use Zram instead of Swap
- no need for flashing/using special scripts to make swap/zram working anymore
echo 1 > /data/local/swap_use (for using swap partition on external sd card, you have to create this partition before)
echo 2 > /data/local/swap_use (for using Zram, no other modifications required)
you have to reboot to make changes active. You can't use swap and Zram at the same time
Click to expand...
Click to collapse
- added zcache
- added frontpage
- added cleancache
- added fudgeswap (thanks to ezterry and faux123)
we will add in fudgeswap as long as its less then the free swap
Setting this to a very large positive number will indicate swap ought
to be fully used as free (and will slow the system down)
smaller numbers will allow you to put some pressure on SWAP without
slowing the system down as much.
small negitive numbers will allow the system to be faster at the same
minfree level.
default is 512 to give a very little bit of pressure to use some swap
but this can be modified at runtime via:
/sys/module/lowmemorykiller/parameters/fudgeswap
Click to expand...
Click to collapse
changelog 01.05.2012:
- all changes from cm9 stock kernel (including mount points option)
- some fine tuning to deadline and sio
- Devil Idle: limiting bus/ram/gpu speed to 100 mhz for 100-800 mhz cpu freq, while screen off (automatic mode) or always (permanet), both modes automatically reduce the int voltages of the affected freq by 50 mV
activate automatic:
echo 1 > /sys/devices/virtual/misc/devil_idle/bus_limit_automatic
deactivate automatic
echo 0 > /sys/devices/virtual/misc/devil_idle/bus_limit_automatic
permanet on:
echo 1 > /sys/devices/virtual/misc/devil_idle/bus_limit_enable
permanet off
echo 0 > /sys/devices/virtual/misc/devil_idle/bus_limit_enable
Click to expand...
Click to collapse
- compiled with swap support
- added stratosk's smooth_ui to lulzactive governor (activated by default)
activate:
echo 1 > /sys/devices/system/cpu/cpufreq/lulzactive/smooth_ui
deactivate
echo 0 > /sys/devices/system/cpu/cpufreq/lulzactive/smooth_ui
with this feature enabled, cpu freq jumps up to max freq, by touching the screen.
Click to expand...
Click to collapse
- rest oc_value to 100 while screen off, and back when screen turns on (combined with devil idle automatic, can't be turn on/off without devil idle)
- added posibility for different voltages while screen off (also bundled with devil_idle, with default settings, stock arm voltages are applied, because of live_oc set to 100)
this is an example, how to apply screen_off arm voltages:
echo 1450 1400 1350 1275 1075 975 875 800 > /sys/class/misc/customvoltage/arm_volt_screenoff
this way, it is possible to undervolt while screen off, but overvolt and overclock while screen on
for now, the int voltages can not be changend
Click to expand...
Click to collapse
- added the possibility to set freq limits while screen off (min and max freq)
echo 100000 > /sys/devices/virtual/misc/devil_idle/user_min
echo 800000 > /sys/devices/virtual/misc/devil_idle/user_max
both are independent from devil_idle, and get applied when screen turns off
by default 100 and 1000 mhz are set.
values which can be puth here are all "stock" freq (without live_oc level) multiplied with 1000. live_oc values get applied automatically.
Click to expand...
Click to collapse
19.04.2012
- even better fix to selective live_oc (last one (in test kernel) generated some overhead)
- fixed sampling rate of ondemand and conservative (have ported mialwe's/stratosk's sleep multipliers)
- new tunables for ondemand and conservativ
sleep multiplier and tunables:
mialwe and stratosk had the great idea, to change the sampling rate of conservative and ondemand governor while display of. for this, he introduced the sleepmultiplier (in his case factor 3). this means, if you set sampling rate to 20000, it changes to 60000 while screen off, and back, when screen on.
for ondemand and conservative:
i have made this multipliers tunable. proper values are between 1 and 5, because one could want a higher multiplier while screen off, if sampling rate is very low while screen on (higher sampling rate means, less checking for work load --> better batterie, worse performance). with this tunables you get better batterie, without making the performance worse while screen on.
two other tunables: up_threshold_min_freq and responsiveness_freq
the first one is a very low threshold while on low freq (by default 40), to make the governor scale up faster, until the responsiveness_freq is reached.
the responsiveness_freq is set to 400000 (400 mhz) by default. while the freq is below this value, up_threshold is the same as up_threshold_min_freq, and freq jumps to responsiveness_freq, with skipping the freq between the actual one and the responsiveness_freq. (conservative governor does not jump up to this step)
responsiveness_freq can be set to values between 100000 and 1400000
up_threshold_min_freq can be set to the same values as the normal up_threshold.
not tunable: while screen off, up_threshold is set to 95, no matter your other settings, to save more batterie.
till now, the tunables have to be changend by:
echo VALUE > /sys/devices/system/cpu/cpufreq/ondemand/VARIABLE_NAME
and
echo VALUE > /sys/devices/system/cpu/cpufreq/conservative/VARIABLE_NAME
example:
echo 400000 > /sys/devices/system/cpu/cpufreq/ondemand/responsiveness_freq
echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_min_freq
echo 5 > /sys/devices/system/cpu/cpufreq/ondemand/sleep_multiplier
up_threshold_min_freq is disbaled by default for conservative governor
(this can be done by setting the up_threshold_min_freq to 100.
for ondemand, this also disables the additional jump to the responsivenss freq)
Click to expand...
Click to collapse
for lulzactive:
for this governor, i did similar things, but they are not tunable till now.
when screen off:
- inc_cpu_load is set to 90, and back to the original value, when screen turns on
- up_sample_time is set to 50000, and back to the original value, when screen turns on
- down_sample_time is set to 40000, and back to the original value, when screen turns on
other changes:
- fix to touchwake from ezekeel, and another fix from stratosk
- upstream fix to compass
- building for i9000B now, too (big thanks to F4k for the hints by pn )
- removed some typos from recovery
- removed some annoying "no's" and "yes" from recovery in misc menu
- fixed wifi mode switch (pm_fast is the one with better signal)
14.04.2012:
- new b versions (only stock ram) changend to 377 mb, VC version needs the 720p fix from my ftp server. cmc version already patched
13.04.2012:
- updated wifi driver
- added the possibility to switch between wifi PM_Fast and PM_Max mode (Pm_Fast = better signal, PM_Max = better batterie, default is PM_Max)
echo 1 > sys/module/bcmdhd/parameters/uiFastWifi (pm_fast)
echo 0 > sys/module/bcmdhd/parameters/uiFastWifi (pm_max)
Click to expand...
Click to collapse
- user interface to disable fsync (this gives more performace, at the risk of data loss on a crash, taken from ezekeel, so it should be ok ), default is off, to be safe
echo 1 > /sys/devices/virtual/misc/fsynccontrol/fsync_enabled (fsync enabled)
echo 0 > /sys/devices/virtual/misc/fsynccontrol/fsync_enabled (fsync disabled)
Click to expand...
Click to collapse
to make this settings apply after reboot, select them from recovery --> devil --> misc
- fixed voodoo color kernels (these have the VC in their names)
10.04.2012:
- added vibrator intensity control (by mialwe), presets can be changend in recovery
- stock ram version now available (348 mb ram), XL (390 mb), XL_bm (402 mb)
- removed 1080 mhz freq for now
- small correction to touchwake
- small correction to selective live_oc (now the low freq really are not live_oc'ed)
to change the vibrator intensity on the fly, you have to do the following:
Code:
echo [B]value [/B]> /sys/class/timed_output/vibrator/duty (where value is between 20000 and 43640)
if you want the changes to be applied at boot, you have to use one of the presets from recovery, use an init.d script, or:
echo [B]value [/B]> /etc/devil/vibrator (where value is between 20000 and 43640)
05.04.2012:
- fixed bug in selective live_oc, which caused the target high not taking affect to the highest freq, if highest freq equals target high
- fixed another bug in selective live_oc, which could lead to gpu crashes due to overclocking the ram, but not the cpu freq (for low steps)
- added a switch to change between "normal" and selective live_oc
(can be changend in recovery, devil menu --> performace --> liveoc,
or by (this won't stay after reboot):
Code:
echo 1 > /sys/devices/virtual/misc/liveoc/selective_oc (selective mode)
echo 0 > /sys/devices/virtual/misc/liveoc/selective_oc (normal mode)
by changing the live_oc mode while using it, live_oc value is set back to 100, to prevent strange things
- added possibility to set max. freq for boot (in recovery). This freq is set until init.d is executeted (it is automatically set to 1000 at this point, to make sure there are no conflicts with other cpu settings from users)
#Already in the last version, but i forgot about it:
- deep idle fixes from stratosk (many thanks)
- added possibility to underclock by using live_oc (limit is 90 now, which means lowering all freq and bus speed by 10%, to save more batterie when really needed)
03.04.2012:
For now there are three different RAM versions:
- stock mem kernel has 379 mb ram, everything working
- "slim ics" (XL) kernel comes with 390 mb, this is breaking playback of some high resolution videos
- XL_BM is coming with 402 mb ram, but breaking 720p
(while flashing the kernel, the modded rom files are also flashed, so you don't need to flash a new rom to get 379 or 390 mb)
-added new frequency: 1080 mhz (1100 does not like live_oc)
- fixed SmartassV2 for live_oc (after changing live_oc value, you have to change the smartass values, too, but then they automatically apply to the live_oc value (although you can only select 800 mhz in nstools (for example))
- touch recovery with custom devil menu (for some reason it takes a few seconds to load the first time, missing virtual keys is a warning, because there are no virtual keys yet)
-fast charge (thx to chad0989 for this), disabled by default.
activate fast charge:
Code:
echo 1 > /sys/kernel/fast_charge/force_fast_charge
deactivate fast charge
Code:
echo 0 > /sys/kernel/fast_charge/force_fast_charge
you also can use the widget from chad (to place on homescreen) to toggle the fast_charge mode
https://play.google.com/store/apps/d...stchargewidget
Click to expand...
Click to collapse
while fast charge is activated you cannot connect as usb device
- added datafix script to init.d (this script is deactivated by deafult. to make it work, you have to creat a file named datafix and placed in /data/local/)
- reworking and cleaning many parts to get more ram, speed, and stability
05.03.2012:
- updated sio i/o scheduler to latest version
- small updates to ondemand and conservative governor from linux 3.2
- bettter performance for CFS kernel due to tuning and patches
- tuning to deadline scheduler
- better i/o performance
- changed bootlogo (probably not the last time )
28.02.2012
- finally working bln V9 (no need for LED2 anymore)
- fixed lockscreen freezes
- reverted memory tweaks, which could be the reason for lagging after using a day
- again wlan fixes from tk-glitch
- tweaked conservative and ondemand governor (conservative still is not too aggressive)
- added dm-cache again (who has removed this from my github? )
- improve usb signal quality
- xcaliburinhand's dock audio support (untested, do not have a dock)
- less debugging
- fixed kernel version not displayed under "about phone"
12.02.2012
- Added newest Fiops scheduler (tuned for more performance)
- When Gpu is active, min CPU freq is set to second lowest step
- fixes to live_oc and custom voltage
- default mount parameter NOATIME and NODIRATIME (faster)
- updated Wifi drivers (thanks to tk-glitch)
- tuned intellidemand for better performance
- removed some stuff (zram, swap, tweaks to cpufreq untill I know what was causing the instabilities of last build)
05.02.2012
- added Touchwake
- added BLX
- upgraded BLN from V8 to V9 (working for missed calls, blinking or static light, configurabel by using NSTools or BLN Pro App)
- added Intellidemand governor
- added mdnie settings to voodoo color version
- readded deep idle v2 again (I think it is the best/only working one, although
- version with CFS (instead of BFS) now also available (maybe better multitasking and batterie life, but slower)
- removed BFQ I/O Scheduler
- tons of smaller fixes and improvements
30.01.2012
-revert: Voodoo Sound now to be set with DSP Manager
29.01.2012
- Linux kernel 3.1.10
- Deep Idle from Eugene373 (always enabled, no stats)
- added BFQ v 3.1 I/O Scheduler
- Voodoo Sound now to be set with DSP Manager
- Zram (can be disabled by removing Zram file from init.d)
- Zcache and Cleancache (not working yet?)
- optimized rwsem algorithm
- USB Host V5
24.01.2012
- init.d support (the folder is not created by the kernel. You have to do it for yourself)
- Deep Idle V2 back in
- new Cpu governors: MinMax, Lagfree, Lulzactiv
- LED V2 (you can set blinking by using nstools, also working for missed calls in most cases (sometimes it is not working for missed calls, don't know why at the moment))
- Backlight Dimmer (only LED version): used to turn led backlight of, while screen is on, after defined period of time. Deactivating it, makes your backlight stay on all the time
- I/O-less dirty throttling completely backported from kernel 3.2
- Ext4 with 3.2 patches
- Proportional Rate Reduction for TCP - by Google
- USB Host V 4
19.01.2012
- Usb Host drivers integrated
- Cm9 Color adjustment
- Removed Deep Idle because of Bluetooth problems (hopefully it will come back, still testing)
16.01.2012:
- Updated Kernel basis to Linux 3.1.9
15.01.2012:
- fixed bug in cpu spy, caused by live_oc
- still using voodoo color for now, maybe two additional kernel versions tomorrow
Click to expand...
Click to collapse
Questions and Answers:
Q: What are BFS and CFS?
A: The Brain **** Scheduler (BFS) is a task scheduler designed for the Linux kernel in August of 2009 as an alternative to the Completely Fair Scheduler and the O(1) scheduler.[2] BFS was created by veteran kernel programmer Con Kolivas.[3]
The objective of BFS, compared to other schedulers, was to provide a scheduler with a simpler algorithm, that did not require adjustment of heuristics or tuning parameters to tailor performance to a specific type of computation workload. The BFS author asserted that these tunable parameters were difficult for the average user to understand, especially in terms of interactions of multiple parameters with each other, and claimed that the use of such tuning parameters could often result in improved performance in a specific targeted type of computation, at the cost of worse performance in the general case.[4] BFS has been reported to improve responsiveness on light-NUMA (non-uniform memory access) Linux mobile devices and desktop computers with fewer than 16cores.
Q: Is BLN is not working for sms?
A: It is working, but you have to disable "turn screen on" in your sms app.
Q: What the hell are all these governors?
A: here you should find the answer: http://forum.xda-developers.com/showthread.php?p=19846297
Q: What's a good setup for live_oc??
A: No one knows. Every phone is different. It seems like the folling setup is running well for some (many?) users. If you get reboots with it, you have to find the setup for yourself.
if you are satisfied with this configuration, please hit the thanks button of Crack: http://forum.xda-developers.com/showpost.php?p=22194160&postcount=1246
.:Crack:. said:
OK, these are mine. Rock stable
LiveOC 117% -> 1200 MHz -> 1404 MHz
Freq/ARM/Init
1200/1400/1150
1000/1325/1125
800/1250/1125
400/1025/1100
200/900/1100
100/875/1000
low freqs could possibly be tweaked harder but stability was my fist goal
Click to expand...
Click to collapse
Q: How can I set up swap?
A: Take a look at this thread: http://forum.xda-developers.com/showthread.php?t=1610835, and especially at this post:
http://forum.xda-developers.com/showpost.php?p=25578231&postcount=83
Q: What is Touchwake? Can you explain it?
A: With Touchwake, the touchscreen still recognices your fingers, after turning off (for a predefined time (NSTools)). For a detailed explenation, take a look at Ezekeel's thread: http://forum.xda-developers.com/showthread.php?t=1239240
Q: How can I make Voodo Color settings been saved after reboot?
A: You have to use Voodoo Pro App, because of changes between Gingerbread and ICS, and only the Pro app is updated till now.
Q: Which is the best IO Scheduler?
A: I think SIO and V(R) are the fastest.
Q: How can I enable DeepIdle/Live_Oc?
A: You have to use NSTools. You find it on market. It's free.
Deep Idle Questions:
Q: What's the meaning of TOP=Off and TOP=On when I look at the Deep Idle status?
A: When TOP=Off is used, the best powersaving state is used. TOP=ON will be shown, when bluetooth or gps are running.
Q: In Idle status I only see TOP=On. What's wrong here? I don't use Bluetooth or Gps.
A: You have to flash the modded framework-res.apk, because ICS does not fully deactivate bluetooth by default. Even if you never use it.
Q: Idle Stats only are showing Idle, but no Deep Idle. Why?
A: An App is preventing the use of Deep Idle. At first, you should try closing the cam, running in the background. Also rebooting should solve this problem.
Q: Which CPU governor is the best for use with Deep Idle?
A: As Ezekeel stated, one should use LAZY
What about init.d support?
This looks great, exactly what I wanted. Testing now, will report back.
update: everything installed perfectly, running well. Still testing stability.
Thank I will test it right now
.:Crack:. said:
What about init.d support?
Click to expand...
Click to collapse
no, it is not working.
DerTeufel1980 said:
no, it is not working.
Click to expand...
Click to collapse
Might want to look at Glitch's Sources for that
Edit:
https://github.com/GlitchKernel/Glitch
Getting a lot of soft resets. Screen goes black, I'm kicked back to lock screen, and everything slowly gets loaded back into RAM.
Everything standard, no tweak, deep sleep activated (and modded framework flashed).
Camera Zoom
Great kernel! , Deep idle working fine
However it looks like either the kernel or the framework patch broke camera zoom
How to see if Deep Idle is working? I flashed the zip and enabled, after 20minutes it still show only Idle in stats.
darristan said:
How to see if Deep Idle is working? I flashed the zip and enabled, after 20minutes it still show only Idle in stats.
Click to expand...
Click to collapse
Enable it with nstools
great kernel one of the best. any chance of deep idle fix for ICS rom rc3? =) haven't found it yet
Sent from my GT-I9000 using xda premium
jelle2503 said:
great kernel one of the best. any chance of deep idle fix for ICS rom rc3? =) haven't found it yet
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
i will talk to onecosmic later. he has to change it in sources, because scheichuwe was not abled to modify his framework-res.apk
DerTeufel1980 said:
This kernel is based on teamhacksung's Linux kernel 3.08 for i9000 only.
Features:
- Brain **** cpu-scheduler (BFS) (this should be much faster than the default cpu scheduler)
- SIO scheduler (default)
- V(R) scheduler (maybe even faster than SIO, can be set as default by using NSTools for example)
- 337 mb Ram available (720p recording working)
- Voodoo Sound and Voodoo Color (Voodoo Color will be replaced by Pawit's color adjustment with coming build 14, because it will also contain gamma manipualtion)
- Neldar's BLN (for blinking, BLN Pro App needs to be used, known issue: After blinking for the specified time, leds turn off)
-Ezekeel's Live_Oc (I recommend not to go higher than 115% because of overclocked GPU)
- Ezekeel's Deep Idle V2 (you have to flash the attatched modded framework-res.apk, to make this fully working, because ICS is preventing Bluetooth to really shut down)
- many other small features and improvements
For enableling Deep Idle or using Live_OC, you have to use NSTools, which can be found at market for free.
Don't flash the modded framework-res.apk on Onecosmic's rom!
It is taken from perka, and only working for teamhacksung's build.
I try to support this kernel as good as possible, but due to family and university, I do not have much time, so please be kind, if it takes a little bit longer till I will answer your questions.
Many Thanks to:
Teamhacksung
Zacharias.maladroit
Onecosmic
ytt3r
TK Glitch
Ezekeel
scheichuwe (he modded the framework-res.apk)
...
sources:
https://github.com/DerTeufel
Click to expand...
Click to collapse
sorry,differences between the two files are only led and bln?and never undertsnad if deep idle is enabled on stock kernel of pawtip,beacuse my battery life it's ok..
Please read what you quoted. All answers are there.
Specifically:
- Ezekeel's Deep Idle V2 (you have to flash the attatched modded framework-res.apk, to make this fully working, because ICS is preventing Bluetooth to really shut down).
Please READ before posting.
That's a nice kernel. Deep sleep 100% wow!!...great job, mate.
Very, very good..
my wifi dosnt work, the on and off button just keeps flashing on and off constantly, tried flashing several times, even clean wipe and no luck, i also get a random offset every time i install teamhacksung ics, the offset is always different
Funkstar De Luxe said:
Getting a lot of soft resets. Screen goes black, I'm kicked back to lock screen, and everything slowly gets loaded back into RAM.
Everything standard, no tweak, deep sleep activated (and modded framework flashed).
Click to expand...
Click to collapse
Maybe you should wipe caches. I released the kernel 2 days ago in German forum, for stability testing, and no one reported this before
@silitek: this is a bug of CPU spy, due to liveoc. I have to fix this in the next version.
Sent from my I9000 running Android 4.03
Funkstar De Luxe said:
Please read what you quoted. All answers are there.
Specifically:
- Ezekeel's Deep Idle V2 (you have to flash the attatched modded framework-res.apk, to make this fully working, because ICS is preventing Bluetooth to really shut down).
Please READ before posting.
Click to expand...
Click to collapse
I mean,without flash deep idle framework,kernel work like pawtip one for battery?
thiskar said:
my wifi dosnt work, the on and off button just keeps flashing on and off constantly, tried flashing several times, even clean wipe and no luck, i also get a random offset every time i install teamhacksung ics, the offset is always different
Click to expand...
Click to collapse
The random offset is a new google security feature. Nothing to worry about. It SHOULD be different each time, 'cos it's random innit...

[Kernel][ICS] Devil3_1.4.1 [07/09/12] - i9000 and i9000B

This kernel is based on teamhacksung's kernel, with updated Linux base to 3.0.42
This kernel is working with every ICS based Rom
Many Thanks to:
Teamhacksung
Zacharias.maladroit
Onecosmic
ytt3r
TK Glitch
Ezekeel
Eugene373
franciscofranco
Sunra
scheichuwe
perka
sztupy, for his great work, to get usb host mode driver
mialwe
stratosk
F4k for the idea to flash bigmem libs
...
sources:
https://github.com/DerTeufel
Click to expand...
Click to collapse
Working on this kernel is taking many hours almost every day. With a small donation, you show me, that my work is appreciated by you.
If you like this kernel, please donate to me
Download link and changelog can be found here:
http://www.hellybean.com/ics.html
Click to expand...
Click to collapse
Kernels with VC in the name are coming with Voodoo Color
Changelog:
newer changelog can be found here:
http://www.hellybean.com/ics.html
changelog 02.08.2012:
- bug fix to bln, to prevent kernel panic in some situations (thx to thalamus)
- switched from deep_idle 2 to idle2 (also thx to thalamus)
- updated kernel to linux 3.0.38
- dockaudio sysfs for captivate and fascinate
- automated symlinking from data to system: if one wants to free up some space at /system, without removing an app completely, just copy it from /system/app to /data/sys-parts/app (create the folder if not there), and reboot. during reboot, the app from system gets deleted, and the app from /data/sys-parts/app gets symlinked to system. this is working for almost every app, but i don't recommend doing this with apps, needed for android to work (framework, media provider, settings,...)
IDLE2 can be enabled with the following command:
echo 0 > /sys/module/cpuidle/parameters/idle2_disabled
IDLE2 can be disabled with the following command:
echo 1 > /sys/module/cpuidle/parameters/idle2_disabled
Stats can be obtained from the standard cpuidle interface, which, for
IDLE2 is located at:
/sys/devices/system/cpu/cpu0/cpuidle/state*/time
where * = 1, 2, 3
changelog 25.07.2012:
- updated recovery (no "sdcard format"-bug anymore, external sd card is named correctly)
- vibrant: hopefully fixed froyo ril
- jellybean: galaxy s settings working now
changelog 22.07.2012:
This kernel is for use with ICS only, if you are looking for a kernel, running on teamhacksung cm10 build, visit my jellybean kernel thread[/url]
- updated kernal base to linux 3.0.36
- updated "block" to linux 3.3
- readded fiops io scheduler (kept cfq this time)
- updated cwm recovery to 6.0.1.0 (please create a new nandroid, because of possible incompatibilities between old/new recovery)
- compiled with linaro toolchain (gcc 4.7.1) and O3 compiler flags
- made uksm scan less often (save cpu time and power)
- at first boot: only delte init.d scripts created by other kernels
- increased usb write performance
- lowered ram and display voltages a little bit
- fixed some bugs related to devil settings (they should stick now after reboot, if set by one of the devil apps)
- support for scripts in /system/etc/shutdown.d (thx to Efpophis)
all scripts placed at /data/local/shutdown.d or /system/etc/shutdown.d get executed at shutdown/reboot
you can use this, to play a shutdown sound for example.
by default 00shutdown gets created, which plays a music file, when it is placed at one of these folders/places
/system/media/audio/ui/shutdown.ogg
/data/media/audio/ui/shutdown.ogg
Click to expand...
Click to collapse
- disabled some debugging options
- audio (and for fascinate: camera fixes) by Efpophis+
- patch for improving batterie life by CML
- nfts read/write driver built in (for use with usb host mode)
- reverted refreshrate_mod and gpu_oc mod, as both weren't working
changelog 18.06.2012:
- some changes to load balancing
- added ultra ksm (metioned by zach thx for this my friend)
- readded fiops io scheduler (still experimental and could cause instablilities)
- using snappy compression for zram now (2 times faster, but only 2% less compression)
- added the possibility to change zram size (at /data/local/devil/zram_size, with valid values: 50, 75, 100 and 150 (all in mb))
- fixed the applying of user_min/max freq after reboot
- vibrant: fixed gps
- fascinate: fixed nandroid in cwm recovery
what is ksm? http://en.wikipedia.org/wiki/Kernel_SamePage_Merging_(KSM)
uksm is more optimized and also working for single core systems. using this should give much better ram usage, but at the cost of more cpu usage
############# most probably not working (yet)##############
i have added seperate gpu oc from jt1134's galaxy_tab (to switch between 200 and 250 mhz), but i did not get any improvements in antutu...further tests needed
echo 1 > /sys/kernel/pvr_oc/pvr_oc (for 250 mhz)
echo 0 > /sys/kernel/pvr_oc/pvr_oc (for 200 mhz), no reboot needed
and also have changend default screen refreshrate from 60 to 56, with the possibility to change it:
echo 1 > /sys/kernel/refreshrate/enable (60 hz)
echo 0 > /sys/kernel/refreshrate/enable (56 hz)
######################################################
changelog 10.06.2012:
cwm recovery:
- fixed mounting of external sd card to pc
kernel:
- picked two commits from linux 3.0.32 (avoid a possible memory leak, small fix to ext4 driver)
fascinate:
- fixed wrong mount points
changelog 09.06.2012:
- updated Zram and Zcache from linux 3.3
- updated android binder driver from linux 3.3
- fixed restoring of backups within TWRP recovery
- added virtual buttons to cwm recovery (Attention: they still don't work!)
- call vol hack from tk glitch (take a look at init.d folder and edit the script to make changes to call vol hack)
- bigmem values get applied at first boot after power on (if there is a value at /data/local/devil/bigmem, 1 for 391 mb and 2 for 403 mb (the last one breaks 720p)
- prevent phantom key presses (from tk glitch)
changelog 24.05.2012:
- Smooth_ui included to ondemand, conservative, smartass, lulzactive, lagfree and lazy governor (only one setting for activating/deactivating it in general)
- 3 cpu governor presets (smooth, normal, powersave) for ondemand, conservative, smartass, lulzactive, lagfree (only one setting for switching the mode in general)
- no need for activating/deactivating of selective live_oc anymore --> just change target low and target high
- BLX back in
- fixes to devil idle to be more stable while in call
- 1,5 mb more ram (thanks to mialwe)
- added aroma filemanager to cwm recovery
- added fully working TWRP recovery optional to cwm recovery (to use TWRP, just create a file named "twrp" at /cache)
- added option to select ram config in kernel --> no need for flashing an other kernel to get more ram (thanks to stratosk)
- switched to new initramfs from stratosk and mialwe ( now there will be cmw zip and odin tar file of every kernel version)
- added possibility to use Zram instead of Swap
- no need for flashing/using special scripts to make swap/zram working anymore
- added zcache
- added frontpage
- added cleancache
- added fudgeswap (thanks to ezterry and faux123)
changelog 01.05.2012:
- all changes from cm9 stock kernel (including mount points option)
- some fine tuning to deadline and sio
- Devil Idle: limiting bus/ram/gpu speed to 100 mhz for 100-800 mhz cpu freq, while screen off (automatic mode) or always (permanet), both modes automatically reduce the int voltages of the affected freq by 50 mV
- compiled with swap support
- added stratosk's smooth_ui to lulzactive governor (activated by default)
- rest oc_value to 100 while screen off, and back when screen turns on (combined with devil idle automatic, can't be turn on/off without devil idle)
- added posibility for different voltages while screen off (also bundled with devil_idle, with default settings, stock arm voltages are applied, because of live_oc set to 100)
- added the possibility to set freq limits while screen off (min and max freq)
19.04.2012
- even better fix to selective live_oc (last one (in test kernel) generated some overhead)
- fixed sampling rate of ondemand and conservative (have ported mialwe's/stratosk's sleep multipliers)
- new tunables for ondemand and conservativ
sleep multiplier and tunables:
mialwe and stratosk had the great idea, to change the sampling rate of conservative and ondemand governor while display of. for this, he introduced the sleepmultiplier (in his case factor 3). this means, if you set sampling rate to 20000, it changes to 60000 while screen off, and back, when screen on.
for ondemand and conservative:
i have made this multipliers tunable. proper values are between 1 and 5, because one could want a higher multiplier while screen off, if sampling rate is very low while screen on (higher sampling rate means, less checking for work load --> better batterie, worse performance). with this tunables you get better batterie, without making the performance worse while screen on.
two other tunables: up_threshold_min_freq and responsiveness_freq
the first one is a very low threshold while on low freq (by default 40), to make the governor scale up faster, until the responsiveness_freq is reached.
the responsiveness_freq is set to 400000 (400 mhz) by default. while the freq is below this value, up_threshold is the same as up_threshold_min_freq, and freq jumps to responsiveness_freq, with skipping the freq between the actual one and the responsiveness_freq. (conservative governor does not jump up to this step)
responsiveness_freq can be set to values between 100000 and 1400000
up_threshold_min_freq can be set to the same values as the normal up_threshold.
not tunable: while screen off, up_threshold is set to 95, no matter your other settings, to save more batterie.
up_threshold_min_freq is disbaled by default for conservative governor
for lulzactive:
for this governor, i did similar things, but they are not tunable till now.
when screen off:
- inc_cpu_load is set to 90, and back to the original value, when screen turns on
- up_sample_time is set to 50000, and back to the original value, when screen turns on
- down_sample_time is set to 40000, and back to the original value, when screen turns on
other changes:
- fix to touchwake from ezekeel, and another fix from stratosk
- upstream fix to compass
- building for i9000B now, too (big thanks to F4k for the hints by pn )
- removed some typos from recovery
- removed some annoying "no's" and "yes" from recovery in misc menu
- fixed wifi mode switch (pm_fast is the one with better signal)
14.04.2012:
- new b versions (only stock ram) changend to 377 mb, VC version needs the 720p fix from my ftp server. cmc version already patched
13.04.2012:
- updated wifi driver
- added the possibility to switch between wifi PM_Fast and PM_Max mode (Pm_Fast = better signal, PM_Max = better batterie, default is PM_Max)
- user interface to disable fsync (this gives more performace, at the risk of data loss on a crash, taken from ezekeel, so it should be ok ), default is off, to be safe
- fixed voodoo color kernels (these have the VC in their names)
10.04.2012:
- added vibrator intensity control (by mialwe), presets can be changend in recovery
- stock ram version now available (348 mb ram), XL (390 mb), XL_bm (402 mb)
- removed 1080 mhz freq for now
- small correction to touchwake
- small correction to selective live_oc (now the low freq really are not live_oc'ed)
05.04.2012:
- fixed bug in selective live_oc, which caused the target high not taking affect to the highest freq, if highest freq equals target high
- fixed another bug in selective live_oc, which could lead to gpu crashes due to overclocking the ram, but not the cpu freq (for low steps)
- added a switch to change between "normal" and selective live_oc
by changing the live_oc mode while using it, live_oc value is set back to 100, to prevent strange things
- added possibility to set max. freq for boot (in recovery). This freq is set until init.d is executeted (it is automatically set to 1000 at this point, to make sure there are no conflicts with other cpu settings from users)
#Already in the last version, but i forgot about it:
- deep idle fixes from stratosk (many thanks)
- added possibility to underclock by using live_oc (limit is 90 now, which means lowering all freq and bus speed by 10%, to save more batterie when really needed)
03.04.2012:
For now there are three different RAM versions:
- stock mem kernel has 379 mb ram, everything working
- "slim ics" (XL) kernel comes with 390 mb, this is breaking playback of some high resolution videos
- XL_BM is coming with 402 mb ram, but breaking 720p
(while flashing the kernel, the modded rom files are also flashed, so you don't need to flash a new rom to get 379 or 390 mb)
-added new frequency: 1080 mhz (1100 does not like live_oc)
- fixed SmartassV2 for live_oc (after changing live_oc value, you have to change the smartass values, too, but then they automatically apply to the live_oc value (although you can only select 800 mhz in nstools (for example))
- touch recovery with custom devil menu (for some reason it takes a few seconds to load the first time, missing virtual keys is a warning, because there are no virtual keys yet)
-fast charge (thx to chad0989 for this), disabled by default.
you also can use the widget from chad (to place on homescreen) to toggle the fast_charge mode
https://play.google.com/store/apps/d...stchargewidget
Click to expand...
Click to collapse
while fast charge is activated you cannot connect as usb device
- added datafix script to init.d (this script is deactivated by deafult. to make it work, you have to creat a file named datafix and placed in /data/local/)
- reworking and cleaning many parts to get more ram, speed, and stability
05.03.2012:
- updated sio i/o scheduler to latest version
- small updates to ondemand and conservative governor from linux 3.2
- bettter performance for CFS kernel due to tuning and patches
- tuning to deadline scheduler
- better i/o performance
- changed bootlogo (probably not the last time )
28.02.2012
- finally working bln V9 (no need for LED2 anymore)
- fixed lockscreen freezes
- reverted memory tweaks, which could be the reason for lagging after using a day
- again wlan fixes from tk-glitch
- tweaked conservative and ondemand governor (conservative still is not too aggressive)
- added dm-cache again (who has removed this from my github? )
- improve usb signal quality
- xcaliburinhand's dock audio support (untested, do not have a dock)
- less debugging
- fixed kernel version not displayed under "about phone"
12.02.2012
- Added newest Fiops scheduler (tuned for more performance)
- When Gpu is active, min CPU freq is set to second lowest step
- fixes to live_oc and custom voltage
- default mount parameter NOATIME and NODIRATIME (faster)
- updated Wifi drivers (thanks to tk-glitch)
- tuned intellidemand for better performance
- removed some stuff (zram, swap, tweaks to cpufreq untill I know what was causing the instabilities of last build)
05.02.2012
- added Touchwake
- added BLX
- upgraded BLN from V8 to V9 (working for missed calls, blinking or static light, configurabel by using NSTools or BLN Pro App)
- added Intellidemand governor
- added mdnie settings to voodoo color version
- readded deep idle v2 again (I think it is the best/only working one, although
- version with CFS (instead of BFS) now also available (maybe better multitasking and batterie life, but slower)
- removed BFQ I/O Scheduler
- tons of smaller fixes and improvements
30.01.2012
-revert: Voodoo Sound now to be set with DSP Manager
29.01.2012
- Linux kernel 3.1.10
- Deep Idle from Eugene373 (always enabled, no stats)
- added BFQ v 3.1 I/O Scheduler
- Voodoo Sound now to be set with DSP Manager
- Zram (can be disabled by removing Zram file from init.d)
- Zcache and Cleancache (not working yet?)
- optimized rwsem algorithm
- USB Host V5
24.01.2012
- init.d support (the folder is not created by the kernel. You have to do it for yourself)
- Deep Idle V2 back in
- new Cpu governors: MinMax, Lagfree, Lulzactiv
- LED V2 (you can set blinking by using nstools, also working for missed calls in most cases (sometimes it is not working for missed calls, don't know why at the moment))
- Backlight Dimmer (only LED version): used to turn led backlight of, while screen is on, after defined period of time. Deactivating it, makes your backlight stay on all the time
- I/O-less dirty throttling completely backported from kernel 3.2
- Ext4 with 3.2 patches
- Proportional Rate Reduction for TCP - by Google
- USB Host V 4
19.01.2012
- Usb Host drivers integrated
- Cm9 Color adjustment
- Removed Deep Idle because of Bluetooth problems (hopefully it will come back, still testing)
16.01.2012:
- Updated Kernel basis to Linux 3.1.9
15.01.2012:
- fixed bug in cpu spy, caused by live_oc
- still using voodoo color for now, maybe two additional kernel versions tomorrow
Click to expand...
Click to collapse
further changelog updates only on the website
Known issues:
- virtual buttons in cwm recovery not working
i9000(b) specific:
nothing
Click to expand...
Click to collapse
How to:
you can change ram setting by doing the following ( to make these settings even stick after power off, you also have to echo the same value to to /data/local/devil/bigmem):
echo 1 > /sys/kernel/bigmem/enable (this gives you xl mem of 391 mb)
echo 2 > /sys/kernel/bigmem/enable (this gives you bm mem of 403 mb (this is breaking 720p))
echo 0 > /sys/kernel/bigmem/enable (this gives you cm9 default mem of 378 mb)
you have to reboot to make changes work
Click to expand...
Click to collapse
With setting this, your desired swap mode gets automatically applied at boot time. For swap, you have to create a swap partition at your external sd card before
echo 1 > /data/local/swap_use (for using swap partition on external sd card, you have to create this partition before)
echo 2 > /data/local/swap_use (for using Zram, no other modifications required)
you have to reboot to make changes active. You can't use swap and Zram at the same time
Click to expand...
Click to collapse
These are the settings for devil idle:
activate automatic:
echo 1 > /sys/devices/virtual/misc/devil_idle/bus_limit
permanent on:
echo 2 > /sys/devices/virtual/misc/devil_idle/bus_limit
deactivate
echo 0 > /sys/devices/virtual/misc/devil_idle/bus_limit_automatic
Click to expand...
Click to collapse
to set different voltages while screen off (this only is working, if devil idle automatic mode is activated)
this is an example, how to apply screen_off arm voltages:
echo 1450 1400 1350 1275 1075 975 875 800 > /sys/class/misc/customvoltage/arm_volt_screenoff
this way, it is possible to undervolt while screen off, but overvolt and overclock while screen on
for now, the int voltages can not be changend
Click to expand...
Click to collapse
set freq limits while screen off (min and max freq)
enable the limits:
echo 1 > /sys/devices/virtual/misc/devil_idle/user_min_max_enable
disable:
echo 0 > /sys/devices/virtual/misc/devil_idle/user_min_max_enable
set values to be applied if activated:
echo 100000 > /sys/devices/virtual/misc/devil_idle/user_min
echo 800000 > /sys/devices/virtual/misc/devil_idle/user_max
both are independent from devil_idle, and get applied when screen turns off
by default 100 and 1000 mhz are set.
values which can be put here are all "stock" freq (without live_oc level) multiplied with 1000. live_oc values get applied automatically.
Click to expand...
Click to collapse
to set responsiveness_freq, up_threshold_min_freq or sleep_multiplier for ondemand and/or conservative governor, you have to do it like this:
echo VALUE > /sys/devices/system/cpu/cpufreq/ondemand/VARIABLE_NAME
and
echo VALUE > /sys/devices/system/cpu/cpufreq/conservative/VARIABLE_NAME
example:
echo 400000 > /sys/devices/system/cpu/cpufreq/ondemand/responsiveness_freq
echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_min_freq
echo 5 > /sys/devices/system/cpu/cpufreq/ondemand/sleep_multiplier
up_threshold_min_freq is disbaled by default for conservative governor
(to disable it for ondemand you have to set up_threshold_min_freq to 100.
Click to expand...
Click to collapse
switch between wifi PM_Fast and PM_Max mode (Pm_Fast = better signal, PM_Max = better batterie, default is PM_Max)
echo 1 > sys/module/bcmdhd/parameters/uiFastWifi (pm_fast)
echo 0 > sys/module/bcmdhd/parameters/uiFastWifi (pm_max)
Click to expand...
Click to collapse
user interface to disable fsync (this gives more performace, at the risk of data loss on a crash, taken from ezekeel), default is on, to be safe
echo 1 > /sys/devices/virtual/misc/fsynccontrol/fsync_enabled (fsync enabled)
echo 0 > /sys/devices/virtual/misc/fsynccontrol/fsync_enabled (fsync disabled)
Click to expand...
Click to collapse
to set the values for vibrator intensity:
echo value > /sys/class/timed_output/vibrator/duty (where value is between 20000 and 43640)
if you want the changes to be applied at boot, you have to use one of the presets from recovery, use an init.d script, or:
echo value > /etc/devil/vibrator (where value is between 20000 and 43640)
Click to expand...
Click to collapse
activate fast charge: echo 1 > /sys/kernel/fast_charge/force_fast_charge
Click to expand...
Click to collapse
deactivate fast charge
echo 0 > /sys/kernel/fast_charge/force_fast_charge
you also can use the widget from chad (to place on homescreen) to toggle the fast_charge mode
https://play.google.com/store/apps/d...stchargewidget
Click to expand...
Click to collapse
while fast charge is activated you cannot connect as usb device
Click to expand...
Click to collapse
Questions and Answers:
Q: What the hell are all these governors?
A: here you should find the answer: http://forum.xda-developers.com/showthread.php?p=19846297
Q: What's a good setup for live_oc??
A: No one knows. Every phone is different. It seems like the folling setup is running well for some (many?) users. If you get reboots with it, you have to find the setup for yourself.
if you are satisfied with this configuration, please hit the thanks button of Crack: http://forum.xda-developers.com/showpost.php?p=22194160&postcount=1246
.:Crack:. said:
OK, these are mine. Rock stable
LiveOC 117% -> 1200 MHz -> 1404 MHz
Freq/ARM/Init
1200/1400/1150
1000/1325/1125
800/1250/1125
400/1025/1100
200/900/1100
100/875/1000
low freqs could possibly be tweaked harder but stability was my fist goal
Click to expand...
Click to collapse
Q: How can I set up swap?
A: Take a look at this thread: http://forum.xda-developers.com/showthread.php?t=1610835, and especially at this post:
http://forum.xda-developers.com/showpost.php?p=25578231&postcount=83
Q: What is Touchwake? Can you explain it?
A: With Touchwake, the touchscreen still recognices your fingers, after turning off (for a predefined time (NSTools)). For a detailed explenation, take a look at Ezekeel's thread: http://forum.xda-developers.com/showthread.php?t=1239240
Q: How can I make Voodo Color settings been saved after reboot?
A: You have to use Voodoo Pro App, because of changes between Gingerbread and ICS, and only the Pro app is updated till now.
Q: Which is the best IO Scheduler?
A: I think SIO and V(R) are the fastest.
Q: How can I enable DeepIdle/Live_Oc?
A: You have to use NSTools. You find it on market. It's free.
Deep Idle Questions:
Q: How can I activate the deep idle stats?
echo 1 > /sys/class/misc/deepidle/stats_enabled
Q: What's the meaning of TOP=Off and TOP=On when I look at the Deep Idle status?
A: When TOP=Off is used, the best powersaving state is used. TOP=ON will be shown, when bluetooth or gps are running.
Q: In Idle status I only see TOP=On. What's wrong here? I don't use Bluetooth or Gps.
A: You have to flash the modded framework-res.apk, because ICS does not fully deactivate bluetooth by default. Even if you never use it.
Q: Idle Stats only are showing Idle, but no Deep Idle. Why?
A: An App is preventing the use of Deep Idle. At first, you should try closing the cam, running in the background. Also rebooting should solve this problem.
Q: What is fudgeswap?
A:
Setting this to a very large positive number will indicate swap ought
to be fully used as free (and will slow the system down)
smaller numbers will allow you to put some pressure on SWAP without
slowing the system down as much.
small negitive numbers will allow the system to be faster at the same
minfree level.
default is 512 to give a very little bit of pressure to use some swap
but this can be modified at runtime via:
/sys/module/lowmemorykiller/parameters/fudgeswap
why new thread?
damn it, I'm on CM7....
and I want to try your kernel!
CM7 seems to be the stables and fastest for now :\
A very good changelog
I'll give a try when it's done.
@orenzah : Did you try CM9 or SlimICS (for example) ?
Because, I think ICS is really stable for daily use.
For the new thread, I think it's because, now it's Devil3 and not Devil2 anymore.
salem94 said:
A very good changelog
I'll give a try when it's done.
@orenzah : Did you try CM9 or SlimICS (for example) ?
Because, I think ICS is really stable for daily use.
For the new thread, I think it's because, now it's Devil3 and not Devil2 anymore.
Click to expand...
Click to collapse
because it is devil3, i wanted to have a third post for infos, and the other already got really big...
what is it zram?
{
"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"
}
you're the best Teufel!
dawidk750i said:
what is it zram?
Click to expand...
Click to collapse
ZRam
Zram is better or swap ?
Scheduler
I just flashed Devil3, thanks. Question though - in devil 2, my scheduler was SIO by default, as listed in the feature list, and I always left it like that. After flashing devil3, it's now CFQ. I haven't run benchmarks yet or anything, but noticed the feature list for Devil3 still says SIO by default. Is the default now changed to CFQ? I'm not sure which is the best scheduler to run - CFQ, SIO or VR? I will benchmark, just wanted to hear recommendation as well.
Tx!
- Goatblaster
wow new thread
thx for the update for the best kernel
---------- Post added at 04:05 PM ---------- Previous post was at 04:02 PM ----------
Goatblaster said:
I just flashed Devil3, thanks. Question though - in devil 2, my scheduler was SIO by default, as listed in the feature list, and I always left it like that. After flashing devil3, it's now CFQ. I haven't run benchmarks yet or anything, but noticed the feature list for Devil3 still says SIO by default. Is the default now changed to CFQ? I'm not sure which is the best scheduler to run - CFQ, SIO or VR? I will benchmark, just wanted to hear recommendation as well.
Tx!
- Goatblaster
Click to expand...
Click to collapse
IMHO sio is the best in real life and benchmarks
there is no need for an updated devil.json file right?
salem94 said:
A very good changelog
I'll give a try when it's done.
@orenzah : Did you try CM9 or SlimICS (for example) ?
Because, I think ICS is really stable for daily use.
For the new thread, I think it's because, now it's Devil3 and not Devil2 anymore.
Click to expand...
Click to collapse
yup, i tried both of them...
slim was faster, but I keep feel something is missing... on smothness and stabling... like temple run is working smother on CM7 with glitch and I can reach such of those freq's of course, another thing it's seems that the battery drain is better on CM7...
if things were changed in the last weeks than maybe I will give another shot
dawidk750i said:
Zram is better or swap ?
Click to expand...
Click to collapse
well its difficult to tell: swap kills the SD card eventually (NAND is not meant to do continuous re-writes) , ZRam uses only RAM (so its safe for SD) but generates more CPU usage...
didicola said:
there is no need for an updated devil.json file right?
Click to expand...
Click to collapse
no need, the last one works perfectly!
Coming from Semaphore I'm not quite sure where to select the appropriate memory config for the 391 MB version (there used to be seperate versions available to download but now it's just one version). Can't find it in neither NS Tools or Recovery.
There's also one big issue I'm facing regarding video playback. 720p video playback with the 378 MB kernel is not working at all, with both MoboPlayer (w/ codec) nor the stock player, and that's an MP4 file at that (so no codec should even be required). Any help on that?
Also, Any over clock of any sort (live OC or not), renders MoboPlayer useless and it crashes in the first couple of seconds when I open a video file and it reboots.
Still, props for developing this kernel as I do find it to be slightly faster than Semaphore.
didicola said:
there is no need for an updated devil.json file right?
Click to expand...
Click to collapse
if u want to use cc u still need it
---------- Post added at 04:59 PM ---------- Previous post was at 04:54 PM ----------
ballsofsteel said:
Coming from Semaphore I'm not quite sure where to select the appropriate memory config for the 391 MB version (there used to be seperate versions available to download but now it's just one version). Can't find it in neither NS Tools or Recovery.
There's also one big issue I'm facing regarding video playback. 720p video playback with the 378 MB kernel is not working at all, with both MoboPlayer (w/ codec) nor the stock player, and that's an MP4 file at that (so no codec should even be required). Any help on that?
Also, Any over clock of any sort (live OC or not), renders MoboPlayer useless and it crashes in the first couple of seconds when I open a video file and it reboots.
Still, props for developing this kernel as I do find it to be slightly faster than Semaphore.
Click to expand...
Click to collapse
bro did u read the OP
- bigmem values get applied at first boot after power on (if there is a value at /data/local/devil/bigmem, 1 for 391 mb and 2 for 403 mb (the last one breaks 720p)
just go to data/local/devil and creat text file called bigmem then open it if u want Xl ram just type 1 and save file then reboot then u will have 391 ram with patched libs for 720p
new thread?
dhurk said:
new thread?
Click to expand...
Click to collapse
Because now its devil3
Gesendet von meinem GT-I9000 mit Tapatalk 2
dhurk said:
new thread?
Click to expand...
Click to collapse
For heaven's sake, READ THE previous page!
Yes, a new Thread, obviously, & Derteufel already answered why
We don't want a thread full of repeat posts
Hey,
DerTeufel thank you so much for your sense 4.0 kernel!!
Cheers,

Tutorial for Optimal Performance settings

[ROOT] Guide for increasing Performance significantly on One V
CPU-
The HTC One V processor (MSM8255) is designed* to be set at 1.4Ghz, it is safe to overclock to that range. Never under clock below 245Mhz. If your battery temp exceeds 114.3 degrees Fahrenheit (45.7 degrees Celsius) then you will need to revert to a lower clock rate, but that shouldn't happen
I/O Scheduler/Governor-
Best settings is Deadline in combination with SmartAssv2/LionHeart.
General-
-Its recommended animations in developer settings are turned off or turned down to 0.5x speed
-Turning off vibrate sounds/feedback will help with processor load in heavy situations (minor differences)
-Setting the launcher to 3 screens instead of 5
-Crossbreeder Mod contains a large amount of tweaks, if you use this mod you will see major performance improvements, Kernel Same Page Merging may be turned on with this device in settings, dont worry about extra CPU cycles or battery life drop, corssbreeder does it all. Just reboot into recovery and flash the .zip file on top of your existing ROM
-Enable KSM (Kernel same page merging) for better gaming experience and RAM utilization, compliments well with crossbreeder
Quick Summary-
-Overclock to 1.4Ghz (CPU is designed for this clockrate)
-Install Crossbreeder
-Reduce Launcher homescreens to 3
-Turn off haptic feedback
-Change I/O scheduler to Deadline
-Change CPU Governor to SmartAssV2
-Turn animations off or to 0.5x
Results
Antutu Benchmark (3 consecutive tests on each ROM, stock is control)
Stock- 2,515
RythmicRom w/o optimizations-3456
RythmicRom with optimizations-5143 (48.9% increase in performance from stock with CM 10.1 based ROM)
I'm on RC3.5 rom and just installed this script. It is really faster, the UI is more responsive now and makes internet connection smooth. However, it looks like will take a bit more time to boot up the system.
Remember to change the echo 256 > /proc/sys/kernel/random/write_wakeup_threshold to echo 16 > /proc/sys/kernel/random/write_wakeup_threshold, it is located in /etc/CrossBreeder/zzCrossBreeder
16 or 64 is recommended in the Crossbreeder thread now, the default 256 will introduce lag. Personally, I've changed it to 16.
Thanks for this ! Very helpful!
TheEndHK said:
I'm on RC3.5 rom and just installed this script. It is really faster, the UI is more responsive now and makes internet connection smooth. However, it looks like will take a bit more time to boot up the system.
Remember to change the echo 256 > /proc/sys/kernel/random/write_wakeup_threshold to echo 16 > /proc/sys/kernel/random/write_wakeup_threshold, it is located in /etc/CrossBreeder/zzCrossBreeder
16 or 64 is recommended in the Crossbreeder thread now, the default 256 will introduce lag. Personally, I've changed it to 16.
Click to expand...
Click to collapse
Hi, thanks for this. How do you open the file in an editable form? I can open (in Jota) it, but it refuses to save the change - presumably because I haven't opened it as a root user.
Oli.
zcacogp said:
Hi, thanks for this. How do you open the file in an editable form? I can open (in Jota) it, but it refuses to save the change - presumably because I haven't opened it as a root user.
Oli.
Click to expand...
Click to collapse
I'm still on 5.21.13, the new ver drains more battery and more buggy but it might be more faster. You can edit it so you already got root access right, you forgot to mount the /etc as writeable in root explorer so it won't save.
As the OP guide, I use sio as I/O scheduler. I don't suggest to use Deadline because it has the read priority 2X over write which is too slow for our microSD. It's only good when you use internal flash memory all the times like One X/One S/One, or else you never write somethings into microSD.
thanks I updated a few things and fixed that link
I get the score 6543 on antutu benchmark with mysense rc3.5 rom at 1.7ghz clock speed and governor - performance....i/o scheduler - bfq
Smooth as awesome
Sent from my HTC One V using xda premium
Here's my latest test I know this thread is old but I'm excited
I'm on Curtis slim bean ROM min freq 300 max 1.7 GHz tweaked with team kernelizers operation killjoy tweak script
My governor is set to smart...v2 I/o is set to deadline
As a oh heck if I need it I have set CPU to under clock automatically if my temp reaches roughly 115f which I believe is 44 or 45 celcius.
Sent from my immorality and my HTC One V using Tapatalk 2 sponsored by the letter mmm donuts... DOH!

[KERNEL] Bricked-Kernel Hammerhead | Sweep2wake | KnockKnock/Dt2w

Welcome to the most customizable N5 kernel on xda
Bricked-Kernel Nexus 5 (hammerhead)​
Features:
* Based upon Google's msm 3.4 source
* Various fixes, improvements and optimizatios (look @ github)
* Compiled with gcc4.7.2 toolchain (linaro 09.12)
* -O3+ optimized
* Snapdragon & CortexA15 optimizations
* replaced qcom's hotplug binary with msm_mpdecision (IN-KERNEL, better battery life + performance)
* Extensive sysfs interface for mpdecision with all the tuneables you want (/sys/kernel/msm_mpdecision/)
* replaced qcom's thermal binary with my IN-KERNEL solution. (/sys/kernel/msm_thermal/)
* export krait version to: /sys/kernel/debug/krait_variant
* Allow OC up to 2,5Ghz
* Allow UC to 96Mhz
* Undervolting (faux123)
* F2FS Support
* Multirom Support
* KCAL (savoca) & Gamma Control (faux123)
* Sound Control (faux123)
* Default clocks: 300 Mhz min & 2265,6 Mhz max
Zip features:
*** ON-THE-FLY-RAMDISK EDITS!
*** THIS KERNEL USES YOUR RAMDISK, it will just modify it on the fly while flashing. These changes are not creating any incompatibilities with roms/other kernels.
* removes min freq overrides from the ramdisk
* removes governor overrides from the ramdisk
* adds init.d support to your ramdisk (if not already supported)
* modifies stock ondemand settings
* add module insertion
Check the compare links for the rest ​
Where is tha Changelog???
There will be no more changelogs.
Instead the download pages were outfitted with compare links to github for each download.​
What is sweep2wake?
Disabled as default, activate through an app like KControl or over sysfs: echo 1 > /sys/android_touch/sweep2wake​
What is doubletap2wake / knock knock?
Disabled as default, activate through an app like KControl or over sysfs: echo 1 > /sys/android_touch/doubletap2wake​
How to install?
Flash through recovery. #done.​
How to uninstall?
Flash this:
http://bricked.de/downloads/kernel/hammerhead/bricked_uninstaller_hammerhead.zip
You are done. Bye.​
Where to complain about errors/bugs?
Please use the Issuetracker for bugs/errors/feature wishes!
Issuetracker @ https://github.com/showp1984/bricked-hammerhead/issues
[email protected]
IRC Chat: Freenode IRC #bricked​
Download:
No Guarantees! If it kills your grandmother or your device, I am NOT responsible! If you understand this:
(If you download, please hit Thanks below my post! Thank you!)
>>> DOWNLOAD <<<​
Donation Hall-of-Fame:​
> Hall of fame <
Thank you very much!​
Stock 4.4 Nexus5 boot.img - flash this if you come from another kernel coming with it's own ramdisk (eg: zip contains a *.img file) ONLY FLASH ON 4.4
Source:
​
What is msm_thermal?
Kernel based 3-phase thermal control!
This replaces your /system/bin/thermal-engine-hh binary which is renamed by the installer to thermal-engine-hh_bck.
It will throttle your cpu speed to keep it cool and unleash it if the cpu has cooled down enough. (3 phases: low, mid and high)
Check /sys/kernel/msm_thermal/conf/ for the thermal configuration
allowed_max_high = highest threshold (phase 3)
allowed_max_low = remove the throttling if we cooled down to this (clr_thrshold)
allowed_max_freq = max frequency if throttled (limit)
[...]mid[...] = same as above, just for phase 2
[...]low[...] = Lowest threshold (phase 1)
check_interval_ms = how often shall we check? (sampling rate)
shutdown_temp = if we reach this shut down the device!
If you want to see msm_thermal doing it's job:
Code:
adb shell
cat /proc/kmsg | grep 'thermal'
What is msm_mpdecision?
100% kernel based multi core decision! (should cpu1/2/3 be online or not?)
This replaces your /system/bin/mpdecision binary which is renamed by the installer to mpdecision_bck.
Check /sys/kernel/msm_mpdecision/conf/ for the configuration.
startdelay = time until mpdecision starts doing it's magic (20000)
delay = time between checks (130)
pause = if something else plugs in the cpu, fall asleep for 10000ms (10 secs)
scroff_single_core = if the screen is off, don't plug in cpu1/2/3. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
min_cpus = min cpus to be online, cannot be < 1. Default: 1
max_cpus = max cpus to be online, cannot be > 4. (if you set it to 2 and min_cpus to 1 you will basically have a dualcore) Default: 4
idle_freq = a value against that will be checked if a core +/- is requested. (499200)
If cpu0 is below that value and a core up of another cpu is requested, nothing will happen.
If any other cpu is above that value and a core down of that cpu is requested, nothing will happen. (otherwise it would now put down that cpu even though it is still working, which isn't what we want)
Hot plug thresholds (aka now it gets 'complicated')
This small formula calculates which value will be used: (number_of_cpus_online - 1) * 2
The result of this formula will be the nwns_threshold where a new cpu is hotplugged.
The result of this formula + 1 will be the nwns_threshold where a cpu is unplugged.
nwns_threshold_x = runqueue threshold, if this is reached cpuX will be hot/unplugged
twts_threshold_x = time threshold, this amount of time must have passed for the related action to be taken (hot/unplug)
Example:
One cpu is online.
(1 - 1) * 2 = 0 ergo:
nwns_threshold_0 = cpu1 will be hotplugged at this value
((1 - 1) * 2) + 1 = 1
nwns_threshold_1 = cpu0 will be unplugged at this value
Since we can't unplug cpu0 this is '0'.
Two cpus are online.
(2 - 1) * 2 = 2 ergo:
nwns_threshold_2 = cpu2 will be hotplugged at this value
((2 - 1) * 2) + 1 = 3
nwns_threshold_3 = cpu1 will be unplugged at this value
etc...
Some values are:
NwNs_Threshold: 12, 0, 25, 20, 32, 28, 0, 35
TwTs_Threshold: 140, 0, 140, 190, 140, 190, 0, 190
Where the position and function of the number equals the result of the above explained formula.
(all times are in ms)
If you want to see the mpdecision magic happening:
Code:
adb shell
cat /proc/kmsg | grep 'MPDEC'
mpdecision's input event boost, aka project butter
This will boost your min cpu speed if you touch the screen or press a button and gives you full control.
In those events the min cpu freq will be risen to a predefined value (look below) on every online cpu. This boosts overall reaction times and smoothness a lot. (works similar to the qcom mpdecision binary)
Configuration files:
[email protected]:/sys/kernel/msm_mpdecision/conf # ls | grep boost
boost_enabled
boost_freqs
boost_time
All of them work like the usual sysfs files, except one special case:
boost_freqs will list all frequencies from cpu 0 to cpu x. Cpu 3 and any following cpu will share one frequency.
To change those frequencies echo the cpu number + the frequency in khz.
Example: To change the boost freq of cpu3 (and 4,5,6,7,8, etc) the echo would look as follows:
Code:
echo "3 960000" > /sys/kernel/msm_mpdecision/conf/boost_freqs
for cpu0:
Code:
echo "0 960000" > /sys/kernel/msm_mpdecision/conf/boost_freqs
Defaults:
Code:
cat /sys/kernel/msm_mpdecision/conf/boost_freqs
960000
960000
729600
576000
Why do I have no WLAN?
Due to this kernels very high optimization settings it is too big for our boot.img with WLAN included into the kernel, so it is built as a module. That means it needs to be inserted into the kernel upon boot up, which needs to be automated for maximum comfort.
The zip adds module insertion to your ramdisk, if that fails for some reason the wlan module cannot be inserted.
if
Code:
adb shell lsmod
doesn't show this:
Code:
tun 14701 0 - Live 0x00000000
cifs 275399 0 - Live 0x00000000
bcmdhd 2964650 0 - Live 0x00000000 (C)
Then something went horribly wrong.
Chances are that I broke it and this should never happen.
One post in the issue tracker will probably fix it with the next release
You can restore wlan for your current bootup by executing:
Code:
adb shell
su
insmod /system/lib/modules/bcmdhd.ko
Is there an app available to customize this pure bodacious and awesome kernel?
Yes there is: KControl. It's in the Google Playstore.
​
A few benchmark results:
Vellamo Metal:
http://vellamo2.quicinc.com/api/v2/app/plot/Metal/submission/PEE3B604B-8C49-69F5-001E-6BCA76DF491D
(usually ranges from 11xx-12xx. Depending on system background load, thermal status, air pressure, weather, world hunger, etc...)
Antutu:
https://plus.google.com/u/0/108262968419038009038/posts/VJbxpMoFJPN
(usually ranges from 28.xxx - 30.xxx. Depending on system background load, thermal status, air pressure, weather, world hunger, etc...)
3DMark Icestorm unlimited: (the others are maxed out)
https://plus.google.com/u/0/108262968419038009038/posts/N24t9ssoBcL
(17xxx)
FIRST! o yes!!! mwhahahah!! and so it begins
Finally a Bricked thread! :victory: No more F5 spamming the kernel website
Good stuff, you've finally joined the party.
Sent from my Nexus 5 using Tapatalk
Woot! first page!
+1
10 char
Ngo93 said:
Finally a Bricked thread! :victory: No more F5 spamming the kernel website
Click to expand...
Click to collapse
If you are familiar with rss, all kernel download pages have a little rss symbol, if you click it you get here:
http://bricked.de/kernelrss.php?action=krss&device=hammerhead&release=stable&type=aosp
Just something to consider instead of spamming F5
unforgivenmercy said:
Good stuff, you've finally joined the party.
Click to expand...
Click to collapse
If you take a look at the dates on my homepage you might notice that the party ended about 2 days ago. The after party on the other hand starts now!
faux123 said:
Woot! first page!
Click to expand...
Click to collapse
Indeed! Well the thread isn't that old yet
OBI ONE is here aweseome !!! Always a pleasure to hang around in ur threads
n3ocort3x said:
OBI ONE is here aweseome !!! Always a pleasure to hang around in ur threads
Click to expand...
Click to collapse
left something on github for you
I saw, many thanks for that, but i think i have to ask u a bit about this, already in bed now, but tomorrow is another day 5star and subscribed as always
show-p1984 said:
left something on github for you
Click to expand...
Click to collapse
In the op it just says to install. So no wiping of cache or D cache correct? Sorry just re assuring
Sent from my Nexus 5 using Tapatalk
Wiping cache is redundant and you don't have to do it with kernels.
Sent from my Nexus 5 using Tapatalk
Carbajal3009 said:
In the op it just says to install. So no wiping of cache or D cache correct? Sorry just re assuring
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
The zip does it for you.
However, if it gives you a warm and fuzzy feeling you are free to do it again (so twice then ^^).
Wow, finally it is here. Flashing now.
Has anyone actually demonstrated (scientifically or otherwise) anything wrong with the qcom mpdecision binary? Im not taking anything away from kernel developers who write their own mpdecision (especially those who also provides sources), but I am curious as to whether they are actually better than those provided by qcom. Surely they know more about the capabilities of their own cpus better than anyone no?
jazzor said:
Has anyone actually demonstrated (scientifically or otherwise) anything wrong with the qcom mpdecision binary? Im not taking anything away from kernel developers who write their own mpdecision (especially those who also provides sources), but I am curious as to whether they are actually better than those provided by qcom. Surely they know more about the capabilities of their own cpus better than anyone no?
Click to expand...
Click to collapse
A fair question, I imagine there is something sacrificed using either or.
Sent from my Nexus 5 using XDA Premium 4 mobile app
jazzor said:
Has anyone actually demonstrated (scientifically or otherwise) anything wrong with the qcom mpdecision binary? Im not taking anything away from kernel developers who write their own mpdecision (especially those who also provides sources), but I am curious as to whether they are actually better than those provided by qcom. Surely they know more about the capabilities of their own cpus better than anyone no?
Click to expand...
Click to collapse
It's not that complicated (there is no black voodoo magic), that's why bricked kernel was the first to introduce this feature back on the pyramid.
CPUs need to be plugged in / unplugged based on load, there is nothing more qcom can know that we can't also see inside of the kernel.
There is one HUGE thing that is wrong with qcom's mpdecision: It's closed. It's a black box. We don't have any idea what is going on in there. Literally, none. It's not even configurable. It could contain secret nsa code, or send dirty sms to your girlfriend (who might actually enjoy that, idk...)
If we would have source, hell, awesome. I wouldn't have spent over a year (first commit: Date: Thu, 21 Jun 2012 06:06:47 +0200, see here) to get my msm_mpdecision solution to the point where it is a) awesome and b) a lot better than the binary. It can be configured in any way you might need to. It features statistics on how often and how long a cpu is hotplugged. It has the input event boost. It's the full package deal.
If you compare my kernel with the stock kernel you will see huge performance improvements and battery savings on bricked. Those are not only because of my msm_mpdecision but certainly related. Furthermore: we can completely customize it, over sysfs, on a running kernel, without reflashing.
That's what I would have expected from qcom in the first place.
Another thing wrong with qcom's binary: It's static. Meaning: If you change your min freq on stock it will always reset back to defaults. Same with their thermal binary. That's just annoying.
msm_mpdecision will notice it if you change your min frequency and dynamically work with that from there on. It will also prevent hotplug wars between apps and it: eg: an app plugs in cpus to grab some cpu data (like frequencies, etc. That is only available if the cpu is plugged in). Qcom's mpdecision would now raise hell to keep that cpu unplugged, my msm_mpdecision just sits back and chills for 10 seconds to avoid those wars. (again, even that delay is fully configurable)
There are also a bunch of boring advantages as to why it is better to let something crucial to the system run in kernel space and not in user space, but that would most certainly explode the context of this thread by the factor of 4.
My solution is not inferior to that binary in any way, in fact it has been vastly superior in my testing up until now, otherwise I would a) improve it or b) ditch it. I don't keep around bad stuff just for the point of having it or because I wrote it. If it sucks I will say that and act accordingly.
Thanks for the very informative post. I suppose there are advantages in avoiding qcom's mpdecision. Though i'd like to point out that the Android framework (msm power HAL) does use some of the interfaces provided by the binary (see hardware/qcom/power/). With the nexus 4, this will spam a lot of stuff to logcat if you are missing this interface, not sure if this is the same with the nexus 5, but judging by the sources it seems it will. Maybe you could provide some notification about this side effect.
Similarly, this could apply to the thermal side of things as well.

LG H440N 4G LTE battery & performance tweaks

LG H440N 4G LTE kernel performance tweaks
FINAL VERSION
any other tweaks I find useful will be posted in the "init.d" section
{
"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"
}
​Changelog:
27. December 2015 - added FINAL values. Everyone should use these. "They are nice!" - says Borat.
28. December 2015 - added a changelog. Heh!
29. December 2015 - added a super secret, secret testing zone. I dare you to find it. Note that it's well hidden!
30. December 2015 - new tcp tweaks in init.d section, screenshot how it should look like, Recently tweaks.
31. December 2015 - added a link to a web site with an excellent article on battery care. Added Kernel Adiutor tips by jonathansmith.
1. January 2016 - Added 7+ hours SOT settings in the testing zone. Happy New Year!
3. January 2016 - Since I achieved what I aimed for, I am taking a break from this thread. It will stay open, so feel free to keep on discussing.
18. January 2016 - Testing settings became default settings, with a few changes.
29. January 2016 - Low Memory Killer & swappiness value updated.
BATTERY CARE - a must read for everyone!
Disclaimer:
I am not to be held responsible if anything goes wrong. Simple as that. You do these mods of your own free will.
Warning:
Please, do not report issues or complain about lousy battery times/performance, if you've used any of those pre-made scripts that promise godly battery or performance - they often cause more trouble than they're worth, and are mostly snake oil. And often, you cannot easily undo those changes. If you run a lot of background apps ( for example, five different messengers that cause wakelocks or increased battery usage ), then this guide is not for you. Do not report issues if you've modded your phone with any audio scripts ( like v4a ), xposed, or anything like that! Do not report if you did any permanent system mods, period! These kernel are for CLEAN & STOCK phones, that are rooted ONLY. To summarize, I will not bother replying if you did anything to your phone besides the tweaks I recommend.
Nothing done here is permanent. Everything can be returned to stock in a matter of minutes, if you prefer so, just by uninstalling Kernel Adiutor, unfreezing the bloatware and power cycling the phone.
And hugs to all that pushed the "Thanks!" button. Hell, hugs for everyone!!!
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
BEFORE WE START...
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●​
Must be done before modifying CPU values:
Open your hidden system menu by dialing 277634#*#, go down to Power, find items "High temperature property" and "Thermal mitigation daemon", and set them like this:
High Temp Prop OFF
Disabled
Thermal Mitigation
Disabled
After that, turn phone off, wait 15-20 seconds and turn back on.. The screen will not dim in hot conditions anymore. Benchmarks are higher, games run smoother. And we can tweak our CPUs.
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
KERNEL ADIUTOR SETTINGS
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●​
Apply on boot time is to be decided by the user. Although Kernel Adiutor waits for boot complete, I noticed ( on few occasions ) that it takes more time to apply the settings properly. Why? Who knows. Depends on the number of apps you have running on boot, version of the firmware or how lazy it is on boot... Safest setting is 40 seconds, but 20 should cause no issues and is preferred. 10 can be a problem.
CPU:
CPU Maximum Frequency: 1209
CPU Minimum Frequency: 800
CPU Governor: interactive
*note: Minimum frequency is set to default 800, since Snapdragon 410 draws the same voltage on 200, 400, 533 and 800. That's the reason I set the frequency back to 800 idle. No need to go lower for absolutely no gain in battery life or performance.
CPU Governor Tunables subsection:
above_hispeed_delay: 20000 1094400:40000
go_hispeed_load: 80
hispeed_freq: 998400
min_sample_time: 40000
timer_slack: -1
DEFAULT ( 7+h SOT ) - target_loads: 1 800000:75 998400:80 1094400:85
PERFORMANCE ( smoother, few hours less SOT ) - target_loads: 1 800000:75 998400:80 1094400:80 1152000:85
timer_rate: 20000
max_freq_hysteresis: 40000
*note: Reason for system lags is found in the cheaper and slower memory LG has used for H440N ( my guess is, to cut cost ). You can test that yourself by running various I/O benchmark tools and noting speeds of random and sequential reads/writes. I did not manage to make that better in any way by tweaking the I/O schedulers, be it deadline, cfq or row - even testing some examples from Franco's Dev Team. Seems that it's best to leave it on cfq and cut overhead with the flashtweaks init.d script found later mentioned in this post.
Frequency changes happen VERY fast. So fast that CPU widgets or passive frequency readers have a lousy time keeping up. Only values you can trust are found in Kernel Adiutor's Frequency Table.
Those values found above are the best possible values for H440N's CPU for performance & battery saving, and I stand by them. If anyone else cares to try and do some tweaking to improve on those, by all means, please do so. If in the future I decide to add new CPU values, they will be strictly performance based, hence no battery saving.
Reason for the CPU frequency sticking to 1209600 is caused by the LG Home launcher. It contains a system call where, if you open up your apps drawer, it immediately ramps up the frequency to the max for almost 8 seconds or until you close the app drawer! That sucks, and is a lazy way for LG to provide smooth app drawer opening/swiping/closing! Bad LG, bad!!!
Two ways to solve that:
1. Spend less time listing through your apps drawer, since the frequency drops as soon as you stop swiping through it, or...
2. Freeze LG Home and use another launcher ( like Nova or Apex ), if you don't mind losing Double Tap to Wake, or work around that problem with launchers that support double tap gesture and link that gesture with a screen off app like this. Do not freeze any LG Home system apps, besides Easy Home. No need. System will automatically kill the unneeded launcher. Just follow my frozen bloatware list. Nothing more, nothing less.
Low Memory Killer values ( top to bottom ):
48
60
72
84
96
120
Virtual Memory:
vfs cache pressure: 100
swappiness: 80
Build prop Editor
dalvik.vm.heapsize: 174m
dalvik.vm.heapminfree: 512k
dalvik.vm.heapstartsize: 8m
dalvik.vm.heapgrowthlimit: 128m
dalvik.vm.heaptargetutilization: 0.75
dalvik.vm.heapmaxfree: 8m
*note: Dalvik tweaks are based upon Intel's recommended Dalvik tweaks for Lollipop phones with 1 GB RAM and xhdpi displays.
Init.d
1. Turn on "Emulate Init.d" and click that big "+" to create a new script.
2. Name the new script: flashtweaks
Contents of the "flashtweaks" script are:
Code:
#!/system/bin/sh
echo 0 > /sys/block/mmcblk0/queue/nomerges;
echo 2 > /sys/block/mmcblk0/queue/rq_affinity;
echo 512 > /sys/block/mmcblk0/queue/nr_requests;
echo 0 > /sys/block/mmcblk0/queue/iostats;
echo 0 > /sys/block/mmcblk0/queue/add_random;
echo 0 > /sys/block/mmcblk1/queue/nomerges;
echo 2 > /sys/block/mmcblk1/queue/rq_affinity;
echo 512 > /sys/block/mmcblk1/queue/nr_requests;
echo 0 > /sys/block/mmcblk1/queue/iostats;
echo 0 > /sys/block/mmcblk1/queue/add_random;
2. Name the new script: tcptweaks
Contents of the "tcptweaks" script are:
Code:
#!/system/bin/sh
#more reasonable tcp tweaks
echo 1 > /proc/sys/net/ipv4/tcp_low_latency;
echo 0 > /proc/sys/net/ipv4/tcp_timestamps;
echo 900 > /proc/sys/net/ipv4/tcp_keepalive_time;
echo 5 > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo 156 > /proc/sys/net/ipv4/tcp_keepalive_intvl;
Example of properly added scripts. I just named them differently:
Ignore the "99SuperSUDaemon" script unless you know what it is. It's not needed for our tweaks, and if you don't have it, it's perfectly fine.
Here are some screenshots on clearing / checking Kernel Adiutor's Frequency Table, by our fellow XDA member jonathansmith:
How to clear timers?
Check correct frequency usage.
Now, since you've finished with Kernel Adiutor, power cycle the phone. You're almost done. All that's left are:
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
OTHER SETTINGS
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●​
In Developer options, set animation scale values to OFF.
In Settings / Display / Brightness enable Night Brightness. Who needs anything over 0% brightness from midnight to six in the morning?
Visit Play Store and install these apps:
Recently by Chainfire
Trimmer (fstrim)
Recently! settings ( preferred ):
Age limit: No limit
Entry limit: 12
Apply on boot: Yes
Freeload: Checked ( yeah, we're cheapskates )
EVERYTHING ELSE DISABLED / UNCHECKED.
Recently! settings ( much faster version ):
Age limit: Running apps only
Entry limit: Running apps only
Apply on boot: Yes
Freeload: Checked ( yeah, we're cheapskates )
EVERYTHING ELSE DISABLED / UNCHECKED.
Do a "Clear all" in recent apps list after a reboot. It will make things faster. Believe me.
As for Trimmer (fstrim), run that every week or so, on "/data", "/cache" and "/system". No need to run it daily.
Apps frozen with Titanium Backup ( freeze bloatware, do not delete it - you'll thank me later ):
Chrome
Drive
E-mail
EasyHome
Gmail ( I am using Aqua Mail. )
Google Play Books
Google Play Games
Google Play Movies
Google Play Music
Google Play Newsstand
Google Search
Google+
Hangouts
HTML viewer ( do not disable if using stock browser or Chrome )
Internet ( I am using this version of Opera. It's the best one.
LG Keyboard ( disable only if already using another keyboard. I am using Smart Keyboard. )
LG Keyboard Black Theme ( disable only if already using another keyboard. I am using Smart Keyboard. )
LG MLT ( disable LG MLT in the hidden service menu before freezing it! Menu code is 277634#*# )
Live Wallpaper
Music ( both widget and app - I am using PlayerPro. )
Trusted Face
Weather
Weather Theme
WeatherPlatform
Do not touch anything else! Don't say I did not warn you.
If you prefer blocking ads on web sites, like I do... then download AdAway from XDA forum, and enjoy ad-free surfing.
That's it. Have fun, and enjoy your buttery smooth phone. One of this year's best-buy smartphones. Too bad it doesn't get the attention it deserves. Really, an unsung hero if there ever was one.
Although there are a lot of other CPU tweaking values throughout the thread, these values are the standard ones you should use. Other ones are experiments, or just plain testing values.
H440N is compatible with DriveDroid - in case you want to boot an operating system or a Linux distro off of it.
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
SUPER SECRET, SECRET TESTING ZONE
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
by WellHidden™​
THESE SETTINGS BECAME THE DEFAULT SETINGS. SEE ABOVE.
With the latest test settings I achieved 7+ hours SOT. And yes, it can be done! You got the proof below.
Everything else besides these TESTING values below stays the same as in FINAL values ( dalvik, init.d, etc. ).
CPU:
CPU Maximum Frequency: 1209
CPU Minimum Frequency: 400
CPU Governor: interactive
CPU Governor Tunables subsection:
above_hispeed_delay: 20000 1094400:40000 1152000:20000
go_hispeed_load: 82
hispeed_freq: 998400
min_sample_time: 40000
timer_slack: -1
target_loads: 72 998400:82 1094400:85 1152000:86 1209600:90
timer_rate: 20000
max_freq_hysteresis: 40000
Virtual Memory:
Swappiness: 60 ( I recommend 100, but go back to 60 if you feel the memory gain is not worth a slight performance drop. )
Vellamo 3.2 scores:
My phone was originally set at frequency max 1200 and min 1200. After all the changes you suggest, do you set the min cpu frequency at 200 or leave it on 1200?
polfrank said:
My phone was originally set at frequency max 1200 and min 1200. After all the changes you suggest, do you set the min cpu frequency at 200 or leave it on 1200?
Click to expand...
Click to collapse
Min 200 Max 1200
Interactive / Noop
Other values as suggested.
But, damn. Those original settings must've drained the battery like hell... Are people at LG crazy?
EDIT: Sometimes, SetCPU will show the lowest frequency as 1200, but don't worry. Set it to 200, and verify it's at 200 in Times in state on the last SetCPU tab. It seems to be a bug in the app. That's why I used Kernel Adiutor.
ondemand + noop + lmk set to agressive and the phone flies like never before! looks like constant 60 fps. Thanks op!
Always glad to help out. Like I mentioned before, this phone has good hardware and is capable of stellar performance. Only problem is LG did not pay much attention on the tweaking side of things.
It's easy for them to tweak flagships
EDIT: Just found out about another gem! The app is called Recently by chainfire.
Installed, tried and it's marvelous even on default settings. I encourage everyone to try it. It's what Recent cards were supposed to be, in my opinion.
So I installed Busybox and Kernel Adiutor, set CPU min frequency to 200 Mhz, cpu governor to interactive and and I/O scheduler to noop. I've set both to apply on boot. Is that everything I need to do?
Fobos531 said:
So I installed Busybox and Kernel Adiutor, set CPU min frequency to 200 Mhz, cpu governor to interactive and and I/O scheduler to noop. I've set both to apply on boot. Is that everything I need to do?
Click to expand...
Click to collapse
It is, if you don't mind the default Interactive values. Otherwise, go a bit lower to "CPU Governor Tunables". Click that and set values as mentioned in first post. Those give a much better battery life.
After that, my recommendation is to visit the Low Memory Killer section and set that to Aggressive and apply on boot.
I can say that, after a bit of tweaking, this phone rocks! Glad to have bought it. Still hoping for a unlocked bootloader and maybe a CM port
Can you please take a screenshot of your CPU Governor Tunables section? I'm not completely sure that I did it right.
No problem, my good man. Here they are:
http://imgur.com/yDbXHE3
http://imgur.com/3uDi04u
holy ..! this really does make a difference. is it ok if i set cpu to "performance" and dont mess anything else with it? i dont care about battery life that much. cuz it seems that with agressive setting for ram, and changing to "noop" made wonders for me performance wise
Performance governor forces 1200, so that's not desirable.
For the best performance with lowest idle, set it to Ondemand / Noop. You will lose a bit more battery with those, but the phone will fly.
Otherwise, set as I've set it. Tweaked interactive.
userspace,powerspace hotplug and performance is what i have in karnel auditor.. which one should i choose then? tyvm!
p.s. thanks again for these tips man
That's strange. Are you using the LG Spirit H440N or some other variation?
See here ( list of governors ):
http://imgur.com/hxZOoDz
ah right. that could be a reason.. i use 3g version, with mediatek cpu
* moved to first post *
Tomo123 said:
Performance governor forces 1200, so that's not desirable.
For the best performance with lowest idle, set it to Ondemand / Noop. You will lose a bit more battery with those, but the phone will fly.
Otherwise, set as I've set it. Tweaked interactive.
Click to expand...
Click to collapse
amazing speed and multitasking (with Recently), thank you for this
Can you help me with target loads? Is this ok?
Sent from my LG-H440n using Tapatalk
String seems to be written ok, but my guess is it will clash with go_hispeed_load value.
If go_hispeed_load has a value of 85, then your initial value in target loads can't be "1". It must be higher than 85.
We're using our hispeed frequency ( 400000 ) as idle. It often drops to 200, so I see no reason of adding 200 to target loads.
Did you check out my post above?
Also, take a look at my KA frequency table:
http://imgur.com/BikoQk2
It seems that ive messed up something. Now my phone wont go deepsleep. This is the result over night.
Sent from my LG-H440n using Tapatalk
Can you make a screenshot of your target loads. Im having a hard time making it work. Performance is on point but i get a lot of battery drain.
Sent from my LG-H440n using Tapatalk

Categories

Resources