[Requires Root][Open Source] Doubletap to Wake Enabler v1.2

naxir

Senior Member
Aug 6, 2010
84
252
0
Nexus 6 Doubletap To Wake
Description
Enables the "double tap to wake" feature that the Nexus 6 shipped with.. It requires root, so you must unlock your bootloader and root before using this. I am offering it for free to members of xda-developers; you can find the apk below. If you wish to donate, feel free to download it from the Google Play Store for $0.99 (USD):

https://play.google.com/store/apps/details?id=com.codechron.n6doubletapunlock

If you wish to view the code or build from source to verify that nothing mischievous is going on, you may find the code on Github. Note that the code may be slightly messy; most of my development experience lies elsewhere.

https://github.com/smskelley/Nexus-6-Tap-to-Wake/

Video
@techfanatic9 was kind enough to make a video demonstrating the installation and basic use of this app.

Caveats
Google's built in implementation of double tap to wake isn't perfect. It's likely why it wasn't enabled out of the box. Some users have indicated that if their device has been sleeping for a while, double tap to wake isn't always reliable. It is very unlikely to cause harm to your Nexus 6, but extensive longterm testing has not yet been done. Additionally, this is unlikely to work on anything but the Nexus 6. By downloading now, you are accepting the liability if something were to go wrong. Please let me know if you run into any issues or have any questions.
Changelog
Version 1.2 - Mostly bugfixes.
  • Enhanced error checking.
  • If a non rooted device opens this application, it should no longer crash.
  • Small formatting changes.
Version 1.1 - Persist through reboot.
  • Settings now persist through reboot.
  • Changed name from "Doubletap to Unlock" to "Doubletap to Wake".
  • Updated Icon. Doesn't look amazing, but it's better than it was.
  • Updated some text.
Version 1.0 - Initial Version
  • Implemented the ability to turn on or off Double Tap to Wake
 

Attachments

Last edited:

garymachete

Senior Member
Mar 2, 2011
399
119
0
Issaquah
Dope! Testing right meow

---------- Post added at 11:51 AM ---------- Previous post was at 11:49 AM ----------

You, sir or miss, are an amazing person. Coming from having the g2 and then the g3 I'm pretty accustomed to the knock on/off. Thank you for getting this out there on the swift tip.
 

mp5cartman

Senior Member
Aug 21, 2010
67
31
0
Thanks, I am coming from the G3 and I still double tap my nexus at times since I'm so used to it. This works perfectly, I wonder why google took the feature out?
 

soundneedle

Senior Member
Dec 7, 2010
175
42
48
Los Angeles
Just tested and works. This feature is essential since the phone lacks infrared sensors like the X. Nice work!




(I apologize if this is not the correct forum to post this to. Please let me know if there is a more applicable place to put it.)

I have created an app for the Nexus 6 which enables the "double tap to unlock" feature. It requires root, so you must unlock your bootloader and root before using this.

I have only tested it on my device. I wouldn't expect it to work on anything but the Nexus 6. It is very unlikely to cause harm to other devices, but know that by downloading it right now, you are accepting the liability if something were to go wrong. Please let me know if you run into any issues or have any questions.
 

antiochasylum

Recognized Contributor
May 15, 2010
4,845
8,280
263
Arlington TX
Thanks, I am coming from the G3 and I still double tap my nexus at times since I'm so used to it. This works perfectly, I wonder why google took the feature out?
I dunno, but there is a commit in aosp that specifically disabled double tap to wake in HAL, for shamu.

Possibly to avoid pocket double tap? Or random double taps on accident.
 

antiochasylum

Recognized Contributor
May 15, 2010
4,845
8,280
263
Arlington TX
It doesn't take the proximity sensor into effect, so if your pocket double taps your phone, it will wake up. Next to my buddies OnePlus. If you cover the proximity sensor it won't double tap to wake.

This will wake no matter what. Just an FYI.
 
  • Like
Reactions: tmuka and xankriz

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,657
37,704
0
New York, NY
Guess this thread was moved to the Apps, I was wondering where this thread went. I personally would have thought this belong in Android Development.