yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] :
Can you try this? https://github.com/Rijul-A/Xposed-Knock-Code/blob/master/app-release.apk?raw=true

Also, I have removed the relative taps option for now. When I think of a new algorithm, it will be re-added, I had already begun to love it, so don't worry, it will be added back when I can get the time. Here's the flaw I observed, which requires too many variables to be actually fixed: Screen size, grid size, sensitivity, and a few assumptions which undermine the security.

https://raw.githubusercontent.com/Rijul-A/Xposed-Knock-Code/master/Flaw
[Xposed Framework Modules] n00b0rKa:
Tested it, same thing happens :S
[Xposed Framework Modules] n00b0rKa:
I will try CM14 in the weekend, do I have any chance of it working on N?
[Xposed Framework Modules] Tyaginator:
No xposed on N yet
[Xposed Framework Modules] eliselis:
I was having the same problem. Had to uninstall the app, but I like it a lot. Has the last update removed that problem?

I didn't have any larger fonts, and the problem was the same. Flashing screen, lost the wallpaper... :(

Can't post any logs because I don't have it installed anymore.
[Xposed Framework Modules] :
Are you using AOSP or Lollipop or CM nightly before 28th June?
[Xposed Framework Modules] eliselis:
I'm using OnePlus One with official CM13.1.2, no nightly.
[Xposed Framework Modules] :
I think I know why it's not working, but not sure how to fix it. Let me think.

In the meanwhile, can [MENTION=7073461]n00b0rKa[/MENTION] please also confirm which OS are you on?
[Xposed Framework Modules] n00b0rKa:
Here you go, from an earlier post.
[Xposed Framework Modules] :
Does version 1.4.2 work for you?
[Xposed Framework Modules] n00b0rKa:
No, sadly, none of them works. I tried installing older versions of XPosed as well. I'm now waiting for an update on the ROM, maybe that will solve.
[Xposed Framework Modules] :
Long press
[Xposed Framework Modules] n00b0rKa:
Flashed the very same ROM, same version, but instead of AGNi, I flashed Void Kernel. It's working like charm.:D
[Xposed Framework Modules] Sri vignesh:
When I enable full screen on lock screen visuals it doesn't works until I boot the phone... Bt when I boot the phone once again it changes to half screen even though the I've enabled full screen option ... Can someone help me out?!
[Xposed Framework Modules] frankh93:
I have the same problem that [MENTION=7073461]n00b0rKa[/MENTION], if this can help my phone is a Xperia T2 Ultra with 5.1.1., whit latest xposed version and module too. But there is something rare, because in my Moto G 2nd Gen is working so fine...
[Xposed Framework Modules] n00b0rKa:
It seems that the problem for me was with the AGNi kernel, I changed it and now it's working.
[Xposed Framework Modules] rajesh4xda:
Using mifavor v3.5 on yureka, after reboot I could see the knock code pattern but after each correct pattern I used to get "unfortunately system has stopped" message. Is this a compatibility issue?gravitybox and other stuff work well
[Xposed Framework Modules] acidrums4:
Updated to 1.4.8 - Can't unlock my phone! I enter my pattern but screen keeps returning to the lock screen. :(

Edit: Long pressing buttons isn't working either!
[Xposed Framework Modules] :
Logcat
[Xposed Framework Modules] :
Recovery - Advanced - File manager - /data/data/me.rijul.knockcode/shared_prefs/me.rijul.knockcode*.xml delete
[Xposed Framework Modules] :
No
[Xposed Framework Modules] rajesh4xda:
Where can I find the logcat?
[Xposed Framework Modules] :
lmgtfy.com/?q=how+to+logcat+on+android
[Xposed Framework Modules] rajesh4xda:
I uninstalled the module yesterday so not possible to get the logcat now?
[Xposed Framework Modules] Rakuu:
Then reinstall it.
[Xposed Framework Modules] acidrums4:
Thanks! It worked. :) Going to the previous release.
[Xposed Framework Modules] Jpigas:
Still not working

