yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] :
New version up!
[MENTION=5327227]Tyaginator[/MENTION] : Custom shortcuts implemented, feedback will be appreciated.
[MENTION=6435222]thoughtblocked[/MENTION] : Margin aded, seems okay to me now. Please check.
[Xposed Framework Modules] :
There is a specific use case bug about the custom shortcuts in the latest version, I will fix it in a little while. If you are using that version, please see to it that you do not make app shortcuts like this

1234 -> WhatsApp

12341234 -> Facebook
[Xposed Framework Modules] RusherDude:
Hello, tested it and as you say it doesnt work. Tested adding 2 shortcuts, 22121 for example for xda app and it doesnt work :(

Thanks a lot for this awesome feature!!
[Xposed Framework Modules] :
Restart SystemUI after setting up shortcut?
[Xposed Framework Modules] :
Bug fix version up
[Xposed Framework Modules] RusherDude:
Shortcuts work now :)

Thanks!
[Xposed Framework Modules] :
Do you people want the ability to open other shortcuts besides apps (like contacts etc) from the lock screen? I don't plan on using this feature much, but I would want it to be complete for others.
[Xposed Framework Modules] RK1980:
Hi, wanted to thank you for the module, very good job. The new shortcuts I find super ?
[Xposed Framework Modules] terroboy k9:
Yes dev.,it would be a two way pardon :)

Yuphoria blazed with velocity!!!

---------- Post added at 05:44 PM ---------- Previous post was at 05:42 PM ----------

Thank you for the great module with timely updates plus now custom gestures thanks alot :)

Yuphoria blazed with velocity!!!
[Xposed Framework Modules] RusherDude:
It would be awesome, for example being able to start a call directly, open some website, or launch determined tasker profile would be very useful.

Also, if youre in a need of ideas, some defensive features against intrusions would be cool, for example:

-copying apples way of handling tryings. You fail 5 times? Wait a min. Fail one more? Wait 10min. Or some kind of escalable-configurable increasing timeouts per try.

- also an option to make the phone capture a photo with front camera after every or x tries.

- or an option to ring very loudly after x fails like a thief alarm.

This module has a lot of potential!
[Xposed Framework Modules] yakie996:
I like the new feature but it doesn't work for me moto g 2 xt1068 running cm13 once I tap on the + button to add a shortcut the app force close, do you need any additional information?

edit: I just discovered why it stopped I had the icon hidden from the launcher, once I let it show in the launcher it worked
[Xposed Framework Modules] Tyaginator:
Tested and its working perfectly fine. Fantastic piece of work dev.

Thank you

Sent from a Device using an App!
[Xposed Framework Modules] :
Thanks, I got a logcat, I will fix it in next release.
[Xposed Framework Modules] comercials:
The shortcut feature doesn't work on HTC either, I add the shortcut restart my phone and it doesn't do anything
[Xposed Framework Modules] NTLinhHaHa:
After the 2 latest updates, tapping "Change knock code" make the app force close. Tapping "Custom shortcuts" followed by tapping the Add button (the white plus) also force close the app. Version 1.2.2 works fine for me.

I'm using Nexus 4, on Chroma ROM, AOSP based, Android 5.1.1.

Still, the mod is great ^^
[Xposed Framework Modules] AciDxLK:
Am I missing a clock? ? Also I was wondering if you could add a feature to rescale the squares as they take up my entire lock screen. Maybe add in a feature for a custom carrier too haha module is really good ?
[Xposed Framework Modules] :
Wait for next release. If still doesn't work, give me logcat.

Yes, will be fixed in next release.

On most AOSPish devices, you see a clock and swipe up to get that screen. But your device is different, and I can't help you with that. It will stay that way, because I don't know how I would go around changing it.

About the size, can you give me your SystemUI.apk / lockscreen.apk? I have been trying to get that higher size for me, but I don't really know how.
[Xposed Framework Modules] NTLinhHaHa:
As far as I know of, on Samsung ROMs, the lockscreen skips the clock and takes users directly to the pattern. When I was using a Samsung phone at 4.2.2, I tried an earlier version of this mod and the screen turns out the same. Looks like Samsung got the lockscreen tampered so [MENTION=6065596]Rijul.A[/MENTION] have to analyze it in order to solve the problem...

