yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] C3C076:
It's a feature that must be added at kernel level. You can find out by searching ElementalX kernel repository at github.
[Xposed Framework Modules] tipra.wicked:
Hey,

I Installed your module on my OnePlus One which has inherent support for d2w and some other custom gestures (music control, torch, camera) and im currently using the AK Kernel on it (Link Below).

When I launch your app on my device i get the error

"Your device does not support kernel level wake gestures or they are currently disabled."

The Device is running CM11S.

Can you give me a fix to the solution. I asked the Kernel Dev and he is asking what Commits are required over d2w for the following to work.

AK Kernel : http://xdaforums.com/oneplus-one/orig-development/kernel-ak-t2832168

Thanks :)
[Xposed Framework Modules] C3C076:
I'm not a kernel dev but you might want to link your kernel dev to this commit in flar2's kernel sources for nexus 5:

https://github.com/flar2/ElementalX-N5/commit/7219f7e00b5704c72dd1a19e73bc03f32a77be60
[Xposed Framework Modules] tipra.wicked:
Hi, Thanks for your reply i shall forward this information to him :)
[Xposed Framework Modules] onesvip:
Hi, would it be possible to add LGs "knock on" feature?
[Xposed Framework Modules] txx3:
no 4.1.2 :*( got the apolo kernel which includes swipe to wake
[Xposed Framework Modules] C3C076:
Wake Gestures module functionality and possibilities depend on what kernel has to offer.

I cannot imagine to achieve such a functionality by utilizing current wake gesture implementation.

Swipe to wake is not enough. Your kernel must support "Wake Gestures".
[Xposed Framework Modules] txx3:
okay i see, thank you
[Xposed Framework Modules] lujomu:
I have assigned some Tasker tasks (via [ Shortcuts > Task Shortcut ]) to different gestures. They execute just fine, but they also turn on the display, which I'd like to prevent if possible.

Is this intended behavior, or am I missing something?
[Xposed Framework Modules] C3C076:
It's a wake gestures module so it's kind of expected screen turns on. It's currently not possible to define whether screen stays off at custom action level.
[Xposed Framework Modules] lujomu:
I figured, thanks for the clarification!
[Xposed Framework Modules] gut4:
Is it possible to control wake gestures on lollipop? I understand that we need xposed, but maybe possible to build this app without xposed?
[Xposed Framework Modules] C3C076:
Xposed is required for handling gestures and launching actions. I don't think it's possible without it.
[Xposed Framework Modules] dummie999:
Why not? You don't need xposed, for catching the gestures. Also, apps can launch other apps, and turn on the screen. I don't see where you need xposed for.
[Xposed Framework Modules] C3C076:
I need elevated rights to be able to read from the input device. Not sure if it could be done via su.

Plus I need to handle keyguard when launching app/action.

Moreover, launching apps while keyugard is locked has changed in Lollipop - they moved it from activity manager into window manager.

We are dealing witn non-public API requiring special system level permissions.
[Xposed Framework Modules] dummie999:
I'm 90% sure the first thing can be done with root only. I don't really know about the rest, though. Could you plz try?
[Xposed Framework Modules] LIMsanity:
Is it compatible?

So I'm using my Cherry Mobile Equinox Night. It's firmware is Jellybean 4.2.1. I don't really know what a kernel is and I don't know how to check it. It says in my phone's description that my kernel version is 3.4.5 or my kernel could be Cherry_Equinox_Night_V2.3 but the module says that my kernel version is not supported even. My phone is pretty high end for a local brand phone. If possible, could you make it compatible with mine? Or atleast give some tips about updating kernels? Thanks!
[Xposed Framework Modules] bdizzle1686:
Google Search + Search button on XDA is key.
[Xposed Framework Modules] C3C076:
Sorry, but I'm not a kernel dev. You have to find somebody who:

1) has source code for your kernel

2) can add wake gestures subsystem to it (e.g. by cherry picking relevant commits from any kernel that already has that support)
[Xposed Framework Modules] Cerberus_tm:
This looks really cool! Does anyone have any tips on finding kernels that support this feature? How should I search?

