[Samsung Galaxy Nexus] kairi_zeroblade:
So what does my script do??it does not send your unit back home to Samsung for repairs..that's for sure..

here a sample log from my script doing nothing but tweak..

==============================
| Samsung i9250 Tweak Script Log |
==============================
Kernel version: 3.0.39-franco.Kernel-nightly-384GPU
Tweaks Initiated at 08/06/2012-12:59:18

LMK Tweaks

Original: /sys/module/lowmemorykiller/parameters/adj = 0,1,2,4,8,15
Tweaked: /sys/module/lowmemorykiller/parameters/adj = 0,1,2,4,8,15

Lowmemorykiller mode is: aggr
Original: /sys/module/lowmemorykiller/parameters/minfree = 8099,10132,20000,20000,50000,100000
Tweaked: /sys/module/lowmemorykiller/parameters/minfree = 4096,6144,8192,15360,18920,21000

VM Tweaks

Original: /proc/sys/vm/oom_kill_allocating_task = 0
Tweaked: /proc/sys/vm/oom_kill_allocating_task = 0

Original: /proc/sys/vm/oom_dump_tasks = 1
Tweaked: /proc/sys/vm/oom_dump_tasks = 1

Original: /proc/sys/vm/panic_on_oom = 0
Tweaked: /proc/sys/vm/panic_on_oom = 0

Original: /proc/sys/vm/laptop_mode = 0
Tweaked: /proc/sys/vm/laptop_mode = 0

Original: /proc/sys/vm/block_dump = 0
Tweaked: /proc/sys/vm/block_dump = 0

Original: /proc/sys/vm/swappiness = 0
Tweaked: /proc/sys/vm/swappiness = 0

Original: /proc/sys/vm/dirty_background_ratio = 5
Tweaked: /proc/sys/vm/dirty_background_ratio = 3

Original: /proc/sys/vm/dirty_ratio = 20
Tweaked: /proc/sys/vm/dirty_ratio = 12

Original: /proc/sys/vm/min_free_kbytes = 1442
Tweaked: /proc/sys/vm/min_free_kbytes = 2048

Original: /proc/sys/vm/vfs_cache_pressure = 300
Tweaked: /proc/sys/vm/vfs_cache_pressure = 200

Original: /proc/sys/vm/overcommit_memory = 1
Tweaked: /proc/sys/vm/overcommit_memory = 1

Original: /proc/sys/vm/page-cluster = 3
Tweaked: /proc/sys/vm/page-cluster = 3

Original: /proc/sys/vm/min_free_order_shift = 4
Tweaked: /proc/sys/vm/min_free_order_shift = 4

Original: /proc/sys/vm/dirty_writeback_centisecs = 500
Tweaked: /proc/sys/vm/dirty_writeback_centisecs = 2000

Original: /proc/sys/vm/dirty_expire_centisecs = 200
Tweaked: /proc/sys/vm/dirty_expire_centisecs = 1000

Original: /proc/sys/fs/lease-break-time = 45
Tweaked: /proc/sys/fs/lease-break-time = 30

Original: /proc/sys/fs/file-max = 70963
Tweaked: /proc/sys/fs/file-max = 81920

Original: /proc/sys/kernel/panic = 5
Tweaked: /proc/sys/kernel/panic = 4

Original: /proc/sys/kernel/panic_on_oops = 1
Tweaked: /proc/sys/kernel/panic_on_oops = 0

Original: /proc/sys/kernel/sched_child_runs_first = 0
Tweaked: /proc/sys/kernel/sched_child_runs_first = 0

Original: /proc/sys/kernel/threads-max = 11089
Tweaked: /proc/sys/kernel/threads-max = 11000

Original: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = interactive
Tweaked: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = interactive

Original: /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = interactive
Tweaked: /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = interactive

Original: /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 1228000
Tweaked: /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 1305000

Original: /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 1305000
Tweaked: /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 1305000

Original: /sys/devices/system/cpu/cpufreq/interactive/min_sample_time = 80000
Tweaked: /sys/devices/system/cpu/cpufreq/interactive/min_sample_time = 40000

Original: /sys/devices/system/cpu/cpufreq/interactive/timer_rate = 20000
Tweaked: /sys/devices/system/cpu/cpufreq/interactive/timer_rate = 20000

Original: /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load = 85
Tweaked: /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load = 60

Original: /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq = 1228000
Tweaked: /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq = 1305000

NET Tweaks

Original: /proc/sys/net/ipv4/tcp_window_scaling = 1
Tweaked: /proc/sys/net/ipv4/tcp_window_scaling = 1

Original: /proc/sys/net/ipv4/tcp_tw_recycle = 0
Tweaked: /proc/sys/net/ipv4/tcp_tw_recycle = 1

Original: /proc/sys/net/ipv4/tcp_tw_reuse = 0
Tweaked: /proc/sys/net/ipv4/tcp_tw_reuse = 1

Original: /proc/sys/net/ipv4/tcp_sack = 1
Tweaked: /proc/sys/net/ipv4/tcp_sack = 1

Original: /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses = 1
Tweaked: /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses = 1

Original: /proc/sys/net/ipv4/tcp_fin_timeout = 60
Tweaked: /proc/sys/net/ipv4/tcp_fin_timeout = 15

Original: /proc/sys/net/ipv4/tcp_keepalive_intvl = 75
Tweaked: /proc/sys/net/ipv4/tcp_keepalive_intvl = 30

Original: /proc/sys/net/ipv4/tcp_keepalive_probes = 9
Tweaked: /proc/sys/net/ipv4/tcp_keepalive_probes = 5

Original: /proc/sys/net/ipv6/conf/all/disable_ipv6 = 0
Tweaked: /proc/sys/net/ipv6/conf/all/disable_ipv6 = 1