Un CM13.1.2 and latest version, 1.4.8. I think, and stuck on lockscreen. Any idea to make it work? Thx.
[Xposed Framework Modules] TroyBrown:
Installed the update to the latest version yesterday and now also can't unlock my phone.

I've also got that half-screen thing mentioned by others before.

My pattern consists of 4 taps, and the module allows me to enter 4 taps in general.

However, if I try to enter the 4 taps required for my unlock, it only accepts the 3 taps on the right hand side. It doesn't accept any further entries.

As I've got the not-so-good CyanogenMod recovery I can't seem to enter any advanced area to just disable this module. Argh! :)

Edit: just reflashed the ROM, had to flash Xposed again, uninstalled the non-working module and reinstalled an older version. Works again now.
[Xposed Framework Modules] :
All reports without a logcat will be ignored as stated previously.
[Xposed Framework Modules] angryabhishek:
i have stuck on the lock screen and nothing is working above plz help me out. i dont want to lose any data.
[Xposed Framework Modules] Sprite78rus:
5 long tap on the screen. You can enter PIN code.

---------- Post added at 12:44 PM ---------- Previous post was at 12:38 PM ----------

Hello.

I have HTC ONE E8 dual sim.

I want be a tester.

What information do you need from me?

Version 1.4.8 not work on my device.

Device is cycling locked.
[Xposed Framework Modules] LKD70:
Stuck...

Like others, I'm stuck on the lock screen, though the lock screen is totally blank, just the usual dimmed transparency (CM13).

5 long knocks has 0 effect, any advise?

Fixed, deleted xml as suggested, missed that one, cheers!
[Xposed Framework Modules] TheHaso:
[MENTION=6065596]Rijul.A[/MENTION]

Hi, seems like this module is broken on my LG G2 with CM13 and Xposed v87.

Attached zip with system UI and logs.
[Xposed Framework Modules] :
I need version numbers for CM and the module, and a description of the symptoms.
[Xposed Framework Modules] TheHaso:
LG G2 D802 - CM13 Build 20161211

Latest modüle version - v1.4.8

Symptoms - none, nothing happens when I use the module. Just like it's not activated, but it is. My lockscreen appears just the same with no changes.
[Xposed Framework Modules] :
Did you

1. Switch to PIN in Cyanogenmod Settings?

2. Turn the switch on in the module UI?

3. Set up an initial knock code?
[Xposed Framework Modules] TheHaso:
Yes to 2 and 3, but I will try to use pin lock screen and try again.

Edit: this seems to solve the issue. Thanks! ?
[Xposed Framework Modules] yo_honey:
These are logcat of my desire 820

Its not working on my device

127|u0_a122@htc_a51dtul:/ $ logcat

--------- beginning of main

12-29 22:13:33.662 11456 11456 I Term : Bound to TermService

12-29 22:13:33.662 11456 11456 I TermService: Activity binding to service

12-29 22:13:51.912 11456 11456 I Term : Bound to TermService

12-29 22:13:51.912 11456 11456 I TermService: Activity binding to service

12-29 22:14:05.712 11456 11456 I Term : Bound to TermService

12-29 22:14:05.712 11456 11456 I TermService: Activity binding to service
[Xposed Framework Modules] :
No relevant information in this logcat
[Xposed Framework Modules] Sprite78rus:
HTC ONE E8 dual sim Android 5.0.2. Knock Code Lockscreen Version 1.4.8

My device is HTC ONE E8 dual sim Android 5.0.2.

[AOSP][LP][MM] Knock Code Lockscreen Version 1.4.8

After enter the knock code device not unlocking.
[Xposed Framework Modules] Sprite78rus:
Please, look at the video and logcat.txt.

Hello.

I am not have 10 post. I cant upload file on forum.

Please, look at the file on google drive.

Insert httр:// before links.

logcat.txt

