[APP/MOD] PGM aka slide2wake for Nexus (update - more kernels supported)
Howdy, so I figured that since I have nexus then PGM has to made for it. So I did. It should work on GSM Nexus with sane kernel.
This comes in two versions. Free can't be configured and only slide2wake works (the best feature for free duh!). The rest and configuration options come with paid version also on the market (I'd like to add more actions later).
You can see how it works on the video.
*** ROOT REQUIRED ***
If it doesn't work for you, please contact me and we'll see why
THIS IS HIGHLY EXPERIMENTAL AND ALWAYS BE - PLEASE USE AT YOUR OWN RISK!
Configuration options:
start point: X and Y values (as seen from portrait mode) in pixels - where the gesture should start
stop point: the same as above
Threshold: also X and Y - defines how much your finger can go off the perfect line connecting start and stop
timeout (ms): time in milliseconds to discard gesture, so if your swipe takes longer than N millis then it's discarded
Supported kernels (might not be complete):
Franco nightly 194
Faux123 standard kernel (default from AOKP)
Stock
Trinity alpha 95
Battery life:
This is not a simple application. It's a kernel module which controls input requests from the hardware. Phone should go into deep sleep and battery performance should not be affected more than 1-5% (IRL I really can't tell if it causes any battery drain at all - if it is - it's insignificant).
Changelog:
1.14 2013-01-06
BUGFIX for doubletap2wake (should be working now)
BUGFIX for screen being unresponsive sometimes (this time I really hope it's fixed)
1.13 2012-12-21 (end of the world)
BUGFIX for screen not being responsive sometimes (I hope)
1.11/1.12 2012-07-29
BUG FIX for android 4.2 which caused screen to be responsive when calling
1.10 2012-07-29
fixed timeout problem in slide2wake
fixed "up" gesture not working as expected
changed touch2wake to wake after finger-UP not finger-DOWN - might help with spontaneous wakeups
added pressure verification for touch2wake to not react on large input (thigh?)
fixed start on boot issue when using superuser
1.9 2012-07-11
FIXED double swipe problem (and more)
1.8 2012-07-08
FIXED CRT animation not working with lock
Added new gesture - touch2wake
Added new gesture - doubletap2wake
few bugs fixed
IF IT'S NOT WORKING AFTER BOOT - INSTALL SUPERSU INSTEAD SUPERUSER
module unloading should work now (if rom/kernel supports it)
1.7 2012-07-01
FIXED support for more kernels made for ICS
FIXED support for more kernels made for JB
1.6b 2012-06-29
FIXED SUPPORT FOR 4.1 JELLYBEAN
fixed input fields schizophrenia
1.6 2012-06-26
fixed enabled/disabled toggling in gestures which was craaazyyy
fixed values switching between gestures
1.5 2012-06-25
fixed spontaneous reboot on some kernels
fixed "double-swipe-bug"
module not loading on boot should also be fixed
reboots upon loading module still happen on some kernels - won'tfix
1.4 2012-06-23
NEW GESTURE! (FULL APP ONLY) - slide2media_next - play next song (or start playing) with swiping left->right on the bottom of screen
This will NOT add additional battery drain when the screen is not touched. When you touch the screen there's a bit of processing for that but it's really insignificant when you compare it to a few minutes of screen battery drain. Despite what some people are saying, there is no polling, no thread running. Devices use interrupts, so this mod is totally inactive until you touch the screen (it is "woken up" in that moment). I've this on Evo3D when I had it and I've found no additional battery drain. Here I'm using it for few days and I don't see the difference in battery life.
Anyways. I flashed the default kernel and I have to say that I love you and this app. I would buy it but you need to make more kernels compatible ( I don't know if you can)
Because it's making the whole thread look huge and difficult to read.
Quote:
Originally Posted by Mylenthes
You're mean.
Anyways. I flashed the default kernel and I have to say that I love you and this app. I would buy it but you need to make more kernels compatible ( I don't know if you can)
Sent from my Galaxy Nexus using XDA
I can't. I'll try but kernel developers could just enable that config. It doesn't slow down the kernel at all and makes my life much easier. I'm happy that faux kernel (default from aokp) works with this.
During the first half of 2012, XDA initiated the Recognized Contributor (RC) program to recognize … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?