[Q] Lockscreen security - One (M8) Q&A, Help & Troubleshooting

Hi folks,
I'm running stock (rooted) Lollipop on my M8 with pattern unlock. The notification and quick settings are active whilst in the locked state. I have both the wifi and data toggles on the quick settings. This poses a risk to me, if my phone was to part company from me, anyone could disable connectivity and stop my phone from being tracked. How do I 'lock' the notifications drawer when the pone is locked? I would like to disable the power menu as well whilst locked, but I'm not sure if that can be done.

mrme01 said:
Hi folks,
I'm running stock (rooted) Lollipop on my M8 with pattern unlock. The notification and quick settings are active whilst in the locked state. I have both the wifi and data toggles on the quick settings. This poses a risk to me, if my phone was to part company from me, anyone could disable connectivity and stop my phone from being tracked. How do I 'lock' the notifications drawer when the pone is locked? I would like to disable the power menu as well whilst locked, but I'm not sure if that can be done.
Click to expand...
Click to collapse
Go to settings > security and reset your pattern. You should get the options to show all, hide sensitive, or don't show notifications in lockscreen.

xunholyx said:
Go to settings > security and reset your pattern. You should get the options to show all, hide sensitive, or don't show notifications in lockscreen.
Click to expand...
Click to collapse
It's not notifications, it's the notification bar. See attached.

mrme01 said:
It's not notifications, it's the notification bar. See attached.
Click to expand...
Click to collapse
Anyone?

mrme01 said:
Anyone?
Click to expand...
Click to collapse
This is how Lollipop is, there's no way to disable it. I agree it's an issue, but a thief also has other ways of blocking connections (remove sim, power off phone, etc).

ssantos132 said:
This is how Lollipop is, there's no way to disable it. I agree it's an issue, but a thief also has other ways of blocking connections (remove sim, power off phone, etc).
Click to expand...
Click to collapse
That's right. You can run commands in fastboot as well that disables and resets the lockscreen in case you forget your PIN/password/pattern.

ssantos132 said:
This is how Lollipop is, there's no way to disable it. I agree it's an issue, but a thief also has other ways of blocking connections (remove sim, power off phone, etc).
Click to expand...
Click to collapse
True, but in the time it would take someone to work out how to either remove the SIM or force power it off, I should be able to track the phone, plus leaving WiFi on allows me to connect to it even over public WiFi and get a location.
xunholyx said:
That's right. You can run commands in fastboot as well that disables and resets the lockscreen in case you forget your PIN/password/pattern.
Click to expand...
Click to collapse
I'm not sure the average thief is that clued up about fastboot commands.
Thanks for the input here, I'm going to seek out a workaround with xposed modules, this should not be a thing.

mrme01 said:
True, but in the time it would take someone to work out how to either remove the SIM or force power it off, I should be able to track the phone, plus leaving WiFi on allows me to connect to it even over public WiFi and get a location.
Click to expand...
Click to collapse
WiFi is one thing. But most current smartphones are the same in terms of powering off (just hold the power button) or popping the SIM (just stick a pin in the hole to remove the tray), and a lot of folks know how to do these; and probably most thieves know how.
I don't debate that you have a legitimate security concern. Just don't agree with the comment about thieves being able to power off or remove the SIM quickly.
I'd be just as concerned about the casual (non-thief) person who found the phone thinking "hey, free phone!"

mrme01 said:
Thanks for the input here, I'm going to seek out a workaround with xposed modules, this should not be a thing.
Click to expand...
Click to collapse
I was looking around at xposed modules, and Advanced Power Menu+ (APM+) has some anti-theft features, though they mostly deal with access to the power menu. You should check it out. I haven't used it in a while, but it says it is compatible with lollipop.

Related

[Q] Can someone please help me with Tasker/lockscreen issues?