drive.google.com/open?id=0B_ticlmPrxSwc01ZcURmLThEVlE

SystemUI.apk

drive.google.com/open?id=0B_ticlmPrxSwUExXcy1VX2VNMEE

Device:

HTC ONE E8 dual sim Android 5.0.2.

Knock Code Lockscreen Version 1.4.8

Error:

After enter the knock code device not unlocking.

Look at the video

youtu.be/p92mZWNichA
[Xposed Framework Modules] Sprite78rus:
Why are you ignoring me, my Indian friend?
[Xposed Framework Modules] paulo boë:
It doesnt work. Im using cm 13
[Xposed Framework Modules] :
Fixed in v1.4.9
[Xposed Framework Modules] Sprite78rus:
Thank you!

V.1.4.9 work well!
[Xposed Framework Modules] woodstock101:
Installed module, setup pin, enabled module, then rebooted...

Lock screen only shows 2, 5, 8, & 0. Is there a work around or fix I can apply?

T-Mobile, S7 Edge, Echoe ROM.
[Xposed Framework Modules] :
Do you have access to recovery, or to ADB via computer?

You need to delete the file

/data/app/me.rijul.knockcode-*/base.apk
[Xposed Framework Modules] woodstock101:
I have access to stock recovery, but not seeing an option to delete files. Custom recovery isn't an option for this device because the bootloader is locked.

I think I'll have to Odin back to stock, re-root, then apply my backup using flashfire.
[Xposed Framework Modules] andreascy90:
How i put it on lockscreen
[Xposed Framework Modules] hiup:
hi
[Xposed Framework Modules] Bodenseematze:
Chance for integration in LineageOS

[MENTION=6065596]Rijul.A[/MENTION]:

I really love the Knock code module and I can't live without it :cyclops:

That module's the main reason why I use the Xposed framework and that is the reason why I'm still at Cyanogenmod - Xposed is still not available for Nougat! :crying:

So, would it be possible to integrate the Knock code functionality natively in LineageOS?

I think that would really be a big step forward - what do you think?

Will there be any chance to see that happen?
[Xposed Framework Modules] :
Sorry man, my laptop doesn't build CM zips, otherwise I would have.
[Xposed Framework Modules] nicesoni_ash:
Would you be kind enough to give some support if I try to add this in my Nougat build?

Edit :

Isn't this open sourced, I don't see any git link.

Sent from my "1+2" powered by Unofficial RR 7.x.x

Compiled by myself
[Xposed Framework Modules] :
https://github.com/Rijul-A/Xposed-Knock-Code Go crazy
[Xposed Framework Modules] Bodenseematze:
:good: Thumbs up for your try - I hope you'll be successful! :fingers-crossed:
[Xposed Framework Modules] Alejorincon29:
troubleshooting

the app fails today on my samsung galaxy s6 device, i just reboot the phone then when the device restart just asked me for the pin but the keyboard fails and it only shows me the 2, 5 ,8 and 0 numbers, so ... don't know what to do
[Xposed Framework Modules] :
I don't support Samsung phones
[Xposed Framework Modules] Retroguy2017:
Information Request

Hi there!

I'm very impressed with your work - but I can't find your documentation on how to get individual applications working on the lockscreen.

You mention the Apps Settings extension, with which I am already familiar, and accordingly I have installed the version that the app links to, which is a later version than that available on the Xposed repository.

After installing that, that's where I run dry. There are no further instructions, and nothing that I can see in the Apps Settings extension seems to make any mention either.

I do get some applications coming up on the list with the Knock extension, but I don't seem to have any control over which apps appear at all.

Please can you tell me how to complete the installation? Many thanks!
[Xposed Framework Modules] nathanchance:
Thread closed at OP's request!

The Flash

Forum Moderator
[Xposed Framework Modules] RusherDude:
Cant install.. Need to clean the old one first?

Also... Why in the first post u say noone tested 6.0.1? I did since day 1!
[Xposed Framework Modules] :
Yes, updated in changelog. Thanks for the info. It was this error

