[Xposed Framework Modules] eternal404:
I have a similar setup and followed the same steps as [MENTION=9630286]Lord Sithek[/MENTION] and [MENTION=9844291]lndck[/MENTION]:

1) Install Magisk

2) Install and enable Riru core, EdXposed and EdXposed-installer

3) Install Lockscreen disabler through EdXposed-installer

4) Set lockscreen type to "No lockscreen" or "Swipe" in Lockscreen disabler

5) Reboot

Unfortunately, the secure lock screen stays active even after the first unlock.

Setup:

AOSP Pie (Resurrection Remix 7)

Magisk 19.0

Riru 18

EdXposed 90.0-0.3.1.7-beta

EdXposed log mentions errors related to the lock screen:

--------- beginning of head
EdXposed Log
Powered by Log Catcher
QQ chat group 855219808
--------- beginning of system info
Android version: 9
Android sdk: 28
Android build: PQ2A.190405.003
Fingerprint: samsung/heroltexx/herolte:8.0.0/R16NW/G930FXXU2ERD5:user/release-keys
ROM build description: heroltexx-user 8.0.0 R16NW G930FXXU2ERD5 release-keys
EdXposed Version: 0.3.1.7_beta (3170)
Architecture: arm64-v8a
Device: herolte
Manufacture: samsung
Brand: samsung
Product: herolte
--------- beginning of main
--------- beginning of system
04-26 19:30:34.853 3508 3508 I EdXposed-Bridge: Loading modules from /data/app/com.lr.keyguarddisabler-fwPmt6AYGmAMWx4jWxagVQ==/base.apk
04-26 19:30:34.862 3508 3508 I EdXposed-Bridge: Loading class com.lr.keyguarddisabler.Lockscreen
04-26 19:30:38.173 3510 3510 I EdXposed-Bridge: Loading modules from /data/app/com.lr.keyguarddisabler-fwPmt6AYGmAMWx4jWxagVQ==/base.apk
04-26 19:30:38.180 3510 3510 I EdXposed-Bridge: Loading class com.lr.keyguarddisabler.Lockscreen
04-26 19:30:38.548 4057 4057 I EdXposed-Bridge: Keyguard Disabler: Loading Lollipop specific code
04-26 19:30:38.873 4057 4057 I EdXposed-Bridge: Keyguard Disabler: SecurityEnum (Android 5.0) found and parsed
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge: java.lang.NoSuchMethodError: com.android.keyguard.KeyguardSecurityModel#getSecurityMode()#exact
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:344)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:185)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:260)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at com.lr.keyguarddisabler.Lockscreen.hookAllNeededMethods(Lockscreen.java:333)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at com.lr.keyguarddisabler.Lockscreen.handleLoadPackage(Lockscreen.java:69)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:34)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:61)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:117)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at com.elderdrivers.riru.xposed.entry.hooker.HandleBindAppHooker.hook(HandleBindAppHooker.java:74)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at android.app.ActivityThread.access$1100(ActivityThread.java:201)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1657)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at android.os.Handler.dispatchMessage(Handler.java:106)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at android.os.Looper.loop(Looper.java:193)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at android.app.ActivityThread.main(ActivityThread.java:6724)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at java.lang.reflect.Method.invoke(Native Method)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
04-26 19:30:38.874 4057 4057 E EdXposed-Bridge:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge: de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.internal.widget.LockPatternUtil
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:71)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:260)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at com.lr.keyguarddisabler.Lockscreen.handleLoadPackage(Lockscreen.java:153)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:34)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:61)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:117)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at com.elderdrivers.riru.xposed.entry.hooker.HandleBindAppHooker.hook(HandleBindAppHooker.java:74)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at android.app.ActivityThread.access$1100(ActivityThread.java:201)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1657)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at android.os.Handler.dispatchMessage(Handler.java:106)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at android.os.Looper.loop(Looper.java:193)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at android.app.ActivityThread.main(ActivityThread.java:6724)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at java.lang.reflect.Method.invoke(Native Method)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge: Caused by: java.lang.ClassNotFoundException: com.android.internal.widget.LockPatternUtil
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at java.lang.Class.classForName(Native Method)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at java.lang.Class.forName(Class.java:453)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at external.org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:823)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:69)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	... 14 more
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.internal.widget.LockPatternUtil" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/system/priv-app/Settings/Settings.apk"],nativeLibraryDirectories=[/system/priv-app/Settings/lib/arm64, /system/lib64, /system/vendor/lib64, /system/lib64, /system/vendor/lib64]]
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
04-26 19:30:39.206 4181 4181 E EdXposed-Bridge:	... 18 more
04-26 19:30:39.891 4057 4057 I EdXposed-Bridge: Keyguard Disabler: We are locking...time to enforcement: -13
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge: de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.internal.widget.LockPatternUtil
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:71)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:260)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at com.lr.keyguarddisabler.Lockscreen.handleLoadPackage(Lockscreen.java:153)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:34)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:61)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:117)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at com.elderdrivers.riru.xposed.entry.hooker.HandleBindAppHooker.hook(HandleBindAppHooker.java:74)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at android.app.ActivityThread.access$1100(ActivityThread.java:201)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1657)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at android.os.Handler.dispatchMessage(Handler.java:106)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at android.os.Looper.loop(Looper.java:193)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at android.app.ActivityThread.main(ActivityThread.java:6724)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at java.lang.reflect.Method.invoke(Native Method)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge: Caused by: java.lang.ClassNotFoundException: com.android.internal.widget.LockPatternUtil
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at java.lang.Class.classForName(Native Method)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at java.lang.Class.forName(Class.java:453)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at external.org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:823)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:69)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	... 14 more
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.internal.widget.LockPatternUtil" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/system/priv-app/Settings/Settings.apk"],nativeLibraryDirectories=[/system/priv-app/Settings/lib/arm64, /system/lib64, /system/vendor/lib64, /system/lib64, /system/vendor/lib64]]
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
04-26 19:31:08.325 6794 6794 E EdXposed-Bridge:	... 18 more
04-26 19:31:50.817 4057 4057 I EdXposed-Bridge: Keyguard Disabler: About to unlock...
04-26 19:31:53.858 4057 4057 I EdXposed-Bridge: Keyguard Disabler: We are locking...time to enforcement: 0
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge: de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.internal.widget.LockPatternUtil
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:71)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:260)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at com.lr.keyguarddisabler.Lockscreen.handleLoadPackage(Lockscreen.java:153)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:34)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:61)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:117)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at com.elderdrivers.riru.xposed.entry.hooker.HandleBindAppHooker.hook(HandleBindAppHooker.java:74)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at android.app.ActivityThread.access$1100(ActivityThread.java:201)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1657)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at android.os.Handler.dispatchMessage(Handler.java:106)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at android.os.Looper.loop(Looper.java:193)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at android.app.ActivityThread.main(ActivityThread.java:6724)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at java.lang.reflect.Method.invoke(Native Method)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge: Caused by: java.lang.ClassNotFoundException: com.android.internal.widget.LockPatternUtil
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at java.lang.Class.classForName(Native Method)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at java.lang.Class.forName(Class.java:453)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at external.org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:823)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:69)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	... 14 more
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.internal.widget.LockPatternUtil" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/system/priv-app/Settings/Settings.apk"],nativeLibraryDirectories=[/system/priv-app/Settings/lib/arm64, /system/lib64, /system/vendor/lib64, /system/lib64, /system/vendor/lib64]]
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
04-26 19:31:54.152 9716 9716 E EdXposed-Bridge:	... 18 more
04-26 19:31:59.615 4057 4057 I EdXposed-Bridge: Keyguard Disabler: About to unlock...

