[Nexus 4 Android Development] Step-han:
Hello!

I came from franco.Kernel to this kernel because its more up-to-date and it uses the .1.05 linux update.

I have rewrite my personal init.d script, feel free to use. U can edit the 14 variables on the top of the file. Don't change anything below the warning. The .zip is not flashable but I can make one if someone ask for it. (this init.d script use a -125mV)

#!/system/bin/sh
#50step-han_config v1.1
#optimized for nash Kernel R13
#standard -125mV (if you don't want undervolt delete rule 45-48)

CPU_SDR=deadline;
CPU_GOV=interactive;
CPU_MIN_FREQ=192000;
CPU_MAX_FREQ=1512000;
CPU_MAX_FREQ_SCREEN_OFF=384000;
CPU_TOUCH_BOOST=918000;
CPU_BOOST_DURATION=1000000;
CPU_TEMP_THRESHOLD=70;
GPU_MAX_FREQ=320000000;
USB_FAST_CHARGE=1;
DOUBLE_TAP_2_WAKE=1;
DOUBLE_TAP_2_WAKE_INTERVAL=200;
SWEEP_TO_DIM=0;
SWEEP_TO_WAKE=0;

#DONT EDIT BELOW THIS LINE

echo "$CPU_SDR" > /sys/block/mmcblk0/queue/scheduler;
echo "$CPU_GOV" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor;
echo "$CPU_GOV" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor;
echo "$CPU_GOV" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor;
echo "$CPU_GOV" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor;
echo "$CPU_MIN_FREQ" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;
echo "$CPU_MIN_FREQ" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq;
echo "$CPU_MIN_FREQ" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq;
echo "$CPU_MIN_FREQ" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq;
echo "$CPU_MAX_FREQ" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;
echo "$CPU_MAX_FREQ" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq;
echo "$CPU_MAX_FREQ" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq;
echo "$CPU_MAX_FREQ" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq;
echo "$CPU_MAX_FREQ_SCREEN_OFF" > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq;
echo "$CPU_MAX_FREQ_SCREEN_OFF" > /sys/devices/system/cpu/cpu1/cpufreq/screen_off_max_freq;
echo "$CPU_MAX_FREQ_SCREEN_OFF" > /sys/devices/system/cpu/cpu2/cpufreq/screen_off_max_freq;
echo "$CPU_MAX_FREQ_SCREEN_OFF" > /sys/devices/system/cpu/cpu3/cpufreq/screen_off_max_freq;
echo "$CPU_TOUCH_BOOST" > /sys/devices/system/cpu/cpufreq/interactive/input_boost_freq;
echo "$CPU_BOOST_DURATION" > /sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration;
echo "$CPU_TEMP_THRESHOLD" > /sys/module/msm_thermal/parameters/temp_threshold;
echo "725 725 750 775 800 850 875 900 950 975 1000 1012 1025" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table;
echo "725 725 750 775 800 850 875 900 950 975 1000 1012 1025" > /sys/devices/system/cpu/cpu1/cpufreq/UV_mV_table;
echo "725 725 750 775 800 850 875 900 950 975 1000 1012 1025" > /sys/devices/system/cpu/cpu2/cpufreq/UV_mV_table;
echo "725 725 750 775 800 850 875 900 950 975 1000 1012 1025" > /sys/devices/system/cpu/cpu3/cpufreq/UV_mV_table;
echo "$GPU_MAX_FREQ" > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk;
echo "$USB_FAST_CHARGE" > /sys/kernel/fast_charge/force_fast_charge;
echo "$DOUBLE_TAP_2_WAKE" > /sys/android_touch/doubletap2wake;
echo "$DOUBLE_TAP_2_WAKE_INTERVAL" > /sys/android_touch/doubletap2wake_feather;
echo "$SWEEP_TO_DIM" > /sys/android_touch/sweep2dim;
echo "$SWEEP_TO_WAKE" > /sys/android_touch/sweep2wake;

I have a question for the kernel maker. On a fresh install (full-wipe) i'll get after 2 min a popup that my settings.apk wants root rights. At the same moment I get my 3G signal. I hold my 3G signal if I agree of disagree with the root rights. Everything is working now but I wonder why this is. Im using NX rom (https://nxrom.us/n4.html). With the stock kernel of this rom settings.apk won't ask for root and I have 3G signal a few seconds after first boot.

Thanks for this kernel, with only the above problem its just running smooth.

EDIT:

I use you're lastest AOSP test kernel

EDIT 2:

Found it. I guess because I can enable double tap 2 wake in the settings.apk. This requires root. Perhaps this will delay the 3G signal to?