Requires Xposed Framework!
This module allows you to add a knock code unlock method to your device's lock screen.
You will need to set the stock Android 3*3 grid pattern in settings, after that, set a knock code pattern in the app.
The default knock is:
1 2
3 4
If for any reason your code fails to load, use that.
If you made a mistake while entering the code, tap and hold to reset what you entered.
From a security point of view, this isn't the most secure way of locking your device. Due to the way Xposed works, the file where the code is stored is world-readable, meaning you don't even need root to read it. This means any app can read the code. A good way to reduce the exploit surface is to disable USB debugging, that way, chances of a local exploit are reduced.
The password is encrypted, but it's more of a way to make reading it harder, anyone slightly determined to get your code can.
* The module relies on the fact that a pattern is set, if any type of passcode is set, that type is shown. If Xposed is disabled through recovery or any other way, then the device falls back to this pattern method.
FAQ:
Video:
https://www.youtube.com/watch?v=hzUZOeD6n2Y
Screenshot:
Compatibility:
4.2+ only.
Tested devices:
Download:
http://repo.xposed.info/module/com.mohammadag.knockcode
Source code:
https://github.com/MohammadAG/Xposed-Knock-Code
Support development:
If you found this mod useful, consider donating with PayPal.
This module allows you to add a knock code unlock method to your device's lock screen.
You will need to set the stock Android 3*3 grid pattern in settings, after that, set a knock code pattern in the app.
The default knock is:
1 2
3 4
If for any reason your code fails to load, use that.
If you made a mistake while entering the code, tap and hold to reset what you entered.
From a security point of view, this isn't the most secure way of locking your device. Due to the way Xposed works, the file where the code is stored is world-readable, meaning you don't even need root to read it. This means any app can read the code. A good way to reduce the exploit surface is to disable USB debugging, that way, chances of a local exploit are reduced.
The password is encrypted, but it's more of a way to make reading it harder, anyone slightly determined to get your code can.
* The module relies on the fact that a pattern is set, if any type of passcode is set, that type is shown. If Xposed is disabled through recovery or any other way, then the device falls back to this pattern method.
FAQ:
* Why can't I use this with the screen off?
That requires a custom kernel, it's very possible to do if your device already supports double tap to wake, but I won't dive into that.
That requires a custom kernel, it's very possible to do if your device already supports double tap to wake, but I won't dive into that.
* Will you ever support 4.1 and below?
No, manufacturers had their own lock screens before 4.2, so adding support for those would be hard without an actual device. So this'll stay 4.2+ permanently.
No, manufacturers had their own lock screens before 4.2, so adding support for those would be hard without an actual device. So this'll stay 4.2+ permanently.
Video:
https://www.youtube.com/watch?v=hzUZOeD6n2Y
Screenshot:
Compatibility:
4.2+ only.
Tested devices:
- Sony Xperia 4.4
- Samsung TouchWiz 4.4 (pre-S5, not sure if it'll work on the S5)
- HTC Sense 6.
Download:
http://repo.xposed.info/module/com.mohammadag.knockcode
Source code:
https://github.com/MohammadAG/Xposed-Knock-Code
Support development:
If you found this mod useful, consider donating with PayPal.
Last edited: