NFC LockScreenOff Enabler-like functionality in Lollipop - NFC Hacking

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.

Related

[GUIDE] Use NFC to unlock your phone, Galaxy S3 or other!

UPDATE!!! There's a new XPosed Framework module in town that makes this whole thread obsolete. Check out the new NFC Unlock module, forked from the NFC LockScreenOff Enabler module already used in this project. Way simpler, fewer moving parts to configure, and works well. Check it out. Otherwise, this has been a fun way to learn how to use Tasker! Thanks, all!
Original Post
This is a guide to show you how to set up your phone to be unlocked by an NFC tag. There are several other threads on the subject for various phones and carriers, but it took me several weeks worth of research and testing to come up with something that actually worked on my phone, and this tutorial is the culmination of that effort. In theory, it should work for a wide variety of ROMs (including Stock), phones and carriers, and even survive ROM updates (provided you maintain root), but I have only tested it on a Sprint Galaxy S3 (model d2spr) that is rooted and running CyanogenMod 10.1.
DISCLAIMER! I am NOT responsible for any damage to your phone, loss of data, use of your phone, or spontaneous sharknadoes that may occur if you try these steps! It worked for me, but I make no guarantees that it will work for you! Back up all your data and your ROM, and use this at your own risk!
HARDWARE REQUIREMENTS
An NFC capable phone, like your Sprint Samsung Galaxy S3 with Root Access enabled
An NFC tag, such as Samsung TecTiles
SOFTWARE REQUIREMENTS
XPosed Framework
ONE of these XPosed Framework plugins:
MoDaCo Toolkit Plugin for the XPosed Framework (NFC Always On or On When Unlocked)
NFCLockscreenoffEnabler.apk for the XPosed Framework (lets you choose between Always On, On When Unlocked OR On At Lockscreen for better battery life)
NFC Task Launcher from the Play Store
Tasker from the play store
Secure Settings Plugin for Tasker
STEP 1: Install the software!
Install all of the software listed above.
Open XPosed Framework and enable the MoDaCo Toolkit OR the NFCLockscreenoffEnabler.apk in the Modules tab
STEP 2: Turn on NFC scanning all the time
Normally, Android only scans for NFC tags when the phone is unlocked. We need to scan for NFC tags when the phone is locked, and in our case, when the screen is off. Open the MoDaCo Toolkit app and check the box to Enable NFC when screen is off under Settings -> Wireless
WARNING!!! Turning on NFC scanning when the screen is off may adversely affect your battery life!
STEP 2 ALTERNATIVE: Turn on NFC scanning at Lockscreen
Open the NFCLockscreenoffEnabler.apk app and select Enable NFC when phone is locked, but the screen is on. This option should be a little easier on your battery. (Thanks to @nacron for finding this!)
STEP 3: Make Secure Settings a Device Administrator
Open Secure Settings and go to the Configuration Menu by tapping the wrench icon in the upper-right hand corner. Once there, check the box next to Device Administrator and select "Activate" on the confirmation screen.
STEP 4: Teach Tasker how to Lock and Unlock your phone
We can either do this the easy way, or the hard way.
Easy Way - Import the Tasks
Download and unzip NFC-Unlock-Tasker-Tasks.zip and copy the enclosed XML files to your phone
Open Tasker and long-press the Tasks tab
Select Import and open the files that you just copied
There is no step 4.
Hard Way - Manually Enter the Tasks
If you don't trust the import function, or just want to learn more about creating tasks in Tasker, you can create the tasks manually.
Open Tasker and select the Tasks tab. Create a new Task by tapping the big "+" sign, name it "LOCK", and add the following actions:
Select Task -> If
Under Condition on the LEFT side of the condition, type TRUN (the variable for Tasks Running)
Tap the Condition Operator icon (the grey button in the middle) and select Doesn't Match, or !~
On the RIGHT side of the condition, type *Unlock*
Under the If statement, select Plugin -> Secure Settings then tap Edit.
Select Keyguard and set the following options:
Select radio button On
Select Plugin -> Secure Settings then tap Edit.
Select Lock Device and set the following options:
Box for Device Admin Enabled is checked
Select Task -> End If
Create a new Task named "Unlock", and add the following actions:
Select Task -> Stop And select the Lock Task that we created earlier.
Select Plugin -> Secure Settings then tap Edit.
Select Wake Device and set the following options:
Wake Type: Screen & Keyboard Lights On
Duration: 30 seconds
Select Task -> Wait and set duration to 100 MS
Select Plugin -> Secure Settings then tap Edit.
Select Keyguard and set the following options:
Select radio button On
Select Task -> Wait and set duration to 100 MS
Select Plugin -> Secure Settings then tap Edit.
Select Keyguard and set the following options:
Select radio button Off
Check box Run in background (No Notification)
If you run this Task now, you probably won't notice anything different right away. However, if you lock your phone and then unlock it, you'll notice that any security that you had set up is now bypassed. That's why we needed to teach Tasker how to lock your phone, as well.
STEP 5: Teach NFC Task Launcher to Unlock your phone
Open NFC Task Launcher and create a new task for NFC named "Unlock Phone".
Take your NFC tag and follow the instructions on the screen to write the tag for this task.
Add a new Task by tapping the big "+" icon in the upper right corner.
Select Category Tasker
Check "Tasker Task" and tap "Next"
Type "Unlock" in the field next to the magnifying glass icon under Tasker Task and tap "Add to Task"
Congratulations! You can now unlock your phone with your NFC tag! Of course, as we mentioned above, this leaves your phone without any passcode protection that you may have previously enable. Which leads us to our final step...
STEP 6: Teach Tasker to Lock your phone
Open Tasker and select the Profiles tab
Create a new Profile with the big "+" at the bottom of the screen and select Event
Select Display -> Display Off
Go back to the Profiles page by tapping the "< Event Edit" icon in the upper left corner.
Select the Lock Task that you made earlier
Now when the screen goes off, your phone is secure again.
That's it! My hope is that this tutorial is easy to follow so that anyone who wants to unlock their phone with an NFC tag can get it working. While there are a lot of steps, I tried to make them clear and specifically looked for a method that was flexible enough to allow me to update my phone or even use a different phone with this method, without having to track down a modified NFC.apk for my specific firmware every time I wanted to update.
In regards to how battery life is affected by having NFC turned on all the time, my personal experience shows no appreciable decrease in battery life. I went all day yesterday without charging (about 15 hours) with typical usage for me, which includes 2-3 hours of podcast playback over both wired and bluetooth headphones, occasional GMail and Facebook usage, Solitaire, and 45-60 minutes of phone calls, which is on par with what I was getting before the hack. As with all things, your mileage may vary. If battery life becomes an issue, try the new NFCLockscreenoffEnabler.apk plugin that @nacron found instead of the MoDaCo one which gives you the On At Lockscreen option in addition on Always On. It should save you a bit on battery life.
Many thanks to the authors of the software I used (XPosed Framework, MoDaCo Toolkit Plugin, NFCLockscreenoffEnabler.apk, NFC Task Launcher, Tasker, Secure Settings Plugin), as well as this thread and this web page for giving me the framework to construct this rather elaborate NFC hack.
I would love to hear from others if this works on other phones.
Changelog:
2013-09-05 - Add NFCLockscreenoffEnabler.apk option for NFC on at Lockscreen (thanks @nacron for this!)
2013-08-14 - Changes to the Tasker Tasks that make the lock and unlock functions run a bit more smoothly by avoiding collisions. (i.e., if you're unlocking the phone, it won't try to lock it until the unlock is done.) I've also added easy-to-import XML files for the Tasks, so you don't have to type them in manually anymore!
2013-08-09 - Initial release (can you "release" a process?)
Wow, thanks for the info.
New instructions and importable task files make getting this set up a whole lot easier! Updates in the OP!
I've attached a cheap NFC tag to my watch wristband, cleverly disguised by gold nail polish, and unlock by NFC is now my preferred unlock method.
I like this. Posting to keep track of it.
Well, as soon as root is found for the DROID MAXX, I will be using this.
Sent from my Nexus 7 using Tapatalk 2
Hello,
After trying this on a Samsung Galaxy S3 Stock 4.1.2 and Slim Bean (worked like a charm), I have found a glitch on the stock firmware. When making a call the screen would go off via the Proximity sensor so <b>Tasker</b> would lock the phone.
So I made a little addon to the following part and the problem stoped:
Original:
STEP 6: Teach Tasker to Lock your phone
Open Tasker and select the Profiles tab
Create a new Profile with the big "+" at the bottom of the screen and select Event
Select Display -> Display Off
Go back to the Profiles page by tapping the "< Event Edit" icon in the upper left corner.
Select the Lock Task that you made earlier
Modified:
STEP 6: Teach Tasker to Lock your phone
Open Tasker and select the Profiles tab
Create a new Profile with the big "+" at the bottom of the screen and select Event
Select Display -> Display Off
Go back to the Profiles page by tapping the "< Event Edit" icon in the upper left corner.
Select the Lock Task that you made earlier
[*] Select Display off (long-press) -> Add -> State -> Sensor -> Proximity sensor -> Check invert
That's it!
Now when you get a call and answer it Tasker will know that the proximity sensor is used and will not lock the phone
Hope it works for you too.
Thanks,
[/QUOTE]
stealthdave said:
New instructions and importable task files make getting this set up a whole lot easier! Updates in the OP!
I've attached a cheap NFC tag to my watch wristband, cleverly disguised by gold nail polish, and unlock by NFC is now my preferred unlock method.
Click to expand...
Click to collapse
Thats slick man. I may have to use that for myself lol :good:
This is great, thanks man but one problem. When I use my tag to unlock the phone, use the phone then hit the android home button to return to my default screen, it locks the phone instead. If I unlock it normally (Entering PIN) it doesn't display this behavior. What am I doing wrong.
Deleted
LevanG said:
Hi, can I use this method to unlock my LG Lucid2?
I want to use it on GSM network...
Click to expand...
Click to collapse
Wrong kind of "unlock", I'm afraid. This unlocks your screen so that you can bypass the lock screen; it doesn't do anything for carriers locking the phone to their network. Think of this as using an NFC tag as your password.
OK, sorry and thanks for your reply
lloydcabraham said:
This is great, thanks man but one problem. When I use my tag to unlock the phone, use the phone then hit the android home button to return to my default screen, it locks the phone instead. If I unlock it normally (Entering PIN) it doesn't display this behavior. What am I doing wrong.
Click to expand...
Click to collapse
Try adding a 200ms delay to the beginning of the LOCK Task. This seemed to make things a bit more predictable on my phone.
stealthdave said:
Try adding a 200ms delay to the beginning of the LOCK Task. This seemed to make things a bit more predictable on my phone.
Click to expand...
Click to collapse
Actually, already have added a delay at the beginning to the Lock task but it didn't do anything to correct the behavior to the Home button. I should probably add that I'm using this with an HTC One that already has a funky Home / Menu button configuration. Home button works fine when I unlock normally but seems to get remapped to go back to the lock screen when I unlock it using NFC.
lloydcabraham said:
Actually, already have added a delay at the beginning to the Lock task but it didn't do anything to correct the behavior to the Home button. I should probably add that I'm using this with an HTC One that already has a funky Home / Menu button configuration. Home button works fine when I unlock normally but seems to get remapped to go back to the lock screen when I unlock it using NFC.
Click to expand...
Click to collapse
Likewise. I have the same problem as well. The physical Home button just takes me back to my pin lockscreen if I had unlocked via NFC. If I unlocked my phone manually by entering my pin then everything just works fine.
EDIT: Should also say that my phone is the S3.
@lloydcabraham and @bleAf! , what version(s) of Android are you running? I'm on 4.2.2 (CM 10.1.2), and my Home button is working as expected. I'm also using Nova Launcher as opposed to the stock Android launcher. Also, I presume that you haven't inadvertantly remapped the Home button, either by Tasker or some other setting or app? (Forgive me if some of this sounds like basic tech support stuff; just spitballing ideas since I can't reproduce.)
stealthdave said:
@lloydcabraham and @bleAf! , what version(s) of Android are you running? I'm on 4.2.2 (CM 10.1.2), and my Home button is working as expected. I'm also using Nova Launcher as opposed to the stock Android launcher. Also, I presume that you haven't inadvertantly remapped the Home button, either by Tasker or some other setting or app? (Forgive me if some of this sounds like basic tech support stuff; just spitballing ideas since I can't reproduce.)
Click to expand...
Click to collapse
Not at all, I appreciate your help. I'm using ElementalX kernel that remaps the HTC logo as a menu button but leaves the back and home button alone. Maybe that's the issue? It's just funny that I only have the problem if I use my NFC to unlock the phone using the supplied scripts. Oh well, no biggie but if you can help me figure it out, it would be great. I can send you a cwm backup (wiped of course) if you'd like to try my setup?
lloydcabraham said:
Not at all, I appreciate your help. I'm using ElementalX kernel that remaps the HTC logo as a menu button but leaves the back and home button alone. Maybe that's the issue? It's just funny that I only have the problem if I use my NFC to unlock the phone using the supplied scripts. Oh well, no biggie but if you can help me figure it out, it would be great. I can send you a cwm backup (wiped of course) if you'd like to try my setup?
Click to expand...
Click to collapse
Actually, it would probably be easier for you to just try a different kernel and see if it still works. Given the description of what it does, my guess is that might be the issue.
It also might be an issue with the XPosed Framework or MoDaCo plugin on the HTC One specifically. (It does have its own special installation procedure.)
- Dave
stealthdave said:
@lloydcabraham and @bleAf! , what version(s) of Android are you running? I'm on 4.2.2 (CM 10.1.2), and my Home button is working as expected. I'm also using Nova Launcher as opposed to the stock Android launcher. Also, I presume that you haven't inadvertantly remapped the Home button, either by Tasker or some other setting or app? (Forgive me if some of this sounds like basic tech support stuff; just spitballing ideas since I can't reproduce.)
Click to expand...
Click to collapse
I'm on 4.1.2 (Samsung based rom with stock kernel). I'm also using Nova launcher and I just tried stock Touchwiz launcher but same result.
I'm thinking it may be just something to do with Samsung Touchwiz or HTC Sense based rom (If lloydcabraham is also running HTC based rom or stock).
Thanks for your help stealthdave.
For some reason I can't get my phone to recognize the NFC tag when the screen is off or even in the lock screen. Only when I'm past the lock screen will the NFC tag recognize. The xposed framework was part of the ROM i'm using (M.O.A.R.) and I just installed the MoDaCo mod via the link. I checked off NFC on always and restarted several times but it still won't recognize when the screen is off.
[EDIT]
Got it to work using this xposed module instead of the MoDaCo one for always on NFC.
http://forum.xda-developers.com/showthread.php?t=2122019
Also having issues of lock coming back on after doing any action post unlock via NFC. I think it's a hack Samsung put together for the latest firmware upgrade after the whole problem with the bypassing the lockscreen by going through the emergency screen. The op wouldn't have this issue as he's not using a TW rom. I wonder if there is a way to have it input the key instead of bypassing the key.
[EDIT 2]
Overcame this issue by using the secure settings to reset the pin to nothing when unlocking via NFC and enable the pin when the screen goes off. This method even prevents the phone from locking during a call. I have a new issue of the swipe screen coming back right after NFC unlock. I'll post my findings a little later. It's not the most elegant of fixes but it prevents the lock screen from coming up when pressing the home button. I also removed all the waits and made lights and keyboard on for 5 seconds, makes unlocking faster.
The action for password/pin reset in Secure Settings is in All Actions > Dev Admin Actions > Password/Pin. You just select disabled when unlocking and it removes your existing pin and when you select enabled for lock, it prompts you to enter your pin twice in the settings. Not sure how secure this is or where it stores your password/pin. The only problem with this method is that you'll have to change the password/pin in secure settings if you decide to change your password/pin in the android settings or you'll end up with 2 different passwords/pins
Not sure if this works if you have pattern unlock. Haven't had time to test that.
So this is how my unlock task looks like:
1. Stop task lock
2. Secure Settings > configuration > Screen and keyboard lights on for 5 seconds
3. Secure Settings > configuration > clear password
4. Secure Settings > configuration > Keyguard disabled
and my lock is simply
1. Secure Settings > sonfiguration > Set Pin
and my profile is
Display Off > Lock
[EDIT3]
Figured out why it was presenting the swipe lock screen when doing a quick NFC unlock removal . I'm using the hacked version of AnyTAG NFC Launcher, instead of the NFC Tag Task Launcher, that detects NFC Tag removal as well as placement. Thought this app would be more extensible in the future. The only problem with this is that it will keep insisting on launching on NFC Tag removal if you don't set something so I just set the task to do nothing and that was locking the swipe screen again. I just set it to the same task as unlock and it doesn't pull up the swipe screen anymore.
Also, the battery replacements from Sprint suck. It's a generic sprint branded battery that DOES NOT have an NFC antenna in it. Picked up the replacement along with tectiles yesterday and couldn't figure out for the longest time why this unlock thing wasn't working. Their battery part number is BSML71021L. Gotta call them up to see if they can give me back my old battery or give me a real samsung replacement.
[EDIT 4]
After trying to get this to work consistently, I've disabled it. I can get tasker to remove/reenable the pin consistently but only sometimes will it clear the lockscreen automatically.
nacron said:
For some reason I can't get my phone to recognize the NFC tag when the screen is off or even in the lock screen. Only when I'm past the lock screen will the NFC tag recognize. The xposed framework was part of the ROM i'm using (M.O.A.R.) and I just installed the MoDaCo mod via the link. I checked off NFC on always and restarted several times but it still won't recognize when the screen is off.
[EDIT]
Got it to work using this xposed module instead of the MoDaCo one for always on NFC.
http://forum.xda-developers.com/showthread.php?t=2122019
Click to expand...
Click to collapse
Thanks for this find! I've added it to the OP for others. It's worked pretty consistently for me with this new module for the 30 minutes I've had it installed, and hopefully it will lead to better battery life. (Battery life wasn't too bad, but I was starting to notice a difference with NFC always on.)
nacron said:
[EDIT 4]
After trying to get this to work consistently, I've disabled it. I can get tasker to remove/reenable the pin consistently but only sometimes will it clear the lockscreen automatically.
Click to expand...
Click to collapse
I'm sorry to hear that it's not working for you. Hopefully Google will eventually enable this functionality in Android proper. The Moto X certainly shows that it's not only possible, but practical.
- Dave