I have Googled this to death. Some sources say it can be done, some say not without root, some say not at all. I don't know what to think. I've tried so many things. I'm not a total noob, but I am certainly not as educated as you guys are about Android. I'm just learning. Please go easy on me. Also, I put this here because it seems, from my research, to be an issue with S2 and S3 phones, not Tasker itself. Please let me know, however, if you feel I should move it, Mods.
What I want to do is to disable the PIN lock on my phone when I'm at home on our wifi and in the car. No reason to unlock my phone every time I want to use it at home and I can't get voice commands to work consistently when it's locked in the van. With a teen driver watching my every move, I don't want to touch the phone.
Here are the details:
*I'm stock, unrooted
*I'd rather not root, because (unlike my Vibrant!) this phone works fine the way it is. That being said, I'd do it if it finally. Makes. This. Work!
*I've tried this with NFC tags and NFC Task Launcher
*I'm using Tasker
*I've tried it with and without Secure Settings
For the van, I always have it plugged in, so I think I can accomplish this by just setting the screen to not time out.
Home is the real issue. Sometimes I can get it to work, but it never *stays* working. I've tried turning my PIN Lock and all lockscreens off via my device settings and setting a task that triggers when I leave "HomeWifiName" to 1. Secure settings, configuration, set PIN 2. Secure Settings, configuration, keyguard enabled. It doesn't work at all. I've tried so many other variations of this I can't list them.
I wonder if I'm getting confused between the PIN and the keyguard. Is there a difference between the lockscreen and keyguard?
I'd really appreciate any advice you guys have for me.
If using the pin lockscreen, that is key guard in Tasker.
So key guard off = no lock screen at all. You don't need Secure Settings for this anymore. But you may need root.
Now, regarding your wifi near context, that doesn't work for me either. It's unreliable at best. Instead, use if connected to X wifi network as your context.
Let me know if you need any more help.
Aerowinder said:
If using the pin lockscreen, that is key guard in Tasker.
So key guard off = no lock screen at all. You don't need Secure Settings for this anymore. But you may need root.
Now, regarding your wifi near context, that doesn't work for me either. It's unreliable at best. Instead, use if connected to X wifi network as your context.
Let me know if you need any more help.
Click to expand...
Click to collapse
Thank you very much for this. I'd rather use connected not just near, so if I leave the house I'm protected.
If I do that, set it to keyguard off in Tasker while connected to our wifi, it works once or twice, but not consistently. I have the exit task to enable keyguard when I disconnect.
Am I missing something? Honestly the challenge of figuring this out has now become more important to me than actually getting it to work.
I had a profile that did this for a while, but I felt like it was a security risk. I just don't feel comfortable with that level of automation. But to each his/her own. When I typed the first post I was on my phone. On PC now so I can elaborate a bit.
New Profile > State > Net > Wifi Connected. I entered all 3 details; SSID, MAC, and IP. You can get it all right from the little scan applet that is already on your screen.
It's entry task will be Keyguard > Off
It's exit task will be Keyguard > On
So when you are connected to your home wifi, keyguard will be off. And when it disconnects, keyguard is turned back on. If this doesn't always work in this configuration, then it should be considered unreliable and not used. If this is the case, it's an issue with the app, not with your Tasker-fu. But with Tasker 4.0, you no longer need Secure Settings for a lot of things. Keyguard being one, GPS control being another big one.
Aerowinder said:
I had a profile that did this for a while, but I felt like it was a security risk. I just don't feel comfortable with that level of automation. But to each his/her own. When I typed the first post I was on my phone. On PC now so I can elaborate a bit.
New Profile > State > Net > Wifi Connected. I entered all 3 details; SSID, MAC, and IP. You can get it all right from the little scan applet that is already on your screen.
It's entry task will be Keyguard > Off
It's exit task will be Keyguard > On
So when you are connected to your home wifi, keyguard will be off. And when it disconnects, keyguard is turned back on. If this doesn't always work in this configuration, then it should be considered unreliable and not used. If this is the case, it's an issue with the app, not with your Tasker-fu. But with Tasker 4.0, you no longer need Secure Settings for a lot of things. Keyguard being one, GPS control being another big one.
Click to expand...
Click to collapse
I really appreciate the information, the concern, and your patience. I do think this is something I'm going to have to admit defeat on. I've tried everything I can think of and the lockscreen will not stay off. It's not really a big deal to hit a few numbers when I want to get into my phone or tablet. It also keeps small, curious people out. :laugh:
I've solved the issue for in the van. I just use an NFC tag on phone cradle in the van. Since my phone is always plugged in while I'm in the van, I just set the screen timeout for 30 minutes. Problem solved.
Good to know my Tasker-fu isn't in question. I have to admit that made me laugh.

