How to get to the desktop on Xiaomi 12T after face recognition: full setup

The Xiaomi 12T’s facial recognition feature is one of the most convenient ways to unlock a smartphone. However, many users face an annoying delay: After a successful face scan, the device first shows the lock screen with the clock and notifications, and then the desktop. This pause not only takes precious seconds, but also disrupts the smoothness of the interaction.

Fortunately, MIUI has hidden settings that allow you to remove the intermediate screen and immediately hit the main screen after facial recognition. In this article, we will explore all possible optimization options, from standard settings to fine-tuning through ADB and third-party utilities, learn how to make unlocking instantaneous without sacrificing security, and what nuances are important to consider when changing system settings.

Important: The methods in this article are tested on Xiaomi 12T with MIUI 13/14 firmware based on Android 12/13. On newer versions, the interface may differ slightly, but the general logic remains the same.

Why is the lock screen shown after face recognition?

The delay between facial recognition and desktop transition is not a bug, but a feature of MIUI. Xiaomi developers added this step for several reasons:

1.Security: Even if the face is recognized, the system gives the user a chance to see notifications or the time before going to the home screen, which reduces the risk of accidentally unlocking in the pocket or bag.

2.UI animations: MIUI uses smooth transitions between screen states, which is visually pleasing but adds latency.

3.Gestural compatibility: on some firmware, the lock screen serves as a buffer for correct handling of navigation gestures.

But for most users, this step is redundant, and fortunately, it can be removed β€” in whole or in part β€” with built-in and hidden settings.

Warning! Disabling the intermediate screen may slightly increase battery consumption, as the system will more often activate the display to full brightness for instant display of the desktop.

Method 1: Disable the lock animation in the MIUI settings

The easiest method is to reduce or remove the unlock animation. This won't remove the lock screen completely, but will make the transition to the desktop almost instantaneous.

Instructions:

  1. Open the Settings β†’ Display.
  2. Go to Additional Settings β†’ System Animation.
  3. Choose No Animation or 0.5Γ— (if full shutdown is not available).
  4. Back to Settings β†’ Screen locking.
  5. Turn off the option to Show notifications on the lock screen (optional, but will speed up the process).

After these changes, the delay will be reduced. ~0.8-1.2 seconds ~0.3–0.5 seconds. The effect is particularly noticeable on Xiaomi 12T s AMOLED-A display where animations are traditionally smoother (and slower).

⚠️ Attention: On some firmware MIUI 14 Option: System animation can be hidden. If it's not on the menu, try the method with ADB (Describe below) or install a Minimalist theme from the Theme – it often resets animations to minimal.

Make a backup copy of settings|Check the version. MIUI (Settings β†’ The phone)|Disable PIN/Password (Temporary Testing Measure)|Charge your phone at least 50 times%-->

Method 2: Using ADB to turn off the lock screen

To completely remove the intermediate screen, you will need to connect to ADB (Android Debug Bridge), a method that works on the Xiaomi 12T with any version of MIUI, but requires an unlocked bootloader or enabled USB debugging.

Step-by-step:

  1. Turn on Developer Mode: Go to Settings β†’ About Phone and click on MIUI Version 7 times.
  2. Return to Settings β†’ Additional β†’ For developers and activate Debugging over USB.
  3. Connect Xiaomi 12T PC, set it up. ADB Tools and execute command: adb shell settings put global lockscreen_to_homescreen 1
  4. Reset the device.

Once this command is applied, the smartphone will immediately go to the desktop after facial recognition, bypassing the lock screen. If you need to return standard behavior, do:

adb shell settings put global lockscreen_to_homescreen 0

⚠️ Attention: On some firmware MIUI This command can be reset once the system is updated, and it's also incompatible with the Always-on Display and the Waking Up functions, which you have to disable.

What to do if ADB is not working?
If the command does not apply, check it out: 1. Correct connection USB (File Transfer mode is not suitable – select β€œCharge only” or β€œDebug only"). 2. Relevance of Xiaomi drivers on PC (download Mi) PC Suite). 3. No antivirus blocking (addb.exe in exceptions). 4. Try the alternative command: adb shell settings put secure lock_screen_skip 1.

Method 3: Configure via Xiaomi EU ROM or custom firmware

If you use unofficial firmware (such as Xiaomi.eu or Pixel Experience), the process is simplified. These builds often already have built-in options to fine-tune the unlock.

For Xiaomi.eu ROM:

  1. Go to Settings β†’ Screen Lock β†’ More.
  2. Activate the option to skip the lockscreen.
  3. Select the unlock method (Face or Fingerprint).

On custom firmware (for example, LineageOS or ArrowOS):

  1. Open the settings β†’ System β†’ Gestures.
  2. Find the screen lock section and turn off the lock screen after unlocking.

Advantages of custom firmware:

  • πŸ”§ More flexibility in setting up animations and transitions.
  • πŸš€ Absence of unnecessary system processes MIUI, speed-up.
  • πŸ”’ The ability to use alternative authentication methods (e.g. Google’s Smart Lock).

⚠️ Note: Installing custom firmware voids warranty and can lead to unstable camera or sensor performance (especially on Xiaomi). 12T with a MediaTek Dimensity processor 8100-Ultra). Before the firmware check compatibility on the forum XDA Developers.

πŸ“Š What Unblocking Method Do You Use More Often?
Fingerprint.
Facial recognition
Pin code/password
Gesture/swipe
Other

Method 4: Third-party applications to accelerate unlocking

If you don't want to go through ADB settings or firmware, you can use third-party utilities that won't remove the lock screen completely, but make the transition to the desktop almost instantaneous.

Top.-3 apps 12T:

AnnexFunctionalReferenceFeatures
SkipLockSkipping the lock screen after face recognition/fingerprintGoogle PlayRequires ADB to activate
QuickUnlockAccelerating Unlocking AnimationsGoogle PlayIt works without root, but with limitations.
TaskerAutomation of the transition to the desktopGoogle PlayComplicated setup but maximum flexibility

SkipLock requires an additional ADB command:

adb -d shell pm grant com.kookapp.skiplock android.permission.WRITE_SECURE_SETTINGS

How Tasker works:

    πŸ’‘

    If after installing SkipLock, unlocking began to work unstable, clear the cache of the Settings application β†’ Applications β†’ SkipLock β†’ Memory β†’ Clear the cache.

    Method 5: Optimizing the Face Recognition Sensor

    Sometimes the delay is not due to the MIUI settings, but to the operation of the sensor itself. On the Xiaomi 12T, the front camera (20 MP, f/2.2) is responsible for the face scanning, and its performance depends on several factors.

    How to speed up recognition:

    • πŸ”¦ Lighting: The sensor works better in bright, but not direct light. In the dark, the screen lights up, which adds to the lighting. ~0.2 seconds to unlock time.
    • 🧹 Clean camera: Wipe the front camera with an alcohol wipe - dust or fingerprints can slow focus.
    • πŸ”„ Re-registration of the person: Remove the saved face in Settings β†’ Screen locking β†’ Face recognition and add it again, holding the phone at eye level.
    • πŸ“± Performance mode: Enable Settings β†’ Battery β†’ Performance mode to accelerate sensor data processing.

    On the Xiaomi 12T, the facial recognition sensor uses IR lighting only in complete darkness. In low light (such as at night in a room with a lamp), the system can switch between IR and the main camera, which adds a delay of up to 0.5 seconds.

    πŸ’‘

    Registration of a face in different angles (sitting, standing, smiling) increases recognition accuracy by 30-40%, but can slightly slow down the initial unlock due to additional verification.

    Problems and Solutions: What to Do When Nothing Works

    If none of these methods helped, check the following points:

    Frequent causes of failure:

    Problem.Reason.Decision
    Facial recognition works, but lock screen is not lostConflict with the subject of designReturn the standard theme to Settings β†’ Themes
    After ADB-commands unlock resetResetting security settingsRepeat the command and restart the phone.
    The delay came after the MIUI update.Changes in system animationsReverse to the previous version or wait for the patch
    Unlocking applications are not workingBlock MIUI for third-party utilitiesEnable the Installation from Unknown Sources

    If the problem persists, try resetting the lock settings:

    1. Go to Settings β†’ Lock the screen.
    2. Delete all saved faces and prints.
    3. Select Reset lock settings (password may be required).
    4. Reset facial recognition.

    What if notifications are missing after resetting?
    This is a well-known MIUI 14 bug. To return notifications: 1. Go to Settings β†’ Notifications β†’ Additional. 2. Turn off and turn on the option to Show notifications on the lock screen. 3. Reboot your phone. If it didn't help, clear the Settings app cache β†’ Apps β†’ System β†’ Android System WebView.

    FAQ: Frequent questions about unlocking Xiaomi 12T

    Can you completely remove the lock screen, leaving only facial recognition?
    Yeah, but it requires. ADB-commands or custom firmware. Standard means. MIUI You can't remove the lock screen, you need it to display notifications and system alerts. If you're critically interested in top speed, consider using Google's Smart Lock (configured in Settings). β†’ Security β†’ Smart Lock: It allows you to skip locks in trusted places (such as at home).
    Will instant unlocking with a pin code or pattern lock work?
    No, the methods in this article are only about biometric unlocking (face/fingerprint). For a pin code or pattern lock, the lock screen will always show up - this is an Android security measure. However, you can reduce the latency after entering the pin code by disabling animations in Settings β†’ Additional β†’ Special features β†’ Delete animations.
    Why did the MIUI update make the unlocking slower?
    In the new versions MIUI (particularly MIUI 14+) Developers are adding additional security checks that can slow down biometric authentication, such as Android 13-based firmware that has a Privacy Protection feature that analyzes the environment before unlocking, to get back to speed: Turn off Settings. β†’ Confidentiality β†’ Protection of confidentiality β†’ Environment analysis. Reset settings. β†’ Screen locking β†’ Resetting lock settings.
    Can you set up different actions after face recognition (e.g. opening an app)?summary> Yes, but not with standard means. You will need an automating application like Tasker or MacroDroid. Example of settings: Create a task with a Display Unlocked trigger. Add a condition If you unlock through the face (check through Logcat or variable systems). Specify an action - for example, Launch an application. For Xiaomi 12T, Edge Gestures app is also suitable, which allows you to assign actions to swipes after unlocking.
    Does turning off the lock screen affect the Always-on Display?
    Yes, these functions conflict. If you activate the command adb shell settings put global. lockscreen_to_homescreen 1, Always-on Display (AOD) It's going to stop working. AOD It's basically a lightweight version of the lock screen. AOD Or you can unlock it instantly -- they don't work at the same time. AOD (Like always on. AMOLED), which is independent of the locking system screen.