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

Search This thread

kyasu

Senior Member
Sep 23, 2012
710
3,387
Tokyo
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
 
Last edited:

djnoname22

Member
Dec 26, 2008
5
0
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!
 

Will972

Senior Member
Feb 17, 2011
1,886
1,591
paris
OPPO Find X3 Pro
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
 

Janc24

New member
Aug 26, 2012
1
0
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
 

kyasu

Senior Member
Sep 23, 2012
710
3,387
Tokyo
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.
 
  • Like
Reactions: nasirum

Diviner

Member
Jun 21, 2009
32
0
I'm really new in the android business - just got this phone after about 5 years with the diamond2.
Is it a must to root the device in order to add this small but important feature ? - can't it be implemented as an app ?
 

Gamb1

Member
Oct 9, 2014
12
0
Znojmo
Instruction

Do you give me a instruction of root and ulock and install this kernel HTC one mini 2?
I sorry my english no good because i am from CZ..
Thanks
 

michellin

Member
Oct 29, 2008
17
0
hi
i just flashed File boot-memul-2.16.401.1-dt2w.img

one bug i found

when i use root explorer and pick a file to send through bluetooth, the option ""BLUETOOTH"" is ---way-- off in resolution.
 

LukesDuke

New member
Dec 10, 2014
1
0
Hi @ all

I got a question I have updatet my Mini 2 to 2.19.401.1 installed the TWRP Bootloader is Unlocked is it possible to install the DT2W Kernel?


Greetings Luke
 

putti71

Senior Member
@kyasu

Thank you for your kernel! May I make a request?
I am missing write access to SD card.
Before your kernel I was on liberty kernel and there I was able to delete all of the bloat apps from system, but could not install apps on extSD. Therefore i went for your kernel, but now I am not able to delete stuff from intSD.
Can this be fixed?

Regards

Sent from my GT-I9300 using XDA Free mobile app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    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
    2
    no, i mean directly from kernel. elementalx kernel for my m7 has 2 options: lower part and full screen. and this kernel is based on flar2's elemental. so i dont think that would be very hard. but then again i might be wrong :)
    anyways, @kyasu didnt reply yet, i still have some hope :)

    DT2W for one mini 2 is software emulated in the kernel driver (but battery friendly), so it is possible to activate only the lower part. I implemented this feature in DT2W kernel for CM12.
    http://xdaforums.com/one-mini-2/orig-development/kernel-doubletap2wake-kernel-cm11-t2917226
    If I have time, I will make DT2W kernel for Sense.
    2
    Updated the DT2W kernel for Sense. See the first post.
    New feature: It is possible to disable dt2w only in the upper part of the screen for avoiding the touch with the face/ear when talking.
    1
    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.
    1
    What about 2.18.401.3? DoubleTap2Wake is not possible yet?

    I use 2.16.401.1 dt2w with 2.18.401.3 update and it works great.