And yeah by the way I'd loveeeeeee that higher size for AOSPish ROMs =)) by default the knock code field only takes up the bottom half of the screen, which is default for the passcode field of AOSP ROM. Glad OP like that higher size because I love it too xD =))
[Xposed Framework Modules] :
On Kitkat devices, there are no notifications on lock screen. So you only get the lock screen.
[Xposed Framework Modules] :
For a temporary fix, show the launcher icon.
[Xposed Framework Modules] :
New version with bugfix and more shortcuts is up!
[Xposed Framework Modules] :
OT : I could easily make a Gesture Unlock screen similar to this, would anyone be interested? I think it will have better application for custom shortcuts, no?
[Xposed Framework Modules] Tyaginator:
Yeah, that seems interesting but i think u should create a separate module for that. [emoji106]

Sent from a Device using an App!
[Xposed Framework Modules] terroboy k9:
Many one like us. Best of luck. Let's have it

Yuphoria blazed with velocity!!!
[Xposed Framework Modules] AciDxLK:
How do I send you the apks? And their location in root explorer

---------- Post added at 08:50 PM ---------- Previous post was at 08:41 PM ----------

The only thing with having a big lock screen is that it completely blocks out the notifications

---------- Post added at 08:51 PM ---------- Previous post was at 08:50 PM ----------

But would really appreciate it if you could find a way to add a clock even if it were in the status bar
[Xposed Framework Modules] Rakuu:
Hey, that increased size is actually how it displayed for me as well on my s5. My dpi was a lot lower, and the resulting pattern unlock was a lot more squished and smaller, which by proxy I assume made the pattern smaller since it replaces that(yes?). That's touchwiz though, I think my systemui link is still up if you want to give that one a look.
[Xposed Framework Modules] thoughtblocked:
These stay in the QS panel after using the restart keyguard feature.

Cyanogenmod 13 20160228 build Moto G. Using CM13 Privacy Guard root.
[Xposed Framework Modules] :
I think that is CM's fault, or is it specific to my module?
[Xposed Framework Modules] AciDxLK:
Is there any possible way to add a clock and notifications to my lock screen? ? kind of ruins the module as I rely on notifications and the clock most of the time when using my phone while in the lockscreen
[Xposed Framework Modules] :
The module only replaces the stock pattern, so if your stock pattern has a clock and notifications, so should the knock code.
[Xposed Framework Modules] AciDxLK:
It does but I think because of the size of the knock code it interferes and removes the clock and notifications
[Xposed Framework Modules] :
I don't think that that is the case, but give me your SystemUI / com.htc.lockscreen.apk so that I can have a look. They will probably be located in /system/app/ but I'm not very sure
[Xposed Framework Modules] thoughtblocked:
It's been happening to your module only. I have 10 other modules that don't show permanent ongoing root access.

It may be a bug with CM though, since my phone doesn't have a stock Android 6.0 ROM.
[Xposed Framework Modules] :
Are all those 10 modules asking for root?
[Xposed Framework Modules] AciDxLK:
Sorry man I seriously cannot find it
[Xposed Framework Modules] Tyaginator:
Use search in Es file explorer.

Sent from a Device using an App!
[Xposed Framework Modules] AciDxLK:
Honestly I'm so new to this it's ridiculous ? how do I send you the apk?
[Xposed Framework Modules] Tyaginator:
Just create a zip and attach with your post. Use desktop site, it will be easier and if u can't then just upload apk files to ur Dropbox or Google drive and share the link here.

Sent from a Device using an App!
[Xposed Framework Modules] :
First copy the files using file explorer to SD card, and then move them to your PC.

Click on Reply on this post, click on Manage Attachments and upload the files in the window that shows.
[Xposed Framework Modules] AciDxLK:
There you go
[Xposed Framework Modules] RoyanArt:
Show/hide emergency button/text didnt work on my device ( Asus Zenfone 5 (x86) - stock ROM Lollipop 5.0)

Any solution? What do you need to solve the problem?

Thanks for your hard work :)
[Xposed Framework Modules] :
SystemUI.apk
[Xposed Framework Modules] RoyanArt:
This is my AsusSystemUI.apk

Thanks :)
[Xposed Framework Modules] Lazerus625:
Been using this app on my Nexus 5x for the last couple weeks and think it works great! One issue/bypass I found is that if you add an alternate app shortcut to the lockscreen, then use your "alternate code" to launch the app, when the app is closed the phone is completely unlocked and does not give any prompt to re-enter a code. For example, I have a very simple 4 tap code in the top corner assigned to launch Pandora, but a much more complicated knock code to unlock my entire phone. After unlocking for Pandora, if I close the app or just punch the home screen screen button, then the phone is completely unlocked. Is there anyway to implement a feature that would only allow the foreground app launched to be accessible, then re-enabling the knock pattern as soon as the app is closed/put into background? Not sure how difficult that would be but it would make this app perfect in my opinion. Currently, the convenience of assigning a separate code to quickly launch an app, is pretty much negated by the security bypass.