I am planning on getting an LG G2, and I'd really love to use this fantastic module; but the kernels mentioned in the first post don't seem to be available for the LG G2.
[Xposed Framework Modules] C3C076:
Your best bet is to try searching within your device specific forums and try to get in touch with the kernel devs.
[Xposed Framework Modules] tracerit:
I'm using the OnePlus One now and I really miss this module when I had it on my Nexus 5 :( Just wanted to say thanks for coming up with it and I enjoyed it very much, spoiled by it actually haha :)
[Xposed Framework Modules] xChronoController:
Newbie wants to try it :D

Im a newbie in xposed and i want to try this module but I don't know if my device will support it, im using Pantech Sky Vega Secret Note Im-890s running on stock kitkat 4.4.2. Hope someone will help me :D
[Xposed Framework Modules] rpg711:
I'm having some issues with this... I have CM11 M11 running the latest ElementalX kernel. Wake gestures are enabled in kernel settings but I only have two gestures to customize in this module for some reason... attached a screenshot for reference. Not sure what's going on here, any thoughts?

Edit: Nvm, solved my own problem by manually editing the config files at android_touch.
[Xposed Framework Modules] Cerberus_tm:
Thank you, that is good advice.
[Xposed Framework Modules] yatindroid:
Using HTC One m7 4.4.3 sense 6 dev edition elemental X v18

App works good

But all double swipe tap not working

doing single swipe action instead

Any solution ?
[Xposed Framework Modules] C3C076:
Double swipe has to be done within 1 second. Probably just needs practice.
[Xposed Framework Modules] yatindroid:
Double swipe = 2 fingers swipe or swipe 2 times instantly ?
[Xposed Framework Modules] C3C076:
The same gesture, 2 times in a row.
[Xposed Framework Modules] yatindroid:
Double tap & double double tap disabled ?

double double tap = 4 times tap right ?
[Xposed Framework Modules] sizzlingtycoon:
Hi, will it work on the OnePlus One?

Thanks.
[Xposed Framework Modules] esprout:
Support for Android 5 lollipop

I tried using this on the newly released Xposed framework for Android 5 lollipop Alpha. I'm getting the error:

WakeGestures: Error hooking finishScreenTurningOn: com.android.internal.policy.impl.PhoneWindowManager#finishScreenTurningOn(android.view.WindowManagerPolicy.ScreenOnListener)#exact

I have attached the log file. Will this module be updated to support Android 5?

Thank you very much!
[Xposed Framework Modules] C3C076:
I know. It needs to be adjusted for lollipop. Currently too busy with making GravityBox for lollipop. BTW, there's a wake gestures app by flar2 that doesn't require xposed. You might give it a try.
[Xposed Framework Modules] esprout:
Service could not start

Deleting...
[Xposed Framework Modules] esprout:
I installed the wake gestures app and SuperSU, and it works great! Doesn't have as many gestures to customize, but plenty good enough. Link:

http://xdaforums.com/android/apps-games/app-wake-gestures-t3030399
[Xposed Framework Modules] dannykatz7:
Not working on Lollipop?

I am running Stock 5.0.1 on nexus 5, with xposed and wake gestures installed with elementalX 2.10 installed. Getting the message "Your divide either does not support kernel level wake gestures or they are currently disabled." Any idea why this might be/is there a fix?
[Xposed Framework Modules] C3C076:
Module needs to be adjusted. And since flar2 removed possibility to turn on wake gestures from kernel config (now it's controlled dynamically with his wake gesture app) I will have to add the similar logic which will require my module to have root to be able to do so. That's more work for which I currently don't have enough time.
[Xposed Framework Modules] Janez33:
i have exactly the same issue. i read the whole thread and none of your answers satisfied me :( or maybe i just dont get it

so the wakeup gesture app on xposed says your device is not supported. on my nexus 5 i have elementalX kernel installed with tap2wakeup ON (and its working :)) + cyanogenmod 12 + superSU + busybox. but the application is still not working. what should i do? :) please can you help me :)
[Xposed Framework Modules] C3C076:
This module is incompatible with lollipop. You could try flar2's app instead:

