Secure Your Device with a Knock Code Using Xposed
Just a few hours ago, we talked about an Xposed module that lets users control their wake gestures when used in conjunction with a compatible kernel. This wake gesture functionality most resembles HTC’s Motion Launch, which lets users wake their devices and launch various apps using simple gestures.
What if instead of launching applications using gestures, you’d like to use gestures to secure your device? LG offers such functionality through the Knock Code security system found on their newer handsets. But thanks to XDA Recognized Developer MohammadAG and the magic of Xposed Framework, you can use it on your device as well.
There are a few caveats with this implementation. For starters, rather than being able to enter your knock code while the device is off, you first have to power on your screen, after which you can input the code. In addition, the module is currently only compatible with Android 4.4, but compatibility will be added for 4.2 and 4.3 very soon. Finally, while using a knock code is fairly convenient, this is not a very secure method of locking your device. This is because due to a limitation in Xposed, the file where the code is stored is world-readable. Furthermore, this essentially functions as a 2×2 PIN password, which itself isn’t very difficult to break.
If you wish to get Knock On-style functionality on your own device, head over to the module thread and give this a shot.