Enable Double Tap to Wake on some Huawei and Honor Devices [Root]
Double tap to wake is one of those features that you never knew you needed until you actually have it.
The feature is especially useful in larger screen devices, as it makes it easier to turn the screen on across the table without having to fiddle with the buttons. While most LG devices have a double tap to wake feature (what they call “KnockON”), you’ll have a hard time finding this feature on devices from other manufacturers.
With a custom kernel such as the popular ElementalX by XDA Recognized Developer flar2, you can use double tap to wake on a wide range of previously unsupported devices. If a custom kernel isn’t available for your device, sometimes you can use a hidden toggle to enable double tap to wake – provided that the stock kernel has support for it. This is true for certain Huawei/Honor devices such as the Huawei Mate 8 and Huawei P9. With root access, you can enable the native double tap to wake feature that was disabled by Huawei.
Double Tap to Wake on Some Huawei/Honor Phones
The first file you will need to edit is build.prop located in /system. Open up the file with a root explorer application (or a build.prop editor from the Play Store) and change the following line from
If you can’t find this line in build.prop, just manually add it to the file.
Next, we’ll modify another file called hw_easywakeupmotion_config.xml located in /system/emui/base/xml. Again, open up this file with a root explorer application and changing the following line from
<EasyWakeupMotion name="Double_Touch" support="1" value="0" flag="0" keycode="131" />
<EasyWakeupMotion name="Double_Touch" support="1" value="1" flag="0" keycode="131" />
If you can’t find this line in the XML file, then manually add it near the end. Once you reboot, you will find a new “Double tap” feature located in Settings –> Smart Assistance –> Motion Control. Enable the feature then reboot one more time, and you should now have double tap to wake!
Users on our forums have confirmed that this works for the Huawei Mate 8 and Huawei P9, but have been unable to get this working on the Huawei Mate 9. Try it out on your rooted Huawei/Honor device and let us know if it works for you!