The M8 double-tap to wake requires you to pick up the phone. The double-tap motion is not enough. If you double tap it while flat on a table it may work but usually it does not or very inconsistent.. Lift it and it will always work.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?