FORUMS
Remove All Ads from XDA

[KERNEL] [Sense] [DT2W] DoubleTap2Wake Kernel for Sense | 2015-02-08

426 posts
Thanks Meter: 1,920
 
By kyasu, Senior Member on 1st November 2014, 10:29 AM
Post Reply Email Thread
I ported DoubleTap2Wake features to Sense kernel.

Features:

- DoubleTap2Wake

DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the screen. It is possible to disable dt2w only in the upper part of the screen for avoiding the touch with the face/ear when talking.
/sys/android_touch/doubletap2wake

0=disabled
1=enable doubletap2wake (default)
2=enable doubletap2wake but disabled in the upper 1/2 part
3=enable doubletap2wake but disabled in the upper 1/3 part
4=enable doubletap2wake but disabled in the upper 1/4 part
Credits and Thanks:
All credits and thanks go to the original author: @flar2.

Disclaimer:
I am not responsible if you "brick" your device or in anyway damage it or void your warranty.
Proceed at your own risk.

Installation:
1. Make sure that your are on the stock sense rom: Android 4.4.2 and Sense 6.
2. Flash the boot-memul-dt2w-version.img.
# fastboot flash boot boot-memul-dt2w-version.img
Source:
The attached dt2w-memul-3.4.0-g3ea4692.patch is a patch to the 2.16.401.5 (memul-3.4.0-g3ea4692.zip) kernel source.
The kernel source can be downloaded from HTCDev (Device: One mini 2).

Download:
https://www.androidfilehost.com/?w=files&flid=24404

Enjoy!

XDA:DevDB Information
DoubleTap2Wake Kernel for Sense, Kernel for the HTC One Mini 2

Contributors
kyasu
Kernel Special Features:

Version Information
Status: Stable

Created 2014-11-01
Last Updated 2015-02-08
The Following 8 Users Say Thank You to kyasu For This Useful Post: [ View ] Gift kyasu Ad-Free
 
 
1st November 2014, 01:24 PM |#2  
Will972's Avatar
Senior Member
Flag paris
Thanks Meter: 1,609
 
More
Ahahaha thank u so much dude.. now when my one mine 2 will be here i will make my own rom .

And with ur permission. Use ur kernel .
4th November 2014, 10:27 PM |#3  
Junior Member
Thanks Meter: 0
 
More
In the "/sys/android_touch/" instead of the file "doubletap2wake" is "tap_to_wake".
5th November 2014, 01:34 AM |#4  
Junior Member
Thanks Meter: 0
 
More
This is what this phone needs! I'm kinda new to adding custom roms etc. Is this compatible with the HTC One Remix (Verizon)? If so, where can I find the needed files and instructions?
Thanks!
5th November 2014, 01:58 PM |#5  
OP Senior Member
Flag Tokyo
Thanks Meter: 1,920
 
More
Quote:
Originally Posted by cotsiames

In the "/sys/android_touch/" instead of the file "doubletap2wake" is "tap_to_wake".

You are correct. I modified the opening message.
6th November 2014, 01:15 PM |#6  
Will972's Avatar
Senior Member
Flag paris
Thanks Meter: 1,609
 
More
Ok got my One mini 2 . Rooted, unlocked and flashed with your kernel.. i've noticed one thing.. it seem that we cannot write on ext sdcard and also on the system.

Btw your kernel is just perfect

Cheers mate
7th November 2014, 01:57 PM |#7  
Junior Member
Thanks Meter: 0
 
More
how to root and how to flash?
Hi!!

I have no idea how to root my phone.
To flash i think i can use Universal Kernel flash app from the play store.
I have tried towlroot but root checker said that:"Root access - no access" and also "SU - not found".
I have checked google for answers but only got ****ty videos...

Hope i get some help here.
Thank you in advance.
Traian
8th November 2014, 09:03 AM |#8  
OP Senior Member
Flag Tokyo
Thanks Meter: 1,920
 
More
Quote:
Originally Posted by Will972

Ok got my One mini 2 . Rooted, unlocked and flashed with your kernel.. i've noticed one thing.. it seem that we cannot write on ext sdcard and also on the system.

Btw your kernel is just perfect

Cheers mate

I tested boot-memul-1.16.709.1-dt2w.img with my mini 2 which is 1.16.709.1 asia version. I can write on the system but cannot write on ext sdcard (KitKat restriction). This is same as the original stock kernel.
The Following User Says Thank You to kyasu For This Useful Post: [ View ] Gift kyasu Ad-Free
14th November 2014, 12:04 AM |#9  
Junior Member
Thanks Meter: 13
 
More
Does installing this mod lead to battery drain ?
14th November 2014, 02:38 PM |#10  
doiutzu's Avatar
Senior Member
Thanks Meter: 126
 
More
Quote:
Originally Posted by vista_66

Does installing this mod lead to battery drain ?

Not for me. I used it on sense and on cm 11 and didn't experience any drain.
14th November 2014, 06:11 PM |#11  
nasirum's Avatar
Member
Flag Dhaka
Thanks Meter: 3
 
More
Is there any kernel which has no write protection.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes