[KERNEL] (005) Nexus 5 (3.4+ Hybrid/UV/OC/FauxSound/Intelliplug/demand) [12-07-2013]

[KERNEL] (005) Nexus 5 (3.4+ Hybrid/UV/OC/FauxSound/Intelliplug/demand) [12-07-2013]

Hammerhead AKA Nexus 5 Hybrid Kernel

What is a Hybrid?

Hybrid kernel means the core although still has the 3.4.0 kernel label, it has incorporated many advanced features available only on Linux 3.8+ and beyond. It has backported many of those advanced features for Linux 3.4, hence the name hybrid!


Here's the flashable zip file

m - mainline with stock CPU/GPU frequencies
u - ultimate, overclocked CPU 2.5GHz+

Stable Release:

http://sh.st/ij5b

Beta Release:

http://sh.st/ij5Y

Change Log:

http://sh.st/ij5S

Source here:

http://sh.st/ij5Z

Stock Boot.Img:

http://sh.st/ij5N

to flash stock boot.img do =>
reboot to bootloader, then:
fastboot flash boot boot.img
sysfs interface for controlling this kernel:

general format:

xxx is the value, can be integer or text depending on the yyy.
(It's pretty obvious if you view the sysfs entry first to see the values it's expecting)

echo xxx > /sys/yyy/yyy/yyy
cpu governor: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
cpufreq: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
intelliplug: /sys/module/intelli_plug/parameters/intelli_plug_active
eco mode: /sys/module/intelli_plug/parameters/eco_mode_active
snake charmer: /sys/kernel/msm_cpufreq_limit/cpufreq_limit

gpu governor: /sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor
gpu freq: /sys/class/kgsl/kgsl-3d0/max_gpuclk
simple GPU gov:: /sys/module/msm_kgsl_core/parameters/simple_laziness
simple GPU gov: /sys/module/msm_kgsl_core/parameters/simple_ramp_threshold

io scheduler: /sys/block/mmcblk0/queue/scheduler
io scheduler readahead: /sys/block/mmcblk0/queue/read_ahead_kb

dynamic fsync: /sys/kernel/dyn_fsync/Dyn_fsync_active
usb fastcharge: /sys/kernel/fast_charge/force_fast_charge
power suspend: /sys/kernel/power_suspend/power_suspend_state

intellithermal: /sys/module/msm_thermal/parameters/enabled

cpu voltage: /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels