Make Your Own Heat Sink for the LG Optimus 4X HD

Its not a rare occurrence that performing a resource heavy task on your Android device (e.g. … more

Learn How to Create an Old School Dialer

XDA is not only a great source for custom ROMs, kernels, and various modifications for numerous … more

USB Desktop Charger Roundup – XDA TV

Sometimes you learn one way to do something, and that’s the way you do it forever. You never … more

Samsung Galaxy Grand Duos Receives Early CM12 Port

Samsung Galaxy Grand is a dual-SIM phone with a 5 screen that was announced two years ago. … 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,199
 
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: 79
 
303 posts
Join Date:Joined: Apr 2014
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,199
 
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: 79
 
303 posts
Join Date:Joined: Apr 2014
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,199
 
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: 79
 
303 posts
Join Date:Joined: Apr 2014
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
7th May 2014, 03:37 AM   |  #9  
Clarkkent434's Avatar
Senior Member
Flag Metropolis
Thanks Meter: 46
 
334 posts
Join Date:Joined: Nov 2010
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

I have the same issue with the screen not turning on. I toggle the module and reboot and it didn't fix it for me.

Sent from my HTC One_M8 using Tapatalk
6th May 2014, 01:26 AM   |  #10  
ssojyeti2's Avatar
Recognized Themer
Flag North Miami Beach
Thanks Meter: 2,685
 
3,103 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 ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes