Samsung Begins Production of 8 Gb RAM Chips

With the release of Android 5.0, our favorite mobile operating system has become 64-bit ready. … more

CM, Micromax and OnePlus – Sales Ban Lifted

It’s less than a week since our recent in-depth analysis of the legal battle over the … more

The History of Flagships: Part I – Sony

Every OEM aspiring to conquer the mobile world undoubtedly releases its take on the so-called … more

XDA & New Relic Performance Monitoring [Sponsored]

In other posts we’ve raved about New Relic Mobile for monitoring performance of our … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[DEV/WIP] doubletap2wake & swipe2wake

OP TheRinseM

22nd August 2013, 02:04 PM   |  #1  
TheRinseM's Avatar
OP Senior Member
Thanks Meter: 1,349
 
897 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Hello,

I'm currently implementing doubletap2wake and swipe2wake into the stock unsecured kernel.
If someone could help, that would be great. My C/C+ experience = 0%.
So if you guys have tips or source, help is always welcome!


Thanks,

Rinse
24th August 2013, 06:52 PM   |  #2  
shriom_manerker's Avatar
Senior Member
Flag Margao,Goa
Thanks Meter: 709
 
1,703 posts
Join Date:Joined: Mar 2011
More
Quote:
Originally Posted by TheRinseM

Hello,

I'm currently implementing doubletap2wake and swipe2wake into the stock unsecured kernel.
If someone could help, that would be great. My C/C+ experience = 0%.
So if you guys have tips or source, help is always welcome!


Thanks,

Rinse

actually, the stock kernel has support for this,only with root, but sadly its a propitiatory app (i dont get it either) called PGM nexus which makes use of it and u can double tap to wake, slide to wake and touch to wake .

https://play.google.com/store/apps/d...ury.pgm2&hl=en
24th August 2013, 07:36 PM   |  #3  
TheRinseM's Avatar
OP Senior Member
Thanks Meter: 1,349
 
897 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Quote:
Originally Posted by shriom_manerker

actually, the stock kernel has support for this,only with root, but sadly its a propitiatory app (i dont get it either) called PGM nexus which makes use of it and u can double tap to wake, slide to wake and touch to wake .

https://play.google.com/store/apps/d...ury.pgm2&hl=en

Thanks alot sir! I'll request to delete this thread.

Thanks!!

Rinse
25th August 2013, 05:43 AM   |  #4  
shriom_manerker's Avatar
Senior Member
Flag Margao,Goa
Thanks Meter: 709
 
1,703 posts
Join Date:Joined: Mar 2011
More
Quote:
Originally Posted by TheRinseM

Thanks alot sir! I'll request to delete this thread.

Thanks!!

Rinse

hold on, never give your hopes up, This is only for the galaxy nexus and the nexus 4 if you can do this for other devices it would be great
26th August 2013, 02:02 PM   |  #5  
sert00's Avatar
Senior Member
Flag cesena,IT
Thanks Meter: 505
 
1,082 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by shriom_manerker

hold on, never give your hopes up, This is only for the galaxy nexus and the nexus 4 if you can do this for other devices it would be great

And better if possible via kernel SysFS,not an app.A module like sweep2wake(the one from Showp1984) would be better!And not closed source like PGM is..sadly
The Following User Says Thank You to sert00 For This Useful Post: [ View ]
26th August 2013, 05:32 PM   |  #6  
shriom_manerker's Avatar
Senior Member
Flag Margao,Goa
Thanks Meter: 709
 
1,703 posts
Join Date:Joined: Mar 2011
More
Quote:
Originally Posted by sert00

And better if possible via kernel SysFS,not an app.A module like sweep2wake(the one from Showp1984) would be better!And not closed source like PGM is..sadly

yes ! exactly ! open source is the way to go besides pgm no longer supports newer kernels for 4.3 (only stock no trace and trace methods are supported ) which i guess some kernel developers dont use. anyways please make it open source if possible
The Following User Says Thank You to shriom_manerker For This Useful Post: [ View ]
26th August 2013, 06:45 PM   |  #7  
sert00's Avatar
Senior Member
Flag cesena,IT
Thanks Meter: 505
 
1,082 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by shriom_manerker

yes ! exactly ! open source is the way to go besides pgm no longer supports newer kernels for 4.3 (only stock no trace and trace methods are supported ) which i guess some kernel developers dont use. anyways please make it open source if possible

Sadly my C\C++ skills are very limited,i would have been happy to help you out
3rd December 2013, 07:27 PM   |  #8  
jugster's Avatar
Senior Member
Thanks Meter: 142
 
335 posts
Join Date:Joined: Aug 2010
Quote:
Originally Posted by TheRinseM

Hello,

I'm currently implementing doubletap2wake and swipe2wake into the stock unsecured kernel.
If someone could help, that would be great. My C/C+ experience = 0%.
So if you guys have tips or source, help is always welcome!


Thanks,

Rinse

How far have you come?
I can imagine, with 0% C/C++ experience, it is somewhat of an uphill.

Quote:
Originally Posted by sert00

Sadly my C\C++ skills are very limited,i would have been happy to help you out

Here is an implementation for Nexus7 (2013)
https://github.com/flar2/flo/tree/ElementalX
Something to work with perhaps?

Cheers,
/J
5th December 2013, 09:22 AM   |  #9  
Senior Member
Thanks Meter: 374
 
2,179 posts
Join Date:Joined: Sep 2010
Donate to Me
More
I'd check @faux123 git. He's done this for a few devices with settings to turn on and off in his app.
31st October 2014, 07:12 AM   |  #10  
7175's Avatar
Senior Member
Thanks Meter: 399
 
296 posts
Join Date:Joined: Feb 2013
More
Anybody still working on? Got a few thoughts.

A good place to start would be to look up the "gpm hack" and "gpm mouse" in duckduckgo. I think there is a lot of good stuff you'll find. Another thing to get familiar with is parsing the output of /dev/input/event* and the builtin touch screen emulation with android's "input" command line function, "input touchscreen" to be more exact.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes