Lock device without Power Button & no Device Administration - Samsung Galaxy S7 Edge Questions and Answers

Hello,
Recently i've gotten my S7E. The first thing I did is try to recreate everything I had on my S6. Everything works fine for but one feature.
I use a third party launcher ( Action Launcher ) and always used the 'triple click' to turn of the screen. It requiers Device administration rights to turn the screen off. It works on both my S6 and my new S7E.
Here is the deal. On my S6 I use the fingerprint lock, for obvious reasons, and the fact that my launcher has the Device administration rights doesn't bother it at all. If I lock it with the power button or when I use the Launcher to lock it, it allows me at all times to unlock the device with my fingerprint.
On my S7E on the other hand, when I use my Laucher to lock the device, it says I only can use my pattern (or pin/password if I had set that up as an alternative). But when I lock it using the power button, it doesn't mind that I want to use my fingerprint.
It is annoying as ****, since it is maybe the most used feature on my S6 in combination with my fingerprint. I don't know why Samsung (or Google for that matter) has changed this.
I've read several things. Someone had the same issue with the only difference was that he wanted to use a bluetooth smart lock instead of the fingerprint. Unfortunately, no solution.
The thing I'm asking here:
Is there any way to AND keep the possibility to lock the device with the gesture (triple click) AND use my fingerprint.
Things I've done/tried so far:
1. Install another app that does the same thing. There are several on Google Play, but the issue persist.
2. Try to set up a shortcut that triggers the activity of turning of the screen. I haven't found the activity in the (very long) list. Maybe someone knows the activity that triggers the device to go to sleep, that would be one solution.
3. Found out IT HAS TO BE possible. If you go to the dialer, then enter *#0*# you find the service menu. In that menu you have an option to try if putting the device to sleep works. It's the 'Sleep' button. It turns of the screen and locks it with the possibility to unlock it with my fingerprint. So I figured there is an software solution to put the device to sleep, without the Device administration rights.
Anyone encountered a similar problem and found a solution ( WITHOUT ROOT )? I would be greatful.

This thread might provide some information:
http://forum.xda-developers.com/galaxy-s7/help/security-policy-prevents-fingerprint-t3354270

Thanks, I'll look into that!

Related

Yet another device lock application.