http://xdaforums.com/showthread.php?t=3030399
[Xposed Framework Modules] Janez33:
Thank you very much, its working perfectly now :)
[Xposed Framework Modules] Mikanoshi:
Maybe you know how to check whether music is active or not even if it was paused? isMusicActive() is no longer there in PhoneWindowManager, isMusicActive() from AudioManager returns false after pause.

That old method from PhoneWindowManager was checking some stuff. I tried everything, all returns false, except one method.

I couldn't use mMediaFocusControl.checkUpdateRemoteStateIfActive(3), because it's in a local var in a service)
[Xposed Framework Modules] Mikanoshi:
And I answer to myself)

boolean isStreamActive = (Boolean)XposedHelpers.callStaticMethod(findClass("android.media.AudioSystem", null), "isStreamActive", 3, 10000);
boolean isStreamActiveRemotely = (Boolean)XposedHelpers.callStaticMethod(findClass("android.media.AudioSystem", null), "isStreamActiveRemotely", 3, 10000);

Return true if music playback was active in last 10 seconds (second parameter). There is still some max delay value and it works only for ~10-30 seconds...

Looks like MediaPlayer releases stream after 30 sec on pause (Walkman, for HTC Music it's 60 seconds), so no way to tell if it was paused or stopped.
[Xposed Framework Modules] Buuttloader3000:
Does its work on zenfone 5?

im very curious if it is compatable for zenfone 5... i really need double tap to wake cus my power button is like bruised!!!
[Xposed Framework Modules] Dreak_Sekh:
Will it support xperia M running cm12.1

, I didn't installed any custom kernel,just flashed original xperia m 4.3 ftf, then I flashed cm12.1 . Please Help Bro
[Xposed Framework Modules] C3C076:
Most likely not. You need a special kernel which has "wake gestures" implemented.
[Xposed Framework Modules] rah94:
Does it work on android M ? I'm already use elementalX kernel ...
[Xposed Framework Modules] return99:
can i try arter97 X kernel on note 5?
[Xposed Framework Modules] sansnil:
[MENTION=5008415]C3C076[/MENTION] It seems N6 isn't supported even with the Elemental X kernel. The WG's work with the kernel but the Xposed Mod doesn't pick it up as being supported/enabled. Is there any way to add N6 support? (happy to test of course)
[Xposed Framework Modules] C3C076:
flar2 made some essential changes regarding wake gestures support and it would require quite an effort to adjust my module. Considering the fact that I am short of time + there is non-xposed app for wake gestures available made by flar2, I don't find it as high priority.
[Xposed Framework Modules] Adityanaik7:
Not working on my Nexus 5

I am using Cyanogenmod 12 on my Nexus 5, flashed ElementalX-N5-4.09 kernel and installed Wake Gestures 1.2 from Xposed Installer. I even checked all gesture options for sweep2wake and doubletap2wake while installing ElementalX.

But it is still showing Your device either does not support kernel level wake gestures or they are currently disabled. Please help.
[Xposed Framework Modules] C3C076:
The same applies as I already wrote here:

http://xdaforums.com/showpost.php?p=64511563&postcount=290
[Xposed Framework Modules] rex.raul:
Does it support Redmi note 3 SNAPDRAGON?
[Xposed Framework Modules] jacomail95:
All the devices supported by ElementalX kernel or include the same features to wake the device can use a [MENTION=4684315]flar2[/MENTION] 's app, check its thread here

http://xdaforums.com/showthread.php?t=3030399

The search button helped me, so search before asking,

Inviato dal mio Nexus 5 con Tapatalk 2
[Xposed Framework Modules] a2zonlyt:
Can i use this on my sony xperia z5 compact?
[Xposed Framework Modules] theOriginalSuperl2:
How can I patch my kernel to support this? I have a build environment set up.
[Xposed Framework Modules] gravedigger76:
Aha that makes sense. But if they are two sperate user space features in theory would disabling standard wake functions in Trickster still allow wake gestures through your module to work?

Doesn't look like it... If you disable it all swipe features are disabled. Double tap is controlled sperate do it stays on
[Xposed Framework Modules] tyler78:
I have a rooted Note 2 with 4.4.2. Don't have custom recovery and kernel. Naturally it didn't work. :)

