Learn to Sync Files Between Android And PC with Unison

Dropbox and similar cloud services are great if youre planning to keep your files … more

OnePlus Indian Ban Lifted, Android One Expanding – XDA TV

Android 5.0.1 Lollipop is available for the Nvidia SHIELD Tablet! That and … more

Nvidia and Robotics w/ Barrett Williams – XDA:DevCon 2014

Robotics continues to dominate our videos from this years XDA:DevCon 2014 in … more

Speed Up Deodexing with JoelDroid Batch Deodexer

Android 5.0 Lollipop brings many under-the-hood changes like changing the default compiler … 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

[MOD][Xposed] HTC Gesture Modifier

OP MohammadAG

5th May 2014, 05:52 PM   |  #1  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,209
 
1,079 posts
Join Date:Joined: Sep 2009
Donate to Me
More
Requires Xposed Framework!

This module allows you to change the gestures on the HTC One (M8), this is specific to the gestures when the screen is off.

Screenshot:


Compatibility:
HTC One (M8) one 4.4.2

Source:
The mod is open source: https://github.com/MohammadAG/Xposed...sture-Modifier
You may NOT distribute this app on the Play Store, paid or free.

Download:
http://repo.xposed.info/module/com.m...esturemodifier

Support development:
If you found this mod useful, consider donating with PayPal.
Last edited by MohammadAG; 5th May 2014 at 05:54 PM.
The Following 19 Users Say Thank You to MohammadAG For This Useful Post: [ View ]
5th May 2014, 07:04 PM   |  #2  
Vandam500's Avatar
Senior Member
Thanks Meter: 284
 
1,932 posts
Join Date:Joined: Apr 2010
More
This looks awesome. I'll install Xposed just for this and will report back!
5th May 2014, 07:25 PM   |  #3  
shorty1483's Avatar
Senior Member
Thanks Meter: 359
 
1,049 posts
Join Date:Joined: May 2009
More
Will this work also when changing to AOSP Lockscreen?
5th May 2014, 08:09 PM   |  #4  
Senior Member
Thanks Meter: 87
 
330 posts
Join Date:Joined: Apr 2014
More
I've been hoping somebody would come up with this, thank you!

I know it's version one but on my device (Verizon running SkyFall ROM and Evo's kernel) the Google voice gesture doesn't turn the screen on. It works, but the screen is still off lol. Just a heads up!

Sent from my VZW HTC One M8

EDIT: Didn't realize you mentioned that on the download page in Xposed... disregard :P
Last edited by sparky_005; 5th May 2014 at 08:15 PM.
5th May 2014, 08:50 PM   |  #5  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,209
 
1,079 posts
Join Date:Joined: Sep 2009
Donate to Me
More
Quote:
Originally Posted by sparky_005

I've been hoping somebody would come up with this, thank you!

I know it's version one but on my device (Verizon running SkyFall ROM and Evo's kernel) the Google voice gesture doesn't turn the screen on. It works, but the screen is still off lol. Just a heads up!

Sent from my VZW HTC One M8

EDIT: Didn't realize you mentioned that on the download page in Xposed... disregard :P

Actually Google Voice Search should turn on the screen, it has a flag set on it that does that.
I can add the option to turn on the screen manually if it doesn't work for some reason.

Do you have a passcode set? (Although I did test that too)
5th May 2014, 09:38 PM   |  #6  
Senior Member
Thanks Meter: 87
 
330 posts
Join Date:Joined: Apr 2014
More
Quote:
Originally Posted by MohammadAG

Actually Google Voice Search should turn on the screen, it has a flag set on it that does that.
I can add the option to turn on the screen manually if it doesn't work for some reason.

Do you have a passcode set? (Although I did test that too)

I have a lockscreen set but no passcode. Google Voice starts (I can hear the chime) but the screen doesn't turn on and it immediately quits. Everything else seems to work just fine. I just took a glance at your source, and I noticed that there's no call to wakeUpDevice in the performAction method (for Voice anyway.) Could that be the issue?

I tried adding that and testing it myself, but for some reason when I compile and run on my device, nothing at all works. So clearly I'm doing something wrong on that front :P
5th May 2014, 10:08 PM   |  #7  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,209
 
1,079 posts
Join Date:Joined: Sep 2009
Donate to Me
More
Quote:
Originally Posted by sparky_005

I have a lockscreen set but no passcode. Google Voice starts (I can hear the chime) but the screen doesn't turn on and it immediately quits. Everything else seems to work just fine. I just took a glance at your source, and I noticed that there's no call to wakeUpDevice in the performAction method (for Voice anyway.) Could that be the issue?

I tried adding that and testing it myself, but for some reason when I compile and run on my device, nothing at all works. So clearly I'm doing something wrong on that front :P

Yeah, it's not there cause there's a flag set with intent.addFlags that turns the screen on.

It probably didn't work cause you didn't wait for Xposed to update the module list. Toggle the module and reboot.

Sent from my HTC One_M8 using Tapatalk
5th May 2014, 10:10 PM   |  #8  
Senior Member
Thanks Meter: 87
 
330 posts
Join Date:Joined: Apr 2014
More
Quote:
Originally Posted by MohammadAG

Yeah, it's not there cause there's a flag set with intent.addFlags that turns the screen on.

It probably didn't work cause you didn't wait for Xposed to update the module list. Toggle the module and reboot.

Sent from my HTC One_M8 using Tapatalk

Gotcha. I don't know that much about developing for Android. I activate the module and reboot though, to no avail

Sent from my VZW HTC One M8
6th May 2014, 01:26 AM   |  #9  
ssojyeti2's Avatar
Recognized Themer
Flag North Miami Beach
Thanks Meter: 2,686
 
3,104 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Nice mod! Any way to have the phone not wake up with the music prev/next gestures?
The Following 2 Users Say Thank You to ssojyeti2 For This Useful Post: [ View ]
6th May 2014, 09:38 AM   |  #10  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,209
 
1,079 posts
Join Date:Joined: Sep 2009
Donate to Me
More
Quote:
Originally Posted by ssojyeti2

Nice mod! Any way to have the phone not wake up with the music prev/next gestures?

That was the original goal, but after a gesture is detected no more gestures are recorded, so you either have to turn on the screen yourself or not use gestures.

I mentioned it in the repository link description. I have no idea if this is a thing in the SensorHub hardware, the kernel, or SensorHubService I'm hooking, so it needs more time to see if it's possible.

Sent from my HTC One_M8 using Tapatalk

The Following 2 Users Say Thank You to MohammadAG For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes