yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] gubacsek:
Nevermind! I did it myself....

I had to disable some biometric ****, that was causing "not found" errors, and the "isSecure" function changed, it has now an argument.

here is the diff:

diff --git a/app/src/main/java/com/lr/keyguarddisabler/Lockscreen.java b/app/src/main/java/com/lr/keyguarddisabler/Lockscreen.java
index aeda9bd..1c98450 100644
--- a/app/src/main/java/com/lr/keyguarddisabler/Lockscreen.java
+++ b/app/src/main/java/com/lr/keyguarddisabler/Lockscreen.java
@@ -139,7 +139,7 @@ public class Lockscreen implements IXposedHookLoadPackage, IXposedHookZygoteInit
else if (lpparam.packageName.equals("com.android.settings")) {
// This allows the settings app to show that 'Swipe' is the default, and therefore gives the ability to customize
// your swipe settings
- XposedHelpers.findAndHookMethod("com.android.internal.widget.LockPatternUtils", lpparam.classLoader, "isSecure", new XC_MethodHook() {
+ XposedHelpers.findAndHookMethod("com.android.internal.widget.LockPatternUtils", lpparam.classLoader, "isSecure", int.class, new XC_MethodHook() {^M

@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
@@ -304,7 +304,7 @@ public class Lockscreen implements IXposedHookLoadPackage, IXposedHookZygoteInit
final Object securityModeNone = XposedHelpers.getStaticObjectField(securityModeEnum, "None");
final Object securityModePattern = XposedHelpers.getStaticObjectField(securityModeEnum, "Pattern");
final Object securityModePin = XposedHelpers.getStaticObjectField(securityModeEnum, "PIN");
- final Object securityModeBiometric = XposedHelpers.getStaticObjectField(securityModeEnum, "Biometric");
+// final Object securityModeBiometric = XposedHelpers.getStaticObjectField(securityModeEnum, "Biometric");^M
// LG KnockOn - likely doesn't work for other knock on implementations...
Object tmpField;
try {
@@ -342,7 +342,7 @@ public class Lockscreen implements IXposedHookLoadPackage, IXposedHookZygoteInit
if (securityModePassword.equals(secModeResult) ||
securityModePattern.equals(secModeResult) ||
securityModePin.equals(secModeResult) ||
- securityModeBiometric.equals(secModeResult) ||
+// securityModeBiometric.equals(secModeResult) ||^M
securityModeKnockOn.equals(secModeResult)) {
param.setResult(securityModeNone);
}

Of course this is only a quick and dirty fix. This way it won't work on 5.x, so if someone has time and patience to modify it.......
[Xposed Framework Modules] amandreamartino:
Could you please share your modified version?
[Xposed Framework Modules] gubacsek:
I'm sorry, but I'm not sure I am allowed to do this. The apk is not signed, and it is not my code... This is why I only shared the code changes.

If the original creator allows me, I will share it of course.
[Xposed Framework Modules] gsamtan:
I've pushed the Marshmallow fix for this up to github - the original Author will need to build it and make it available to all. Thanks [MENTION=2669141]gubacsek[/MENTION] for posting the fix!
[Xposed Framework Modules] amandreamartino:
Thank you all, it works
[Xposed Framework Modules] Frappoccino:
Would love to see an updated version for MM.
[Xposed Framework Modules] Swede2008:
Finally figured out how to build from source! Thanks for pushing the fix to github :good:

Edit: Forgot to say its working excellent so far!
[Xposed Framework Modules] rifraf1:
Looks as if the original author has not posted to XDA in over 10 months, can anyone else compile and publish?
[Xposed Framework Modules] riccardo91:
I am interested too in this new MM compatible version :) I hope it will be released soon!
[Xposed Framework Modules] LucasR93:
Hi guys, sorry for being offline for so long, the last weeks were quite busy, but today I checked out [MENTION=3544163]gsamtan[/MENTION] 's work and built a new signed version and uploaded it to the xposed repo. Feel free to download it from there or to continue using your self built versions.

Thanks [MENTION=3544163]gsamtan[/MENTION] for pushing the changes to github
[Xposed Framework Modules] gps3dx:
1st - Thanks a lot for the module and fix.

I'm using the official MM updated version 1.80 of this module & Latest xposed v80 on arm x32 ( oneplus with bliss 6.0 rom )

I have have a small issue:

After x amount of time( a least more then 10 min ), when I unlock the screen-lock( swipe to open ), I get prompt with the password I've entered.

I checked the module setup, and indeed the default value of "timeout" is "never" - As I want it to be.... but it's not apparently ( again, after a long time ~10-30 min that the screen is off ).

Do you have this issue as well ?

Thanks.

Update:

I think that after i've entered the module setup -> changed the "timeout" to something else then returned it to "never" -> it solves the issue I'd reported.

I'll continue to test it out.
[Xposed Framework Modules] riccardo91:
I don't have such issue on my N4.

With no first lock at boot, my bank app blocked NFC payments because hasn't found a proper lockscreen. Putting instead lock at boot active, I can now pay again thanks to the fix for MM ;)
[Xposed Framework Modules] lokety:
I'm testing this module version 1.8.0 on my Nexus 5 with stock MM rooted and xposed framework 80.

After installing and rebooting, I proceeded to add my Exchange account which led to the usual security setup. I went as far as setting a 4-digit PIN but stopped at the step where it prompts to encrypt my phone storage. Now all I see is the "Security update required" notification and don't understand how to proceed.

Perhaps I don't understand how this mod works, but does this mean I have to go through with the setup above to the end *and then* this mod will help bypass the PIN lock for the Exchange account?
[Xposed Framework Modules] LucasR93:
Hi, the mod only works when you've completely set up and activated a secure lockscreen (PIN, password, pattern). Then the mod deactivates the lockscreen in the background and when unlocking the device, no pin/password/pattern is requested. I am not sure in your special case, if encrypting the device is needed, but I think this was one of these MM thing, that you are required to encrypt your device when using the stock Google images. Maybe someone else can help here?
[Xposed Framework Modules] lokety:
I guess you are right [MENTION=2593381]LucasR93[/MENTION]. This is the Exchange account setup that requires that the phone storage be encrypted besides having to set a lockscreen PIN.

I'm not willing to do that and then bypass the lockscreen with this mod.

I'll look elsewhere for a solution. Some of us are hoping that this mod can be resurrected and made to work with MM.
[Xposed Framework Modules] rcatossi:
Widget

Yes! Please! Any chance of a widget to toggle 3 lock screen types?
[Xposed Framework Modules] sam008:
2 questions folks

1) does this work in marshmallow

2) can this mod work with an email client rather than directly on the phone? My corporation enforces a PIN on my email client which could be gmail, nine, etc

Thx
[Xposed Framework Modules] noobhero:
Is not that hard to download and give it a try aye?

Just a reboot away....

Yes it works in MM
[Xposed Framework Modules] kain83:
Hi guys, I installed the latest versione 1.8 on my Moto X Play with MM, Xposed v80, and it didn't work. I mean, the only function in the menu it's working is the first one "No lockscreen". If I select "Slide-to-unlock" my phone keeps asking me the PIN number. Any suggestion?
[Xposed Framework Modules] kain83:
Ehy guys, could someone please upload his logcat? I’d like to understand what is going wrong, because looking mine I don’t really get it. Thank you.

02-16 11:11:26.868 I/Xposed ( 4774): Keyguard Disabler: We are locking...time to enforcement: 0

02-16 11:12:27.357 I/Xposed ( 4774): Keyguard Disabler: About to unlock...
[Xposed Framework Modules] skurtov:
Kyubi Heavy Bebloat. Note 4. Works with Xposed. Big thanks for this! +1

Widget switch would be nice.

Will this work with encryption?
[Xposed Framework Modules] LucasR93:
Yep works for many users
[Xposed Framework Modules] Rmazz96:
Thanks a lot for this awesome module, it's helping me a lot!

Quick question: I'm wondering if maybe in the future we will see a widget to quickly enable/disable the tweak (like the first option of the app).

Again, thanks a lot for this module!
[Xposed Framework Modules] steamrollerpark:
Thanks, works great on Moto G 2014 running MM.
[Xposed Framework Modules] noxew:
Works perfectly on my Acer E39 stock 4.4.2 ! Now I can finally use a custom app lockscreen and a VPN, thanks!

Too bad it was that hard to find it, but thanks anyway, I'll spread the word around me :)
[Xposed Framework Modules] KingEB:
Just wondering if you managed to get this mod working buddy? I have the exact same issue.
[Xposed Framework Modules] kain83:
I've just upgraded my Moto X Play with 6.0.1, and now it's working very well. Previously, with 6.0, it didn't work at all.
[Xposed Framework Modules] KingEB:
No worries, thanks for the tip!
[Xposed Framework Modules] JohnnyInRage:
Hello,

I'm running sixperience s7 port on my sm-g925f. I have xposed installed and tried your module. It's great but I have a problem, whenever I turn off the module, be it via tasker or by the module (default option), it gives a simple swipe lock screen when I have a fingerprint one.

If I restart the device everything is ok but it kinda destroys my hopes.

Any ideas?

Thanks
[Xposed Framework Modules] gtp:
Hi!

My Samsung Note 4 (SM-N910C) is on stock ROM, rooted of course, running custom XPosed 81.0 for Samsung by Wanam. The module is generally working except "lock on first boot option" and it's giving a lot of ClassNotFound errors in the log. Is it something in my config or can this be fixed? Tried different versions of the module with the same results. Log is attached. Many thanks in advance!
[Xposed Framework Modules] xdax1:
LG G3 E855 on MM (Fulmics 5.0, stock based)

I am on Xposed v83 on MM and it seems to work if I don't reboot my phone.

Once I reboot my phone, my VPN account would be lost, and when I try to add one, I will get an error saying “Type the password for credential storage.”

As soon as I disable the lockscreen in Android's settings, it will have no problem.

This is what I am experiencing

http://www.pocketables.com/2014/02/fix-credential-storage-roadblock-android.html

Wonder if I clear the credential thing, will this module works?
[Xposed Framework Modules] TransformsIntoAGuitar:
This module is SO CLOSE to what I want now that Secure Settings is no more. Is there a shell command or something similar I can run through Tasker to toggle the lockscreen on and off? I'm using emulated touches at the moment and it's not that reliable.

Edit: never mine, I've just found the Tasker plugin. Now it's perfect!
[Xposed Framework Modules] davidhandy:
Is anyone else having a problem with the Tasker integration? I am trying to turn off my pattern lock when I connect to a WiFi network (for example). I set the enter task to "Slide-to-unlock" and that works, but then if I set the exit task back to "Default" this changes the enter task to "Default" as well. I'd like to know if I'm missing something. Thanks!
[Xposed Framework Modules] daniel_loft:
I would like to make a suggestion:

It would be interesting if this module would work in combination with Smart Lock, to fully disable the lock screen when Smart Lock is active.

For somebody with a trusted device (like a smartwatch), this would be the most secure, yet hassle free solution.

Thanks!
[Xposed Framework Modules] artur93pl:
+1
[Xposed Framework Modules] artur93pl:
Workaround in Automagic

Ok, so this lockscreen disabler is the only one app which is able to really disable the lockscreen on my rooted Galaxy S6 (Stock Android 6.0.1, Space-X kernel).

I am using it with Automagic flows. When I get into the car and my phone connects with car's bluetooth system the flow starts. It runs variuos apps like Spotify, anti-traffic jams app, maps and asks me if it should designate a route. Of course I don't want to use lockscreen when I'm driving but sometimes I need to simply turn off the screen.

AND NOW THE PARTIAL WORKAROUND:

1. You will need two files with saved preferences of "Lockscreen disabler".

2. Firstly set the lockscreen type as "Default". Leave the app and go to file explorer.

3. Follow the path: "/data/data/com.lr.keyguarddisabler/shared_prefs" and copy the com.lr.keyguarddisabler_preferences.xml file to any destinatnion on your storage or sd card (for example: /sdcard/Automagic/Lockscreen/On/)

4. Then change again the lockscreen type to "No Lockscreen".

5. Copy the above file one again -> it will contain different preferences now (for example: /sdcard/Automagic/Lockscreen/Off/)

6. In Automagic (maybe it will also work in Tasker - didn't try) use "Execute root command" action to execute after the trigger.

7. Type command "am force-stop com.lr.keyguarddisabler" - to close the app before changing its data.

8. Next action - also "Execute root command". In Command type "cp com.lr.keyguarddisabler_preferences.xml /data/data/com.lr.keyguarddisabler/shared_prefs/com.lr.keyguarddisabler_preferences.xml". In Working directory set the folder with saved preferences with Lockscreen off (/sdcard/Automagic/Lockscreen/Off/).

9. In the second flow in Automagic (when for example bluetooth is disconnected) use the same commands as above, you should only change the "Working directory" to "/sdcard/Automagic/Lockscreen/On/".

10. That's all! It should work :)

Disadvantage of this method - you will have to unlock the screen manually only once after the flow executes.

Let me know if you have any questions - I will try to help :)
[Xposed Framework Modules] daniel_loft:
Integration with whatever Tasker/Automagic, etc would also be cool! :)
[Xposed Framework Modules] Arathon:
The app already have a tasker plugin with which you can disable or enable the lockscreen.
[Xposed Framework Modules] hamzaeid:
Works good on my CM11.. nice work :o
[Xposed Framework Modules] ljcorsa:
This module works great with Tasker, though it seems I still need help from SecureSettings to completely disable the pattern lock.

My question is whether this mod could update the status of GravityBox's Lock Screen quick setting. I know this defeats the original purpose of being undetectable, but if you could support another setting, it would allow the tile to show current status.

Thanks for writing a clever module!
[Xposed Framework Modules] tabser:
Face to unlock as an option ...

Fantastic tool - works fine on my Acer E380 with stock. Thank you for that!

I have a feature request for the mod:

Actual the lock screen types which can be configured in the settings are "No lockscreen", "Slide-to-unlock" and "Default (deactivates this mod)". Is it possible to add the option "Face to unlock"? :D

I like this feature, but after configuring a VPN access, I don't have this option any more.

Please check and pherhaps you can add this feature!

THX

Tabser
[Xposed Framework Modules] brunoisa10:
Very good module

Is it possible on the UI to set time of disabling and more than 1 slice of time

Possible to set it active when on/off some wifi

Tasker is really not friendly, I have AuromateIt, possible to set an interface with or a widget with some setting possible
[Xposed Framework Modules] brunoisa10:
Hi Lucas

any doc on how to use with Tasker ?

Have you made the widgets you were talking about ?

Could you set some intent for AutomateIt ?
[Xposed Framework Modules] Sugarfreee:
Hey yes I need this function. How to set Tasker plugin or automagic? Which apk is better?
[Xposed Framework Modules] TransformsIntoAGuitar:
I'm sorry, I don't understand the question, but I'll try and answer:

Install Lockscreen Disabler. Set a Tasker task, you'll find Lockscreen Disabler under Plugins. I found it very easy to set up.
[Xposed Framework Modules] Sugarfreee:
Work like a charm. I have one shortcut for lock and one for unlock. Hmm it's possible to have just one shortcut with a lock unlock?
[Xposed Framework Modules] TransformsIntoAGuitar:
Set up two tasks:

Task 1 unlocks and then sets a variable value (eg %LockToggle is set to 'lock').

Task 2 locks and then sets a variable value (eg %LockToggle is set to 'unlock').

Actually, you've already got these two tasks, you just need to add 'Variable set' to them.

Set up a third task (this will be your shortcut). This task will trigger Task 1 if %LockToggle is set to 'lock' and trigger Task 2 if %LockToggle is set to 'unlock'.
[Xposed Framework Modules] Sugarfreee:
Awesome, thank you very much.
[Xposed Framework Modules] daniel_loft:
Hello there!

I've just updated the software of my Sony Z5 compact (including rooting, flashing exposed and installing this module) and it looks like the module only gets me to "slide" lockscreen even if I select "No lockscreen". I've tried disabling any other module and Smart Lock without any positive result.

I am assuming Sony did something to this software version, as things worked perfectly before.

I've attached the Xposed logs, maybe they contain some usefull info.

Thanks for the great module!
[Xposed Framework Modules] ssterjo:
This module is great and I have used it on many phones.

However now I have Android 7.1.1 on a Note 4, and Xposed is not out yet for nougat. Is there any possible way to release a version without Xposed?

That would help a lot. Thanks.
[Xposed Framework Modules] NovaViper:
The Lock on Boot doesn't work for me.. I have it toggled off and it still locks on boot. I have a rooted via SuperSU (Systemless) Samsung S6 Edge Sprint variant with Android 6.0.1

---------- Post added at 09:58 AM ---------- Previous post was at 09:47 AM ----------

Um.. I'm trying to do this but I don't really understand with the tasks, I'm not sure how to trigger these tasks. Also what do you mean by "Task1 lock and Fask2 unlocks"? What profile types do I use?
[Xposed Framework Modules] TransformsIntoAGuitar:
Profiles aren't used at all. The third task is what you use to toggle the PIN lock on and off. You could set a Task Shortcut on your homescreen that is linked to Task 3. Tapping the Task Shortcut icon will toggle the lock. Or you could use Run Task to call Task 3 as part of another task. Does that clarify?
[Xposed Framework Modules] NovaViper:
Kinda.. I'm trying to figure out how to keep the lock off when booting the device since I'm using C Locker (I was originally going to use the system default but wanted to use C Locker instead)
[Xposed Framework Modules] TransformsIntoAGuitar:
I don't know anything about C Locker.
[Xposed Framework Modules] NovaViper:
I know but I want the system Lock screen to stay off.. For some reason it seems to come back on whenever I restart the phone.
[Xposed Framework Modules] TransformsIntoAGuitar:
Maybe it's a security feature of C Locker. Maybe you should try Secure Task instead.
[Xposed Framework Modules] NovaViper:
I have it turned off and rebooted the phone and the phone still turns on the system Lock screen (C Locker actually asks to turn off the system lock to prevent double lock screens)
[Xposed Framework Modules] TransformsIntoAGuitar:
Oh, you mean C Locker is supposed to disable it but isn't? If that's the case, try Secure Task.
[Xposed Framework Modules] NovaViper:
No no, the app prompts you to turn it off, but it doesn't turn it off itself. I'm using Lockscreen Disabler to keep the system lock off without actually disabling it since I have apps that depends on having the system lock on. But whenever I restart the phone, the system lock screen turns back on but with the swipe to unlock instead of the fingerprint (which is the secured lock I have set up for the system)
[Xposed Framework Modules] Shtiff1:
I used this every day. But now I've switched to magisk. Will you make this mod to be able to use with magisk?
[Xposed Framework Modules] tecnicopascoal:
I was searching for this I need to register fingerprint, Amazing I will test on my Zenfone 3 Deluxe 820 and come back here to report if its fine
[Xposed Framework Modules] tecnicopascoal:
Working just option "No Lockscreen" just later I authentic in first boot

Slide ask to authentication not working, please can you fix it to ZenUI MM?

I need so much it working with slide to unlock without need authentication and without need password on first boot. How can I help how fix it?

My phone is ASUS Zenfone 3 Deluxe 820
[Xposed Framework Modules] kos25k:
hello.can u add option to just unlock with pin when u press button?it is boring to first to have to slide up and then enter the pin to unlock.thanks.
[Xposed Framework Modules] natsousa:
Any desire to update this module to work with Oreo and beyond?
[Xposed Framework Modules] Fabian Rï¿½ling:
Fairphone 2, LineageOS 18.1, Android 8.1

Just tried the mod and the phone still requires the password after boot and when viewing a password in Chrome. Wasn't the mod supposed to hook into every screen lock and automatically pass it?
[Xposed Framework Modules] Lord Sithek:
I tried this module on AOSP Extended (Pie) on Xiaomi Redmi Note 4X. First, I installed Ruri core and EdXposed (more on that thread: https://xdaforums.com/xposed/list-xposed-modules-android-pie-ed-t3892768) with success, and next I installed Lockscreen Disabler. It's been succesfully installed, but unfortunatelly no one of the provided options work. Screen still requires the password every time it is waken up. Pity, I use a company mailing and the mod was very useful for me, when I used Xiaomi.eu on Nougat. As I see, the developer doesn't support LS anymore. Or am I wrong? Would be fantastic to see LS working on Oreo and Pie :D

EDIT: Actually I got it work on Pie with EdXposed update, but only with no lockscreen option. Slide and smart lock doesn't work still
[Xposed Framework Modules] lndck:
I can confirm this is working on Oneplus 5 Pie (OOS 9.0.4 latest). My first choice is no lockscreen security whatsoever, but that robs me of the ability to use fingerprints to log into various apps. This module + EdExposed gives me working fingerprints and no lockscreen. The only downside is it requires a pattern/pin/password entry once after boot, but that's manageable.
[Xposed Framework Modules] eternal404:
I may have good news.

I think I managed to patch the mod for full Android 8+ compatibility. This includes Pie.

I have successfully overriden keyguard with both "slide" and "none" methods.

I think I have narrowed down the problem to this line:

XposedHelpers.findAndHookMethod(outerClassName, lpparam.classLoader, "getSecurityMode", new XC_MethodHook() {

The "getSecurityMode" method expects an int UserId in newer versions of Android.

All I had to do was change it to

XposedHelpers.findAndHookMethod(outerClassName, lpparam.classLoader, "getSecurityMode", [B]int.class[/B], new XC_MethodHook() {

I'll try to submit a pull request on github. In the meantime, here is a patched, working APK. ;)
[Xposed Framework Modules] natsousa:
It seems to work on Oreo, but is this apk trustworthy?
[Xposed Framework Modules] eternal404:
If you don't trust this APK, you can build your own using the original source here and merging my pull request here.

The author appears to have abandoned the project, so I doubt we'll ever get an "official" APK.

BTW, I managed to pay at a POS using Google Pay today, despite Xposed which supposedly trips safetynet. I am now enjoying Google Pay without secure lock enforcement. Hope it lasts.
[Xposed Framework Modules] eternal404:
PSA: I have uploaded my fork to the Xposed Module Repository: https://repo.xposed.info/module/com.lr.keyguarddisabler2. It adds support for Android 8 and 9. It may or may not work with future Android versions. I have credited [MENTION=2593381]LucasR93[/MENTION].
[Xposed Framework Modules] firdaus90:
Okay