People with tiny hope like me, don't bother. It says "Your device does not support kernel level wake gestures."
[Xposed Framework Modules] C3C076:
There's a dependency. Wake gesture feature requires swipe2wake and dt2wake to be enabled as wake gesture simply controls their behavior.
[Xposed Framework Modules] ykumar00:
Very dumb question, I have A nexus 4 with Franco Kernel, Stock Rom. I can use touch gestures with The touchcontrol app if I enable it. To use this module, do I have to enable anything in the touchcontrol app, or this works independently? Will it work if I have never installed touchcontrol?
[Xposed Framework Modules] flar2:
No, it will not work. The touchcontrol app is something different.

This module requires specific support in the kernel. It can be added fairly easily to kernels that already have sweep2wake. Kernel devs can contact me if they want to know how.

I plan to add support for this app on the HTC One m7 and Nexus 7 (2013). Maybe the HTC One m8 as well.
[Xposed Framework Modules] fcsabika:
I have a THL T11 (MTK6592 phone) and it has support in its original kernel for wake gestures.

I have attached a screenshot of the gestures that can be enabled.

My question is, that when I try your module it says my kernel doesn't support it, but as I said earlier, it does, so could you add support for my phone?
[Xposed Framework Modules] zazzaixx:
I'm using C-rom 4.4.2 and my kernel support S2W, but this module told me that "Your device either does not support kernel level wake gestures or they are currently disabled" :(

Edit: I'm using SII GT-i9100
[Xposed Framework Modules] C3C076:
Go through the last pages. Not many of them. It was already discussed what's needed kernel-side.
[Xposed Framework Modules] mitchst2:
[MENTION=5008415]C3C076[/MENTION]

Tried this on HTC one m7 with ElementalX 14.8. Swipe right worked but all the other options were disabled.

Edit just seen flar2's post above wrt m7:thumbup:

Sent from my HTC One
[Xposed Framework Modules] TheTAMAS:
Anyone? Please..

Anyone gave it a try on the Samsung Galaxy Note 3-International variant?

TouchWiz Kitkat 4.4.2

:fingers-crossed:
[Xposed Framework Modules] C3C076:
That would mean the other swipes are probably disabled in kernel config (in case that particular kernel supports them).
[Xposed Framework Modules] mitchst2:
flar2 mentioned earlier he will add support for HTC one m7 earlier. Just hadn't read that when I posted.

EX 14.8 already has full gesture support which can be configured using Sense 6 toolbox. However that module is missing shortcut options.

Sent from my HTC One
[Xposed Framework Modules] C3C076:
Well, I don't know whether implementation in ex 14.8 is the same as the one in ex v0.4x for n5. Only [MENTION=4684315]flar2[/MENTION] could bring more light into this.
[Xposed Framework Modules] yanleites:
Franco Kernel supports Touch to Unlock, why can't I use this app with Franco ?
[Xposed Framework Modules] tyraelasd:
Thanks so much OP, it works wonderfully.
[Xposed Framework Modules] cd69:
Great idea. Unfortunately my phantom Franco kernel which has Dt2w and s2w is not supported. For now I will use the Dt2w widget. Great job as always.

Sent from my Nexus 5
[Xposed Framework Modules] mitchst2:
Good news http://xdaforums.com/showthread.php?p=53081801

Sent from my HTC One
[Xposed Framework Modules] flar2:
Added support for HTC One m7: http://xdaforums.com/showpost.php?p=53082096&postcount=11506

Will also be adding support for HTC One m8. Although this basic functionality is built-in on Sense and GPE ROMs, this module will bring more customization and can also extend to Cyanogenmod and other custom built ROMs on the m8 that currently don't have this feature.

And when I have time, I'll be adding support to the Nexus 7 (2013). Just not sure when I'll get around to it.
[Xposed Framework Modules] mitchst2:
All up and running. Cheers

Sent from my HTC One
[Xposed Framework Modules] cadarn07:
I have a nexus 4 with stock kernel and rom. I'm thinking of flashing the matr1x kernel to mess with some of its features and to try out this module. According to some posts on the matr1x thread, that kernel supports dt2w and s2w, but s2w requires trickster mod to enable. I have trickster mod so that's no problem but will this module support the matr1x kernel since s2w isn't enabled by default in the kernel?
[Xposed Framework Modules] C3C076:
As already mentioned previously, standard s2w and dt2w are not enough. "Wake gesture" extension to those features is needed at kernel level for module to work. I'll add some more info in the op as soon as possible to avoid further confusion.
[Xposed Framework Modules] cadarn07:
Ok sorry, I misunderstood. When I saw mention of wake gesture previously, I thought that was just another way of referring to s2w and dt2w. Thanks for clarifying.
[Xposed Framework Modules] mitchst2:
[MENTION=5008415]C3C076[/MENTION] & [MENTION=4684315]flar2[/MENTION]

Not sure if this is kernel or module. I'm not getting any haptic feedback on gesture activation.

Sent from my HTC One
[Xposed Framework Modules] osama-selo:
[MENTION=4684315]flar2[/MENTION] Are u planning to support HTC One X?
[Xposed Framework Modules] ichbinich:
Can anyone report on how the battery life reacts with this module on N5?
[Xposed Framework Modules] TheEdgeOfRage:
This isn't working on my Xperia V running a 4.4 custom ROM, with 4.3 kernel sources. I know it's not to be expected to work, but I'm reporting just in case ;)
[Xposed Framework Modules] flar2:
I didn't add the vibration on the m7 because the Sense Toolbox already has this exact same functionality and adds haptic feedback.

I might be able to do one more update for it if there are still people using it. Won't be right away because I'm very busy.
[Xposed Framework Modules] k20-:
Need clarification guys. It sounds to me that this xposed module doesn't replace EX's wake features but rather depends on them to work probably, Is that correct? If yes, then why would you need this module while the kernel itself already gives you that functionality. Finally, would this module equally drain more/less battery like the EX when enabled?
[Xposed Framework Modules] Mikanoshi:
Kernel can work in 2 "modes" when it comes to gestures.

First mode: DT2W/S2W/Logo2Wake/etc - good old wake functionality. It just wakes the device.

Second mode: kernel detects gestures and sends input events, nothing more. Module (or any app at all) can listen to those events and execute assigned actions.

It shouldn't drain any more battery.
[Xposed Framework Modules] mitchst2:
[MENTION=5008415]C3C076[/MENTION]

Potential idea for your consideration. Network state dependant gestures. For example different sets of gestures if connected to Wi-Fi at home, Wi-Fi at work or Bluetooth in car.

Sent from my HTC One
[Xposed Framework Modules] mahar shoaib:
I am on Stock TouchWiz Kitkat 4.4.2 Galaxy S4 9505 any good news for me?
[Xposed Framework Modules] :
It's perfect, thank you.

The only thing I miss is DoubleTap2Wake action :)

Sent from my HTC One
[Xposed Framework Modules] omdevsinh:
I am new here How to use this app wake gestures???
[Xposed Framework Modules] t0mas_:
+1 on this one :)
[Xposed Framework Modules] :
It's a xposed module.

You need a kernel that support this feature.
[Xposed Framework Modules] czechu01:
I cannot make it work on Htc One M7 running ViperOne 6.2.0 and latest ElementalX. All options except double tap are greyed out. Any ideas what I'm doing wrong here?

//

And yes, I've selected the wake gestures in Aroma when flashing kernel.

