Discussion Thread - [Discussion] SSSwitch - Tweak Spica
I have edit this Tweak-Script and added some settings & tweaks!!!
----------------------
... if you want more power or more battery-time, please start the "Terminal-Emulator"-App (or use the Android Debug Bridge) first type su and then ssscfg ...
... and if someone has more ideas to improve performance or to the save energy, please share it, you can use the above "Discussion - Thread" or if there is a Tweak-App or something like that, please use this "Speed Up - Thread" ...
Apply the zip from recovery...
SSSwitch.v1.3.5_by_voku.zip
Spica-Tweak_ lite v1.7.6 (without ssscfg, but recommended)
# =========
# changelog
# =========
# v0.2
# + changed ondemand governor up_threshold from 50 to 90
# + added boot-up tweaks for tcp buffers
#
# v0.3
# + reduced vm.min_free_kbytes from 4096 to 3072
# + added tuning tcp/ip parameters for faster network access
# + change to check power source when sleeping[(sleeping & battery)->SAVEmode | (sleeping & AC/USB)->PERFmode)]
#
# v0.4
# + reverted from checking power source, back to checking only screen state
# + added optimizations for non-rotating storage and i/o schedulers
# + added optimizations for BFS
# + reduced SLEEP_MAX_FREQ=266000
# + renamed SAVE mode to ECON mode
#
# v0.5
# + used pixiebob's settings for CFS parameters
# + added read dynamic undervolting set in recovery for AWAKE_UV & SLEEP_UV=AWAKE_UV+150
#
# v0.6
# + added allow user configuration via adb/terminal by running "ssscfg"
# + initialized settings from /system/etc/ssswitch.conf
# + added user customizable settings for io scheduler, and AWAKE & SLEEP mode
# + added preset usage profiles (LOW/NORMAL/HIGH/DEFAULT)
# + added preset audio/video profile (NORMAL/MUSIC/MOVIE)
# + added display statistics on cpu, filesystem, memory, modules, tasks, etc.
# + added save/load custom settings to/from sdcard
#
# v0.6A
# + added allow customization for only IO scheduler, Awake or Sleep modes
# + added option to view saved settings on sdcard
#
# v0.6B
# + adjusted oom_adj value to -17 to exclude process from oom-killer
# + fixed incorrect reading of enabled/disabled status
#
# v0.6C
# + simplified while loop (thx to Frremu)
# + renamed PERF_MODE to AWAKE_MODE & ECON_MODE to SLEEP_MODE
# + added function to remove lag when answering phone calls
#
# v0.6D
# + adjusted nice value of process to -10 for higher processing priority
# + removed io schduler optimizations for sd-card due to instability when copying large files
# + added more optimizations for CFS scheduler
# + disabled undervolting in default preset
#
# v0.6E
# + enabled oom_kill_allocating_task to prevent 98ssswitch from being killed
# + moved SLEEP_UV to execute at end of SLEEP_MODE function (thx 2 mambrino)
#
# v0.6F
# + removed undevolting, cpu max feq, cpu governor (cadavre)
# + added ril optimizations by pixiebob (uriel)
# + changed swappines values
#
# v0.1 (by voku1987)
# + added page-cluster
# + added cpufreq -> scaling_governor
# + added laptop_mode
#
# v0.2 (by voku1987)
# + added MUSIC_MODE
#
# v0.3 (by voku1987)
# + added memory-settings
# + added "setcpu"-App-settings for YONIP-Kernel V.9
#
# v0.4 (by voku1987)
# + added MUSIC_MODE (fixed)
# + added noop (io scheduler)
# + added MAX-temperature
# + removed oom_adj values
# + removed qbanin settings
#
# v0.5 (by voku1987)
# + changed MUSIC_MODE only if Screen-OFF
# + added Audio profile
# + added DOWN_THRESHOLD
#
# v0.6 (by voku1987)
# + added SAMPLING_RATE
# + fixed - no more same settings for AWAKE-/ SLEEP-Mode
# + MAX_TEMP to 50° C
#
# v0.7 (by voku1987)
# + changed Audio profile only if Screen-OFF
# + added compcache-Settings
# + added some default "Memory"-settings in ssscfg
# + added some default "Sampling-rate"-settings in ssscfg
# + cpufreq-options for AWAKE-/ SLEEP-/ MUSIC-Mode
#
# v0.7.1 (by voku1987)
# + added NIGHT-Mode (= SLEEP_MODE)
# + added enable / disable Night-Mode in ssscfg
# + added enable / disable App-Mem in ssscfg
#
# v0.7.2 (by voku1987)
# + added new default settings
# + fixed - compcache-bug
#
# v0.8 (by voku1987)
# + added default UV, if available
# + added support for OC- / normal-kernel
#
# v0.8.1 (by voku1987)
# + removed unused config-file after first boot
# + added SD-Card reading speed fix (read_ahead_kb)
# + removed other Tweaks
#
# v0.8.2 (by voku1987)
# + added android default memory-settings
# + added higher default READ_AHEAD value
# + added new CFS-settings from "atucha"
#
# v0.8.3 (by voku1987)
# + added optimize all sqlite-databases
#
# v0.8.4 (by voku1987)
# + added extra IO-SCHEDULER for Cache / Data / System
# + added configurable swap-value (only if you don't use compcache)
# + fixed - optimize swap for compcache
# + removed dirty_* options
#
# v0.8.5 (by voku1987)
# + added vfs_cache_pressure
# + fixed - default READ_AHEAD (256) value
#
# v0.8.6 (by voku1987)
# + added "keep Apps in Memory"
# + added default "aggressive" settings for Memory for Apps
# + added READ_AHEAD for all-partitions & sd-card
#
# v0.8.7 (by voku1987)
# + added new ssscfg menu
# + added optinal setting
# + removed night-mode
# + removed music-mode
#
# v0.8.8 (by voku1987)
# + only fixed bugs from v0.8.7
#
# v0.8.9 (by voku1987)
# + added switch app option in ssscfg
# + added default battery saving settings
# + added performace mode while charging + screen on
#
# v0.9 (by voku1987)
# + added separate memory settings if screen ON or OFF
#
# v1.0 (by voku1987)
# + removed switch app option in ssscfg
# + added sio i/o scheduler
# + fixed some default settings & bugs
#
# v1.1 (by voku1987)
# + added new I/O settings
#
# v1.2 (by voku1987)
# + fixed some default settings & bugs
#
# v1.3 (by voku1987)
# + added / changed I/O setting
# + removed drop_caches
# + default: 100 undervolting while screen is off
#
# v1.3.1 (by voku1987)
# + removed some I/O setting
# + new "Memory"-settings in ssscfg
# + new default "Memory"-settings
#
# v1.3.2 (by voku1987)
# + removed support for (fake) OCed
# + added more setprop-tweaks
#
# v1.3.3 (by voku1987)
# + removed cache-partition remount
# + removed some I/O settings (need more testing)
# + default 26% compcache
#
# v1.3.4 (by voku1987)
# + changed I/O setting
# + removed default "read ahead caches"
#
# v1.3.5 (by voku1987)
# + removed bad I/O setting
# + added new app tweak
# + added new memory tweak
# =========
# We can also test / change this settings ... !? ->
# =========
charging source:
check battery-capacity:Code:cat /sys/class/power_supply/battery/charging_source;
backlight:Code:cat /sys/class/power_supply/battery/capacity;
OFF ->
50% ->Code:echo 0 > /sys/bus/platform/devices/s3c-lcd/backlight_level;
100% ->Code:echo 50 > /sys/bus/platform/devices/s3c-lcd/backlight_level;
conservative:Code:echo 100 > /sys/bus/platform/devices/s3c-lcd/backlight_level;
sampling_down_factor & freq_step & ignore_nice_load for CPU-Freq (conservative)
ondemand:
ignore_nice_load & powersave_bias for CPU-Freq ondemand
-> http://publib.boulder.ibm.com/infoce...ndGovernor.htm
freq_step: this describes what percentage steps the cpu freq should be
increased and decreased smoothly by. By default the cpu frequency will
increase in 5% chunks of your maximum cpu frequency. You can change this
value to anywhere between 0 and 100 where '0' will effectively lock your
CPU at a speed regardless of its load whilst '100' will, in theory, make
it behave identically to the "ondemand" governor.
-> Linux Kernel Documentation :: cpu-freq : governors.txt


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks