yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] McFlypants:
Did you grant all permissions?

The developer shared another apk in this tread, search for it. I had problems too, then installed the different version and it worked. Not sure where it is

EDIT: https://xdaforums.com/t/11-universalauth-face-unlock-for-all-roms.4419343/post-87687719
[Xposed Framework Modules] jrs007:
I liked the Macro, it worked on my P6. However, it slides the screen up (going to gesture unlocking) even without aiming at my face (I did this to see notifications without unlocking). Is there any macro that only unlocks after the face is recognized?
[Xposed Framework Modules] shellster:
I've got a Pixel 6a running Android 13 (Calyxos) and I just figured out a way to get this working. Like many others, the app would recognize my face, but it would not actually unlock the phone.

Here's all the things I had to do to get it working:

Restricted App Issue:

In Android 13, if you install an APK that isn't from the store it cannot be allowed accessibility settings that this requires. This will manifest in the app freezing after importing the Moto Face Unlock APK (It failed to download the app when I tried, but I was able to find the app on apkmirror.com).

To work around this issue do the following insane dance:

1) Go to Accessibility under Settings, click on "Face unlock", get the notification that accessibility is restricted. Acknowledge this notice. Now go to Settings -> Storage, click on "Face unlock", now in the storage menu, click on the icon for "Face unlock" which should take you to the app page (but this one is different then if you had just gone to apps and found it for some reason). Now click on the three vertical "..." in the top right, you should then have a "Allow Restricted" option. Click it. Now go back to Settings, search for "Accessibility" then click on it, and now you should be able to enable Accessibility for "Face unlock". Yes this is crazy, yes all steps are necessary.

At this point, you can complete the setup in the app and validate that it thinks it can unlock with your face.

I rcomment makeing sure you enable "Show status text" in the bottom of the app (so you know if the app thinks it has unlocked your phone but failed). IMPORTANT!!!: Disable all other options, including (counter-intuitively) "Auto dismiss lockscreen".

Now install MacroDroid from the app store and give it root.

If you are lucky, you can use the "SimpleUnlock" macro below in MacroDroid to unlock the screen without swiping. The macro listens for the unlock intent from UniversalAuth, then waits a second and swipes up on the screen.

If you are less lucky and the above still doesn't work (it did for me after I realized that I needed to disable the "Auto dismiss lockscreen" option), Then the other macro will work for everyone.

To use the other macro, go enable a password unlock on your phone. Then install the UniversalAuth_Unlock macro in MacroDroid. Alter the last step in the macro, replacing "<your password>" with you password. Save the macro and test. This macro works by listening for the UniversalAuth unlock intent, then swiping up on the screen to get to the password unlock, then it uses a shell command to simulate typing your password and hitting okay. This should unlock your phone. I used this macro until I figured out the "Auto dismiss" issue above.

UPDATED 4/21/2023: Updated macros to use key events instead of gestures to make the whole thing faster and less error prone.

@null-dev: I believe you could just use the "input keyevent 82" shell command (see either macro) to achieve a universal unlock action across all Android versions consistently. This does need to be run as root.
[Xposed Framework Modules] Lucky_069:
The app works fine now after the new update! Thank you for your quick support
[Xposed Framework Modules] BlazingKahn35:
It works now thanks
[Xposed Framework Modules] jons99:
working well on pixel 5 on the latest android 12.1
[Xposed Framework Modules] Lord Sithek:
And I can confirm it's also working perfectly fine on my tablet Samsung Galaxy Tab S5e with crDroid Android 12 custom ROM 🥳
[Xposed Framework Modules] cbomb1337:
Didn't work at all for me on pixel 6. The face unlock app didn't recognise the files I downloaded.
[Xposed Framework Modules] Lord Sithek:
This means you probably downloaded wrong files or in a wrong way. check pm
[Xposed Framework Modules] cbomb1337:
Works great now thank you <3
[Xposed Framework Modules] Mr.Demous:
Can you send me the files please? I can't find them online and I'd like to try this mod on my Pixel 6.
[Xposed Framework Modules] fuarkgl3:
App crashes after setting up the libs

Pixel 6 pro android 12 (SP2A.220305.013.A3) running latest LSPosed and magisk 24300

