[REQ] Face Unlock to show notification content - OnePlus 5 Themes, Apps, and Mods

Would it be possible to develop a Magisk or Xposed module that hides the notification content on the lockscreen and only shows it when your face is detected? Like the iPhone ☓ does.
Unlocking the phone would still be performed by a safer method like pin, pattern or fingerprint.
Here is a video of this feature on the iPhone ☓:

Nice Idea dude !
Hope someone could work on this

Yes..it was ingenious of Apple to include this little feature with Face Unlock.
I wish this could be implemented in the OnePlus 5 and 5T as well..

I would prefer something like long press power button to show lock screen without FaceUnlock. With short press unlock the phone. Currently FaceUnlock is too quick and checking notification is really hard.

Aborus said:
I would prefer something like long press power button to show lock screen without FaceUnlock. With short press unlock the phone. Currently FaceUnlock is too quick and checking notification is really hard.
Click to expand...
Click to collapse
My idea is that the users face will never unlock the device, it will only show the notifications sensitive content when the users face is detected.
But there is a Xposed module that does something similar to what you are looking for, it Face Unlocks depending whether there are notifications or not.
https://forum.xda-developers.com/xposed/modules/xposed-instant-unlock-t3688329#post74144137

It already available in settings/notifications
Touch the cogwheel and you get to select what shows on lockscreen(as you can see I'm on LB02 and at least here that option is available, can't remember N)

Related

Kitkat was supposed to have Camera access on lock screen

I thought that 4.4.2 was properly implementing the Lockscreen widgets where the access to things like Camera is provided so that you can quickly record a photo/video without having to enter your PIN or pattern but when you need to actually see those images, you will be asked to enter PIN or pattern. That's how it works in all phones (at least my wife's HTC One).
How come we can not get this feature in S4? I thought this is what they fixed in 4.4.2 but I am still not able to select Lockscreen widgets if I use PIN or pattern.
devsk said:
I thought that 4.4.2 was properly implementing the Lockscreen widgets where the access to things like Camera is provided so that you can quickly record a photo/video without having to enter your PIN or pattern but when you need to actually see those images, you will be asked to enter PIN or pattern. That's how it works in all phones (at least my wife's HTC One).
How come we can not get this feature in S4? I thought this is what they fixed in 4.4.2 but I am still not able to select Lockscreen widgets if I use PIN or pattern.
Click to expand...
Click to collapse
not sure about pin or pattern, but i have a camera icon in bottom right of my screen and it opens straight to camera...
diptenkrom said:
not sure about pin or pattern, but i have a camera icon in bottom right of my screen and it opens straight to camera...
Click to expand...
Click to collapse
You see that icon only because you are not using the secure access lock like a PIN, password or pattern lock.
One of the advertised features of the 4.4.2 on Samsung S4 was to bring the Camera icon to the Lockscreen. Wasn't it?
devsk said:
You see that icon only because you are not using the secure access lock like a PIN, password or pattern lock.
One of the advertised features of the 4.4.2 on Samsung S4 was to bring the Camera icon to the Lockscreen. Wasn't it?
Click to expand...
Click to collapse
Technically they DID bring it to the lockscreen. You just have to have your lock screen set on a specific unlock method. It's actually kind of obvious why the camera icon is only on the swipe method. All the other methods require extra security and a bigger layout for the number pad/keyboard/and pattern circles. Plus if you're going to have that kind of extra security in locking your phone, it's dumb to be able to bypass that with a camera widget. Somebody can get ahold of your phone and load the camera up without even unlocking the device and easily go through your gallery. And who knows you might be able to get to your homescreen by hitting home from within the camera app after loading it. Then the person has full access to your phone.
Personally I don't see the big deal of 4.4 having a camera icon on the lockscreen. You were always able to add shortcuts to your lockscreen so why not just add your camera app to one of those shortcuts? Meh.
brian117 said:
Technically they DID bring it to the lockscreen. You just have to have your lock screen set on a specific unlock method. It's actually kind of obvious why the camera icon is only on the swipe method. All the other methods require extra security and a bigger layout for the number pad/keyboard/and pattern circles. Plus if you're going to have that kind of extra security in locking your phone, it's stupid to be able to bypass that with a camera widget. Somebody can get ahold of your phone and load the camera up without even unlocking the device and easily go through your gallery.
Personally I don't see the big deal of 4.4 having a camera icon on the lockscreen. You were always able to add shortcuts to your lockscreen so why not just add your camera app to one of those shortcuts? Meh.
Click to expand...
Click to collapse
Wait...I think you are confused. The ability to add widgets to the lockscreen was always there since 4.2. You just had to move to this insecure method of "swipe to unlock". This is not new in 4.4.2.
What was supposed to be new in 4.4.2 update for Samsung TW was what has been a feature in almost all phones since 4.2, and that is to do it securely i.e. allow opening the camera app and allow to take photos and record video but don't provide access to the gallery or the phone. When the user wants to access anything inside the phone, he/she has to enter the PIN/password/pattern. That's how it worked in any sane phone circa 2012/13.
devsk said:
Wait...I think you are confused. The ability to add widgets to the lockscreen was always there since 4.2. You just had to move to this insecure method of "swipe to unlock". This is not new in 4.4.2.
What was supposed to be new in 4.4.2 update for Samsung TW was what has been a feature in almost all phones since 4.2, and that is to do it securely i.e. allow opening the camera app and allow to take photos and record video but don't provide access to the gallery or the phone. When the user wants to access anything inside the phone, he/she has to enter the PIN/password/pattern. That's how it worked in any sane phone circa 2012/13.
Click to expand...
Click to collapse
Yeah I am aware it's been available since 4.2. I get what you're saying now, my bad.
If you are rooted, you can try an Xposed module called Samsung Multiple Widgets. This allows you to access the camera if you are on a PIN unlock screen. I've had success on 4.3. The module, for me, isn't working correctly on 4.4.2. You can try it yourself.
Vigz said:
If you are rooted, you can try an Xposed module called Samsung Multiple Widgets. This allows you to access the camera if you are on a PIN unlock screen. I've had success on 4.3. The module, for me, isn't working correctly on 4.4.2. You can try it yourself.
Click to expand...
Click to collapse
That module is broken and its dev has been saying "anytime" now for sometime. He is a busy guy! So, I don't expect that to change.
That was the reason why I was excited about KK update for TW, hoping that Samsung will finally do it. But alas, no luck!