---------- Post added at 09:06 PM ---------- Previous post was at 09:01 PM ----------

By the way, thanks you for all the hard work you put into the app!!! Saved my life from my ex who keept figuring out my swipe pattern! She wasn't able to crack my knock code though! Lol
[Xposed Framework Modules] :
Out of scope, will not be added. Apologies.
[Xposed Framework Modules] terroboy k9:
Where is your thread for gesture lock??
[Xposed Framework Modules] :
No thread yet, will be there in half an hour.
[Xposed Framework Modules] terroboy k9:
Link it with OP here
[Xposed Framework Modules] AciDxLK:
Any luck with my system ui?
[Xposed Framework Modules] :
Did not check yet, was working on the gesture app. It has the full screen option and directly show gesture entry options, can you please try to play around with those and report back if any of those does something for you?
[Xposed Framework Modules] AciDxLK:
Already tried and none of the settings apply to me. Still the same problem as the knock code, no notifications or clock.
[Xposed Framework Modules] Lazerus625:
Yeah I knew it would require a lot of coding. Just thought I would mention it. Anyways, great work on the app thus far! It does the job!
[Xposed Framework Modules] prestodigiti:
Is it possible to add full screen knock code as in your gesture app? I think that would be great.
[Xposed Framework Modules] :
In the next release I will remake the app and add all the new things, frankly the code is a mess right now and uses libraries it shouldn't even have to. So don't worry, it will be there soon enough.
[Xposed Framework Modules] prestodigiti:
Oh that's some good news, thanks. Btw, after the new update, the gesture app stopped working for me. It tells me that the module is inactive even though it is active.
[Xposed Framework Modules] :
If you want to fix it, come to the gesture thread please.
[Xposed Framework Modules] :
Your SystemUI does not decompile. There's nothing I can do.
[Xposed Framework Modules] :
Check out the new signature
[Xposed Framework Modules] :
Can you check if this apk works in hiding the emergency button (when knock code is disabled)?

http://xdaforums.com/showpost.php?p=65562384&postcount=11
[Xposed Framework Modules] AciDxLK:
Damn that's a bummer ? was really looking forward to using this modules but now there isn't really much point as I always need my clock when I'm in class and the lack of notifications really gets it down. Is there anything I can do? I've tried other apps to put a clock in the status bar but as soon as I get to the lockscreen the clock disappears?
[Xposed Framework Modules] :
Sorry, I can't really help you without a device in hand, it will take too much time to do the hit and trial to figure it out over and over again.
[Xposed Framework Modules] :
Don't use it with knock code, use either, but not both. They are probably conflicting.

About the code thing, I mean look at the size of the gesture app, its less than 150 kB, and this app continues to be 1.6 MB large. It will require a lot of reworking I suppose. But I will get it done.
[Xposed Framework Modules] AciDxLK:
Damn oh well, besides that it's a great module
[Xposed Framework Modules] RoyanArt:
It worked using that apk :) , but i want to use gesture unlock and hide emergency text ( not hiding button).

What can i do next? Wait for your next update?

Thanks :)
[Xposed Framework Modules] :
Yes, but it will take some time. I will rework the entire code but I have an assignment to do first.
[Xposed Framework Modules] RoyanArt:
I'm using gesture unlock module (with show emergency button and text are ON), but :

1. On the lockscreen >> emergency text dissapear, but still can touch emergency button at the bottom

2. On the notification screen >> emergency button and text didnt dissapear.

Is it bug ?

Thanks :)
[Xposed Framework Modules] :
Post it in the relevant thread to get an answer, don't pollute this one
[Xposed Framework Modules] :
How about if the app is launched as pinned? Will that work well? Then to exit, you'll have to go back to the main lock screen.
[Xposed Framework Modules] nicesoni_ash:
That will be great.
[Xposed Framework Modules] Lazerus625:
Yes, in theory i think that should work! Force any app that is launched through knock code, to automatically pin screen.

---------- Post added at 10:33 PM ---------- Previous post was at 10:30 PM ----------

