Add custom auth options (e.g. face unlock) to your phone using Xposed.

Overview

UniversalAuth

This project aims to bring a variety of custom authentication options to various Android ROMs.

Your phone needs to have Xposed (or EdXposed/Lsposed).

This project has only been tested on Android 11/12. It may work in Android 10 though. Support for more Android versions is a goal and I welcome contributions!

You currently cannot use this project to authenticate in apps. It can only unlock your lockscreen. Support for using this project to authenticate in apps is under development/investigation.

Face unlock demo

Authentication modules

Currently available authentication modules:

Face unlock

Face unlock allows you to unlock your phone with your face.

The face unlock module depends on closed source, proprietary libraries developed by Megvii. These libraries can be found in this free app: https://play.google.com/store/apps/details?id=com.motorola.faceunlock so this app will download it and pull the libraries out of it.

Installation

  1. Install and enable the UniversalAuth Xposed module. You can download it from the releases page.
  2. Reboot to make sure the Xposed module is enabled.
  3. Install the face unlock auth module APK. You can download it from the releases page.
  4. A new app called "Face unlock" should now appear, open it.
  5. Allow the app to download the libraries when requested.
  6. Grant the app permission to unlock your phone when asked.
  7. Enable the accessibility service when asked.
  8. Press the "START SETUP" button to enroll your face. The app will ask you to grant it camera permissions, make sure to select "allow while using the app" if that option is available.
  9. Lock your phone and test that you are able to use face unlock!

Credits

Thanks to:

  • the PixelExperience devs for writing the core UI and face unlock logic code.
  • The LsPosed/EdXposed devs and rovo89 for Xposed.
  • topjohnwu for Magisk.
  • Google for AOSP.
Comments
  • Feature Request: Screen Brightness Max, or White circle for low light illumination?

    Feature Request: Screen Brightness Max, or White circle for low light illumination?

    As the title suggests

    Can we get either an ability to increase screen brightness to max when it's trying to see a face, or, similar to how a front FP sensor works, add a white circle at full brightness to sort of "front flashlight" the phone?

    I personally use tasker so if we can branch it out to be addressable via Tasker, I'm sure I can create and share a scene for this, or max brightness task.

    Thanks guys 🌚🌚

    opened by ThatJeffGuy 4
  • Files download timing out

    Files download timing out

    Looks like the url the app uses to get the library files is timing out: https://cloudflare-ipfs.com/ipfs/QmQNREjjXTQBDpd69gFqEreNi1dV91eSGQByqi5nXU3rBt

    opened by alejoar 2
  • Does not work on Android 13 Beta 1

    Does not work on Android 13 Beta 1

    After previously working on Developer Preview 2, unfortunately the app does not seem to work anymore on Beta 1. The app is able to set up and scan the face (test auth works, camera + Welcome! text on lock screen works), but the actual device stays locked and still needs a PIN or fingerprint.

    opened by scarlettekk 1
  • Face operation cancelled

    Face operation cancelled

    Hi folks

    This is not an issue but a fix for a new bug. A recent update to Google APK is causing this to fail, and reinstating framework or app don't do anything.

    All that's happened is the face data is corrupted. Delete face data, add it again, it'll start working again, however a reboot causes this to corrupt again. Repeating the steps fixes until you reboot.

    Note that this update is throwing an exception in xposed logs, if devs reach out I'll provide.

    opened by ThatJeffGuy 1
  • [Q] could a basic face unlock service be implemented via a simple APK?

    [Q] could a basic face unlock service be implemented via a simple APK?

    hi, could a basic face unlock service be implemented via an APK, even if it is privileged?

    google apps used to support face unlock, and no framework patching framework (xposed) was needed for that. xposed weakens android's security model and is not for everybody.

    thanks

    opened by Lanchon 0
  • Cant download libraries and cant import manually

    Cant download libraries and cant import manually

    when i try to download i get java.net.sockettimeoutexception.timeout and when i try to import it gives could not import the APK, are you sure it's the correct APK? i tried 39 apks '-' bruh

    opened by ItsDoomOne 2
  • Status icons disappear in Android 13

    Status icons disappear in Android 13

    Hello, I have used UniversalAuth smoothly in Android 12L , but after I updated to Android 13, the module worked with bugs. Besides the issue #10 ,I also found a new bug that didn't happen in Android 12L : when I unlock successfully with UniversalAuth, icons in the upper right corner of the status bar frequently disappear. (Such as Wifi, cellular signal, battery icons and etc.) I have to pull down quick settings panel manually to make those icons show again. It looks like as if Google changed something in A13. Please let me know if I can help you in any way. The attachment shows a brief of this bug.

    Device: Google Pixel 5, running stock Android 13 stable version (TP1A.220624.014) UniversalAuth: 1.8 Icons disappear.zip

    opened by zyh941 0
  • Auto dissmiss lockscreen not working with A13

    Auto dissmiss lockscreen not working with A13

    I'm using a Pixel 6 with the newest Android 13 stable (13.0.0 (TP1A.220624.021, Aug 2022)) and the option "Auto dissmiss lockscreen" is not working anymore. It looks like as if Google changed something in A13.

    If I tick the option "Auto dissmiss lockscreen":

    • After the face is recognized I still need to swipe up and need to enter the PIN.
    • -> Please see attached gif for more informations unlock

    If I untick the option "Auto dissmiss lockscreen":

    • After the face is recognized I need to swipe up and the phone is unlocked.

    Please let me know if I can help you in any way.

    opened by kafisc1 3
  • Feature - PopUp cameras

    Feature - PopUp cameras

    For phones with pop-up cameras it would be nice to have it as optional way to unlock. An example of OnePlus 7 Pro: in stock OOS you could unlock it with either PIN or fingerprint and to use Face Unlock, you've had to swipe up on lockscreen, so camera pops out.

    opened by mikihacia 0
