Tuesday 26 July 2016

Guide-How to enable double tap to wake and wake gestures on P9 Lite



Hi guys,

this is a guide how you can enable double tap to wake and wake gestures (Camera, Music,..., or custom apps) on your P9 Lite.
Somehow Huawei left the options in the system root, but made in invisible in the settings (same with many other Huawei devices). This is the same method others used for the P9.
All you need is:
-rooted device
(for rooting my device I followed this guide
http://forum.xda-developers.com/huaw...-root-t3405701
the only thing I did different for getting SU working, was that I installed the root with the SRK-Tool and then I installed the mentioned SU-Update zip file)
-A file explorer with root access
-text editor app (I used the QuickEdit from the Playstore)

Even if this workaround worked 100% and without any problems on my device (rooted VNS-L31 on B100), your doing it on your own risk!

Step 1: Enter the file explorer and go to the root directory. Open the system folder and look for the build.prop file.

Step 2: Open the build.prop with the texteditor and search for the line ro.config.hw_easywakeup=false, now change the "false" into a "true" and save/exit the file. Just open it a again to ensure the entry has been realy changed and saved.

Step 3: Now go to the directory system/emui/base/xml, ther you open the file hw_easywakeupmotion_config.xml with the editor.

Step 4: Search for the line "EasyWakeupMotion name="Double_Touch" support="1" value="0" flag="0" keycode="131"" and change the value=0 into value=1. Again save and exit the file and ensure that it has been really changed.

Step 5: Restart your device and go into settings menu-->smart assistance-->motion controle. Now there are the options double tap and wake gestures available. You could also change the apps which are related to the different wake gestures. After activating it should be working right away. Otherwise do another restart and it should be good.

Hope everthing is working for you...I tested it now for some days and with some cases where I had to tap the display three times to wake up it worked flawlessly. There is also NO additional battery drain caused by the feature.



No comments:

Post a Comment