[AOSP][CM][LP-MM] Knock Code Lockscreen (while screen on)
This Xposed module enables LG's knock code for Lollipop and Marshmallow devices . The knock code is highly customizable, from changing colours to visibility, error messages, background, etc. You can even hide the emergency button.
What's more, you can use codes to directly open specific shortcuts from the lockscreen, for example use 11212 to unlock, 221 to open WhatsApp, 111 for email, etc. These shortcuts don't have to be just apps, they can be anything on your device, like Direct Dial, open a specific Contact, etc. You even have the option to launch these shortcuts without unlocking the phone! (Requires App Settings Xposed, link available in app)
You need to enable PIN lock to activate this module Other than that, there are no specific instructions to use it. Should the module or Xposed be disabled for any reason, your phone will still remain secure with that PIN.
Compatibility :
I personally test on CM13, and I will support CM12.0, CM12.1, AOSP 5.x and 6.0.x and derivatives. HTC support is limited unless I find a tester. Support for other OEM ROMs is absent beyond basic working functionality.
The only caveat is because of the way Xposed works : your code(s) will be visible to any one or any app on your device. No root required. The codes are stored encrypted, but anybody determined to get them will be able to, provided they can lay hands on your device. One way to avoid this is to disable USB debugging to prevent chances of a local exploit.
Tags (ignore) : knock lock screen exposed xposed xda tuesday unlock tap full screen fullscreen lockscreen shortcut custom quick launch pattern pin protected pinned authentication dual two factor rijul ahuja
* Fixed Lollipop compatibility
* Fixed HTC compatibility
* More verbose logging
* Remove relative tap options (beta only)
* Translation update
* Don't screw up pattern lock anymore
* Added dev mode (practically unlimited tries), to activate: adb shell touch /data/data/me.rijul.knockcode/files/dev_mode_enable
+ Added sensitivity option for relative taps
+ Added relative tap location, similar to MaxLock
* Fixed related bugs pertinent to MainActivity
* Cosmetic change showing reset text until buttons released
* Fixed bug which caused PIN to appear full screen when module was disabled
* Fixed rotation bug
+ Added translations from pull requests
+ Re-add CM support
+ Full screen does not require restart anymore
- Now replaces PIN instead of pattern (prompt to switch to PIN has been removed)
- Re-added Russian translation
- Added option to customize appear and disappear durations
- Added option to wait for last dot animation
- Some Russian translations
- Minor UI fixes in the MainActivity
- Made the appear animation a bit bolder
- Fixed up a few of the text appearance options
--Copying last changelog here so that it gets traction--
1. Updated Xposed API
2. Custom shortcuts can now be individually chosen to be launched over lock screen
3. Option for borderless button taps
4. Unified animation / appearance durations
5. Fine grained text control, you can now customize lockscreen text completely, including custom text
6. Option to hide emergency button background
7. Maximum length of code is now 12
8. Closer to AOSP appear and disappear animations
9. Polish translations
10. Added SmartUnlock from GravityBox (now you can choose to directly show the lock screen contingent upon notification state)
- Added SmartUnlock from GravityBox (now you can choose to directly show the lock screen contingent upon notification state)
--Copying last changelog here so that it gets traction--
1. Updated Xposed API
2. Custom shortcuts can now be individually chosen to be launched over lock screen
3. Option for borderless button taps
4. Unified animation / appearance durations
5. Fine grained text control, you can now customize lockscreen text completely, including custom text
6. Option to hide emergency button background
7. Maximum length of code is now 12
8. Closer to AOSP appear and disappear animations
9. Polish translations
1. Updated Xposed API
2. Custom shortcuts can now be individually chosen to be launched over lock screen
3. Option for borderless button taps
4. Unified animation / appearance durations
5. Fine grained text control, you can now customize lockscreen text completely, including custom text!
6. Option to hide emergency button background
7. Maximum length of code is now 12
8. Closer to AOSP appear and disappear animations
9. Polish translations
- Fix fullscreen bug for some devices
- Replaced incorrect dots animation with shake animation
- Option to vibrate on error (does not work always, can anyone help?)
- Does not accept input after correct
- Text appearance of enter your code has been fixed now
- Will prompt to reboot after upgrade from next version
- Fixed animation related stuff
- Added animation duration options, with priority
- Fixed emergency button text not hiding
- Added XposedMod.java's autoLoader
- Fixed lockout implementation on too many incorrect attempts
If you didn't update to >=1.3 previously, please uninstall before update
- Dots now animate up instead of down
If you didn't previously update to 1.3.0, please uninstall your old version before updating.
- Better colour handling for dots
- Bugfix from incorrect dots implementation
Completely remade, please uninstall old version!
- Size reduction
- Add option to launch shortcut without unlocking
- Add dots animation
- Translations removed
Please clear data of app because of new shortcut scheme
- Module now prompts for pattern if unset
- MOAR shortcuts (thanks @ CyanogenMod)
- Cosmetic changes
- Fix crash if launcher icon was hidden
- Fix custom shortcuts bug
- Added margin b/w dots and lines on lock screen
- You can now add other knock codes to launch apps directly (A la PIN/Pattern Shortcuts Xposed)
- Translation changes
- Long pressing the knock code in activities will now reset it
- Translations (Polish by pantinPL, Mexican Spanish by Alan Yadir)
- Attempted to remove lag while locking and unlocking
- Animate the view when unlocking (not the old green animations, but from AOSP)
- If knock code is never set, module will not replace pattern even if switch is on
- Disabling emergency button in MainActivity will disable option below it
- HTC support
- Updated translations
- Process to be killed after setting changed now depends on device (com.htc.lockscreen vs com.android.systemui)
- Implemented failsafe option (five continuous long presses will kill the knock code)
- Still in BETA for HTC devices, because I don't have a tester
- Removed unused libraries from Gradle
- Attempted HTC compatibility (untested, please report back with logs)
- Bugfix to prevent device lockout when too many incorrect attempts too many times
- Reimplemented KnockCode with buttons, faster now - ripple taps are now confined to boxes
- Added Brazilian Portuguese translations by Gabriel Campos
- Fixed issue with dots view where incorrect mode would still allow dots to be entered.
- Added red colour animation when pattern incorrect
- Fixed a hook so unlocking should be smoother now
- Issues with dots view fixed by using AOSP implementation (if you had issues with v1.1.3, this should fix it)
- Changed tap rectangle to material ripple
- Fixed possible ANRs when reloading settings by asking to reboot / restart systemui when settings are changed
- Added passcode dots view option on lock screen (with animations Ooooooooo)