FORUMS

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more
Post Reply Subscribe to Thread Email Thread
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 20 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: 292
 
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: 373
 
More
Will this work also when changing to AOSP Lockscreen?
5th May 2014, 07:09 PM |#4  
Senior Member
Thanks Meter: 95
 
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,459
 
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: 95
 
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,459
 
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: 95
 
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,690
 
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,459
 
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 ]
7th May 2014, 02:37 AM |#11  
Clarkkent434's Avatar
Senior Member
Flag Metropolis
Thanks Meter: 46
 
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

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

Advanced Search
Display Modes