Only external module i have is safety net fixer
[Xposed Framework Modules] kharr32123:
Having trouble finding the files also. Would be greatful if someone can send them to me please.
[Xposed Framework Modules] NarukamiYu:
Can someone send me the library files, I've been searching for them for some time and can't seem to find them
[Xposed Framework Modules] NarukamiYu:
Working perfectly on my Xiaomi pad 5 running 12L gsi
[Xposed Framework Modules] Lord Sithek:
@null-dev I wonder if you could add the option to prevent using face unlock right after booting. For some reason I can't use fingerprint authentication in my bank app if I use face unlock right away instead of pin (probably a security measure)
[Xposed Framework Modules] felek73:
Any hint with finding this libs? Can't find them somehow
[Xposed Framework Modules] stevendeb25:
Working great pixel 6 pro, march stable release
[Xposed Framework Modules] fuarkgl3:
I did a clean flash it's working flawlessly now. Also using 5 more LSPosed modules this time.
[Xposed Framework Modules] hanschke:
I dont find the Files 😢
[Xposed Framework Modules] bLack_Q:
Can find the files, but the app always says theyre mismatching hash etc.

Could someone please provide via PM ?
[Xposed Framework Modules] Zach Alt:
Been waiting for this. Could I get a PM with the files?
[Xposed Framework Modules] null-dev:
Version v1.2 released:

- Add option to start face unlock faster when you turn the screen on

- Fix weird behavior that happens when you quickly turn the screen on and off while on the lockscreen

- Add option to disable face unlock for the first unlock after boot @Lord Sithek

I can't seem to upload anything to XDA currently due to an issue with Cloudflare so for now I've updated the first post to link to my downloads on Github.
[Xposed Framework Modules] jrs007:
Perfect, it's just what I was looking for! thanks
[Xposed Framework Modules] gridan:
hi! I'm a tasker user and tried to find a similar solution (how to dismiss a lock screen after successful face unlock). I'm sure there are many other helpful apps, but it turned out that I already use one of them - autoinput. so you don't need a tasker to solvea problem, just enable option 'auto dismiss keyguard'.
[Xposed Framework Modules] alissonjrm:
Hey guys,

I'm trying to install the facial unlocking on the Oneplus 6 (enchilada) with the ROM LineageOs 20 (Android 13), I install it correctly as mentioned by you, but when I allow it in the assibility, the unlocking appears as disabled and when I try to activate it, it warns that it is a "restricted configuration", not being able to use the program.
[Xposed Framework Modules] Lord Sithek:
Android 13 Restricted Settings for Sideloaded Apps: How to Bypass

In this comprehensive tutorial, we will show you the steps to bypass the Android 13 Restricted Settings for sideloaded apps.

droidwin.com
[Xposed Framework Modules] V1perGHG:
Thank you very much! I got it working.
[Xposed Framework Modules] choder:
I had trouble with it auto dismissing the lock screen. This worked great! Thanks
[Xposed Framework Modules] Gu57avo:
Good news and bad news, it works great on ArrowOS a10, but I can't disable auto dismiss, if I disable it, the screen doesn't unlock. I may be the only one, but I want to stay on the lockscreen, cause I wanna see my notifications
[Xposed Framework Modules] V1perGHG:
Thanks for answering!

It still doesn't work. I updated the xposed module with the one that "works with a13" and have all permissions granted but it still just closes.
[Xposed Framework Modules] halfdecent:
doesnt unlock on lineageos 20, just says looking for face, then welcome then nothing else
[Xposed Framework Modules] Captain_cookie_200:
turn off auto dismiss lockscreen. (you'll have to manually swipe after it unlocks after disabling this option)
[Xposed Framework Modules] chien889:
I have successfully installed and unlocked the face, but I have to turn off the automatic dismiss lock screen. If I turn it on then face unlock doesn't work.
[Xposed Framework Modules] rester555:
Does this method allow face unlock for banking apps too? Or is this only to unlock the screen? I would love for the option to face unlock for all biometric unlocks on the phone.
[Xposed Framework Modules] Captain_cookie_200:
only lockscreen
[Xposed Framework Modules] calebsgalaxys5:
hello the file has been removed can you put it on google drive instead please :)
[Xposed Framework Modules] Captain_cookie_200:
if its the library it asks to import. use this

Moto Face Unlock 01.03.0312 (arm64-v8a) APK Download by Motorola Mobility LLC. - APKMirror

Moto Face Unlock 01.03.0312 (arm64-v8a) APK Download by Motorola Mobility LLC. - APKMirror Free and safe Android APK downloads

www.apkmirror.com
[Xposed Framework Modules] Kocane:
I'm using this on an Android 10 device (Sony Xperia) and it doesn't actual unlock the screen. I've tried disable the "auto dismiss" option but it makes no difference. Enrolling the face and text on lockscreen works fine though, it just doesn't do anything.