[Q] Lockscreen security

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.

Need help with which ROM to use. Input please~!

I plan to use my old note 2 as a carPC.
Will likely only be using it for media, GPS, and read my OBD2.
Needs to be compatible with the Tasker app (not sure if an issue or not) and the OTG-Y cable.
Need to be able to disable lock screen entirely, be able to have homescreen rotation, and on screen navigation.
Would appreciate any input!
TIA!
Alright, now I'm running LiquidSmooth 4.4.4
Has built-in option for on-screen navi. Working great.
Installed an app correctly named 'screen rotation' and does exactly what I need.
Enabled developer option so I could enable stay awake while charging.
Discovered I could disable the lock options entirely (sorry, company has had me on iPhone for awhile now).
Still trying to find something to allow double tap screen for sleep on/off. Recommendations please.
Going to test Tasker here in a moment.
Don't have an OTG-Y cable to test with this ROM. Can anyone confirm?
SouthSeaPirate said:
Alright, now I'm running LiquidSmooth 4.4.4
Has built-in option for on-screen navi. Working great.
Installed an app correctly named 'screen rotation' and does exactly what I need.
Enabled developer option so I could enable stay awake while charging.
Discovered I could disable the lock options entirely (sorry, company has had me on iPhone for awhile now).
Still trying to find something to allow double tap screen for sleep on/off. Recommendations please.
Going to test Tasker here in a moment.
Don't have an OTG-Y cable to test with this ROM. Can anyone confirm?
Click to expand...
Click to collapse
Check out the Xposed module named DoubleTapToSleep. It allows you to turn off the screen by double tapping on the status bar. It works pretty well. The original thread for it is below.
http://forum.xda-developers.com/xposed/modules/mod-doubletaptosleep-v1-0-t2667177
jsnzns said:
Check out the Xposed module named DoubleTapToSleep. It allows you to turn off the screen by double tapping on the status bar. It works pretty well. The original thread for it is below.
http://forum.xda-developers.com/xposed/modules/mod-doubletaptosleep-v1-0-t2667177
Click to expand...
Click to collapse
Thanks!
That looks like it would almost work. I still need to awake via tap as well.
All the buttons will be covered.
Only need it for night driving really. Quick and easiest way I can think of.
SouthSeaPirate said:
Thanks!
That looks like it would almost work. I still need to awake via tap as well.
All the buttons will be covered.
Only need it for night driving really. Quick and easiest way I can think of.
Click to expand...
Click to collapse
I haven't seen any apps that turn on the screen by tapping on it for a Samsung device. You could use an app that turns on the screen by tapping on the proximity sensor.
https://play.google.com/store/apps/details?id=net.maicas.android.wsleep&hl=en