Original: /proc/sys/net/ipv6/conf/default/disable_ipv6 = 1
Tweaked: /proc/sys/net/ipv6/conf/default/disable_ipv6 = 1

Original: /proc/sys/net/ipv6/conf/lo/disable_ipv6 = 1
Tweaked: /proc/sys/net/ipv6/conf/lo/disable_ipv6 = 1

Kernel Params

Original: /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table = 1804mhz: 1450 mV 1728mhz: 1425 mV 1612mhz: 1400 mV 1536mhz: 1375 mV 1420mhz: 1300 mV 1305mhz: 1275 mV 1228mhz: 1250 mV 1036mhz: 1225 mV 729mhz: 1150 mV 384mhz: 1025 mV
Tweaked: /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table = 1804mhz: 1425 mV 1728mhz: 1400 mV 1612mhz: 1375 mV 1536mhz: 1300 mV 1420mhz: 1225 mV 1305mhz: 1200 mV 1228mhz: 1175 mV 1036mhz: 1150 mV 729mhz: 1075 mV 384mhz: 975 mV

Original: /sys/class/misc/customvoltage/core_voltages = 1250 mV 1127 mV 962 mV
Tweaked: /sys/class/misc/customvoltage/core_voltages = 1200 mV 1075 mV 925 mV

Original: /sys/class/misc/customvoltage/iva_voltages = 1375 mV 1291 mV 1140 mV 950 mV
Tweaked: /sys/class/misc/customvoltage/iva_voltages = 1325 mV 1250 mV 1100 mV 925 mV

Original: /sys/devices/virtual/misc/soundcontrol/volume_boost = 0
Tweaked: /sys/devices/virtual/misc/soundcontrol/volume_boost = 1

Original: /sys/module/sync/parameters/fsync_enabled = Y
Tweaked: /sys/module/sync/parameters/fsync_enabled = N

Original: /sys/module/bcmdhd/parameters/wifi_pm = N
Tweaked: /sys/module/bcmdhd/parameters/wifi_pm = N

Original: /sys/module/omap_temp_sensor/parameters/throttle_enabled = Y
Tweaked: /sys/module/omap_temp_sensor/parameters/throttle_enabled = N

Original: /sys/module/panel_s6e8aa0/parameters/contrast = -5
Tweaked: /sys/module/panel_s6e8aa0/parameters/contrast = -5

Original: /sys/class/misc/colorcontrol/v1_offset = -4 0 5
Tweaked: /sys/class/misc/colorcontrol/v1_offset = 2 0 3

Original: /sys/class/misc/colorcontrol/multiplier = 1800000000 1920000000 2000000000
Tweaked: /sys/class/misc/colorcontrol/multiplier = 2000000000 1600000000 2150000000

Original: /sys/devices/platform/omapdss/manager0/gamma = 0
Tweaked: /sys/devices/platform/omapdss/manager0/gamma = 5

MOUNT/IO Tweaks

Original: /sys/block/mmcblk0/queue/scheduler = [deadline]
Tweaked: /sys/block/mmcblk0/queue/scheduler = [deadline]

Original: /sys/block/mmcblk0/queue/rotational = 0
Tweaked: /sys/block/mmcblk0/queue/rotational = 0

Original: /sys/block/mmcblk0/queue/read_ahead_kb = 2048
Tweaked: /sys/block/mmcblk0/queue/read_ahead_kb = 2048

Original: /sys/block/mmcblk0/queue/iostats = 1
Tweaked: /sys/block/mmcblk0/queue/iostats = 0

Original: /sys/block/mmcblk0/queue/nr_requests = 128
Tweaked: /sys/block/mmcblk0/queue/nr_requests = 2048

Original: /sys/block/mmcblk0/queue/iosched/fifo_batch = 1
Tweaked: /sys/block/mmcblk0/queue/iosched/fifo_batch = 1

Original: /sys/block/mmcblk0/queue/iosched/write_expire = 1000
Tweaked: /sys/block/mmcblk0/queue/iosched/write_expire = 1000

So basically i do not have to explain my self..also its a user friendly script that if you want your specifics in their place you have the option to do so..not needing any 3rd party apps(i love my phone appless as much as possible as you all know how android works in the background..).. would also love if someone can help me for an app that will help manipulate these values in real time..

Literature:

Well i started out venturing Android just last December and my 1st unit was the KOREAN Optimus 2x(SU660), now not knowing that there were different versions of the said unit(the Intl. P990 and my SU660 which is just for KOREA) and also knowing that these units lack support both community developer support and from manufacturer support, I started out a mini project to customize the SU660 for my own use, well lucky enough i found 1 custom rom and luckily it was a CM7 variant, now after studying the framework and stuff i started to work things out. My 1st build was somehow a failure but after a few more tests and also was lucky enough to spot MIUI on the Android scene, and realizing that it is also based from CM7 source i started compiling/porting from the P990 Source for my device. Now it has been a daily driver for some folks here(Philippines) who have subscribed to my builds. On the 1st few months it was like PITA but when i seem to get the hang of it its more of an addiction, I currently owned a few Korean devices that i have ported a few stuff and has worked things out to work as the Intl version.

Things have changed now after buying the GNex i can't seem to let this opportunity pass to share something that seems to be or might be useful to others as i have the same device they have. No more hiding in the shadows and no more Guilt of being left behind(you would usually feel this if you own a korean unit..more deprived as i would say), i do have a Intl. unit now so here's one in the couch for everyone. :D

I am just a normal Family guy, i work as a salesman for 11 hours a day and i do hope you would appreciate the effort i make for this project. It will be on a slow pace but surely i will do my best to make things work.