Releases(v1.8)
Owner
Andy Bao
Bored software developer.
Andy Bao
These samples explore the different options that Spring Boot developers have for using Javascript and CSS on the client (browser) side of their application.

Table of Contents Getting Started Narrowing the Choices Create a New Application Webjars Show Me Some Javascript Normalizing Resource Paths Adding Tab

Dave Syer 18 Jul 29, 2022
A bukkit/spigot plugin to add custom music discs using the Simple Voice Chat API.

Custom Discs 1.19 A spigot/bukkit fork of henkelmax's Audio Player. Play custom music discs using the Simple Voice Chat API. (The voice chat mod is re

null 21 Dec 22, 2022
A minimalistic Face Recognition module which can be easily incorporated in any Android project.

Real Time Face Recognition with TfLite A minimalistic Face Recognition module which can be easily incorporated in any Android project. Key Features Fa

Abhinav Sharma 2 Jun 21, 2022
Fall is an app that lets your phone scream if you throw it somewhere.

Fall Fall is an app that lets your phone scream if you throw it somewhere. License Copyright (C) 2022 Gh05t-1337 This program is free software: you ca

null 15 Oct 31, 2022
Fabric mod to (maybe) ignore global bans while still using the auth server

=== SECURITY WARNING === DO NOT USE THIS MOD IF YOU DO NOT 100% TRUST THE SERVER NOT TO STEAL YOUR ACCOUNT. This mod is not secure because servers wil

null 15 Dec 20, 2022
Sync DND state between Android phone and watch

DNDSync This App was developed to enable Do Not Disturb (DND) synchronization between my Pixel phone and the Galaxy Watch 4 since this option was only

rhaeus 56 Dec 19, 2022
This repository is totally dedicated to Hacktoberfest 2021, feel free to add your project.

push-it-hacktoberfest This repository is totally dedicated to Hacktoberfest 2021, feel free to add your project. HacktoberFest21 Hello Hackers, Contri

Muhammad Bilal 3 Oct 31, 2021
Ti.googlepay - Add Google Pay to your app

Google Pay Add Google Pay to your app: Events available success canceled error Methods setupPaymentGateway: name, apiKey createPaymentRequest: environ

Michael Gangolf 4 Nov 7, 2022
A virtual camera based on Xposed

A virtual camera based on Xposed

null 643 Dec 31, 2022
An Xposed module for Telegram clients

TMoe TMoe 是一个兼容若干第三方开源 Telegram 客户端的开源 Xposed 模块 使用方法 激活本模块后,在 Telegram 客户端的设置中点击 "TMoe 设置" 即可开关对应功能。 一切开发旨在学习,请勿用于非法用途 本项目保证永久开源,欢迎提交 Issue 或者 Pull R

Acetylcholine 355 Dec 31, 2022
Xposed module for Snapchat.

SnapMod Xposed module for Snapchat. Setup To set SnapMod up, download and install the latest apk from here. When you open it, it will ask to install s

Rodi 138 Dec 21, 2022
Add a partial Coeffect system into Java using Loom's ExtentLocals

Coeffect Add a partial Coeffect system into Java using Loom's ExtentLocals. In Java there are generally 2 strategies to manage the parameters a method

Holo 12 Sep 9, 2022
CobaltStrike and Google Auth twice

GoogleAuth 基于cobaltStrike的谷歌二次验证 语言:Java 目的:实现在多人联合中的安全验证 原文:https://my.oschina.net/u/4587690/blog/5161930 开发原因:很简单,原文没有源代码。也没有jar包,不能“拿来吧你”。所以就自己写算了。

null 58 Dec 20, 2022
Text to Speech Project for Spring Boot and Kotlin, Auth Server, Python with Fast API (gTTS)

TTS-App Text to Speech Project for Spring Boot Module (etc Resource, Auth Server, Python with Fast API (gTTS)) Python의 gTTS lib를 활용하여 텍스트를 음성으로 변환하는 서

Seokhyun 7 Dec 21, 2021
LimboAuth - Minecraft Auth System for Velocity proxy built in virtual server (Limbo).

LimboAuth Auth System built in virtual server (Limbo). MC-Market SpigotMC.org Описание и обсуждение на русском языке (spigotmc.ru) Описание и обсужден

Elytrium 89 Jan 4, 2023
This project shows how to configure basic auth to secure our rest API and basic transaction on Data JPA

Basic Atuthentication Spring Boot Data JPA, MySQL This project shows how to configure basic auth to secure our rest API and basic transaction on Data

Hafizullah Samim 1 Feb 10, 2022
This project demonstrates reference implementation of Auth API Client

Client Application to test Auth API for OTP verification. Introduction Aadhaar “authentication” means the process wherein Aadhaar Number or Virtual ID

UIDAI 3 Oct 27, 2021
Add something to Minecraft LAN Server List

DiscoverMe Make a fortune... in Minecraft Server List! 0 dependencies, Java 8 compatible. Usage Example: DiscoverMe.INSTANCE.addEntry(SimpleChatColor.

iceBear 4 Oct 13, 2021
Patches for the old minecraft official launcher to add microsoft account support

MSA4Legacy Patches for the old minecraft official launcher to add microsoft account support My code here is quite atrocious in some parts (for example

Nep Nep 26 Nov 3, 2022