Backup+ Lets You Backup Your App Data on Android Lollipop

Even though Android 5.0 Lollipop hasn’t yet seen its official release, quite … more

TechTalk Compiles All the Android News You Need in One App

If you’re as obsessed with mobile devices as the vast majority of our forum … more

Android App Review: Google Inbox to Improve Your Life – XDA TV

Recently, Google+ exploded with the announcement of Google Inbox, as … more

Damp the LG G3 Thermal Throttling

As our mobile devices grow thinner and more powerfulwith each passing generation, it’s inevitable … more
Post Reply

[MOD][Xposed] HTC Gesture Modifier

OP MohammadAG

5th May 2014, 04:52 PM   |  #1  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,041
 
1,075 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 04:54 PM.
The Following 19 Users Say Thank You to MohammadAG For This Useful Post: [ View ]
5th May 2014, 06:04 PM   |  #2  
Vandam500's Avatar
Senior Member
Thanks Meter: 283
 
1,922 posts
Join Date:Joined: Apr 2010
More
This looks awesome. I'll install Xposed just for this and will report back!
5th May 2014, 06:25 PM   |  #3  
shorty1483's Avatar
Senior Member
Thanks Meter: 347
 
1,040 posts
Join Date:Joined: May 2009
More
Will this work also when changing to AOSP Lockscreen?
5th May 2014, 07:09 PM   |  #4  
Senior Member
Thanks Meter: 60
 
207 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 07:15 PM.
5th May 2014, 07:50 PM   |  #5  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,041
 
1,075 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, 08:38 PM   |  #6  
Senior Member
Thanks Meter: 60
 
207 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, 09:08 PM   |  #7  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,041
 
1,075 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, 09:10 PM   |  #8  
Senior Member
Thanks Meter: 60
 
207 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, 12:26 AM   |  #9  
ssojyeti2's Avatar
Recognized Themer
Flag North Miami Beach
Thanks Meter: 2,646
 
3,093 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, 08:38 AM   |  #10  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,041
 
1,075 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


Top Threads in One (M8) Themes and Apps by ThreadRank