Fingerprint unlock without PIN-code set

Hi,
yesterday I became 5x owner and I read everything about problems with unlocking with FP If you use "lock sreen app for it".
But that's not problem, since my phone is rooted and I can use one of solutions.
My question is ...
Is there any solution to use JUST fingerprint unlock, without having PIN code/pattern. Why?
If you press power button to get lock screens on and than tap on notification (SMS, email) you have to put PIN. And that's annoying.
If i use FP unlock than you came directly on home screen and in you have to open taskbar to see notification...and that's annoying too.
Or maybe same question from the other side. Is there any solution to open notification from lockscreen without PIN code/pattern, BUT with fingerprint on.
I also noticed that form ambient screen I can double tap notification, but again, PIN code/pattern ...
Thanks for help!
Even I wanna know a solution to this.
Sent from my Nexus 5X using Tapatalk
Tap the notification on the lockscreen. When the PIN entry appears, do the fingerprint thing and it will take you to the app that was making the notification. It works, but is kind of awkward.
cabracorax said:
Tap the notification on the lockscreen. When the PIN entry appears, do the fingerprint thing and it will take you to the app that was making the notification. It works, but is kind of awkward.
Click to expand...
Click to collapse
Thanks alot.
Sent from my Nexus 5X using Tapatalk
cabracorax said:
Tap the notification on the lockscreen. When the PIN entry appears, do the fingerprint thing and it will take you to the app that was making the notification. It works, but is kind of awkward.
Click to expand...
Click to collapse
oh jeah, i realized ... Thanks. Really awkw.
Is there no other more elegant way? I don't want the damn PIN at all.
I just want a pure stock way not to use the power button so much (not gravity screen), which is what I thought the FP was all about.
I guess I could use a really simple pattern...so it's super quick. Annoying though.
Why is it that we are still having to adapt our behaviour to technology? That is the opposite of good HUI design.
Start with No LockScreen
Use Secure Settings App to set PIN/PassWord
Set up Imprint
Use Secure Settings App to disable Pin/Password
HeyPresto - Imprint working with no PIN/Password
neu - smurph said:
Start with No LockScreen
Use Secure Settings App to set PIN/PassWord
Set up Imprint
Use Secure Settings App to disable Pin/Password
HeyPresto - Imprint working with no PIN/Password
Click to expand...
Click to collapse
I'd thank you, but I'v used up my thanks for today (!!). So, a cheery "thanks mate" will have to suffice.
I do wonder a few things though.
1. Does Secure Settings need root to do what you suggest? I'm not rooted.
2. The closest thing I can find is the Keyguard Disable, which is a legacy feature and presents a warning that it may make my device unstable and it therefore not recommended. Is this the correct setting for my n5x 6.0.1 April?
3. I couldn't see any obvious option in Secure Settings to set a PIN or Pass.
Thanks.
You can delete all the files with .key extension in system/data folder using file manager in TWRP. It will give you fingerprint+no pattern as you want it to be.
are there any news on this topic? Im really interested in using my fingerprint sensor without setting a pin. I tried the method with secure settings app, but I cant find an option to set a pin with the app. I also tried to find my files with .key extensions in my system/data folder but there werent such files. gururoop said I need to use file manager in TWRP to do so, I dont even know what TWRP is.
Any other ways to get this accomplished? Did you find a solution tedrogers61?
You need to be rooted to delete the files. You only need to remove /data/system/locksettings.db
hmm well okay. Im actually not so happy with rooting my device. No other chance to use imprint without setting an additional pin/passwort?
Simplest way to use set unset PIN/PASSWORD in Secure Settings is by temporarily adding a home screen shortcut (via launcher widgets/shortcuts). The process of creating the shortcut brings you to the screens for selecting the actions (Dev Admin actions). Secure Settings needs to have Device Administrator permission. Once you are set up if just delete the shortcuts. No Root required for this.

