yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Abomb:
I know this is a long shot but I have a problem with the lockscreen. This is not really related to your module, but since you know your way around the code of lockscreen related stuff I thought you might be able to help me. When using your module, or when setting a lockscreen activation timeout, so when the lockscreen is not shown when turning on the phone it takes several seconds before the screen actually turns on. When a lockscreen is displayed the screen turns immediately on. Here is the relevant logcat, it starts when pressing the power button and ens shortly after the screen turned on: http://pastebin.com/PpRZdrYt

The one line that might indicate something about the error is "W/WindowManager( 999): Timeout waiting for drawn: Window{42b6cdf8 u0 Keyguard}" i guess. I already took a look at the source code of the lockscreen unlocking / timeout stuff, but I did not find anything yet. (I'm using PAC rom).

So if you might be able to help me, or give me advice on how to find the source of the problem I would be really grateful but it's no problem if you can't help :)

Thanks in advance!

Edit: When checking "Use Swipe" it actually unlocks without showing any lockscreen and without delay, so that actually is a perfect workaround for my problem :)
[Xposed Framework Modules] TheDannemand:
This thing just works! I had bookmarked the thread some time ago, but never got to read up on it. The other night I decided to just install it anyway: Typed in my home WiFi, and haven't touched it since. It does exactly as promised.

Nexus 5 stock 4.4.4 (root and Xposed, of course).

Thanks a LOT :)
[Xposed Framework Modules] Prof Peach:
That's my story too.

Should have used this ages ago.

My favourite module.

Sent from my Galaxy S5 running NeatRom 0X1
[Xposed Framework Modules] mattkroeder:
I'm sure this is a familiar story as well but I could never get Tasker and Secure Settings to work as well as this module does.

Thank you moneytoo!
[Xposed Framework Modules] moneytoo:
I have just uploaded new experimental version 0.5.0 which will never promt you for unlocking (except for SIM PIN :)). I'm curious to know how important for you is to have manual unlock after a boot (and after return back "home"). Note that I didn't really removed such locking - it just didn't work fully: if you returned home without turning on the screen outside, phone didn't asked for an unlock. Based on the feedback I will consider proper solution for first manual unlock in a "trusted environment".
[Xposed Framework Modules] kingvortex:
As long as the device *always* requires unlocking while away from a trusted environment, then I can live without having to unlock after boot or return to a trusted environment. :)
[Xposed Framework Modules] Follow_and_Feel:
Working very fine, thank you. Appreciate your work! Saves me lot of time! The only thing is that 'swipe instead of none' doesn't work. If that is fixed would be great. Very nice though :) good work
[Xposed Framework Modules] TheDannemand:
Exactly. I am not too worried about this either way.
[Xposed Framework Modules] Falap92:
The same for me!! The only thing is that 'swipe instead of none' doesn't work. It would be great if it will be fixed!

My device is Nexus 5 with Mahdi Rom 4.4.4
[Xposed Framework Modules] moneytoo:
There was additional (unnecessary) unlock on display wake up which was probably causing this. It was because of testing during developing and I removed it in v0.5.0a.
[Xposed Framework Modules] Diesel80:
Thank you for listening my requests.

In the log, however, there is no error message, as you can see below:

[NoLockHome] wakeUpNoUpdateLocked

[NoLockHome] wakeUpNoUpdateLocked

[NoLockHome] wakeUpNoUpdateLocked

At this point I think the problem is the custom version of CM11s from OnePlus one, with samsung S3 and CM11M8 or CM11M9 was working properly.

It seems that the module does not feel the unlock screen request...
[Xposed Framework Modules] moneytoo:
[MENTION=6018101]Diesel80[/MENTION] I changed hooked package name from "com.android.keyguard" to "com.cyngn.keyguard". I didn't compare their keyguard fully but most methods match so it could work on OnePlus One. Give it a try.
[Xposed Framework Modules] Diesel80:
Not working, but now I see something new in the log file :D

I tested it tre or four time with manual lock\unlock

-----------------

11/set/2014 13:52:23 UTC

Loading Xposed v54 (for Zygote)...

Running ROM 'KTU84P' with fingerprint 'oneplus/bacon/A0001:4.4.4/KTU84P/XNPH33R:user/release-keys'

Loading modules from /data/app/com.smartmadsoft.xposed.nolockhome-1.apk

Loading class com.smartmadsoft.xposed.nolockhome.Locksmith

Loading modules from /data/app/fr.kimagure.xposed.sw2_watchfaces_patch-1.apk

Loading class fr.kimagure.xposed.sw2_watchfaces_patch.Patch

[NoLockHome] doKeyguardLocked

[NoLockHome] Current cell (LAC-CID or NID-BSID): 0-0

[NoLockHome] onScreenTurnedOn

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] onScreenTurnedOn

[NoLockHome] doKeyguardLocked

[NoLockHome] Current cell (LAC-CID or NID-BSID): 60107-38494

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] onScreenTurnedOn

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] doKeyguardLocked

[NoLockHome] Current cell (LAC-CID or NID-BSID): 60107-38494

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] onScreenTurnedOn

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] doKeyguardLocked

[NoLockHome] Current cell (LAC-CID or NID-BSID): 60107-38494

[NoLockHome] onScreenTurnedOn

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] getSecurityMode: Pattern

[NoLockHome] onScreenTurnedOn

[NoLockHome] getSecurityMode: Pattern
[Xposed Framework Modules] moneytoo:
[MENTION=6018101]Diesel80[/MENTION]

Did you enter anything in "MAC addresses or Names" for WiFi or checked "Any Connected Network" (WiFi)? I see that it the log prints cell ids so the wifi doesn't match (or is off). Are you trying cell towers or BT? I would recommend setting up WiFi first.
[Xposed Framework Modules] Diesel80:
I'm not at home now :P so don't have wi-fi for test, but normaly I used it with my BT smartwatch.

Actualy isn't set a mac, but flag for all BT device paired.

I don't know if could be interesting for you, but oneplus have the same ability of wake up, like LG, with double tap on locked screen... can cause trouble with your module? Douring the test i disabled the option anyway...
[Xposed Framework Modules] moneytoo:
[MENTION=6018101]Diesel80[/MENTION]

Based on your log, it couldn't work with BT because it didn't register important receivers which are used for BT unlocking and prompt locking/unlocking introduced in v0.5.0. The good part is that it still can work with Wifi so try that once you'll have a chance.

I'm not sure why it didn't work as it's hooked to one constructor (it should either print exception or log "hooking ..."). Well, try this version.
[Xposed Framework Modules] Diesel80:
Fully working with my BT smartwatch!!!! :D

Thank you!!!! :D:D:D
[Xposed Framework Modules] gonzlobo:
Odd, downloaded today's build and couldn't get it to work. Tried going back to previous version and wouldn't work. Had to restore from yesterday's nandroid.
[Xposed Framework Modules] c00ller:
Anyone?
[Xposed Framework Modules] moneytoo:
Anything in Xposed log (after enabling debug in module and rebooting): exceptions or debug log?
[Xposed Framework Modules] c00ller:
After much testing, all I see is this every time I turn the screen off and on:

[NoLockHome] wakeUpNoUpdateLocked