public static final int INSTALL_FAILED_PERMISSION_MODEL_DOWNGRADE = -26;

Also, fixed the OP.
[Xposed Framework Modules] RusherDude:
Thanks!!!

I opened the new version, saw the emergency button and immediatelly was going to post about hiding it, jus to open the app and see <attached>.

Thank you!! =D

PS: Suggestions:

1) Disabling the emergency button is cool, but an option just to make it invisible (without deleting the former) should be ok since that button can be important at some point.

2) The vibrations are still there when clearing code and such. I wouldnt disable them, but some people may want to hahaha.

Keep doing the great work!!
[Xposed Framework Modules] :
Disable vibrations in system settings, I have no control over these.

Are you experiencing longer boot times with the module? I seem to have to reboot twice to get it working after updating it.

EDIT : Nope, it's not a double reboot required. Only a full reboot. Soft reboot does not seem to work?
[Xposed Framework Modules] RusherDude:
I was talking about the vibration when you hold on the screen to reset the password. That is a vibration forced by the module! (on the 'stock' pattern system there is no such thing as resetting) I shouldn't have to go and null the entire system vibrations just for this lol. But again, just a proposal, I wouldn't change it anyway.

About the other thing, I have a lot of modules and such so not sure about longer booting time. Soft reboots? no idea since they're not recommended since Lollipop as far as I know. I just did a soft reboot to test (with the xposed app) and it booted normally, nothing strange.
[Xposed Framework Modules] :
For other users, the vibrations are not controlled by me, they are controlled by the system settings, akin to a touch vibration or a long touch vibration.

Strange behaviour with the soft reboot thing though. I guess I'll get used to full reboot now.
[Xposed Framework Modules] RusherDude:
Yeah, but who calls for this vibration when you hold the screen to reset the password? The module should be telling the system to vibrate, because on a normal/stock lockscreen there is no reset option and there's no vibration pattern defined for it :confused: A module/app/activity can force a vibration event, and in this case it seems your module reacts to the hold event by resetting the sequence and launching a vibration event. Or am I wrong?
[Xposed Framework Modules] prestodigiti:
Everything is working as intented so far. The only thing missing now is a new icon :D
[Xposed Framework Modules] :
No, you are right. I am sorry. MohammadAG has put one statement in his code which I was yet to explore. Sorry for the confusion. https://github.com/Rijul-A/Xposed-K...ava/me/rijul/knockcode/KnockCodeView.java#L51
[Xposed Framework Modules] M1P:
Doesn't work on LP 5.1.1 after latest update (1.0.7).

Module is enabled, Xposed is active, and I'm using a 3x3 pattern security mode in my stock settings. Have tried with the deleting previous version, result is the same.

My Xposed log is attached, there are full information about the device and ROM. But I can't provide you the link to the KeyguardSecurityContainer.java file from the ROM's source. Because it's closed by Sony, but it is nearly AOSP, so should not be any differences in Keyguard.

Was working fine in previous releases (from 1.0.6.1), but now I just getting stock 3x3 pattern.
[Xposed Framework Modules] :
Please give me SystemUI.apk, it will help. This error occurs because Sony seems to have changed the emergency call handling mechanism from AOSP.

It is this particular line at fault, which leads to a NoSuchMethodError.

findAndHookMethod(clazz, "onSimStateChanged", int.class, int.class, state, mOnSimStateChangedHook);
[Xposed Framework Modules] M1P:
Here you go, kind Sir.

Thanks in advance!
[Xposed Framework Modules] :
Thanks, I found out what the issue was. Will be fixed in next release.

Pro : It will be a big one. New icon + Translation issue removed + Option to change pattern size!

Con : It will take a little more time to be out. Sorry.
[Xposed Framework Modules] slsamg7112:
it doesn't work on my z3 running stock android 5.1.1 after update to 1.0.7

