Nexus 4 kernel based on FrancoKernel with doubletap2wake support ================================================================ My repository is available on github, the DT2W patches are on the dt2w branch: To set the tunables automatically on boot, you can save a configuration file as "/sdcard/dt2w.conf" -- let me know if it doesn't work... I have tested it on my device and it seems OK (you can let me know if it works as well... :)). See the sample configuration file in this directory. The format of each line is "key=value" (without space) with key being the name of the setting. (You can also create a script "/etc/init.dt2w.sh", which will be run as an init script after the configuration script --if any-- is processed.) NOTE: if you use the AnyKernel version, dt2w.conf and init.dt2w.sh are not supported. Here's a list of the tunables: /sys/module/lge_touch_core/parameters/doubletap_to_wake (bool) * N: DT2W disabled (default) * Y: DT2W enabled /sys/module/lge_touch_core/parameters/doubletap_pwrkey_suspend (bool) * N: Power button ignored (default) * Y: DT2W is disabled when the power button is used /sys/module/lge_touch_core/parameters/doubletap_area (integer) * 0: (default): full screen * 1: bottom area (left/right margins excluded) * 2: top area (left/right margins excluded) * 3: center of the screen /sys/module/lge_touch_core/parameters/doubletap_charger (integer) * 0: Charger presence does not alter the behavior (default) * 1: Normal behavior + DT2W is enabled when charging * 2: DT2W is only enabled when charging (no battery drain) /sys/module/lge_touch_core/parameters/doubletap_delay (integer) * N: Maximum number N of milliseconds between 2 "taps" --Mikael