I'm not skilled in coding so I can't offer any help on how to implement that feature, but I will happily donate to your efforts!
[Xposed Framework Modules] :
I tried to implement this in Gesture Unlock, but it isn't very reliable. If you see an app doing this, please let me know - I will try to understand how it works and replicate it.
[Xposed Framework Modules] Lazerus625:
Instead of the screen pinning, what if a command in the was added, to just simply turn the screen back off after leaving the app that was launched from knock screen? Something like a 1second timer. Then the Android security will take over everything from there, just as it would any other time the screen was turned off. Any time an app has the permission to turn off the screen in marshmallow, the screen is locked by default anyways.

---------- Post added at 02:45 AM ---------- Previous post was at 02:40 AM ----------

Many of applock apps use similar methods to the "timer" solution to relock apps and the lockscreen.

---------- Post added at 03:03 AM ---------- Previous post was at 02:45 AM ----------

For the knockcode app, the timer could be implemented in a way that only activates if knockcode detects one of the user's apps that was added to its settings, is launched from the lockscreen with the user app's specified knock code password. Once the app is closed, put into background, or the recent button is touched, then the timer would automatically start the countdown to turn off the screen. If the phone is unlocked with the normal knock password, then no countdown "timer" will start.
[Xposed Framework Modules] :
Well, timers cost battery, so not going to do that. Coming to the other thing, if I were able to detect somebody leaving an app, I would just simple lock the screen again, but that is not possible, because of my limited android skills. I did think of something new, and I will try to give the remake I have been promising during the next weekend if time allows and implement this too.
[Xposed Framework Modules] Bartekreaper:
Mhm found it today :eek:. Continuation one of the best modules i used on my old Z1 Compact on KK :P Will try and tell if it works now :3
[Xposed Framework Modules] Dbj.Dhaval:
U said that for screen off feature kernel should support that.. What does that mean?
[Xposed Framework Modules] :
This module does not support it in any way, go ask your kernel dev.
[Xposed Framework Modules] :
New version hype : Quite done now, should have a great set of (hopefully working) features. It's around 134 kB in size as of now, I expect it to stay less than 200. Cheers!

PS : The activities seem to lag for some indeterminate reason, but I think we can live with that.
[Xposed Framework Modules] Tyaginator:
Are u really talking about knock code? , coz this app is of around 1.5MB currently

Sent from a Device using an App!
[Xposed Framework Modules] ajeesh vijayan:
nexus 5 6.0.1

confirmed

off topic: do you have settings app lag on 6.0.1 with xposed?

thank you
[Xposed Framework Modules] :
I have a log, I am working on it. Thanks for your time, will update when it is done.
[Xposed Framework Modules] SyCoREAPER:
Screenshot? Curious on what it looks like
[Xposed Framework Modules] :
Look at the screenshot tab in DevDB http://xdaforums.com/devdb/project/?id=13000#screenshots
[Xposed Framework Modules] Md Shahab:
not working

didn't worked for me, am on cm13 by temasek on Redmi 1S

in lockscreen after when i enter the correct knock code the screen turns black and again the locked screen appears
[Xposed Framework Modules] ashunit:
Works like a charm on my cm 12.1 nightlies. One more suggestion I want to give is that to allow an option to change the background of the screen while entering the code. Black background is bit distracting. Rest everything is fine.
[Xposed Framework Modules] M1P:
Works OK with latest version (1.0.6.1) on Xperia Z3c with stock kernel and LP (5.1.1, custom ROM).

I would like to thank you very much for your last update (I got a problem with another app that is using keyguard as option for secure opening)!

Please keep it up and let's us know when you'll be ready for features requests.

Sent from my D5803
[Xposed Framework Modules] :
Marshmallow support fixed, please test and give feedback. I can personally vouch for it now. Sorry for the prior inconvenience, the methods are quite different.

[MENTION=5891919]SpiritBreak3r[/MENTION] : Please disable other modules and resend the logcat. I will do something then. Would you be willing to test repeatedly? I ask, because I do not have a fingerprint device and will not be able to provide support without a tester. Also, please send another log where the phone is unlocked using fingerprint when a PIN is used in the security settings. I think that would help more.

Thank you all for your time!
[Xposed Framework Modules] :
It uses the default launcher background that you are using, does it not?
[Xposed Framework Modules] :
Thank you for your feedback, I will keep you updated. Could you please try the latest version? I went to CM13, so I did not check on CM12.1
[Xposed Framework Modules] M1P:
As far as I can see from changelog, this update was for MM. Anyway I've installed it and everything is working fine on LP.

Thank you!

Sent from my D5803
[Xposed Framework Modules] SpiritBreak3r:
[MENTION=6065596]Rijul.A[/MENTION]