though i delete previous version then install the new one,still can't work :confused:
[Xposed Framework Modules] :
It will be fixed in next version, see the post above yours.
[Xposed Framework Modules] RusherDude:
Best: it is an update for this module. We've been waiting since LP for someone to take this project!! Take your time, we appreciate it :)
[Xposed Framework Modules] :
New version up! Merry Christmas!
[Xposed Framework Modules] RusherDude:
Wtf? Wasnt it going to take long???
[Xposed Framework Modules] :
Long means not instant :P

Took it down, some error. Fixing
[Xposed Framework Modules] RusherDude:
Hahaha! Thanks!

PS: new version is weird. After installing and rebooting, i saw the knock code screen. After putting it, screen turned off and when turning it on, I saw normal pattern.

I go into the app, it says its inactive, i re-set it again and reboot. After re oot.. I see knock code screen , put it and again screen turns off? Then knock code shows again and works everytime, but the app still says its disabled? And nothing on the xposed log. This is weird! Hahaha

PS: just an opinion: that line separing the action bar and the bar showing status looks bad and no material. How abot just using some sort of darker color for it with no separation line?? :)
[Xposed Framework Modules] :
Yeah, that's the error I was talking about.
[Xposed Framework Modules] :
Fixed version uploaded.
[Xposed Framework Modules] RusherDude:
I am on the removed version and dont see any new... You used 1.1.0 also as version number?
[Xposed Framework Modules] :
I will try to see to it, it is just a copy from someone.

OT : Which module are you using for the status and navigation bars?
[Xposed Framework Modules] :
Yes. Refresh the repo before downloading.
[Xposed Framework Modules] RusherDude:
Flat style colored bars, by ibocharov.

http://xdaforums.com/xposed/modules/flat-style-colored-bars-t2925521

---------- Post added at 01:45 AM ---------- Previous post was at 01:43 AM ----------

Now i see v1.1.1, thanks!
[Xposed Framework Modules] :
Feature requests are now open.
[Xposed Framework Modules] RusherDude:
Merry Xmas everyone!!!

V1.1.1 review!

Everything seems to work so far except the disable long press vibration, its still there even if you turn it off. The disable/enable single hit vibration works tho. Strange...

Also sometimes when I turn off the screen to test the lockscreen again, I see the app and the lockscreen appears seconds later o.O, didn't happen on previous versions.

You implemented all my ones so far.. haha, there are more!

1) Those dots that appear when you set up the code, it would be neat if they appeared too on the lockscreen (option to turn on/off too pls!), and option to set them below/above or others hehe.

2) Expand the cross to all the screen or make it minor or directly set area by (x,y) start and (x,y) end coordinates (and a big red warning to people putting a 0px grid.. ), with pre-sets like all screen, lower part, higher, etc. Maybe directly put those as options and put below everything (manual zone), with the warning! even a popup spam everytime is acceptable there, cause the user may break the functionality with that.

3) Option to set emergency call button bigger and option to move it above the grid too would be cool.

4) A secondary lock option, like I forgot my code.. press on "forgot" button, and insert a code, or even move to stock pattern! (this would be cool). Also an option to hide button or hide text for it, and placement options haha.

Well there you have work lol. Thanks and keep up the awesome work so far!
[Xposed Framework Modules] ahero123a:
New version not work.

On 1.0.4 work well, but newer version not work
[Xposed Framework Modules] :
I will look at long press vibration option again

EDIT : Because of the way MohammadAG made the module, the settings refresh doesn't work very well. That is why you see the module again after unlocking and that is why you get extra long press vibrations after disabling. I don't know how to fix it, but I sure will try.

1. Okay, on it.

2. No, too many customizations are bad UX. I would not want to use a complicated app, and I don't expect anybody else to want to do it either. EDIT : If I can figure it out, I will add fullscreen option.

3. Refer 2, plus, I don't see much use for it.

4. Maybe I will add a button to go to stock pattern, but adding another code will compromise the security.

