├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── app ├── .gitignore ├── build.gradle.kts ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── ic_launcher-playstore.png │ ├── java │ └── eu │ │ └── rafareborn │ │ └── biometricbypass │ │ ├── BiometricBypassModule.kt │ │ └── hooker │ │ └── BiometricBypassHooker.kt │ ├── res │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ ├── ic_launcher_background.webp │ │ ├── ic_launcher_foreground.webp │ │ └── ic_launcher_round.webp │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ ├── ic_launcher_background.webp │ │ ├── ic_launcher_foreground.webp │ │ └── ic_launcher_round.webp │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ ├── ic_launcher_background.webp │ │ ├── ic_launcher_foreground.webp │ │ └── ic_launcher_round.webp │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ ├── ic_launcher_background.webp │ │ ├── ic_launcher_foreground.webp │ │ └── ic_launcher_round.webp │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ ├── ic_launcher_background.webp │ │ ├── ic_launcher_foreground.webp │ │ └── ic_launcher_round.webp │ └── values │ │ ├── ic_launcher_background.xml │ │ └── strings.xml │ └── resources │ └── META-INF │ └── xposed │ ├── java_init.list │ ├── module.prop │ └── scope.list ├── build.gradle.kts ├── fastlane └── metadata │ └── android │ └── en-US │ ├── changelogs │ ├── 100.txt │ └── 101.txt │ ├── full_description.txt │ ├── images │ ├── icon.png │ └── phoneScreenshots │ │ └── 01_module_enabled.png │ ├── short_description.txt │ └── title.txt ├── gradle.properties ├── gradle ├── libs.versions.toml └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── media ├── module_disabled.gif └── module_enabled.gif └── settings.gradle.kts /.gitignore: -------------------------------------------------------------------------------- 1 | # Gradle files 2 | .gradle/ 3 | build/ 4 | 5 | # Android Studio 6 | .idea/ 7 | *.iml 8 | 9 | # Local configuration file (SDK path, etc.) 10 | local.properties 11 | 12 | # Log/OS Files 13 | .DS_Store 14 | *.log 15 | 16 | # NDK/CMake 17 | .cxx/ 18 | .externalNativeBuild/ 19 | 20 | # Output and generated files 21 | captures/ 22 | outputs/ 23 | 24 | # Unit test files 25 | test-output/ 26 | 27 | # Android Studio specific 28 | .idea/ 29 | *.iws 30 | *.ipr 31 | *.iml 32 | 33 | # Android Studio 3.1+ specific 34 | .idea/caches/ 35 | .idea/modules.xml 36 | .idea/workspace.xml 37 | .idea/codeStyles/ 38 | .idea/libraries/ 39 | .idea/shelf/ 40 | .idea/gradle.xml 41 | .idea/sonarlint/ 42 | .idea/vcs.xml 43 | .idea/runConfigurations.xml 44 | .idea/runConfigurations/ 45 | .idea/misc.xml 46 | .idea/navEditor.xml 47 | 48 | # Keystore files 49 | *.jks 50 | 51 | # Firebase Crashlytics 52 | crashlytics.properties 53 | 54 | # Gradle Wrapper 55 | gradle-wrapper.jar 56 | gradle-wrapper.properties 57 | 58 | # Build folders 59 | build/ 60 | app/build/ 61 | gradle/ 62 | 63 | # MacOS specific files 64 | .DS_Store 65 | 66 | # Temporary files 67 | *.tmp 68 | *.temp 69 | 70 | # Exception for libs.versions.toml 71 | !gradle/libs.versions.toml 72 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "libxposed/api"] 2 | path = libxposed/api 3 | url = https://github.com/libxposed/api.git 4 | [submodule "libxposed/service"] 5 | path = libxposed/service 6 | url = https://github.com/libxposed/service.git 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Rafael Gale 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Biometric Bypass Module 2 | 3 | **Streamlines face unlock by skipping biometric confirmation in System UI (Android 10+)** 4 | 5 | [![Codacy Badge](https://api.codacy.com/project/badge/Grade/dfcf1c46fa474099a3aef3f5b3dfe8c3)](https://app.codacy.com/gh/rafareborn/biometric-bypass) 6 | ![GitHub stars](https://img.shields.io/github/stars/rafareborn/biometric-bypass?style=social) 7 | ![GitHub downloads](https://img.shields.io/github/downloads/rafareborn/biometric-bypass/total) 8 | ![GitHub Release (latest by date)](https://img.shields.io/github/v/release/rafareborn/biometric-bypass) 9 | 10 | ## Overview 11 | 12 | This LSPosed module streamlines face unlock by skipping the confirmation step enforced after biometric authentication. It applies the bypass system-wide — so it works across **all apps**, including banking or security-sensitive ones. 13 | 14 | Android introduced the [`setConfirmationRequired(false)`](https://developer.android.com/identity/sign-in/biometric-auth#no-explicit-user-action) flag in Android 10 to support passive authentication flows (e.g., face unlock without requiring a tap). Since most apps don’t disable confirmation explicitly, Android defaults to requiring a manual tap, turning face unlock into a two-step chore. 15 | 16 | This module ensures the confirmation step is skipped across all biometric flows, regardless of app implementation. 17 | 18 | --- 19 | 20 | ## How it Works 21 | 22 | Android 10 (API 29) added support for passive biometric flows via the `setConfirmationRequired(false)` flag in the BiometricPrompt API. This allows apps to skip the "tap to confirm" step after face unlock — **but only** if: 23 | 24 | - The app explicitly sets `setConfirmationRequired(false)` 25 | - The biometric method is classified as **Class 3 (strong)** (e.g., secure face unlock on Pixel 8+) 26 | 27 | Most apps don’t set this flag, and even when they do, some components still enforce the confirmation dialog. 28 | 29 | This module hooks System UI directly to eliminate that dialog, simulating the intended behavior system-wide, no matter what the app does. 30 | 31 | --- 32 | 33 | ## Visual Comparison 34 | 35 |

