Enable Double Tap to Wake

Search This thread

ajsmsg78

Senior Member
Dec 6, 2008
5,301
4,744
Selden, NY
Huawei MediaPad X2
Xiaomi Poco F3
I figured out how to enable Double Tap to Wake. This is confirmed working on the Chinese AL10 model but may also work on other variants as well.

Requirements:
-Be Rooted

1) Go into system/build.prop and open it in your favorite text editor. Find the line that says ro.config.hw_easywakeup=false and change the false to true then save your changes.
2) Go to system/emui/base/xml and open up the hw_easywakeupmotion_config.xml in your favorite text editor. Find the line that says <EasyWakeupMotion name="Double_Touch" support="1" value="0" flag="0" keycode="131" /> and change the value=0 to value=1 then save your changes.
3) Restart your phone
4) Go into Settings/Smart Assistance/Motion Control and at the bottom you will now see Double Touch. Turn it on.
5) Restart your phone and you will have Double Tap to Wake enabled and working.
 
Last edited:

edlover666

Senior Member
Dec 9, 2008
92
4
Is there a way to unlock Functions of Fingerprintreader like Mate S or Honor 7? Slide down for Notification.....
 

jbmc83

Senior Member
tempting, but seeing as the idle battery drain will significantly go up, i dont think ill enable it... wondering though why huawei left this feature hidden. maybe extra potential to "add new supercool functions" in future firmware updates?[emoji14]

Sent from my Huawei Mate 8 NXT-AL10 using Tapatalk
 

somboons

Senior Member
Apr 25, 2011
3,183
4,477
Bangkok
Hi. Cannot find the folder you mentioned data/cust
L29
Make sure your build.prop was modifed.
e6ccd8936fa3195dcf055465a0697b3d.jpg


Sent from my HUAWEI NXT-L29 using Tapatalk

---------- Post added at 07:32 PM ---------- Previous post was at 07:27 PM ----------

L29B152 is working. Thanks.

Sent from my HUAWEI NXT-L29 using Tapatalk
 

somboons

Senior Member
Apr 25, 2011
3,183
4,477
Bangkok
I found black screen 3 times then I have to restart phone. I use fingerprint too. Now I remove it.


Sent from my iPad using Tapatalk
 

ajsmsg78

Senior Member
Dec 6, 2008
5,301
4,744
Selden, NY
Huawei MediaPad X2
Xiaomi Poco F3
tempting, but seeing as the idle battery drain will significantly go up, i dont think ill enable it... wondering though why huawei left this feature hidden. maybe extra potential to "add new supercool functions" in future firmware updates?[emoji14]

Sent from my Huawei Mate 8 NXT-AL10 using Tapatalk

It was disabled on certain models of Mediapad X2 as well. A lot of the same things I learned about the X2 apply to the Mate 8 as well. I still have my X2. It's a great compliment to the Mate 8.
 
  • Like
Reactions: jbmc83

greyhulk

Senior Member
Jan 14, 2009
1,314
299
I figured out how to enable Double Tap to Wake. This is confirmed working on the Chinese AL10 model but may also work on other variants as well.

Requirements:
-Rooted

1) Go into system/build.prop and open it in your favorite text editor. Find the line that says ro.config.hw_easywakeup=false and change the false to true then save your changes.
2) Go to system/emui/base/xml and open up the hw_easywakeupmotion_config.xml in your favorite text editor. Find the line that says <EasyWakeupMotion name="Double_Touch" support="1" value="0" flag="0" keycode="131" /> and change the value=0 to value=1 then save your changes.
3) Restart your phone
4) Go into Settings/Smart Assistance/Motion Control and at the bottom you will now see Double Touch. Turn it on.
5) Restart your phone and you will have Double Tap to Wake enabled and working.