Anyone have any good suggestions what I can do? I thought about using AutoInput but seemingly I can't make that work either. Only option seem to be macrodroid but its a bit of a clunky solution.
[Xposed Framework Modules] Captain_cookie_200:
try an older apk. maybe new apks that were changed to work on qpr1 and 2 broke something for older devices. by newer apk i mean the apk for universal auth xposed module. not the face unlock app
[Xposed Framework Modules] Kocane:
Great suggestion, thanks. Can confirm it broke going from 1.4 to 1.5. So with 1.4 it works fine on my A10 device. Only thing is that it unlocks and dismisses the lockscreen automatically even when that setting is disabled. Oh well, still very nice.
[Xposed Framework Modules] peacepipe:
Hi,

I bought a Xiaomi Mi Lite 5G (renoir) with Lineage OS 20 from ebay and the finger print isn't working since beginning. So I'll give this app the chance to unlock my screen to bypass putting a pin or password. Maybe I missunderstood the function of this app but after pushing the power button the app says "Welcome" and I see the lock screen to put in my password/pin. The only thing I've got with this app is that I bypass the swipe before I have to put my pin or password. Was this maybe the entire goal of it? Do I have to choose the option "swipe" to use this app correctly?

EDIT: I am using the universalauth-xposed.apk from Nov, 2022 and I am using lsposed.
[Xposed Framework Modules] acc.ayman7:
I'm using A14 bate 2.1 On my Pixel 6 Pro, and it seems like UniversalAuth is not working.