36 | Face unlock requiring manual confirmation 37 |
38 | Default Behavior: Face unlock with manual confirmation required. 39 |

40 | Face unlock with confirmation bypassed 41 |
42 | Module Enabled: Face unlock with automatic confirmation bypass. 43 |

44 | 45 | --- 46 | 47 | ## Compatibility 48 | 49 | - **Android Versions:** 10 and up (API 29+) 50 | - **ROM Support:** AOSP-based ROMs, Pixel, and other close-to-stock systems 51 | OEM ROMs (e.g. MIUI, OneUI) are **not tested and probably won't work** due to heavy modifications 52 | - **App Support:** Works globally, including banking and security-sensitive apps by applying the bypass system-wide 53 | 54 | --- 55 | 56 | ## Installation 57 | 58 | 1. Install [LSPosed](https://github.com/LSPosed/LSPosed/releases) 59 | 2. Download and install the module APK 60 | 3. In LSPosed, enable the module and apply it to **System UI** 61 | 4. Restart System UI or reboot the device 62 | 63 | --- 64 | 65 | ## Legacy Xposed Support (Archived) 66 | 67 | These branches are unmaintained and only exist for migration or historical reference: 68 | 69 | - [Legacy Xposed - Java](https://github.com/rafareborn/biometric-bypass/tree/legacy-xposed-java) 70 | - [Legacy Xposed - Kotlin](https://github.com/rafareborn/biometric-bypass/tree/legacy-xposed-kotlin) 71 | 72 | --- 73 | 74 | ## Risks 75 | 76 | Bypassing confirmation reduces friction and security. If someone spoofs your face or waves your phone at you while you’re asleep, they get in. Use responsibly. 77 | 78 | --- 79 | 80 | ## Contributing 81 | 82 | Pull requests are welcome. Issues too. 83 | 84 | --- 85 | 86 | ## License 87 | 88 | MIT. Use it, fork it, misconfigure it. 89 | If your cat unlocks your phone and sends crypto to North Korea, that’s on you. 90 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /release 3 | /debug -------------------------------------------------------------------------------- /app/build.gradle.kts: -------------------------------------------------------------------------------- 1 | plugins { 2 | alias(libs.plugins.agp.app) 3 | alias(libs.plugins.kotlin) 4 | } 5 | 6 | android { 7 | namespace = "eu.rafareborn.biometricbypass" 8 | compileSdk = 35 9 | 10 | defaultConfig { 11 | applicationId = "eu.rafareborn.biometricbypass" 12 | minSdk = 29 13 | targetSdk = 35 14 | 15 | versionCode = 101 16 | versionName = "1.0.1" 17 | } 18 | 19 | signingConfigs { 20 | create("release") { 21 | fun secret(name: String): String? = 22 | providers.gradleProperty(name) 23 | .orElse(providers.environmentVariable(name)) 24 | .orNull 25 | 26 | val storeFilePath = secret("RELEASE_STORE_FILE") 27 | val storePassword = secret("RELEASE_STORE_PASSWORD") 28 | val keyAlias = secret("RELEASE_KEY_ALIAS") 29 | val keyPassword = secret("RELEASE_KEY_PASSWORD") 30 | val storeType = secret("RELEASE_STORE_TYPE") ?: "PKCS12" 31 | 32 | if (!storeFilePath.isNullOrBlank()) { 33 | storeFile = file(storeFilePath) 34 | this.storePassword = storePassword 35 | this.keyAlias = keyAlias 36 | this.keyPassword = keyPassword 37 | this.storeType = storeType 38 | 39 | enableV1Signing = false 40 | enableV2Signing = true 41 | } else { 42 | logger.warn("RELEASE_STORE_FILE not found. Release signing is disabled.") 43 | } 44 | } 45 | } 46 | 47 | buildTypes { 48 | release { 49 | isMinifyEnabled = true 50 | isShrinkResources = true 51 | proguardFiles( 52 | getDefaultProguardFile("proguard-android-optimize.txt"), 53 | "proguard-rules.pro" 54 | ) 55 | signingConfig = signingConfigs.getByName("release") 56 | } 57 | debug { 58 | isMinifyEnabled = false 59 | isShrinkResources = false 60 | } 61 | } 62 | 63 | dependenciesInfo { 64 | includeInApk = false 65 | includeInBundle = false 66 | } 67 | 68 | buildFeatures { 69 | viewBinding = true 70 | buildConfig = true 71 | } 72 | 73 | kotlin { 74 | jvmToolchain(21) 75 | } 76 | 77 | compileOptions { 78 | sourceCompatibility = JavaVersion.VERSION_21 79 | targetCompatibility = JavaVersion.VERSION_21 80 | } 81 | 82 | packaging { 83 | resources { 84 | merges += "META-INF/xposed/*" 85 | excludes += setOf( 86 | "META-INF/LICENSE", 87 | "META-INF/LICENSE.txt", 88 | "META-INF/NOTICE", 89 | "META-INF/NOTICE.txt", 90 | "META-INF/AL2.0", 91 | "META-INF/LGPL2.1", 92 | "META-INF/*.kotlin_module", 93 | "META-INF/INDEX.LIST" 94 | ) 95 | } 96 | } 97 | 98 | lint { 99 | abortOnError = true 100 | disable.add("OldTargetApi") 101 | } 102 | } 103 | 104 | dependencies { 105 | implementation(libs.libxposed.service) 106 | compileOnly(libs.libxposed.api) 107 | implementation(libs.kotlinx.coroutines) 108 | } 109 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Xposed 2 | -adaptresourcefilecontents META-INF/xposed/java_init.list 3 | -keepattributes RuntimeVisibleAnnotations 4 | -keep,allowobfuscation,allowoptimization public class * extends io.github.libxposed.api.XposedModule { 5 | public (...); 6 | public void onPackageLoaded(...); 7 | public void onSystemServerLoaded(...); 8 | } 9 | -keep,allowoptimization,allowobfuscation @io.github.libxposed.api.annotations.* class * { 10 | ; 11 | ; 12 | } 13 | 14 | # Reflection-Based Keep Rules 15 | -keepclassmembers class * { 16 | @io.github.libxposed.api.annotations.* *; 17 | } 18 | 19 | # Kotlin 20 | -assumenosideeffects class kotlin.jvm.internal.Intrinsics { 21 | public static void check*(...); 22 | public static void throw*(...); 23 | } 24 | -assumenosideeffects class java.util.Objects { 25 | public static ** requireNonNull(...); 26 | } 27 | 28 | # Strip debug log 29 | -assumenosideeffects class android.util.Log { 30 | public static int v(...); 31 | public static int d(...); 32 | } 33 | 34 | # Obfuscation 35 | -repackageclasses 36 | -allowaccessmodification 37 | 38 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/ic_launcher-playstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/ic_launcher-playstore.png -------------------------------------------------------------------------------- /app/src/main/java/eu/rafareborn/biometricbypass/BiometricBypassModule.kt: -------------------------------------------------------------------------------- 1 | package eu.rafareborn.biometricbypass 2 | 3 | import android.annotation.SuppressLint 4 | import eu.rafareborn.biometricbypass.hooker.BiometricBypassHooker 5 | import io.github.libxposed.api.XposedInterface 6 | import io.github.libxposed.api.XposedModule 7 | import io.github.libxposed.api.XposedModuleInterface.ModuleLoadedParam 8 | import io.github.libxposed.api.XposedModuleInterface.PackageLoadedParam 9 | 10 | internal lateinit var module: BiometricBypassModule 11 | 12 | class BiometricBypassModule(base: XposedInterface, param: ModuleLoadedParam) : XposedModule(base, param) { 13 | 14 | init { 15 | module = this 16 | } 17 | 18 | @SuppressLint("PrivateApi") 19 | override fun onPackageLoaded(param: PackageLoadedParam) { 20 | if (param.packageName != TARGET_PACKAGE || !param.isFirstPackage) return 21 | 22 | module.log("$TAG Loaded package: ${param.packageName}") 23 | 24 | try { 25 | hookTargetMethod(param.classLoader) 26 | } catch (e: ReflectiveOperationException) { 27 | module.log("$TAG Error: ${e::class.simpleName} - ${e.message}") 28 | } catch (e: Exception) { 29 | module.log("$TAG Unexpected error: ${e.message}") 30 | } 31 | } 32 | 33 | @SuppressLint("PrivateApi") 34 | private fun hookTargetMethod(classLoader: ClassLoader) { 35 | val targetClass = classLoader.loadClass(TARGET_CLASS) 36 | val targetMethod = targetClass.getDeclaredMethod(TARGET_METHOD) 37 | module.hook(targetMethod, BiometricBypassHooker::class.java) 38 | module.log("$TAG Successfully hooked method: $TARGET_METHOD in $TARGET_CLASS") 39 | } 40 | 41 | companion object { 42 | const val TAG = "BiometricBypassModule" 43 | private const val TARGET_PACKAGE = "com.android.systemui" 44 | private const val TARGET_CLASS = "com.android.systemui.biometrics.AuthContainerView" 45 | private const val TARGET_METHOD = "onDialogAnimatedIn" 46 | const val BUTTON_CONFIRM_ID = "button_confirm" 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /app/src/main/java/eu/rafareborn/biometricbypass/hooker/BiometricBypassHooker.kt: -------------------------------------------------------------------------------- 1 | package eu.rafareborn.biometricbypass.hooker 2 | 3 | import android.annotation.SuppressLint 4 | import android.view.View 5 | import android.widget.Button 6 | import eu.rafareborn.biometricbypass.BiometricBypassModule 7 | import eu.rafareborn.biometricbypass.BiometricBypassModule.Companion.TAG 8 | import eu.rafareborn.biometricbypass.module 9 | import io.github.libxposed.api.XposedInterface 10 | import io.github.libxposed.api.annotations.AfterInvocation 11 | import io.github.libxposed.api.annotations.XposedHooker 12 | import kotlinx.coroutines.CoroutineScope 13 | import kotlinx.coroutines.Dispatchers 14 | import kotlinx.coroutines.delay 15 | import kotlinx.coroutines.launch 16 | 17 | @XposedHooker 18 | class BiometricBypassHooker : XposedInterface.Hooker { 19 | 20 | companion object { 21 | private const val MAX_RETRIES = 3 22 | private const val INITIAL_DELAY_MS = 100L 23 | 24 | @JvmStatic 25 | @AfterInvocation 26 | fun afterInvocation(callback: XposedInterface.AfterHookCallback) { 27 | val authContainerView = callback.thisObject as? View ?: return 28 | val context = authContainerView.context ?: return 29 | 30 | @SuppressLint("DiscouragedApi") 31 | val confirmButtonId = context.resources.getIdentifier( 32 | BiometricBypassModule.BUTTON_CONFIRM_ID, 33 | "id", 34 | context.packageName 35 | ) 36 | 37 | CoroutineScope(Dispatchers.Main).launch { 38 | retryClickButton(authContainerView, confirmButtonId) 39 | } 40 | } 41 | 42 | private suspend fun retryClickButton(parentView: View, buttonId: Int) { 43 | var delayTime = INITIAL_DELAY_MS 44 | 45 | repeat(MAX_RETRIES) { attempt -> 46 | parentView.findViewById(buttonId)?.takeIf { it.isShown }?.let { 47 | it.performClick() 48 | module.log("$TAG Confirm button clicked successfully.") 49 | return 50 | } 51 | 52 | module.log("$TAG Retry #${attempt + 1}: Button not visible. Waiting ${delayTime}ms...") 53 | delay(delayTime) 54 | delayTime *= 2 55 | } 56 | 57 | module.log("$TAG Confirm button not found after $MAX_RETRIES retries.") 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_background.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-hdpi/ic_launcher_background.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_background.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-mdpi/ic_launcher_background.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_background.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-xhdpi/ic_launcher_background.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_background.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/values/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #2E2E2E 4 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Biometric Bypass 3 | Skips biometric confirmation after face unlock across all apps on Android 10+ devices 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/resources/META-INF/xposed/java_init.list: -------------------------------------------------------------------------------- 1 | eu.rafareborn.biometricbypass.BiometricBypassModule 2 | -------------------------------------------------------------------------------- /app/src/main/resources/META-INF/xposed/module.prop: -------------------------------------------------------------------------------- 1 | minApiVersion=100 2 | targetApiVersion=100 3 | staticScope=true 4 | -------------------------------------------------------------------------------- /app/src/main/resources/META-INF/xposed/scope.list: -------------------------------------------------------------------------------- 1 | com.android.systemui 2 | -------------------------------------------------------------------------------- /build.gradle.kts: -------------------------------------------------------------------------------- 1 | tasks.register("clean", Delete::class) { 2 | group = "build" 3 | description = "Deletes the build directory." 4 | 5 | delete(rootProject.layout.buildDirectory.get().asFile) 6 | } 7 | 8 | tasks.register("assembleDebugRelease") { 9 | group = "build" 10 | description = "Assembles both debug and release builds of the app module." 11 | dependsOn(":app:assembleDebug", ":app:assembleRelease") 12 | } 13 | 14 | tasks.register("cleanBuild") { 15 | group = "build" 16 | description = "Cleans the project and then assembles all builds in the app module." 17 | dependsOn("clean", "assembleDebugRelease") 18 | } 19 | 20 | tasks.register("printVersionInfo") { 21 | group = "build" 22 | description = "Prints the version information of the project." 23 | doLast { 24 | println("Version Code: ${project.version}") 25 | println("Version Name: ${project.findProperty("versionName") ?: "N/A"}") 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/100.txt: -------------------------------------------------------------------------------- 1 | First stable release under new package structure and signing scheme. 2 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/101.txt: -------------------------------------------------------------------------------- 1 | • Upgraded to Kotlin 2.0 and Java 21 for libxposed compatibility 2 | • Made release keystore optional using environment fallback 3 | • Removed old CI workflow 4 | • Added Fastlane metadata 5 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/full_description.txt: -------------------------------------------------------------------------------- 1 |