I just tried out the 1.0.6.2 build, unfortunately it's not even loading the knock code while at the lockscreen. It shows the pattern unlock. Rebooted twice, I just have 2 modules at the moment. The other one is GravityBox.
[Xposed Framework Modules] :
Damn! Logs, please. Xposed logs, to be precise. Not logcat.

Which ROM are you using? AOSP?
[Xposed Framework Modules] SpiritBreak3r:
Apologize, for some reason the xposed module were not seem to be active. After re-installing them, Knock Code works perfectly.

---------- Post added at 07:07 PM ---------- Previous post was at 07:00 PM ----------

Here are the logcats for fingerprint unlock.

- After the first boot, pattern is mandatory.

https://paste.ee/p/Gz7X0

- Unlocking for the second time using fingerprint.

https://paste.ee/p/PmaO8
[Xposed Framework Modules] :
Delete

EDIT : Sorry, don't understand the fingerprint service. Can't implement it without a device in hand. Really sorry.
[Xposed Framework Modules] RusherDude:
Hi, tested new version and doesnt lockloop anymore. But it doesnt work well.

Tested with a pass 3 taps long and works. Tested with one of 5, repeating one touch, and the system waits for only 4 touches, so im locked cause cant put my input and no variation like no repetitions or no first or last touch works....
[Xposed Framework Modules] :
What was your input code? I will test.

Tell it like this.

1 2

3 4

Secondly, if you want access to your system again, boot into recovery, go to file manager and delete /data/app/me.rijul.knockcode-*/base.apk

A log might help, but not really sure.

EDIT : Does the default code work? Maybe the settings were not saved? I cannot replicate this error.
[Xposed Framework Modules] RusherDude:
My code was 1 1 2 when i re enabled the module with the new version and worked.

Changed it to 2 2 1 3 4 and it said it was saved OK. Then at the lock screen, i can only input 4 tabs before it says its incorrect, and nothing works.

Yea need to enter recovery and such, its faster to modify list of modules but its still a pain..

Could you add some kind of backdoor to be able to bypass the lock scren (maybe a button to show the original lock method) while this works? Its becoming kinda a pain :p

Thanks for your hard work
[Xposed Framework Modules] ahero123a:
Tested on 5.0, AOSP.

Work normally!

THANK!
[Xposed Framework Modules] :
Yes, I am. (Hint : Remove deprecated / not useful / unused libraries)

It will most likely have the RusherDude's green dots and the option to launch apps over the lockscreen too!
[Xposed Framework Modules] terroboy k9:
Amazing!! Waiting for update
[Xposed Framework Modules] :
New version up!

PS : I have no idea why a few of the posts above got deleted, apologies.

EDIT : Also apologies to the translators, because I reworked the app, the strings were removed. Please retranslate.
[Xposed Framework Modules] crille612:
Mate, is it possible to enable slide before knock code on TW roms. On Tw roms there is no slide before lock but on aosp there is.

Like this old module did http://xdaforums.com/xposed/modules/mod-xlocksecurityslide-lockscreen-slide-t2626785

but that module is no longer updated.
[Xposed Framework Modules] :
I have no idea.

EDIT : Give me SystemUI.apk I will have a look.
[Xposed Framework Modules] crille612:
Here is my systemUI.apk
[Xposed Framework Modules] :
A new version is up with a few bugfixes and improved color handling.
[Xposed Framework Modules] prestodigiti:
I'm having the same issue i had with the gesture app. Everything is working except the fullscreen option.
[Xposed Framework Modules] RusherDude:
Awesome new version but.. why are the dots moving down now? seem broken with material design :crying:
[Xposed Framework Modules] nicesoni_ash:
This option doesn't work. All dots are still in white even when entered correct and only changed to green in the end or are they supposed to work like that?
[Xposed Framework Modules] :
Fixed in v1.3.2

EDIT : [MENTION=4811172]RusherDude[/MENTION], do you have any suggestions for showing dots correct when show dots is off? Right now the animation changes the color from transparent to green and then unlocks. It doesn't look very nice to me.

I don't understand what you're trying to say, but this is how it is supposed to look https://goo.gl/photos/fUQXVCu59NntBEWb7 (the dots move up instead of down now, this is the old version)
[Xposed Framework Modules] :
Sorry, I can't fix something if I don't know why it's broken. I rechecked your SystemUI from the other thread, and what the module is doing should work fine.

Are you using an HTC device by any chance?