Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
bponury
Old
(Last edited by bponury; 6th January 2013 at 10:17 PM.)
#1  
bponury's Avatar
Recognized Developer - OP
Thanks Meter 2374
Posts: 660
Join Date: Apr 2010
Location: Warsaw

 
DONATE TO ME
Default [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






Free version: https://play.google.com/store/apps/d...onury.pgm2free

Better version: https://play.google.com/store/apps/d...et.ponury.pgm2


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
    • fixed error that prevented locking after boot
    • fixed a bug where unlocked app showed as locked
    • fixed gesture descriptions
    • fixed one FC


  • 1.3 2012-06-21
    • added support for more kernels
    • fixed a few bugs
  • 1.1 2012-06-20
    • initial release
My other projects: http://forum.ponury.net/
I accept beer donations! http://forum.ponury.net/viewtopic.php?f=6&t=9
The Following 154 Users Say Thank You to bponury For This Useful Post: [ Click to Expand ]
 
idkwhothatis123
Old
(Last edited by idkwhothatis123; 21st June 2012 at 02:05 AM.)
#2  
Senior Member
Thanks Meter 265
Posts: 1,095
Join Date: Oct 2010
[

Sweet app. Franco 189 does not support it though. Will have to find a kernel that does.

Sent from my Galaxy Nexus using Tapatalk
The Following User Says Thank You to idkwhothatis123 For This Useful Post: [ Click to Expand ]
 
bponury
Old
#3  
bponury's Avatar
Recognized Developer - OP
Thanks Meter 2374
Posts: 660
Join Date: Apr 2010
Location: Warsaw

 
DONATE TO ME
Quote:
Originally Posted by idkwhothatis123 View Post
Sweet app. Franco 189 does not support it though. Will have to find a kernel that does.

Sent from my Galaxy Nexus using Tapatalk

Wow, please edit your post to not include my complete post :) And thanks. I'm using faux123's kernel as my base.
My other projects: http://forum.ponury.net/
I accept beer donations! http://forum.ponury.net/viewtopic.php?f=6&t=9
The Following 2 Users Say Thank You to bponury For This Useful Post: [ Click to Expand ]
 
Mylenthes
Old
#4  
Senior Member
Thanks Meter 42
Posts: 935
Join Date: Aug 2010
Does this kill battery?

Sent from my Galaxy Nexus using XDA
 
bponury
Old
#5  
bponury's Avatar
Recognized Developer - OP
Thanks Meter 2374
Posts: 660
Join Date: Apr 2010
Location: Warsaw

 
DONATE TO ME
Quote:
Originally Posted by Mylenthes View Post
Does this kill battery?

Sent from my Galaxy Nexus using XDA
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.
My other projects: http://forum.ponury.net/
I accept beer donations! http://forum.ponury.net/viewtopic.php?f=6&t=9
The Following User Says Thank You to bponury For This Useful Post: [ Click to Expand ]
 
arhung
Old
#6  
Senior Member
Thanks Meter 18
Posts: 326
Join Date: May 2009
feel disappointed that I can't use the app, because it saying my kernel doesn't support it
I'm using ARHD4.0.1 and Jame bond kernel.
 
Mylenthes
Old
#7  
Senior Member
Thanks Meter 42
Posts: 935
Join Date: Aug 2010
Kernel not supported I'm using trinity

Sent from my Galaxy Nexus using XDA
 
idkwhothatis123
Old
(Last edited by idkwhothatis123; 21st June 2012 at 02:06 AM.)
#8  
Senior Member
Thanks Meter 265
Posts: 1,095
Join Date: Oct 2010
Why?

Sent from my Galaxy Nexus using Tapatalk
 
Mylenthes
Old
#9  
Senior Member
Thanks Meter 42
Posts: 935
Join Date: Aug 2010
Quote:
Originally Posted by idkwhothatis123 View Post
Why?

Sent from my Galaxy Nexus using Tapatalk
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
 
bponury
Old
(Last edited by bponury; 20th June 2012 at 05:23 PM.)
#10  
bponury's Avatar
Recognized Developer - OP
Thanks Meter 2374
Posts: 660
Join Date: Apr 2010
Location: Warsaw

 
DONATE TO ME
Quote:
Originally Posted by idkwhothatis123 View Post
Why?

Sent from my Galaxy Nexus using Tapatalk
Because it's making the whole thread look huge and difficult to read.


Quote:
Originally Posted by Mylenthes View Post
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.
My other projects: http://forum.ponury.net/
I accept beer donations! http://forum.ponury.net/viewtopic.php?f=6&t=9

The Following User Says Thank You to bponury For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...