edit:

I took a closer look at the log file. There are 2 different errors:

* EdXposed-Bridge: de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.internal.widget.LockPatternUtil

This one may be a false alarm. The mod fails to find LockPatternUtil, but it appears this class doesn't exist in any version of Android. There is, however, LockPatternUtil

s

. So it may be a spelling mistake, but that would not explain why the mod only works with older versions of Android.

Contents of the "Widget" folder

* EdXposed-Bridge: java.lang.NoSuchMethodError: com.android.keyguard.KeyguardSecurityModel#getSecurityMode()#exact

This one is more interesting.

I checked the Android source and it appears that from Oreo onwards, the "Keyguard" package is is moved from its own folder to the SystemUI folder:

Keyguard package in Nougat

Keyguard package in Oreo

SystemUI/keyguard folder in Nougat

SystemUI/keyguard folder in Oreo

My guess is the relevant classes/methods were just moved to a different path from Oreo onwards (com.android.systemui.keyguard instead of com.android.keyguard), which broke compatibility with Lockscreen disabler.

Here is what the mod source looks like:

hookAllNeededMethods(lpparam,
"com.android.keyguard.KeyguardSecurityModel$SecurityMode",
"com.android.keyguard.KeyguardSecurityModel",
"com.android.systemui.keyguard.KeyguardViewMediator",
"Android 5.0");

Here we can clearly see calls to the old path.

I assume a simple fix would be to update the path in the mod's source.

But since at least one user reported success with Pie and this mod, my reasoning wouldn't make sense.