[Q] Touchscreen unresponsive waking up from standby

Is this happening to anyone else?
The power button and volume buttons work but the screen is entirely unresponsive. The only remedy is to remove the battery. It has happened three times but not predictably enough to reproduce.
The phone is rooted with IORoot and I'm running Xposed, G3Tweaksbox with quite a few of the theming options enabled (inc. status bar and lockscreen contents). I also disabled the Knock feature through the hidden settings. I'm completely aware that customization might be the cause, but curious if anyone else has had similar symptoms or knows of relevant bugs.
Happens to me as well, D855 version. It happens once a day but i can unfreeze it, i keep tapping the screen and pressing randomly power and volume buttons. It unfreezes after 5-6 seconds but it's by no means a FIX. This should not happen on a new phone and i'm thinking of selling mine and buying some other model by a different manufacturer.
No combination of screen presses for any amount of time gets it working. It's happening 4-5 times a day and is only resolved by taking out the battery.
I tried the method from http://forum.xda-developers.com/showthread.php?t=2792580 but my firmware version did not change.
It only happen to me if I disable the Knock feature..Try to activate the knock feature and see if it helped
Thanks, @bollefinn. Enabling Knock does seem to resolve the problem. Of course, it creates new problems with the phone turning on in pockets, but that's of less concern.
bollefinn said:
It only happen to me if I disable the Knock feature..Try to activate the knock feature and see if it helped
Click to expand...
Click to collapse
Disabled in settings or in the hidden menu?
Daum Ex said:
Disabled in settings or in the hidden menu?
Click to expand...
Click to collapse
Hidden menu
bollefinn said:
Hidden menu
Click to expand...
Click to collapse
Well that confirms it i hope. I'll give it a shot...

[Q] Where's the option to remove help from lock screen?

I would like to remove the text "Swipe screen to unlock" from the lock screen
First, if you don't know to do that by now you should turn your phone in. Second, isn't that an invitation to a thief
Well, if you really care about data theft you should have fingerprint or pass code to unlock turned on.
I don't see a way to remove that text, in any case.
Sent from my SAMSUNG-SM-N910A
srobida said:
I would like to remove the text "Swipe screen to unlock" from the lock screen
First, if you don't know to do that by now you should turn your phone in. Second, isn't that an invitation to a thief
Click to expand...
Click to collapse
Sorry I can't be more help, but at least I can confirm this IS an option. I know because I disabled that text on my Note 4. I specifically remember doing it last night as I was going through the settings on the phone. There was an option to disable the help text on the lockscreen. Unfortunately, I can't recall where that was at. You'll just have to go through your phone, in the meantime, or hopefully someone else will respond with a definite answer.
If you haven't already figured it out:
From settings goto Lock Screen > Show Information > Help Text is at the bottom.
I don't have the help option available
srobida said:
Sadly I do not see the same. ..
Click to expand...
Click to collapse
Sadly I do not see the same option
srobida said:
Sadly I do not see the same option
Click to expand...
Click to collapse
It's probably because you are running fingerprint scanner or password for the unlock method on your lockscreen. Change it to the swipe unlock method and I bet that option will be there. Then you can always switch back once you uncheck it. Let me know if that works.
WizeGuyDezignz said:
It's probably because you are running fingerprint scanner or password for the unlock method on your lockscreen. Change it to the swipe unlock method and I bet that option will be there. Then you can always switch back once you uncheck it. Let me know if that works.
Click to expand...
Click to collapse
You are correct sir! A shortcoming in the code IMHO, once you know how to unlock the screen, no matter the method, the aide should be able to be removed.
To clarify my earlier joke, an invitation to a thief was in relation to the word "swipe" to unlock... I know very punny.
Thanks again