Fixed in 1.1.2, thanks for reporting.

PS : Next time, do tell me which version you tried last and give me your Xposed logs.
[Xposed Framework Modules] M1P:
Dear Rijul.A,

Could please check one more thing for Xperia device?

This is minor fix, but it's bugging me...

New release works as expected, thanks a lot for it, but there is no "Emergency Call" icon on Xperia device, you can check it in attached screenshots. Xposed log has been attached as well, and I there is attached SystemUI.apk in my previous post.

Thanks in advance!
[Xposed Framework Modules] :
Please give me a screenshot of the knockcode too, and provide log using the attached version.

PS : It has the same version name, so if it doesn't install, uninstall the old version. I don't know enough about the PackageManager to tell you for sure.
[Xposed Framework Modules] M1P:
Actually there are two screenshots attached to previous post, but one with preview and one without (don't know how has it happened). Anyway I've attached it to this post with the Xposed log with the app version you provided installed.

Thank you.
[Xposed Framework Modules] :
Does this version work?

EDIT : It has a feature I was working on, let me put the correct version. Sorry.

EDIT2 : Correct version put up
[Xposed Framework Modules] M1P:
Well, kind of. It was working before (in a matter of technical perspective), but it has different look from stock one. So I thought that you could just link your code to stock one, and everything will be the same. But as I can see, you completely rewriting it from scratch.

There are no visual border, all caps, and icon is very close to the text. So if it's just mimicry of the stock one I'll just say you to forget it, because you'll not be able to copy all the variety of this button from other ROMs.

I'm really appreciate your time, and beg your pardon for wasting it!

Thank you!
[Xposed Framework Modules] ferchnando:
There are some of lag when unlock, please fix it, it is the best module! :D
[Xposed Framework Modules] RusherDude:
Thank you! :D

I was going to relpy that, if (x,y) maps turned into a very confused UI, just permit presents (lower zone (actual) / fullscreen and if u like anothers), so great!!!

There is a good use for it, if you want to unlock with one hand, the space the button takes on the lower part could be better suited for the grid itself, making unlocking easy! Also about the UX problems (in which I agree), think that this is an xposed module, let's say no normal users are going to try this :laugh: (or at least no normal users without power users support, that introduced them).

Well, it's a battle between forgetting the knock code and going recovery and such, and having a button to use stock pattern just as emegercy (so an option could just be fine, like that button only is shown if people activates it on the app). It's just a shortcut to where anyone could get deactivating the module via recovery :P.

Also, to be honest, the normal knock code isn't either much secure (it is legible by any app on the system, if I'm not wrong) :laugh:

Thanks a lot for you hard work! :fingers-crossed::fingers-crossed::good:
[Xposed Framework Modules] Logan:
1.1.2 not working for me cm13
[Xposed Framework Modules] :
Xposed logs?
[Xposed Framework Modules] Logan:
Rebooted twice now it is working

But knock code is my favorite you are the best :D
[Xposed Framework Modules] RusherDude:
He tells you to give logs and you just reboot until it works?

It's surprising that things start working randomly after the dev ask for logs, huh?
[Xposed Framework Modules] Logan:
Its the i9300 magic ;)
[Xposed Framework Modules] Rakuu:
Running G900A TMS5, got this working but occasionally when the lock screen comes up its squished

Kinda hard to tell, but the screenshot is me pressing the middle button on a 3x3, its squished all the way at the bottom instead of spread across the screen.
[Xposed Framework Modules] :
I don't know how to fix this, never seen it before. Could you get me logcat, Xposed logs, and your ROM source / SystemUI.apk?

Logs should be from when the problem occurs.
[Xposed Framework Modules] Rakuu:
I don't know about logcat cause no comp atm, but I'll get you the xposed logs for sure, here's the SystemUI https://drive.google.com/file/d/0By1Zk8PEZHmhNlJOdl9jNFNySUE/view?usp=docslist_api