Fingerprint screen unlock

Hi.
I'm new user of LGG6. Previous i was on Nexus devices.
Is there any way so set unlocking with fingerprint ONLY? So, without additioanl pattern, PIN or smth.?
Thank you!
I found that second security is needed only first time, after device boot if you use fingerprint screen unlock.
But, if I use DT2W unclok method I have to use PIN,/pattern ...
So, any way to remove that, BUT keep fingerprint unlock?
(i know i can remove screen lock method, but than fingerprint is automaticly removd too)
I removed this kind of protection on my Nexus, but it requires root.
Just add a trusted location etc then it will unlock with no passcode and fingerprint only.
akulp said:
I found that second security is needed only first time, after device boot if you use fingerprint screen unlock.
But, if I use DT2W unclok method I have to use PIN,/pattern ...
So, any way to remove that, BUT keep fingerprint unlock?
(i know i can remove screen lock method, but than fingerprint is automaticly removd too)
I removed this kind of protection on my Nexus, but it requires root.
Click to expand...
Click to collapse
Are you locking the phone using an app (like Nova Launcher) to double-tap to lock/sleep? if yes, then double tap the status bar to sleep. then you can wake the phone using fingerprint only.
basicreece said:
Just add a trusted location etc then it will unlock with no passcode and fingerprint only.
Click to expand...
Click to collapse
Ok, this is partial solution ... Just for added locations.
Thnaky anyway.
akulp said:
Ok, this is partial solution ... Just for added locations.
Thnaky anyway.
Click to expand...
Click to collapse
Also add a trusted device like a BT watch or I'm sure there is a always on you option. Detects when you have phone with you.
HKSpeed said:
Are you locking the phone using an app (like Nova Launcher) to double-tap to lock/sleep? if yes, then double tap the status bar to sleep. then you can wake the phone using fingerprint only.
Click to expand...
Click to collapse
Yap, I'm using NL.
Thanks! Nice solution, but it 'll be hard to get used to use just status bar to lock.
The best solution is this one, but it only works if you are rooted (+twrp) and i'm not sure if last root method allow to chainging files on /system partition:
Then while still in TWRP go delete /data/system/locksettings.db
This should let you swipe to unlock your phone. Your fingerprints will still be saved and can be used once you set up a secure lock screen
Beside I would like to stay without root if it's not necessary.
basicreece said:
Also add a trusted device like a BT watch or I'm sure there is a always on you option. Detects when you have phone with you.
Click to expand...
Click to collapse
I don't use BT watch, any device ... All I can set is home/work location and CAR BT.
I dont' see any other usefull option for me.
akulp said:
I don't use BT watch, any device ... All I can set is home/work location and CAR BT.
I dont' see any other usefull option for me.
Click to expand...
Click to collapse
"On body Detection"
basicreece said:
"On body Detection"
Click to expand...
Click to collapse
Ok, now I set "on body detection" ... but. That kind of smart locking only works if you don't lock phone with duble tap (over Nova launcher in my case) nut you leave phone to lock after time.
So this is usefull only if I don't lock with double tap. But I like that option and I'm using it all the time.
Thanks anyway for your time and tips.