NFC LockScreenOff Enabler-like functionality in Lollipop

I was using NFC LockScreenOff Enabler on my Nexus 5 until the screen hardware died on me. Google is currently sending me a new one. I was MultiROM'ing Lollipop and tried the smart NFC unlock feature, but I didn't like it because you had to turn the screen on, hold the NFC tag, and swipe a swipe-to-unlock screen.
I have an NFC implant so i want the functionality just like NFC LockScreenOff Enabler. NFC polling with screen off, hold phone up to my hand, phone unlocks straight to home screen.
Is there a working solution for lollipop?
dimex said:
I was using NFC LockScreenOff Enabler on my Nexus 5 until the screen hardware died on me. Google is currently sending me a new one. I was MultiROM'ing Lollipop and tried the smart NFC unlock feature, but I didn't like it because you had to turn the screen on, hold the NFC tag, and swipe a swipe-to-unlock screen.
I have an NFC implant so i want the functionality just like NFC LockScreenOff Enabler. NFC polling with screen off, hold phone up to my hand, phone unlocks straight to home screen.
Is there a working solution for lollipop?
Click to expand...
Click to collapse
not currently, however there are several non stock lock screens that have this feature such as:
Tap Unlock or Uber Device lock
mbloomer04 said:
not currently, however there are several non stock lock screens that have this feature such as:
Tap Unlock or Uber Device lock
Click to expand...
Click to collapse
They're both ugly and not reliable, IMO. I couldn't even get Uber to work and sent the dev an email. He was a ****ing jerk and basically said I'm dumb and didn't enable the app. Come on.
I wonder if there's a way to use Tasker to bypass the swipe screen after touching the phone to NFC. I don't mind placing the phone on my implant and pressing the power button. Having to then swipe another screen requires weird hand acrobatics when using an implant, which is why I'm still on 4.4.4.
dimex said:
They're both ugly and not reliable, IMO. I couldn't even get Uber to work and sent the dev an email. He was a ****ing jerk and basically said I'm dumb and didn't enable the app. Come on.
I wonder if there's a way to use Tasker to bypass the swipe screen after touching the phone to NFC. I don't mind placing the phone on my implant and pressing the power button. Having to then swipe another screen requires weird hand acrobatics when using an implant, which is why I'm still on 4.4.4.
Click to expand...
Click to collapse
using the secure settings and locale plugins it is possible to make a profile that disables lock screen on a specific nfc tag read and then reanables lockscreen when the screen goes off
mbloomer04 said:
using the secure settings and locale plugins it is possible to make a profile that disables lock screen on a specific nfc tag read and then reanables lockscreen when the screen goes off
Click to expand...
Click to collapse
Any guide on this?
Neurom707 said:
Any guide on this?
Click to expand...
Click to collapse
dimex said:
I wonder if there's a way to use Tasker to bypass the swipe screen after touching the phone to NFC. .
Click to expand...
Click to collapse
-EDIT-
guide link removed due to error
mbloomer04 said:
yup, I just made one for you here Guide
sorry for the delay
Click to expand...
Click to collapse
Not going to work. NFC polling in stock Lollipop is Screen On, Unlocked. We need to enable alternate polling modes to even be able to read the NFC tag. Go ahead and try it, your phone won't even read your NFC tag, let alone disengage the keyguard. Even if you got rid of the keyguard, you still have the Pattern Unlock, or PIN, or password. You need Secure Settings plugin within Tasker to remove those.
The only ROM for the Nexus 5 at the moment with different NFC polling options is Cataclysm. I tried extracting the NfcNci.apk after I changed the settings, but the settings didn't stick around when I brought it to stock ROM. I'm guessing you have to go in and manually add the settings or change the polling code within the apk, but I don't know how to decompile and edit code.
If you know how to do that, that's all we need; a modified NfcNci.apk with Screen Off, Locked polling mode. It's located in system/app.
Your guide is useless as it stands, just being honest.
dimex said:
Not going to work. NFC polling in stock Lollipop is Screen On, Unlocked. We need to enable alternate polling modes to even be able to read the NFC tag. Go ahead and try it, your phone won't even read your NFC tag, let alone disengage the keyguard. Even if you got rid of the keyguard, you still have the Pattern Unlock, or PIN, or password. You need Secure Settings plugin within Tasker to remove those.
The only ROM for the Nexus 5 at the moment with different NFC polling options is Cataclysm. I tried extracting the NfcNci.apk after I changed the settings, but the settings didn't stick around when I brought it to stock ROM. I'm guessing you have to go in and manually add the settings or change the polling code within the apk, but I don't know how to decompile and edit code.
If you know how to do that, that's all we need; a modified NfcNci.apk with Screen Off, Locked polling mode. It's located in system/app.
Your guide is useless as it stands, just being honest.
Click to expand...
Click to collapse
Damned hubris! good call, tested and it worked fine on 4.4.4 :/ . hmmm will edit the guide to mention it wont work on Android 5
Thanks for the heads up and my apologies
"Even if you got rid of the keyguard, you still have the Pattern Unlock, or PIN, or password. You need Secure Settings plugin within Tasker to remove those."
Click to expand...
Click to collapse
The tasker profile above worked fine with a pattern set, scan the tag the lockscreen disapears till you turn off your screen, I tested it with secure settings and could see no benefit to also having it disable you password etc as the lack of keyguard meant you were never prompted for it
but aye a different polling method is needed
---------- Post added at 03:07 AM ---------- Previous post was at 02:59 AM ----------
dimex said:
Your guide is useless as it stands, just being honest.
Click to expand...
Click to collapse
Aye, have requested the thread be removed as it'll only work with nfc lockscreenoff... and that in itself removes the need for this
thanks for the heads up, rookie error on my part there
mbloomer04 said:
Aye, have requested the thread be removed as it'll only work with nfc lockscreenoff... and that in itself removes the need for this
thanks for the heads up, rookie error on my part there
Click to expand...
Click to collapse
All good. We just need someone who knows what's up to modify NfcNci.apk for us. I just started the semester and can't devote time to it right now.
dimex said:
All good. We just need someone who knows what's up to modify NfcNci.apk for us. I just started the semester and can't devote time to it right now.
Click to expand...
Click to collapse
Even if it has been a while, this might be useful:
http://forum.xda-developers.com/showpost.php?p=59780557&postcount=469
There is also a step-by-step guide on how to mod it yourself, a few pages later, and a guide for NFC with screen on but locked. I tried it on 5.1 (Xperia S, nAOSP), worked like a charm.

Flashlight/Torch turns on by itself

I have had an issue since getting this phone...occasionally the flashlight/torch turns on by itself. I thought that maybe I was accidentally touching the icon in the pull down notifications so I removed the icon but it still randomly turns on. Is there some way of turning it on that I am not aware of?
clone1008 said:
I have had an issue since getting this phone...occasionally the flashlight/torch turns on by itself. I thought that maybe I was accidentally touching the icon in the pull down notifications so I removed the icon but it still randomly turns on. Is there some way of turning it on that I am not aware of?
Click to expand...
Click to collapse
without more data on your setup the answer is yes tons of ways, too many to type.
usually easier if you provide more info about your phone.
parakleet said:
without more data on your setup the answer is yes tons of ways, too many to type.
usually easier if you provide more info about your phone.
Click to expand...
Click to collapse
Too many ways to turn on the flashlight? Hmmm
I am running a stock rooted Pixel XL. Something keeps turning it on from a locked screen, how many ways can there be?
No flash apps to speak of?
clone1008 said:
Too many ways to turn on the flashlight? Hmmm
I am running a stock rooted Pixel XL. Something keeps turning it on from a locked screen, how many ways can there be?
Click to expand...
Click to collapse
I bet you have power button to turn torch on. It's a lockscreen screen off feature in most ROMs.
TheNewNEXUS said:
I bet you have power button to turn torch on. It's a lockscreen screen off feature in most ROMs.
Click to expand...
Click to collapse
So is it an option on stock Pixel? If so how do I turn it off?
parakleet said:
No flash apps to speak of?
Click to expand...
Click to collapse
Nope

Categories

Resources