:(
[Xposed Framework Modules] markdudier:
I'm not getting the sim unlock screen. It goes straight to the home screen on my Nexus 5. This is with 0.5 and 0.5.1 on CM11.
[Xposed Framework Modules] CKyl22:
Is there a way have more than one "safe" wifi network?

EDIT: Got it.
[Xposed Framework Modules] gonzlobo:
Me too, except mine is an S4. I didn't troubleshoot though, restored a nandroid.
[Xposed Framework Modules] wedge666:
Same here, on a S3 with CM11. Re-installed 0.4b which is working fine.
[Xposed Framework Modules] markdudier:
I rebooted just now and I did get the sim unlock prompt. I rebooted again and didn't get it. I'm posting this to let the dev know of this inconsistency.
[Xposed Framework Modules] Flex:
can this app do the opposite? secure the phone with lock (password, pin.. whatever) once connected to a specific wifi?
[Xposed Framework Modules] c00ller:
Now, since updating to v0.5.1 I don't see any [NoLockHome] entries in the Xposed log anymore. However I noticed that even when all I was seeing was "[NoLockHome] wakeUpNoUpdateLocked" on the HTC One, my Nexus 4 is constantly showing things such as

[NoLockHome] hooking KeyguardViewMediator
[NoLockHome] onReceive: android.net.wifi.STATE_CHANGE
[NoLockHome] onReceive: NETWORK_STATE_CHANGED_ACTION: CONNECTING
[NoLockHome] onReceive: android.net.wifi.STATE_CHANGE
[NoLockHome] onReceive: NETWORK_STATE_CHANGED_ACTION: CONNECTING
[NoLockHome] doKeyguardLocked
[NoLockHome] onReceive: android.net.wifi.STATE_CHANGE
[NoLockHome] onReceive: NETWORK_STATE_CHANGED_ACTION: CONNECTING
[NoLockHome] onReceive: android.net.wifi.STATE_CHANGE
[NoLockHome] onReceive: NETWORK_STATE_CHANGED_ACTION: CONNECTED
[NoLockHome] onReceive: com.smartmadsoft.xposed.nolockhome.UNLOCK
[NoLockHome] onScreenTurnedOn
[NoLockHome] getSecurityMode: PIN

^That was after turning wifi off and back on again on Nexus 4. I never saw any NoLockHome entries in the Xposed log after doing the same on the HTC One.
[Xposed Framework Modules] meissen:
I'm likely just blind, but I've installed this through xposed and downloading the app straight from here - it installs successfully but I can't find where to edit the settings? It shows installed in xposed, though... It doesn't show up in my list of applications and a look through most of the settings didn't reveal new menus. What am I doing wrong?

Smh, of course after I post I click on the enabled module in xposed and it opens the settings. Disregard... Really thought there'd be an icon somewhere to access it.
[Xposed Framework Modules] AssToast:
Disabling WiFi while screen is on still kicks me out to lock screen even though I have it enabled in the settings to not do this
[Xposed Framework Modules] 089man:
Works fine, but battery live is short. I lost my 100% full battery in 3 hours.

Phone not go in deep sleep if screen is off.

I9100 Tapatalk 4, Spirit-Rom 4.4. 4
[Xposed Framework Modules] yanleites:
Are you sure about it ?
[Xposed Framework Modules] momomok:
same for me but as soon as i have connected to wifi it stops FCing :laugh:
[Xposed Framework Modules] MaKTaiL:
I am afraid your problem has nothing to do with this module.

My phone goes to deep sleep just fine here.
[Xposed Framework Modules] 089man:
Ok, thanks... Than must I look what the issue here is. I have yesterday only install this mod and a update from my rom. Will search if I found the issue... CPU spy say no deep sleep..

I9100 Tapatalk 4, Spirit-Rom 4.4. 4
[Xposed Framework Modules] ilyadan:
I have no deep sleep problems. Nexus 4 (mako) on 4.4.4 stock.
[Xposed Framework Modules] nils.pap:
Doesn't seem to be working with CM 4.4.4 on Nexus 5 :(
[Xposed Framework Modules] htr5:
Thanks, works perfectly on TW 4.4.2 GS4. Skiplock removes the pattern lock but the ring lock remains. This module completely removes any lock screen method on trusted WiFi networks. I'm okay with this. Skiplock is also really buggy on boot and will lock the screen after a few seconds. This module doesn't do that :)
[Xposed Framework Modules] Benny Bosser:
Great looking module!

Any chance of adding the option to base this on phone cells? :) For example, when near cells at home the pin is disabled and if not it's enabled
[Xposed Framework Modules] yanleites:
Works great on Nexus 4 - 4.4.4 !!!
[Xposed Framework Modules] nakeman:
yes it worked finally as said. Thanks [MENTION=3275896]momomok[/MENTION] 's advice :)
[Xposed Framework Modules] Andrew3k:
Doesn't seem to work on the HTC M8.

Have it set with a pattern unlock if that helps.
[Xposed Framework Modules] itzallgood707:
Works like a charm on both my Nexus 7 (2012) and my Nexus 5 running stock KitKat 4.4.4.
[Xposed Framework Modules] codified:
Just installed on my Xperia Z1 Compact (4.4.3 stock), using pattern lock. Working fine so far - will post any bugs that I find.

Thanks so much for this, was about to plunge for Skiplock but $4.99 is a bit steep for me.:highfive:

EDIT: not working as well as I thought. If you leave it for a while the lockscreen comes back on (perhaps if the wifi is disconnected when the phone goes into deep sleep?) Not a very helpful bug report, I know - I'll try to do more testing and report back.
[Xposed Framework Modules] lulli1:
Same here. Nexus5 aosp as well...

Edit: o.k. sorry have seen the solution to first lock into the home Wi-Fi...

Another point is, that whenever I switch into standby mode the security pattern comes up as soon as I switch it on. No matter what delay I configure in the security menu. Seems like this is a bug...
[Xposed Framework Modules] MaKTaiL:
So, will this be updated? No word form the OP since release.
[Xposed Framework Modules] jacknicholson:
Unfortunately, this is simply an unavoidable consequence, and not a bug. As you've suggested, your secure lockscreen will always kick in if you've set your device to disable wifi during sleep. Other than changing your 'Keep Wi-Fi on during sleep' setting to 'Always' (System Settings/Wi-Fi/Advanced), there's currently no way around this, whether you're using Tasker, SkipLock or this module, as it would be impossible for any implementation to determine whether your wifi shut off automatically due to sleep (but is still in a trusted zone), versus going out of range from a verified network, etc.
[Xposed Framework Modules] alex3abril:
It works very well in a Moto G xt1032 with the rom stock 4.4.2

Thanks a lot
[Xposed Framework Modules] sharkie405:
Op, just wondering if you are intending to make this mod compatible with lower versions of android at some point? Specifically, 4.2. Thanks for your work. I love the idea.

- Sent from my Galaxy S4 using the XDA app.
[Xposed Framework Modules] cigator:
I'm getting a FC when I click on the module to set this up. I'm running Razr Maxx with Axxion ROM 4.4.4, using a face lock.

EDIT - I got it to work by connecting to a wifi network, but not my home network. If I delete the mac address, will it auto find my home mac to populate, or will i have to enter manually?
[Xposed Framework Modules] moneytoo:
I'm not sure if it was 0.5.1 but it worked fine for me before andbutI can confirm this bug as well now. Will fix it.
[Xposed Framework Modules] galijanach:
Doesn't work on Viper ROM anymore!

Hello

I would just like to say that this is by far one the most usable xposed modules out there. Thank you very much Dev!

This module worked perfectly fine on my HTC One M7 running ViperOne ROM v6.2.1 on KitKat 4.4.2. Since the upgrade to KitKat 4.4.3 and flashing the latest ROM v7.0.1 this module doesn't seem to work anymore.

I tried uninstalling and reinstalling to no avail.

Any idea why and how to make it work?
[Xposed Framework Modules] daniel.alomar:
Awesome module!

It could be nice to have the possibility to lock with pattern. Let me explain. Maybe we are in a non-secure-at-all environment and change from pin to slide is too dangerous.

Regards,
[Xposed Framework Modules] fermasia:
Uhm... I had the same question but couldn't solve it by myself. I searched the thread but it's advised to to uses this syntax:

SSID1 ; SSID2

Which is not working for me... Mind telling me how you solved it?
[Xposed Framework Modules] steviehs:
Tasker support for NFC

Maybe to give the reasons for Tasker support an addon:

* Plug phone in e.g. Bicycle holder with NFC Tag: Screenlock off

* Pull phne out: Screenlock on...
[Xposed Framework Modules] CKyl22:
It's SSID1;SSID2. No spacing.
[Xposed Framework Modules] greogory:
It's case sensitive, too. For example, given these 3 trusted SSID names, Mywifi1, yourWifi2 and OurWiFi3, the syntax would be, "Mywifi1;yourWifi2;OurWiFi3", without the quotes.
[Xposed Framework Modules] Prof Peach:
Was working well on NeatRom until I tried a new kernel (blaze15). Screen didn't lock on safe networks but it didn't give me the swipe I opted for.

Tried an older version of the module and still the same.

I've also reverted back to stock kernel as blaze stopped fingerprint access to paypal and I figured if might be affecting no lock home. Still no joy on 3 versions of this module.

Any advice appreciated as this is the most useful mod I've used in several years of modding/killing phones.

sent from SGS5 running NeatRom 0X1
[Xposed Framework Modules] HDR:
Im having an issue with the latest version where the phone locks after disconnecting from an untrusted wifi or bluetooth device. I only have it set to be unlocked by my cars bluetooth and nothing else but its still locking after I disconnect from my home wifi.
[Xposed Framework Modules] Diesel80:
Version 0.5.1 working very well on Oneplus :)
[Xposed Framework Modules] kipperfish:
Feature Request: I was thinking of switching from a different mod as this seems to be very feature rich. My only issue is that I'd like to use an app that requires Device encryption. Is this something that you could add to your mod to avoid (just like the lock screen requirements)?

Thanks for a great mod either way!

Kipper.
[Xposed Framework Modules] KBanause:
I'm using device encryption too (also enforced by an app), and I use this mod to exchange the pin-lockscreen to a swipe-lockscreen (not pattern) when I'm at my home wifi. No problems at all.
[Xposed Framework Modules] kipperfish:
Thanks for the info, but I'm not looking to find out if this mod can be used with an encrypted device. I'd like the mod to be able to also remove the requirement to encrypt the device, or to be more specific fake the response to the check by the app in much the same way as the response to the check for a password lock.
[Xposed Framework Modules] KBanause:
Then you have to look for another xposed module. This one is only to remove the need for a lockscreen. If you have a AOSP based ROM and you are enforced by the default email app, then try the module "Exchange Security Bypass for Nexus devices & other AOSP based ROMs". Maybe that will help you.
[Xposed Framework Modules] HaarisTheBoss:
I reinstalled the app and whenever u reboot for the first time system ui stops but the rest of the time it's OK.
[Xposed Framework Modules] moneytoo:
Does this version work on HTC?
[Xposed Framework Modules] c00ller:
Unfortunately it doesn't work, but now it does show things in the Xposed log!!

First, on loading Xposed there was this error:

java.lang.NoSuchMethodError: com.htc.lockscreen.keyguard.KeyguardViewMediator#onScreenTurnedOn(com.android.internal.policy.IKeyguardShowCallback)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
at com.smartmadsoft.xposed.nolockhome.Locksmith.handleLoadPackage(Locksmith.java:156)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$3.afterHookedMethod(XposedBridge.java:252)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at android.app.LoadedApk.<init>(Native Method)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1977)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1940)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1913)
at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:2128)
at android.app.ContextImpl.createPackageContext(ContextImpl.java:2114)
at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:644)
at com.android.keyguard.HtcKeyguardUtils.isHtcLockScreenExist(HtcKeyguardUtils.java:26)
at com.android.keyguard.KeyguardService.onCreate(KeyguardService.java:65)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3021)
at android.app.ActivityThread.access$1800(ActivityThread.java:156)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1446)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5872)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)

and then turning the screen on/off shows this:

[NoLockHome] doKeyguardLocked
[NoLockHome] doKeyguardLocked: java.lang.NoSuchFieldError: com.htc.lockscreen.keyguard.KeyguardViewMediator#mContext

full log is here for your reference: http://pastebin.com/sH36J3FP
[Xposed Framework Modules] guetzli32:
I love the app, it works pretty stable(haven't had any SystemUI/keyguard cradhed since I installed it). There is one thing that bugs me though, when I unlock my phone, not just when I'm in trusted environment, the Messaging and Contacts app randomly gets opened. I will post an error code in a few hours when I'm home again.
[Xposed Framework Modules] kingvortex:
The secure lockscreen is shown immediately when the screen is on and wifi is deactivated in 0.5.2, even when the preference to not do so is checked.

Extract of Xposed logs here.

If you need any more information or a logcat, then let me know. :)
[Xposed Framework Modules] eurochild:
+1

(nexus4, aosp rom)
[Xposed Framework Modules] danilocps87:
USB Debugging

I don't know if this is a known bug, but:

After the last update, 0.5.2, this module is preventing my Moto G to start USB Debugging. ADB can't find devices, and the status bar icon wasn't being displayed.

When I disable this module, USB Debugging works again...

USB Debugging is working fine with 0.5.1.
[Xposed Framework Modules] moneytoo:
Thanks. I fixed these and few more after a quick check against htc keyguard apk. Please try the "generic" 0.5.3 version.
[Xposed Framework Modules] c00ller:
The Wi-Fi AP unlock function is now working as intended on HTC One M7 stock ROM! Thank you!! :good:
[Xposed Framework Modules] Prof Peach:
I'm still missing swipe to unlock even if it's checked fro the last few builds.

It used to work well but not for a while now. I've reverted back to older builds but still no swipe.

Am I alone or is it the same for others.

I'm running a few modules but even with others switched off the swipes not there. Stock kernel on SGS5 neatrom.

sent from SGS5 running NeatRom 0X1
[Xposed Framework Modules] HaarisTheBoss:
I used to have the same problem. Somehow I got it fixed. Try changing your lock screen security. Eg from pin to dots
[Xposed Framework Modules] Prof Peach:
Tried changing to swipe with skipping stone effect instead of fingerprint lock.... used it for a while then rebooted.

Changed it back to fingerprint and I now have fingerprint outside safe wifi and skipping stone swipe effect when on home wifi.

All good. Best module ever is working for me again..... Yay.

sent from SGS5 running NeatRom 0X1
[Xposed Framework Modules] kingvortex:
Just reporting that the option to not lock immediately when the screen is on is now being respected in 0.5.3.

Great work!
[Xposed Framework Modules] rkl:
Works great on stock rooted Verizon HTC One (M8) 4.4.3.

Many thanks!