Dude, you're my hero. This was the number one thing preventing me from getting this phone. My only other reservation is the Chinese ROM (and I don't want to flash international). The last time I bought a phone with a Korean ROM, the dialer was all jacked up and I could only dial contacts in the U.S. if I added a "1" in front of every single number. Most annoying thing ever. It had several other quirks, too, but that was the worst.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    I figured out how to enable Double Tap to Wake. This is confirmed working on the Chinese AL10 model but may also work on other variants as well.

    Requirements:
    -Be Rooted

    1) Go into system/build.prop and open it in your favorite text editor. Find the line that says ro.config.hw_easywakeup=false and change the false to true then save your changes.
    2) Go to system/emui/base/xml and open up the hw_easywakeupmotion_config.xml in your favorite text editor. Find the line that says <EasyWakeupMotion name="Double_Touch" support="1" value="0" flag="0" keycode="131" /> and change the value=0 to value=1 then save your changes.
    3) Restart your phone
    4) Go into Settings/Smart Assistance/Motion Control and at the bottom you will now see Double Touch. Turn it on.
    5) Restart your phone and you will have Double Tap to Wake enabled and working.
    5
    I figured out how to enable Double Tap to Wake. This is confirmed working on the Chinese AL10 model but may also work on other variants as well.

    Requirements:
    -Be Rooted

    1) Go into system/build.prop and open it in your favorite text editor. Find the line that says ro.config.hw_easywakeup=false and change the false to true then save your changes.
    2) Go to system/emui/base/xml and open up the hw_easywakeupmotion_config.xml in your favorite text editor. Find the line that says <EasyWakeupMotion name="Double_Touch" support="1" value="0" flag="0" keycode="131" /> and change the value=0 to value=1 then save your changes.
    3) Restart your phone
    4) Go into Settings/Smart Assistance/Motion Control and at the bottom you will now see Double Touch. Turn it on.
    5) Restart your phone and you will have Double Tap to Wake enabled and working.

    I made a script to install it via TWRP, it enable to change these values without to follow this tuto, just install it via TWRP... Of course, you MUST to be rooted.
    It have to work on all firmware for the NXT model.

    It change like the tuto these files:
    in system/build.prop, it adds
    Code:
    ro.config.hw_easywakeup=true

    in system/emui/base/xml/hw_easywakeupmotion_config.xml, it puts
    Code:
    <EasyWakeupMotion name="Double_Touch" support="1" value="[COLOR="red"]1[/COLOR]" flag="0" keycode="131" />

    instead of
    Code:
    <EasyWakeupMotion name="Double_Touch" support="1" value="[COLOR="Red"]0[/COLOR]" flag="0" keycode="131" />
    #####################################################################################################
    My files before:
    build.prop:
    Code:
    # begin build properties
    # autogenerated by buildinfo.sh
    ro.build.id=NRD90M
    ro.build.display.id=NRD90M test-keys
    ro.build.version.incremental=eng.jenkin.20170103.045031
    ro.build.version.sdk=24
    ro.build.version.preview_sdk=0
    ro.build.version.codename=REL
    ro.build.version.all_codenames=REL
    ro.build.version.release=7.0
    ro.build.version.security_patch=2016-12-01
    ro.build.version.base_os=
    ro.build.date=Tue Jan  3 04:50:31 CST 2017
    ro.build.date.utc=1483390231
    ro.build.type=user
    ro.build.user=jenkins
    ro.build.host=wuhjk0113cna
    ro.build.tags=test-keys
    ro.build.flavor=generic_a15-user
    ro.product.model=generic_a15
    ro.product.brand=Huawei
    ro.product.name=generic_a15
    ro.product.device=generic_a15
    ro.product.board=
    # ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
    # use ro.product.cpu.abilist instead.
    ro.product.cpu.abi=arm64-v8a
    ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
    ro.product.cpu.abilist32=armeabi-v7a,armeabi
    ro.product.cpu.abilist64=arm64-v8a
    ro.product.manufacturer=unknown
    ro.wifi.channels=
    ro.board.platform=
    # ro.build.product is obsolete; use ro.product.device
    ro.build.product=generic_a15
    # Do not try to parse description, fingerprint, or thumbprint
    ro.build.description=generic_a15-user 7.0 NRD90M eng.jenkin.20170103.045031 test-keys
    ro.build.fingerprint=Huawei/generic_a15/generic_a15:7.0/NRD90M/jenkin01030450:user/test-keys
    ro.build.characteristics=default
    # end build properties
    
    # begin huawei emui properties
    # autogenerated by build_emui_info.sh
    ro.build.hw_emui_api_level=11
    # end huawei emui properties
    
    
    #
    # ADDITIONAL_BUILD_PROPERTIES
    #
    ro.carrier=unknown
    ro.setupwizard.require_network=any
    ro.setupwizard.mode=OPTIONAL
    ro.com.google.gmsversion=7.0_r3
    persist.sys.dalvik.vm.lib.2=libart.so
    dalvik.vm.isa.arm64.variant=generic
    dalvik.vm.isa.arm64.features=default
    dalvik.vm.isa.arm.variant=cortex-a15
    dalvik.vm.isa.arm.features=default
    net.bt.name=Android
    dalvik.vm.stack-trace-file=/data/anr/traces.txt
    
    ro.comp.sys_support_vndk=VA7.0-E5.0-B10005
    
    ro.comp.sys_need_sndk=SA7.0-E5.0-B00005

    hw_easywakeupmotion_config.xml:
    Code:
    <?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
    <!--
      This is the config about EasyWakeUp in cust
      Here when the flag more than 20 the   EasyWakeUpMotion is only a power on_off
      eg:
          <EasyWakeUpMotion name="Flick" support="1" value="1" flag="30"/>
    	   The power on_off about Flick
    	   
    	  <EasyWakeUpMotion name="Draw" support="1" value="1" flag="29"/>
    	  The power on_off about Draw
    	  
    	  here the support is no used
    	  
      if the flag less than 20
      eg:
         <EasyWakeUpMotion name="Cover_Screen" support="1" value="1" flag="10"/>
    	 support means the feature support
    	 value   means the default value
    	 flag    means the support flag
    	 
    -->
    <HwEasyWakeUpMotion>
    	<EasyWakeUpMotion name="Cover_Screen" support="0" value="0" flag="11" keycode="142" />
    	<EasyWakeUpMotion name="Double_Touch" support="1" value="0" flag="0" keycode="131" />
    	<EasyWakeUpMotion name="EasyWakeUp_Flick_ALL" support="0" value="0" flag="14" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Flick_Right" support="0" value="0" flag="1" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Flick_left" support="0" value="0" flag="2" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Flick_Down" support="0" value="0" flag="3" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Flick_Up" support="0" value="0" flag="4" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Letter_ALL" support="0" value="0" flag="13" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Letter_O" support="0" value="0" flag="5" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Letter_C" support="0" value="1" flag="7" keycode="138" />
    	<EasyWakeUpMotion name="EasyWakeUp_Letter_E" support="0" value="1" flag="8" keycode="139" />
    	<EasyWakeUpMotion name="EasyWakeUp_Letter_M" support="0" value="1" flag="9" keycode="140" />
    	<EasyWakeUpMotion name="EasyWakeUp_Letter_W" support="0" value="1" flag="10" keycode="141" />
    	<MaxKeyCode name="MaxKeyCode" value="142" />
    	<MinKeyCode name="MinKeyCode" value="131" />
    	<DriverFileLength name="DriverFileLength" value="16" />
    	<DriverPostionPath name="DriverPostionPath" value="/sys/touchscreen/easy_wakeup_position" />
    	<DriverGesturePath name="DriverGesturePath" value="/sys/touchscreen/easy_wakeup_gesture" />
    	<DriverControlPath name="DriverControlPath" value="/sys/touchscreen/easy_wakeup_control" />
    	<SensorNear name="SensorNear" value="0" />
    	<SensorFar name="SensorFar" value="5" />
    </HwEasyWakeUpMotion>

    My files after:
    build.prop:
    Code:
    # begin build properties
    # autogenerated by buildinfo.sh
    ro.build.id=NRD90M
    ro.build.display.id=NRD90M test-keys
    ro.build.version.incremental=eng.jenkin.20170103.045031
    ro.build.version.sdk=24
    ro.build.version.preview_sdk=0
    ro.build.version.codename=REL
    ro.build.version.all_codenames=REL
    ro.build.version.release=7.0
    ro.build.version.security_patch=2016-12-01
    ro.build.version.base_os=
    ro.build.date=Tue Jan  3 04:50:31 CST 2017
    ro.build.date.utc=1483390231
    ro.build.type=user
    ro.build.user=jenkins
    ro.build.host=wuhjk0113cna
    ro.build.tags=test-keys
    ro.build.flavor=generic_a15-user
    ro.product.model=generic_a15
    ro.product.brand=Huawei
    ro.product.name=generic_a15
    ro.product.device=generic_a15
    ro.product.board=
    # ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
    # use ro.product.cpu.abilist instead.
    ro.product.cpu.abi=arm64-v8a
    ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
    ro.product.cpu.abilist32=armeabi-v7a,armeabi
    ro.product.cpu.abilist64=arm64-v8a
    ro.product.manufacturer=unknown
    ro.wifi.channels=
    ro.board.platform=
    # ro.build.product is obsolete; use ro.product.device
    ro.build.product=generic_a15
    # Do not try to parse description, fingerprint, or thumbprint
    ro.build.description=generic_a15-user 7.0 NRD90M eng.jenkin.20170103.045031 test-keys
    ro.build.fingerprint=Huawei/generic_a15/generic_a15:7.0/NRD90M/jenkin01030450:user/test-keys
    ro.build.characteristics=default
    # end build properties
    
    # begin huawei emui properties
    # autogenerated by build_emui_info.sh
    ro.build.hw_emui_api_level=11
    # end huawei emui properties
    
    
    #
    # ADDITIONAL_BUILD_PROPERTIES
    #
    ro.carrier=unknown
    ro.setupwizard.require_network=any
    ro.setupwizard.mode=OPTIONAL
    ro.com.google.gmsversion=7.0_r3
    persist.sys.dalvik.vm.lib.2=libart.so
    dalvik.vm.isa.arm64.variant=generic
    dalvik.vm.isa.arm64.features=default
    dalvik.vm.isa.arm.variant=cortex-a15
    dalvik.vm.isa.arm.features=default
    net.bt.name=Android
    dalvik.vm.stack-trace-file=/data/anr/traces.txt
    
    ro.comp.sys_support_vndk=VA7.0-E5.0-B10005
    
    ro.comp.sys_need_sndk=SA7.0-E5.0-B00005
    ro.config.hw_easywakeup=true

    hw_easywakeupmotion_config.xml:
    Code:
    <?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
    <!--
      This is the config about EasyWakeUp in cust
      Here when the flag more than 20 the   EasyWakeUpMotion is only a power on_off
      eg:
          <EasyWakeUpMotion name="Flick" support="1" value="1" flag="30"/>
    	   The power on_off about Flick
    	   
    	  <EasyWakeUpMotion name="Draw" support="1" value="1" flag="29"/>
    	  The power on_off about Draw
    	  
    	  here the support is no used
    	  
      if the flag less than 20
      eg:
         <EasyWakeUpMotion name="Cover_Screen" support="1" value="1" flag="10"/>
    	 support means the feature support
    	 value   means the default value
    	 flag    means the support flag
    	 
    -->
    <HwEasyWakeUpMotion>
    	<EasyWakeUpMotion name="Cover_Screen" support="0" value="0" flag="11" keycode="142" />
    	<EasyWakeUpMotion name="Double_Touch" support="1" value="1" flag="0" keycode="131" />
    	<EasyWakeUpMotion name="EasyWakeUp_Flick_ALL" support="0" value="0" flag="14" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Flick_Right" support="0" value="0" flag="1" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Flick_left" support="0" value="0" flag="2" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Flick_Down" support="0" value="0" flag="3" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Flick_Up" support="0" value="0" flag="4" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Letter_ALL" support="0" value="0" flag="13" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Letter_O" support="0" value="0" flag="5" keycode="-1" />
    	<EasyWakeUpMotion name="EasyWakeUp_Letter_C" support="0" value="1" flag="7" keycode="138" />
    	<EasyWakeUpMotion name="EasyWakeUp_Letter_E" support="0" value="1" flag="8" keycode="139" />
    	<EasyWakeUpMotion name="EasyWakeUp_Letter_M" support="0" value="1" flag="9" keycode="140" />
    	<EasyWakeUpMotion name="EasyWakeUp_Letter_W" support="0" value="1" flag="10" keycode="141" />
    	<MaxKeyCode name="MaxKeyCode" value="142" />
    	<MinKeyCode name="MinKeyCode" value="131" />
    	<DriverFileLength name="DriverFileLength" value="16" />
    	<DriverPostionPath name="DriverPostionPath" value="/sys/touchscreen/easy_wakeup_position" />
    	<DriverGesturePath name="DriverGesturePath" value="/sys/touchscreen/easy_wakeup_gesture" />
    	<DriverControlPath name="DriverControlPath" value="/sys/touchscreen/easy_wakeup_control" />
    	<SensorNear name="SensorNear" value="0" />
    	<SensorFar name="SensorFar" value="5" />
    </HwEasyWakeUpMotion>

    If you like that, hit the THANKS button below !
    3
    Any luck or process ?

    Here is a magisk module to enable Tap to wake & Double Tap to sleep on EMUI lockscreen
    2
    This won't work in any of the newer emui builds. Huawei disabled double tap to wake in the kernel.

    On Nougat, Android 7.0 Emui 5.0, the B560 firmware for the Mate 8, it always works for me.

    B. R
    1
    Will this also work for double tap to sleep? I would root my Mate 8 only for this feature...