[MENTION=5008415]C3C076[/MENTION]
[Xposed Framework Modules] mitchst2:
ElementalX 14.9?

Sent from my HTC One
[Xposed Framework Modules] czechu01:
Yes. The original one, from yesterday.
[Xposed Framework Modules] mitchst2:
Ok. Works on mine with Maximus HD.

Sent from my HTC One
[Xposed Framework Modules] bobby janow:
Did you select some wake gestures during the install?

---------- Post added at 07:48 AM ---------- Previous post was at 07:46 AM ----------

dt2w is selected by assigning the action 'unlock' to the gesture.
[Xposed Framework Modules] :
Nope, thats DoubleTap2Unlock, not DoubleTap2Wake...

I don't want to unlock my device with double tap.

I only want that my screen turns on and shows my lockscreen -> If I double tap again my screen goes off.

This was possible in some other mods and it's nice if you check the time for example.
[Xposed Framework Modules] C3C076:
More actions, including simple "turn screen on" one will be added as soon as I have more time to work on it.
[Xposed Framework Modules] bobby janow:
I have my lockscreen set to engage in 15 seconds after the screen goes off. I use a pattern. If I dt2w with unlock as the action, I get the screen on and the pattern screen. It does not unlock unless I swipe my pattern. So I'm not sure of what you mean. Is there a way to dt2w and unlock the pattern at the same time?
[Xposed Framework Modules] :
Yeah, but I don't use a pattern or pin, only a lockscreen where I can swipe up to unlock ;)
[Xposed Framework Modules] bobby janow:
I see.. well if it's working for anyone else with your device and config then there must be something you're missing. Have you found anyone else with it working? Perhaps a conflict with another xposed option or module?
[Xposed Framework Modules] czechu01:
The issue has been solved.

http://xdaforums.com/showpost.php?p=53098298&postcount=11525
[Xposed Framework Modules] bobby janow:
Oh got ya. Sorry. I haven't used that in quite some time. So dt2w unlock bypasses the unlock screen. Looks like the option will be added as per above post.
[Xposed Framework Modules] C3C076:
Version 1.1 available

Changelog 1.1 - 02/06/2014

- Added Screen on action

- Added actions for switching media tracks (prev/next)

- Added double-sweep support

--- now allows up to 10 actions (2*5)

--- Things to be aware of:

------ double-swipe introduces 1 second delay to single swipe (only when set) which is a time window

------ during which module waits for user to repeat swipe

------ double-swiping too fast triggers doubletap

------ requires some practice

Don't forget to reboot after update
[Xposed Framework Modules] mitchst2:
[MENTION=5008415]C3C076[/MENTION]

Like the idea of the new double sweep gestures. However have you considered the above suggestion.

Sent from my HTC One
[Xposed Framework Modules] C3C076:
Yes. But that would mean far more work and time.
[Xposed Framework Modules] mitchst2:
Hopefully you'll find the time from somewhere :D

Sent from my HTC One
[Xposed Framework Modules] Manuelpz:
C3C076,Thanks for work and time I appreciate it. new module working ok
[Xposed Framework Modules] flar2:
Added support for Nexus 7 (2013): http://xdaforums.com/showpost.php?p=53108398&postcount=3166

This commit shows how to add wake gestures support to already existing s2w/dt2w:

https://github.com/flar2/flo/commit/9f36c6c6296a31cfcb96a9ebea429b27af22fced
[Xposed Framework Modules] cadarn07:
I don't suppose at this point you'd consider nexus 4 support would you? None of the kernels I've tried work with this mod.
[Xposed Framework Modules] flar2:
I don't have a Nexus 4, therefore no ElementalX kernel for Nexus 4.
[Xposed Framework Modules] bobby janow:
I don't think it works with the new 4.4.3 update.
[Xposed Framework Modules] C3C076:
Please, could you link me to all of your kernels that have support for wg so I can update the OP and info in xposed repo?

Thanks!
[Xposed Framework Modules] Manuelpz:
Tested with the new update 4.4.3 it work