I know, I know... vijay555 just released a similar application earlier today. It seems we were working on the same thing at the same time. After discussing this with him in his thread: http://forum.xda-developers.com/viewtopic.php?t=45851
I've decided to go ahead and release my own version as an alternative.
The program can (and probably should!) be mapped to a hardware button using the Buttons control panel applet. I run mine on Button 4(hold) because I never use the voice recorder. This also prevents locking the device unintentionally.
I have also added two minor features to the application that some might find useful. You can optionally put the device to sleep after it is locked (same as pressing the power button) and you can configure a program to run just before the device is locked. This is useful if you have an application that you may want to look at frequently without unlocking the device. (Contacts, Calendar, a full-screen clock application, etc).
Both of these options are set in a control panel applet System->Device Lock.
NOTE: I know some people have use memmaid to register the lock application to run on wake up. If you do this, DO NOT select the suspend device option!! This will result in not being able to wake your device up for more than a few seconds (Wake up the device, your notification tells the device to lock, the lock process suspends the device, You wake up the device, rinse, repeat)
If you do this, all is not lost, just soft reset your device and uncheck the option to suspend in the control panel.
Here's a link to the installer (Requires WM5 PocketPC edition):
http://www.mr2-power.com/downloads/DeviceLock.CAB
You will likely need to soft-reset to see the new Control Panel applet.
*NEW* The latest version does NOT require the Lock Device today item to be loaded!
Enjoy!
-Matt Armstrong
Tried it on a BA and it works but change the default from suspend when locked since the applet doesnt show till after soft-reset. Thanks.
so you're saying make the default behavior NOT to suspend. Someone in another forum also requested the ability to blank the screen rather than suspend. I'll likely add this option in the next couple of days. I can change the default registry entry now though. A new installer should be up in a couple of minutes.
-Matt
Ok, yet another new CAB file has been uploaded. This new version has the option to suspend the device OR just blank the screen. If you blank the screen your programs will continue to run (and consume more power!). To restore the screen just press the power button. I also changed the default behavior after install to JUST lock the phone (not susped or blank). Everything else is the same.
-Matt
P.S. I appreciate all of the feedback very much. Keep it coming!
Thanks for the changes armstrom, ill download and test again. Thanks
Just installed and it works ok.
I have updated the software one final time for the night.
I have eliminated the requirement that the Lock Device today item be loaded. Now you can go unload that item and free up 20 pixels of screen real-estate For some reason this was a biggie to many people :? So it's finally done.
Keep the bug reports coming as you find them.
-Matt
great version. Without the plugin makes it invaluable. Maybe you can make as an option to hook it to the power button to get it to run when you power off? Or we can use vjkey for that
Well, I can add that option. In fact an early revision of the software did have it. I was just having inconsistent results with it on my MDA. For some reason the MDA wasn't firing the wakeup event if I suspend and then resume with just the power button. (press the power to suspend, then press again to resume). If I programmatically suspend the device, then I get the event every time. I can add it back in though if you want to try it on your device. Maybe you'll have better luck?
Edit: I just installed the new version vj's software and it has the same problem as mine. For some reason my phone does fire the wake-up event properly! I'll add the option back in to my software since it seems to work on other people's hardware just fine.
-Matt
Awesome!!
Man this place is great!
Armstrom, both you and VJ are awesome. This was the biggest single thing I've missed since buying my 8125. Since I use Xpress mail and the device wakes up when a message comes in, and if it's in my holster, and a button is gettind pushed, all sorts of weird things would happen.
So I had to always remember to go to Today, scroll down, hit the lock function...grrr.
But no more. I can't believe the terrific amount of support, hard work and resources you guys all contribute to these cool little gadgets.
Thanks again to both of you.
-JMS
If this can be made wot work reliably with power on events it would be awesome.
Thank you for putting these together.
One quick question...
I would love to have the Today screen as my default app to load on a lock action, however I can't find a way to do it. There is no .lnk file to point your Device Lock to.
I tried installing PHM Keys (as there's a Today .lnk in there) but it won't install in WM5.
Any programatic way to invoke/call the Today screen from a shortcut/lnk file so I can point the Device Lock to that file so Today is always showing when I lock my phone.
Thanks again, you guys are great.
-JMS
(Apologies for multiple entries - posting problems)
(Apologies for multiple entries - posting problems)
(Apologies for multiple entries - posting problems)
Great job Matt.
One quick question for ya - I would like to keep Egress running on the today screen when the device is locked. When I choose NOT to suspend the device or blank the screen, the today screen shows but the egress app is not cycling thru the latest news (it sticks on the last before the lock).
Is there any way to keep Egress at least cycling thru the news it d/l before the lock (if not allowing it to continue to update at egress specified times)?
Thanks again!
Thank you
A very useful app!
jkimrey said:
Great job Matt.
One quick question for ya - I would like to keep Egress running on the today screen when the device is locked. When I choose NOT to suspend the device or blank the screen, the today screen shows but the egress app is not cycling thru the latest news (it sticks on the last before the lock).
Is there any way to keep Egress at least cycling thru the news it d/l before the lock (if not allowing it to continue to update at egress specified times)?
Thanks again!
Click to expand...
Click to collapse
I'm really not sure how to solve that issue. I've never use the application you're talking about. Perhaps it is detecting the device being locked and not updating itself? I'm really not sure.
-Matt
Matt,
I think it must have something to do with the phone being in locked mode. I've found that when the phone is locked, the screen will go black after a couple seconds for both the lock on the today screen as well as when using a hardware button thru your application.
When I use the today screen app, after tapping the screen when black, it will display the today screen with the cycling headlines.
When I use your lock app, however, and tap to get the screen back, it doesn't cycle. If I hold down the power button and then turn it back on after being locked by your app, however, it does cycle.
Not a huge deal, just found it interesting...Wonder what would be different between the included today screen lock and your lock app that would cause this?
Thanks again!
armstrom said:
jkimrey said:
Great job Matt.
One quick question for ya - I would like to keep Egress running on the today screen when the device is locked. When I choose NOT to suspend the device or blank the screen, the today screen shows but the egress app is not cycling thru the latest news (it sticks on the last before the lock).
Is there any way to keep Egress at least cycling thru the news it d/l before the lock (if not allowing it to continue to update at egress specified times)?
Thanks again!
Click to expand...
Click to collapse
I'm really not sure how to solve that issue. I've never use the application you're talking about. Perhaps it is detecting the device being locked and not updating itself? I'm really not sure.
-Matt
Click to expand...
Click to collapse
Ok, I have added the option to lock the device on wake-up. Note: I have not been able to test this because my device does not properly send wake-up notifications. If someone could give this a try and let me know if it works I would appreciate it.
I have also added command line options to override the configuration specified in the control panel applet. The options are as follows:
-o:* Overrides the lock options and takes a number 0-2.
0 = Lock Only
1 = Lock then Suspend
2 = Lock then Blank Screen
-r:* Overrides the application to run after locking. This must have Quotes around it. Specifying -r:"" will prevent the default application from running.
Here are some examples:
Blank the screen and run the calculator.
DeviceLock.exe -o:2 -r:"\Windows\calc.exe"
Just lock and don't run anything
DeviceLock.exe -o:0 -r:""
You do not need these command line options if you just want the device lock to always follow what you have specified in the applet. These are only to optionally override the specified behavior. Some people on another board expressed the desire to have the device lock in two different ways depending on what they were doing. This is the way
Again, please let me know if the lock on wake functionality works or not
The cab is in the usual place.
-Matt
Here are some examples:
DeviceLock.exe -o:2

Need advice on a locking program

Hello all,
I need some advice on a locking program. Here is my problem.... I generally use the power button to "lock" my phone before I put it in my pocket. Usually that works fine until I get a reminder alert or something else that causes the phone to wake up in my pocket. At that point the touch screen becomes active and all sorts of odd things start to happen as the phone bounces around in my pocket.
I really only want to lock the touch screen, not the handware buttons so I can respond to whatever caused the phone to lock up in the first place, i.e. reminder, incoming call, etc.
I also need it to be easy to unlock the touch screen using one hand and without entering a security code.
Thanks,
Jay
I use Lockdown: http://forum.xda-developers.com/showthread.php?p=1795969
it's small and simple.
Lockdown
Looks almost like what I need except it also locks the hardware buttons. I only want to lock the touch screen.
jgreenme said:
Looks almost like what I need except it also locks the hardware buttons. I only want to lock the touch screen.
Click to expand...
Click to collapse
the closest thing I can think of for you is....
step 1.
menu » settings » personal » buttons » lock » do not lock buttons.
this will only lock the screen and not the hardware buttons (with the exception of the d-pad.)
step 2 is to set up the enable the device lock which is different than the security lock due to the fact it DOES NOT require a password to unlock the phone.
menu » settings » today » items » and check the box for "device lock".
--------------------
I tested it and it only takes 1 screen tap to lock the phone and two to unlock it.
any email or text will not unlock the phone.
if you receive a call the screen will remain locked however, you can answer the call without unlocking the screen by pressing hardware button with the green phone icon on it.
-----------
that's the best I can come up with. I hope this helps.
I bid you peace....
Check out this thread http://forum.xda-developers.com/showthread.php?t=261277
and go to this link http://www.mr2-power.com/downloads/DeviceLock.CAB
I've been using DeviceLock forever and it has always worked for me.

Auto KEY lock wanted

What I am looking for is a simple auto key lock, I am not the only one!
S2U2 I have tried and found to be laggy and unstable, essentially it is overkill, as are most auto key lock programs. I want something simple!
When pressing and holding the end key the keypad locks, all i want is a program to do this automatically after a set time delay, without any fancy tricks or graphics - surely this isn't too much to ask?
I am aware that the power button can put the phone to sleep and disable the keys/screen BUT they do not stay disabled if the phone wakes up (when getting a call/message etc.). Only the key lock does this.
As an alternative, does anyone know how to call the key lock software, where is it located in the windows folder? I can try and write something to do this?
I guess you don't want the password to be activated?
If you do want the password then you can easily do this via
Settings--Personal--Lock
and just specify the time before auto-lock happens
Here are a couple of aps that might help:-
LockWithPassword -I have this little app mapped to a shortcut on my today ...so I can instantly lock when needed ... thanks to slow23 right here at XDA
LockAndOff -does what it says on the tin ...again can be set up as a shortcut, and this one locks keys & turns the screen off (with a single click on the shortcut) but does not invoke the password
Got it from here:- link
Thanks jcsxda, LockAndOff is pretty close to what i want, now if it could be set to run after a short period of activity, or on device sleep/wakeup then it would be perfect
Im looking for the same thing.
A simple auto lock just like any other phone...
S2U2 is overkill and can miss up someother app.
it is the same as the device lock today shorcut?
sorry, my phone is in my car and im too lazy
VJDeviceLock can be used to automatically lock your phone when you switch it off (actually, when you switch it on but it amounts to the same thing).
You can assign any app to launch on power on, by using the events management functions built into the OS. Eg Memory Maid will let you run apps on power on etc.
V
Thanks Vijay for the great info. shutil.dll is responsible for the device lock on windows mobile when you press the today plugin for locking.
Do you know a command to use this DLL (to put in Memory Maid) ?
Is there a rundll32.exe like on desktops or something
VJ you are a star!
Exactly what I've been looking for. A little fiddly to setup, but shouldn't be a problem for anyone unless they are a total newbie!
Now it's setup it is perfect.
Thank you very much, donation on the way!
@jrg1967
Many thanks for the donation! For various personal reasons, I went cold turkey off XDA Devs for about a year, but I'm really glad to be slowly getting back into it. It's amazing how strong this community is, internationally!
@el_lo:
Although there is an API for enabling the lock, when I tried to implement it when WM5 first came out, for VJDeviceLock, it wasn't well documented, so VJDeviceLock does something else that I can't remember now to enable the lock.
I don't believe that there is a rundll32 type app on Windows Mobile. It wouldn't be hard to make one, but then you'd still be running an external app!
I believe that VJKeyPress can also be used to enable the keylock, and there are other 3rd party apps.
HTC may well have built in some function to enable the lock through ROM based software, but for me, VJDeviceLock serves me well.
V
@VJ, you have the makings of a commercial piece of software there- it is very hard to find a simple program to do this, as the poll bias shows. You just need a user friendly settings program to deal with the command lines and make it easy to use. I am sure it would appeal across the WM community...
yeh would be great for the phone to autolock after a set period of time like other phones. ok the screen turns off after 30seconds but it doesnt lock the keys. seems strange why this feature isnt already on the phone...
Ok, I'll put this out there:
If one was developing a (possibly commercial, but cheap) auto lock app, what features would it need?
VJDeviceLock is a very old app now, but it works fine and it still surprises me that autolocking on power off is not a standard feature, so I always install it. I understand that there is a registry entry on the newer non X1 HTCs that does something similar, but anyway:
What features would you need? First, auto locking after a fixed time.
What else?
In the interest of keeping it simple, don't ask for a slide to unlock replacement, as S2U is already fabulous, if that's your thing.
Also note that if you're interested, I can entirely replace the native unlock screen with a different interface, although again, I don't propose replacing S2U. I mean something more like a HUGE unlock button.
Give me ideas.
I can do gesture based unlocks, accelerometer based locking and unlocking (assuming I can do this on the X1, I don't have one, so someone feel free to give me one and I'll come and give your package a fondle).
Note that I'm busy on other stuff, so anyone else can code this, but for simple-ish features I'm happy to start working on it. Bigger stuff will take time.
It would probably be free because I can't deal with the hassle of getting rich
V
I'm using Auto Lock (CSDEVCTRL) works like a charm
http://forum.xda-developers.com/showthread.php?t=386451
Hey Vijay, glad to see you around!
jcsxda said:
I guess you don't want the password to be activated?
If you do want the password then you can easily do this via
Settings--Personal--Lock
and just specify the time before auto-lock happens
Here are a couple of aps that might help:-
LockWithPassword -I have this little app mapped to a shortcut on my today ...so I can instantly lock when needed ... thanks to slow23 right here at XDA
LockAndOff -does what it says on the tin ...again can be set up as a shortcut, and this one locks keys & turns the screen off (with a single click on the shortcut) but does not invoke the password
Got it from here:- link
Click to expand...
Click to collapse
thanks..seems like the lock app i was looking for.
X1 is like a mini comp....anyone can mess around with it if u leave it unlocked
Hi VJ,
It's still working great! Don't make this over complicated, as you can see from the poll people want a simple solution. Now I have it setup it's working just as needed, the standard unlock screen is fine, but the setup was a pain! So, IMHO all that is required is a simple front-end allowing to choose the options, rather than having to enter a command line. More complicated solutions to this issue are already available, so keep it simple.
Options for keylock/password lock at sleep and/or after a set time interval is probably all that is required.
BTW, X1 does NOT have accelerometer.
just having the regular keylock automatically come on after x amount of seconds would do me. no fancy screensavers, passwords or swiping the screen or anything like that. i noticed on diamond tweak there was an option for the keylock to come on when the standby kicked in and the screen goes off, doesnt work on the x1 though but that feature would be ideal.
vijay555 said:
Ok, I'll put this out there:
If one was developing a (possibly commercial, but cheap) auto lock app, what features would it need?
VJDeviceLock is a very old app now, but it works fine and it still surprises me that autolocking on power off is not a standard feature, so I always install it. I understand that there is a registry entry on the newer non X1 HTCs that does something similar, but anyway:
What features would you need? First, auto locking after a fixed time.
What else?
In the interest of keeping it simple, don't ask for a slide to unlock replacement, as S2U is already fabulous, if that's your thing.
Also note that if you're interested, I can entirely replace the native unlock screen with a different interface, although again, I don't propose replacing S2U. I mean something more like a HUGE unlock button.
Give me ideas.
I can do gesture based unlocks, accelerometer based locking and unlocking (assuming I can do this on the X1, I don't have one, so someone feel free to give me one and I'll come and give your package a fondle).
Note that I'm busy on other stuff, so anyone else can code this, but for simple-ish features I'm happy to start working on it. Bigger stuff will take time.
It would probably be free because I can't deal with the hassle of getting rich
V
Click to expand...
Click to collapse
you can make it very simple.assign lock software to power off button.when you display is off you phone ll be locked.this ll be lovely.thank you
Hi Vijay,
I was also trying to develop a simple autolock program. Because I couldn't find any locking program that can prevent X1BC from capturing the keys. What I need is something that kills X1BC just before locking, and re-launches it after unlocking. Currently, I am able to lock the device and kill X1BC when the display dimms, but detecting the unlock is a problem. Do you have any idea how I can detect the unlock? (My program is using the lock mechanism of QuickMenu and that is using the built-in lock).
Cheers

Fingerprint Unlock

Love the fingerprint unlock locked-screen feature. However, it has it's drawbacks. Can only be activated via - PIN lock. How you set up a pin,and after that it gives you the option to use fingerprint as well.
My question is : how do i use fingerprint only!? No more pin just the finger.
Best part about fingerprint is that you don't have to use the physical button. if the screen is off / locked just hold finger and it opens.
Also. I am now using Action Launcher 3. Super launcher. But it does not allow the function to unlock via fingerprint. Does anybody know if this works ? Where is the setting ?
The pin is used to unlock your sim card, the fingerprint is used to unlock your phone's system. If you don't want any pin code, you can either remove the sim card (well, it will probably be a little bit annoying when you want to call someone ^^), or set the pin code to blank. I don't even know if this is possible, actually.
As phones usually ask pin code before system unlock (fingerprint or other), you probably cannot have a third app that would allow to use fingerprint as pin, as it would have to start before the system. Unless I miss an idea, I think you can't do what you ask.
Figured that it has an automated backup just in case the finger is not recognized . You either get the pin or the pattern. Never just the fingerprint. There is no way around this.
Another question: how do i get the list of apps to go in one single page. Right now With ZenUI launcher there are a few pages. Action launcher 3 has one page (option). ..Is there any way to do this with ZenUI ? I got back to the default launcher from Asus cuz of the fingerprint. it's kinda cool to have it. Even tho Action Launcher 3 is amazing.
What's the problem with Action Launcher? I'm using it with fingerprint unlock and it works just fine.
catalinrcd said:
Figured that it has an automated backup just in case the finger is not recognized . You either get the pin or the pattern. Never just the fingerprint. There is no way around this.
Another question: how do i get the list of apps to go in one single page. Right now With ZenUI launcher there are a few pages. Action launcher 3 has one page (option). ..Is there any way to do this with ZenUI ? I got back to the default launcher from Asus cuz of the fingerprint. it's kinda cool to have it. Even tho Action Launcher 3 is amazing.
Click to expand...
Click to collapse
Just press the 3 dots at the top-right of your screen when opening the app drawer. then choose smart folder. hope it helps
catalinrcd said:
Love the fingerprint unlock locked-screen feature. However, it has it's drawbacks. Can only be activated via - PIN lock. How you set up a pin,and after that it gives you the option to use fingerprint as well.
My question is : how do i use fingerprint only!? No more pin just the finger.
Best part about fingerprint is that you don't have to use the physical button. if the screen is off / locked just hold finger and it opens.
Also. I am now using Action Launcher 3. Super launcher. But it does not allow the function to unlock via fingerprint. Does anybody know if this works ? Where is the setting ?
Click to expand...
Click to collapse
Clearly you only assumed things only from the setup screen.
OF COURSE in this phone we only use our fingerprint to unlock the screen. No buttons, No pins, No pattern.
If, that is IF, the phone can't recognize your fingerprint for 5 times in a row (because of wet finger, wrong position, dirty etc) it will then requires a pin or pattern unlock. This is why the setup ask you for your pin/pattern first.

fingerprints

Hi all of you
I got rooted exynos note4... i need fingerprint app for my lock screen. Which one do you prefer? And why.. it can be not only for lockscreen
I am running a Note 7 port on my Note 4 and I use AppLock.
I do not use it's lockscreen feature (it does have it included) because I think the Note 4's fingerprint reader is not well suited for unlocking the phone (IMO, because it can be tricky to unlock when handling the phone with one hand)
Instead, I have my lockscreen set to "swipe" so I can do basic stuff like switch the volume or turn toggles on and off at will, as well as double tapping the home button to open the camera from screen off phone.
I have most apps locked behind my fingerprint reader, that way nobody can open any app and a fingerprint lockscreen doesn't get in the way when I just want to mess with the volume or some basic stuff.
Applock also has a feature that it will only ask for your fingerprint once per unlock (until you turn your screen off), so that way you don't have to swipe your finger every single time you open an app (PRO version, not expensive at all)
Another reason that 3rd party lockscreens aren't that great are because:
1. Not all of them will allow you to use the screen off memo, I think Hi Unlocker doesn't let you use the screen off memo unless you unlock it with fingerprint, which can get annoying
2. There is no 3rd party lockscreen (to my knowledge) that will allow you to double tap home to open the camera app. All of them WILL require you to unlock it with the finger-print or turn the screen on and then swipe the camera shortcut. To me, this is a deal breaker since I take a lot of photos, most of the time to things that happen pretty fast and losing a couple of seconds to unlock the phone and/or swipe the camera option builds up and gets annoying.
But overall, the most used (that I've seen) is AppLock and Hi Unlocker.
Good luck, both are free to try anyway so I'd test them both to see which is to your liking

Categories

Resources