This LSPosed module streamlines face unlock by skipping the confirmation step enforced after biometric authentication. It applies the bypass system-wide — so it works across all apps, including banking or security-sensitive ones.

Android introduced the setConfirmationRequired(false) flag in Android 10 to support passive authentication flows (e.g., face unlock without requiring a tap). Since most apps don’t disable confirmation explicitly, Android defaults to requiring a manual tap, turning face unlock into a two-step chore.

This module ensures the confirmation step is skipped across all biometric flows, regardless of app implementation.

-------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/fastlane/metadata/android/en-US/images/icon.png -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/01_module_enabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/fastlane/metadata/android/en-US/images/phoneScreenshots/01_module_enabled.png -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/short_description.txt: -------------------------------------------------------------------------------- 1 | Xposed module to fast-forward face unlock 2 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/title.txt: -------------------------------------------------------------------------------- 1 | Biometric Bypass 2 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Gradle JVM settings 2 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 3 | 4 | # Enable parallel project execution 5 | org.gradle.parallel=true 6 | 7 | # AndroidX 8 | android.useAndroidX=true 9 | 10 | # Kotlin code style 11 | kotlin.code.style=official 12 | 13 | # Optimize R class and resource IDs 14 | android.nonTransitiveRClass=true 15 | android.nonFinalResIds=false 16 | 17 | # Enable incremental compilation 18 | kotlin.incremental=true 19 | kotlin.incremental.java=true 20 | 21 | # Gradle Daemon optimization 22 | org.gradle.daemon=true 23 | org.gradle.daemon.idletimeout=10800000 24 | -------------------------------------------------------------------------------- /gradle/libs.versions.toml: -------------------------------------------------------------------------------- 1 | [versions] 2 | agp = "8.5.2" 3 | kotlin = "2.0.0" 4 | xposed = "100" 5 | xposed-service = "100-1.0.0" 6 | 7 | [plugins] 8 | agp-app = { id = "com.android.application", version.ref = "agp" } 9 | kotlin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } 10 | 11 | [libraries] 12 | libxposed-api = { group = "io.github.libxposed", name = "api", version.ref = "xposed" } 13 | libxposed-service = { group = "io.github.libxposed", name = "service", version.ref = "xposed-service" } 14 | kotlinx-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version = "1.8.1" } -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Aug 19 18:27:30 CEST 2024 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip 5 | zipStoreBase=GRADLE_USER_HOME 6 | zipStorePath=wrapper/dists 7 | -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # 4 | # Copyright 2015 the original author or authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | ## 21 | ## Gradle start up script for UN*X 22 | ## 23 | ############################################################################## 24 | 25 | # Attempt to set APP_HOME 26 | # Resolve links: $0 may be a link 27 | PRG="$0" 28 | # Need this for relative symlinks. 29 | while [ -h "$PRG" ] ; do 30 | ls=`ls -ld "$PRG"` 31 | link=`expr "$ls" : '.*-> \(.*\)$'` 32 | if expr "$link" : '/.*' > /dev/null; then 33 | PRG="$link" 34 | else 35 | PRG=`dirname "$PRG"`"/$link" 36 | fi 37 | done 38 | SAVED="`pwd`" 39 | cd "`dirname \"$PRG\"`/" >/dev/null 40 | APP_HOME="`pwd -P`" 41 | cd "$SAVED" >/dev/null 42 | 43 | APP_NAME="Gradle" 44 | APP_BASE_NAME=`basename "$0"` 45 | 46 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 47 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 48 | 49 | # Use the maximum available, or set MAX_FD != -1 to use that value. 50 | MAX_FD="maximum" 51 | 52 | warn () { 53 | echo "$*" 54 | } 55 | 56 | die () { 57 | echo 58 | echo "$*" 59 | echo 60 | exit 1 61 | } 62 | 63 | # OS specific support (must be 'true' or 'false'). 64 | cygwin=false 65 | msys=false 66 | darwin=false 67 | nonstop=false 68 | case "`uname`" in 69 | CYGWIN* ) 70 | cygwin=true 71 | ;; 72 | Darwin* ) 73 | darwin=true 74 | ;; 75 | MINGW* ) 76 | msys=true 77 | ;; 78 | NONSTOP* ) 79 | nonstop=true 80 | ;; 81 | esac 82 | 83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 84 | 85 | 86 | # Determine the Java command to use to start the JVM. 87 | if [ -n "$JAVA_HOME" ] ; then 88 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 89 | # IBM's JDK on AIX uses strange locations for the executables 90 | JAVACMD="$JAVA_HOME/jre/sh/java" 91 | else 92 | JAVACMD="$JAVA_HOME/bin/java" 93 | fi 94 | if [ ! -x "$JAVACMD" ] ; then 95 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 96 | 97 | Please set the JAVA_HOME variable in your environment to match the 98 | location of your Java installation." 99 | fi 100 | else 101 | JAVACMD="java" 102 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 103 | 104 | Please set the JAVA_HOME variable in your environment to match the 105 | location of your Java installation." 106 | fi 107 | 108 | # Increase the maximum file descriptors if we can. 109 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 110 | MAX_FD_LIMIT=`ulimit -H -n` 111 | if [ $? -eq 0 ] ; then 112 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 113 | MAX_FD="$MAX_FD_LIMIT" 114 | fi 115 | ulimit -n $MAX_FD 116 | if [ $? -ne 0 ] ; then 117 | warn "Could not set maximum file descriptor limit: $MAX_FD" 118 | fi 119 | else 120 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 121 | fi 122 | fi 123 | 124 | # For Darwin, add options to specify how the application appears in the dock 125 | if $darwin; then 126 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 127 | fi 128 | 129 | # For Cygwin or MSYS, switch paths to Windows format before running java 130 | if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then 131 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 132 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 133 | 134 | JAVACMD=`cygpath --unix "$JAVACMD"` 135 | 136 | # We build the pattern for arguments to be converted via cygpath 137 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 138 | SEP="" 139 | for dir in $ROOTDIRSRAW ; do 140 | ROOTDIRS="$ROOTDIRS$SEP$dir" 141 | SEP="|" 142 | done 143 | OURCYGPATTERN="(^($ROOTDIRS))" 144 | # Add a user-defined pattern to the cygpath arguments 145 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 146 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 147 | fi 148 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 149 | i=0 150 | for arg in "$@" ; do 151 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 152 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 153 | 154 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 155 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 156 | else 157 | eval `echo args$i`="\"$arg\"" 158 | fi 159 | i=`expr $i + 1` 160 | done 161 | case $i in 162 | 0) set -- ;; 163 | 1) set -- "$args0" ;; 164 | 2) set -- "$args0" "$args1" ;; 165 | 3) set -- "$args0" "$args1" "$args2" ;; 166 | 4) set -- "$args0" "$args1" "$args2" "$args3" ;; 167 | 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 168 | 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 169 | 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 170 | 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 171 | 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 172 | esac 173 | fi 174 | 175 | # Escape application args 176 | save () { 177 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 178 | echo " " 179 | } 180 | APP_ARGS=`save "$@"` 181 | 182 | # Collect all arguments for the java command, following the shell quoting and substitution rules 183 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 184 | 185 | exec "$JAVACMD" "$@" 186 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%" == "" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%" == "" set DIRNAME=. 29 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME% 31 | 32 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 33 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 34 | 35 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 36 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 37 | 38 | @rem Find java.exe 39 | if defined JAVA_HOME goto findJavaFromJavaHome 40 | 41 | set JAVA_EXE=java.exe 42 | %JAVA_EXE% -version >NUL 2>&1 43 | if "%ERRORLEVEL%" == "0" goto execute 44 | 45 | echo. 46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 47 | echo. 48 | echo Please set the JAVA_HOME variable in your environment to match the 49 | echo location of your Java installation. 50 | 51 | goto fail 52 | 53 | :findJavaFromJavaHome 54 | set JAVA_HOME=%JAVA_HOME:"=% 55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 56 | 57 | if exist "%JAVA_EXE%" goto execute 58 | 59 | echo. 60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 61 | echo. 62 | echo Please set the JAVA_HOME variable in your environment to match the 63 | echo location of your Java installation. 64 | 65 | goto fail 66 | 67 | :execute 68 | @rem Setup the command line 69 | 70 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 71 | 72 | 73 | @rem Execute Gradle 74 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* 75 | 76 | :end 77 | @rem End local scope for the variables with windows NT shell 78 | if "%ERRORLEVEL%"=="0" goto mainEnd 79 | 80 | :fail 81 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 82 | rem the _cmd.exe /c_ return code! 83 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 84 | exit /b 1 85 | 86 | :mainEnd 87 | if "%OS%"=="Windows_NT" endlocal 88 | 89 | :omega 90 | -------------------------------------------------------------------------------- /media/module_disabled.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/media/module_disabled.gif -------------------------------------------------------------------------------- /media/module_enabled.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafareborn/biometric-bypass/a4b201e3a681e67e731773f108fab9a270f79302/media/module_enabled.gif -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | google() 5 | mavenCentral() 6 | } 7 | } 8 | 9 | dependencyResolutionManagement { 10 | repositories { 11 | google() 12 | mavenCentral() 13 | maven { 14 | url = uri("https://jitpack.io") 15 | } 16 | mavenLocal { 17 | content { 18 | includeGroup("io.github.libxposed") 19 | } 20 | } 21 | } 22 | versionCatalogs { 23 | create("libs") 24 | } 25 | } 26 | 27 | rootProject.name = "BiometricBypass" 28 | 29 | include(":app") 30 | --------------------------------------------------------------------------------