[Nexus 4 General] eurochild:
Here is an example of a custom 00confg file, actually this is what i'm using

#!/system/bin/sh

#my tweaks

echo "2" > /sys/module/msm_hotplug/min_cpus_online

echo "1026000" > /sys/module/msm_hotplug/suspend_freq

#set pa-halfbreed color profile

echo 378 64 68 118 0 25 4 66 32 1 > /sys/devices/platform/mipi_lgit.1537/kgamma_r

echo 378 64 68 118 0 25 4 66 32 1 > /sys/devices/platform/mipi_lgit.1537/kgamma_g

echo 378 64 68 118 0 25 4 66 32 1 > /sys/devices/platform/mipi_lgit.1537/kgamma_b

echo 255 255 255 > /sys/devices/platform/kcal_ctrl.0/kcal

#Touch Control

echo "1" > /sys/android_touch/sweep2wake

#echo "1" > /sys/module/lge_touch_core/parameters/doubletap_to_wake

#GPU Governor

echo "trustzone" > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/policy

#Set Min / Max Frequenz - nur wenn mpdesion AUS

FREQMIN=192000

FREQMAX=1512000

echo "$FREQMIN" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo "$FREQMIN" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

echo "$FREQMIN" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq

echo "$FREQMIN" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq

echo "$FREQMAX" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo "$FREQMAX" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

echo "$FREQMAX" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq

echo "$FREQMAX" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

#Set Governor

echo "intellidemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo "intellidemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

echo "intellidemand" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor

echo "intellidemand" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

#intellidemand Tweaks:

echo "1026000" > /sys/devices/system/cpu/cpufreq/intellidemand/boostfreq

echo "50" > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_active_load

echo "40" > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_inactive_load

echo "1350000" > /sys/devices/system/cpu/cpufreq/intellidemand/two_phase_freq

echo "90" > /sys/devices/system/cpu/cpufreq/intellidemand/up_threshold

echo "90" > /sys/devices/system/cpu/cpufreq/intellidemand/up_threshold_any_cpu_load

echo "90" > /sys/devices/system/cpu/cpufreq/intellidemand/up_threshold_multi_core

#System-Tweaks

# VM-Tweaks

echo "4096" > /proc/sys/vm/min_free_kbytes;

echo "0" > /proc/sys/vm/oom_kill_allocating_task;

echo "0" > /proc/sys/vm/panic_on_oom;

echo "0" > /proc/sys/vm/laptop_mode;

echo "0" > /proc/sys/vm/swappiness;

echo "50" > /proc/sys/vm/vfs_cache_pressure;

echo "90" > /proc/sys/vm/dirty_ratio;

echo "1" > /proc/sys/vm/overcommit_memory;

echo "4" > /proc/sys/vm/min_free_order_shift;

echo "1" > /proc/sys/vm/oom_dump_tasks;

echo "1000" > /proc/sys/vm/dirty_writeback_centisecs;

echo "500" > /proc/sys/vm/dirty_expire_centisecs;

echo "8" > /proc/sys/vm/page-cluster;

echo "3" > /proc/sys/vm/drop_caches

# File-System

echo "10" > /proc/sys/fs/lease-break-time;

echo "32000" > /proc/sys/fs/inotify/max_queued_events;

echo "524288" > /proc/sys/fs/file-max;

echo "256" > /proc/sys/fs/inotify/max_user_instances;

echo "10240" > /proc/sys/fs/inotify/max_user_watches;

# Kernel-Tweaks

echo "1000000" > /proc/sys/kernel/sched_min_granularity_ns;

echo "18000000" > /proc/sys/kernel/sched_latency_ns;

echo "3000000" > /proc/sys/kernel/sched_wakeup_granularity_ns;

echo "0" > /proc/sys/kernel/panic;

echo "1" > /proc/sys/kernel/panic_on_oops;

echo "64000" > /proc/sys/kernel/msgmni;

echo "64000" > /proc/sys/kernel/msgmax;

echo "4096" > /proc/sys/kernel/shmmni;

echo "2097152" > /proc/sys/kernel/shmall;

echo "536870912" > /proc/sys/kernel/shmmax;

echo "524288" > /proc/sys/kernel/threads-max;

echo "500 512000 64 2048" > /proc/sys/kernel/sem;

echo "0" > /proc/sys/kernel/sched_child_runs_first;