on screen instant lock shortcut

Hi
I use nova launcher prime and am used to a shortcut on my screen to quickly lock the screen instead of using the hardware button to lock the screen. However since I have moved over to p2.. After I press the lock screen shortcut from nova the screen for goes black but the screen isn't locked... It is not till 10 secs later when the screen actually locks
I hate this feature as it stops me from putting the phone into my pocket instantly after locking. How to fix this? I have set up power button to instantly lock the phone after sleep.
It's not P2s problem it's Android's security feature. You'll need root access to instantly lock screen
But from quicktiles there is an icon to do it
iniro said:
But from quicktiles there is an icon to do it
Click to expand...
Click to collapse
Thanks yes i came across that as well... However it is really a total failure on Android part to not have anything built in to allow people to instantly lock... Isn't there any way to put a shortcut to the system icon on my desktop? In stock launcher or otherwise?
Unfortunately looks like Android is going the way of Apple with these silly restrictions becoming more n more common
Well it's a security feature which means they've probably found something wrong with putting a quick lock from 3rd party apps.
Use "Wide touch" found under Setting->Feature. You can assign multiple gesture into it.
zalaTheOne said:
Use "Wide touch" found under Setting->Feature. You can assign multiple gesture into it.
Click to expand...
Click to collapse
Perfecto I wasn't aware of the same.. This makes it much easier then before. Thank you again

Questions on fixing things after root

Hello,
I used magisk to root my phone and everything's working fine but many things I want to fix and can't seem to find how to.
First of all, what's the point of rooting if only way to remove system apps are with adb? Can do this without root.
Any way to activate double tap to open close the screen when locked? Damn I hate soooo much the single tap to open it and the double tap that does nothing to close it.
Any way to remove the bottom search bar? I removed 2 packages with adb but the search bar is still there.
Any way to close/lock the phone besides the power button? Coming from HTC U11 with squeeze features, it bogs me a lot not having any other way to lock it than the power button.
I think that is it for now. I'll add if I think of more.
Thanks!
grat_master said:
Hello,
I used magisk to root my phone and everything's working fine but many things I want to fix and can't seem to find how to.
First of all, what's the point of rooting if only way to remove system apps are with adb? Can do this without root.
Any way to activate double tap to open close the screen when locked? Damn I hate soooo much the single tap to open it and the double tap that does nothing to close it.
Any way to remove the bottom search bar? I removed 2 packages with adb but the search bar is still there.
Any way to close/lock the phone besides the power button? Coming from HTC U11 with squeeze features, it bogs me a lot not having any other way to lock it than the power button.
I think that is it for now. I'll add if I think of more.
Thanks!
Click to expand...
Click to collapse
Custom roms and kernels
nope
not on stock rom. not sure about custom as I haven't tried any yet
not sure what you mean hear...
thomas.raines said:
Custom roms and kernels
nope
not on stock rom. not sure about custom as I haven't tried any yet
not sure what you mean hear...
Click to expand...
Click to collapse
Maybe with a custom rom I can remove the useless bottom screen search bar. Is it only working with chrome or can it work with any browser?
What I meant is with HTC U11 you can squeeze the phone to do things like open the camera, take a picture, open led lights, and most importantly lock the phone and close the screen. I was wondering if the 4a 5g can lock screen by another mean than power button.
Also I just found out there are no notifications led. How do you guys know if you have sms or emails or whatnot?
grat_master said:
Maybe with a custom rom I can remove the useless bottom screen search bar. Is it only working with chrome or can it work with any browser?
What I meant is with HTC U11 you can squeeze the phone to do things like open the camera, take a picture, open led lights, and most importantly lock the phone and close the screen. I was wondering if the 4a 5g can lock screen by another mean than power button.
Also I just found out there are no notifications led. How do you guys know if you have sms or emails or whatnot?
Click to expand...
Click to collapse
I reformatted my phone just to see what you mean about bottom search bar. The only way that I know of to remove it, install a different launcher... i.e. nova launcher, apex launcher, etc... refer to playstore
No squeezing here... Use power button
When your phone makes the notification noise and or vibrates... Like I told my wife several phones ago... Learned to live without it or get a different phone and do your research before you buy it.

Question Is there a way to change lockscreen shortcuts?

With Android 12, Google brought back the lock screen shortcuts on Pixels, but they're not very useful for me: the device controls and your mobile wallet. You have to unlock your phone anyway before using either, and I have quick settings to use once unlocked, so lockscreen shortcuts don't really do anything for me.
Is there any way to change those shortcuts? Presumably with adb or something. I'd rather have the old camera and assistant shortcuts.
Pixel 6P, not rooted, full stock, all software up to date.
I don't really get it: you can always disable those two shortcuts on the lock screen setting if you don't really like them; and for the two which you are looking for, Google implemented them in gesture with the power button: one long click for Google Assistant and double quick clicks for the camera.
And if you are rooted, @Typhus_ 's Add_On magisk module has a feature to put the camera short cut on the lock screen.
I don't want them disabled, I like having something there. I just want something else.

Categories

Resources