Any ideas?
[Xposed Framework Modules] Gabriel C:
The app doesn't download and doesn't even import the APK (I've tried several versions) help me please
[Xposed Framework Modules] Captain_cookie_200:
tried disabling auto dismiss lockscreen in face unlock app?
[Xposed Framework Modules] Captain_cookie_200:
Moto Face Unlock 01.03.0312 (arm64-v8a) APK Download by Motorola Mobility LLC. - APKMirror

Moto Face Unlock 01.03.0312 (arm64-v8a) APK Download by Motorola Mobility LLC. - APKMirror Free and safe Android APK downloads

www.apkmirror.com
[Xposed Framework Modules] acc.ayman7:
The face unlock app is working correctly I guess, cuz test auth is successful.

I think UniversalAuth is not compatible with A14
[Xposed Framework Modules] Captain_cookie_200:
i think it shld still work without auto dismiss lockscreen.
[Xposed Framework Modules] acc.ayman7:
Face unlock still showing the welcome status text but the phone still locked.
[Xposed Framework Modules] Captain_cookie_200:
ah weird.
[Xposed Framework Modules] the6thfirmament:
Thank you, it works for my UMIDIGI S5 Pro with PixelExperience A13 unofficial GSI, LSPosed Zygisk.

In my testing, it won't work when;

"Even faster face unlock" is ON

(its auth process doesn't start) or

"Auto dismiss lockscreen" is ON

(the process starts and says Welcome, but not unlocked).

With both above OFF, it works smoothly.

And it seems to work best on PixelExperience or PixelOS. On other ROMs, a swipe is required to dismiss lockscreen after unlock.

The app is helpfull for some phones to survive "under-display fingerprint unlock loss" on GSIs. Thanks again.
[Xposed Framework Modules] KwstPap:
Pixel 6 Pro android 14 beta 3 doesnt unlock. inside the app seems the test working, but when lock your phone doesnt face unlock respond
[Xposed Framework Modules] lallolu:
Same here. I realised it first when I installed A14 beta 2.
[Xposed Framework Modules] kingpeppermint:
somewhere down this thread there someone suggesting using macrodroid in addition that did the trick on mine. (the full steps) it seems the unlock routine has changed and with macrodroid you can fix the routine again. (i known that works on andriod 13 google pixel 6 pro as that's what i'm using, but your reported issues are the same)
[Xposed Framework Modules] hide12:
I followed the instructions here. Face unlock ok - Px 6 pro

How to Add Face Unlock feature on Pixel 6/Pro/6A [Video]

In this comprehensive guide, we will show you the steps to add the Face Unlock functionality to the Google Pixel 6/Pro/6A devices.

droidwin.com
[Xposed Framework Modules] KwstPap:
Doesn't work...unlock but requires pin @hide12
[Xposed Framework Modules] hide12:
For me. Working.

You try to change with the unlock pattern
[Xposed Framework Modules] Lanchon:
hi @psychoela,

ive been monitoring this thread for a long time, waiting for news. are there plans to support "auto dismiss lockscreen" on android 13?

thanks!
[Xposed Framework Modules] fritzcola:
I installed everything as I should and the app does recognise my face but whenever I want to unlock my phone, the face gets recognise my face but additionaly requires the pattern. I am using a Pixel 6 Pro. What could be the problem here
[Xposed Framework Modules] Lanchon:
that you didn't read the thread?
[Xposed Framework Modules] MohabMohie:
After reading the entire 31 pages, here's what I did to get this to work on my Pixel 6 - Stock (no root) - Android 14 Beta 5. My solution is based on several comments here and should be OS / Device agnostic and work on any Android version on any phone.

1. After following the main tutorial you should reach the following state "everything is installed, face unlock works inside the app, on your lock screen it shows you the welcome message but doesn't unlock the phone."

2. Install Macrodroid, there are several scripts mentioned and shared in previous comments, I tried all of them and none worked, so I made a new one reusing bits and pieces of all the ones I tried.

I attached a screenshot and will describe the logic.

- first your trigger should be to wait for this intent ```ax.nd.universalauth.unlock-device``` this is the one fired by universal auth when face unlock authentication succeeds.

- then you add "AND" constraints to ensure that this script doesn't run when your phone is already unlocked, ringing, or in a call. (I have disabled screen light up on notifications and pick up to view screen features, if you have them enabled you may need more constraints)

- then you need to use UI Interactions to do the gesture of scrolling up (to trigger your PIN unlock)

- and then do 6 or more UI Interactions to click each number in your PIN.

- lastly I have the auto-confirm unlock feature enabled, it's in the latest Android 14 beta, if you don't have that feature add another UI Interaction to click the submit button.

The above steps will apply this logic:

- If your phone is locked & not in a call & not ringing, and your face is detected correctly, then Macrodroid will swipe to unlock your device using PIN (bypassing fingerprint) insert your PIN correctly, and your device will unlock successfully.

Notes:

- I have a 6-digit PIN for increased security.

- I have a work profile installed on my phone.

- I have multiple fingerprints registered.

- I have Smart Unlock (now rebranded to Extended unlock) working to keep the phone unlocked at home and while connected to my car's bluetooth.

- I'm running Android 14 beta on my daily driver Pixel 6 stock phone with no root.

- I used Shizuku and LSPatch to install UniversalAuth without rooting my device.

- I'm also using Shizuku and Pixel IMS to enable VolTE and 5G.

- I live in Egypt, where the Pixel 6 is not officially sold or supported by my Telecom service provider.

Hope that helps someone to get face unlock to work and saves them the headache of reinventing this method.
[Xposed Framework Modules] felek73:
Thank's for hint .. I use your procedure but exchange Macrodriod to Tasker ... works as advertised :)
[Xposed Framework Modules] sergej_7:
mind sharing that tasker file please?
[Xposed Framework Modules] felek73:
here you go , just get rid of this scene actions, I use them to unlock it in the pocket so had to block big part of the screen
[Xposed Framework Modules] sergej_7:
thank you very much mate
[Xposed Framework Modules] danerrickcuba@gmail.com:
FC when I select Set up.
[Xposed Framework Modules] AmeenShaC:
Please add support for lspatched(lsposed without root)
[Xposed Framework Modules] sconebranch:
I think Android 14 breaks this, even with MacroDroid. Can anyone else confirm?
[Xposed Framework Modules] euheni:
Pixel 6 Pro updated to A14. UniversalAuth + Autoinput don't work. Any ideas?
[Xposed Framework Modules] felek73:
Just give up, there was not single update since may..I think this is abandoned
[Xposed Framework Modules] bradical711:
Can confirm NOT working on Stable A14 Pixel 6, regardless of enabled settings within app. Worked fine on A13 and you can set up the app etc and confirm it works on A14, but the app has no effect on lockscreen. Uninstalled.
[Xposed Framework Modules] dong282911617:
Please update this app it doesn't work on android14
[Xposed Framework Modules] felek73:
C'mon, dev is not present here since december 2022 , this tool is dead. Neverthless , big thanks to null_dev for providing us with this solution. Apparently is not supported anymore.
[Xposed Framework Modules] jrs007:
"Guys, what worked best was working together with MacroDroid (that macro that used to work with input keyevent 82). This has changed in the A14. Now, we need to figure out which shell script has the same effect on the A14 that input keyevent 82 had on the A13. Once we do that, it will start working again."
[Xposed Framework Modules] Buraks:
I am enabled but it is not working it is still wants password
[Xposed Framework Modules] dong282911617:
This works well on los20, thanks
[Xposed Framework Modules] dong282911617:
How to use this file?
[Xposed Framework Modules] felek73:
Just import this task in Tasked. Haven't done this for years so you have to google it..
[Xposed Framework Modules] dong282911617:
Ok, thanks
[Xposed Framework Modules] GROOVYJOSHCLARK:
Holy crap this is cool! I just happened across this module when looking for LOS pixel 6 pro face unlock and it works flawless (so far)!

I'm on raven LOS 13 with lsposed / root / this module and it's great!! I did have issues until I also added the macro for macrodroid (which I found on another site) but not here (at least not yet). I'm still researching this module so take what I say with a grain of salt, but before I setup the macro, it would not unlock. You could see it search and find/match my face (locked lockscreen), but not unlock. I know it was trying to work because you can see the camera icon on lockscreen when unlocking (plus it tests successfully in the face unlock app), but still didn't work until the macro.

As soon as I added the macro, bingo! I'm a macrodroid pro user for years so no problem there! I love macrodroid and I have plenty of my own macros to do other security related items (like enable gps and send geolocation). I protect my macros from a string of words received from any cell (must match exactly) and it works great too. I keep my GPS off at all times (unless traveling) but also needed security if I lost my phone so I started making macros years ago so this is no different.

Just wanted to say thanks and it's fantastic on pixel 6 pro LOS.
[Xposed Framework Modules] felek73:
Hey guys , anyone was able to install face unlock app on November stock ROM ? I get warning that I cannot install this app because is not compatible with my device ?
[Xposed Framework Modules] peko!peko!:
無法使用，怎麼辦，求救
[Xposed Framework Modules] jcp2:
Doesn't work on A14. Something changed in lockscreen settings.
[Xposed Framework Modules] felek73:
Managed to fix it, the moto app from Null-dev GitHub installs just fine
[Xposed Framework Modules] jcp2:
it installs fine, it just won't bypass lock screen on A14.
[Xposed Framework Modules] felek73:
True, you have to use macrodroi or tasker , both method were described in previous posts
[Xposed Framework Modules] jcp2:
I've been using the MacroDroid template for months,. However, it stopped working as soon as I updated to A14. If you have it working on A14, please share your steps and template.
[Xposed Framework Modules] felek73:
Sorry, I'm using Tasker profile and task. I shared it few posts back as XML files
[Xposed Framework Modules] Nightf0x_007:
Is it working in a14? Tried your task with tasker and when running it i get screenoff task doesnt exist
[Xposed Framework Modules] felek73:
It's working, just create task with this name and press power button action
[Xposed Framework Modules] Nightf0x_007:
Couldnt get it done with tasker actually, couldnt find power button action in tasker only found long power button
[Xposed Framework Modules] Nightf0x_007:
When face detected still wonr get pass lockscreen so what does this task do ?
[Xposed Framework Modules] Nightf0x_007:
Do i need to anything else ? Cant get it to work here a14 pixel 6 to bypass lockscreen after face detect
[Xposed Framework Modules] felek73:
You have to set face unlock profile which executes this task when fu send and intent. It was written earlier , I just share only task which , when executed, unlock screen be entering pin
[Xposed Framework Modules] NeonHD:
That's really unfortunate. The dev is still active on other projects, just not this one, so safe to say it's pretty much abandoned. Don't think they realize how much people depend on this. Apparently he also lives in the same city as me, so that's something lol.
[Xposed Framework Modules] raeee1:
I'm now on Android 14 pixel 6 and this doesn't work, I have latest lsposed zygisk and all the other files ,it's recognizes my face but stays locked,please help,ive tried all the fixes here,the files for the magisk lsposed here won't install they all failed.
[Xposed Framework Modules] wadams1:
i got this working again on A14. For this workaround you'll need to be using the macrodroid simpleunlock macro

you will then need to change the macro from "input keyevent 82" to "input keyevent 82 && input swipe 200 800 200 100 && input text <your pin> && input keyevent 66"

finally, disable "auto disable lockscreen" in the faceunlock app
[Xposed Framework Modules] dinasore:
Thanks for sharing this information.

Would you mind if you may share more details about how to get the macro and how to edit the macro?

Appreciate your efforts on it
[Xposed Framework Modules] effectively0:
Amazing. I can confirm this worked for me using LineageOS 21.0 (Android 14). Thank You!
[Xposed Framework Modules] effectively0:
wadams1 is referring to this SimpleUnlock macro. https://xdaforums.com/t/11-universalauth-face-unlock-for-all-roms.4419343/post-88444991

Import that in Macrodroid and apply the edits to the blue box Actions>Configure