Any Tasker plugin to skip lock screen and go to home screen

Currently I have double tap to wake with Smart lock enabled. Unfortunately it takes me to lock screen and I have to swipe to go to home screen. Is there any Tasker plugin or any other way to go to home screen instead of lock screen on double tap? I have tried Tasker with my limited knowledge, but couldn't achieve it...
Update: Achieved with Tasker
Try AutoInput
rickysidhu_ said:
Try AutoInput
Click to expand...
Click to collapse
Can we not achieve that in Tasker without AutoInput?
ram4ufriends said:
Can we not achieve that in Tasker without AutoInput?
Click to expand...
Click to collapse
To be completely honest I'm not too sure since I don't use the feature myself. I did see it somewhere in that plugin though, which is why I recommended it.
rickysidhu_ said:
To be completely honest I'm not too sure since I don't use the feature myself. I did see it somewhere in that plugin though, which is why I recommended it.
Click to expand...
Click to collapse
Thanks, will try that
I have the same problem / need. I use smartlock based on android wear watch paired with my galaxy S9, which means I never have to enter my pin, but for some silly reason whenever I wake up the phone using tasker I still can't get past the slide to unlock.
My current workaround which meets my immediate needs (maybe not yours).... on my phone which I carry in a holster on my hip is to use fingerprint sensor to manually unlock while the phone is in the holster. I also have a tasker task to vibrate upon unlock (bypasses slide to unlock) which gives feedback when I'm successful. Surprisingly, fingerprint sensor doesn't care which way you rotate your finger on the sensor - it still recognizes it.
After I unlock the phone I initiate actions from my smartwatch - things like initiating google voice search in a way that preserves my preferred note to self behavior (goes to google keep including transcript and recording... doesn't work if you start google voice search by saying ok google)
electricpete1 said:
I have the same problem / need. I use smartlock based on android wear watch paired with my galaxy S9, which means I never have to enter my pin, but for some silly reason whenever I wake up the phone using tasker I still can't get past the slide to unlock.
My current workaround which meets my immediate needs (maybe not yours).... on my phone which I carry in a holster on my hip is to use fingerprint sensor to manually unlock while the phone is in the holster. I also have a tasker task to vibrate upon unlock (bypasses slide to unlock) which gives feedback when I'm successful. Surprisingly, fingerprint sensor doesn't care which way you rotate your finger on the sensor - it still recognizes it.
After I unlock the phone I initiate actions from my smartwatch - things like initiating google voice search in a way that preserves my preferred note to self behavior (goes to google keep including transcript and recording... doesn't work if you start google voice search by saying ok google)
Click to expand...
Click to collapse
I was able to achieve this with Tasker and AutoTools.. now my phone directly goes to home screen when connected to my watch or wifi
ram4ufriends said:
I was able to achieve this with Tasker and AutoTools.. now my phone directly goes to home screen when connected to my watch or wifi
Click to expand...
Click to collapse
Can you explain step by step please?
Just install AutoInput from playstore (it's not free), it has an option to unlock the screen automatically if you have FaceUnlock enabled.

Categories

Resources