Xiaomi Mi 9 is the flagship of 2019, which is still relevant thanks to the powerful hardware and active support of enthusiasts. One of the features of the device is a fingerprint scanner under the screen, which is accompanied by proprietary animations when unlocking. But what if the standard effect is tired and you want something fresh? In this article, we will discuss how to change the animation of the fingerprint on the Mi 9 β from preparing a smartphone to installing custom solutions.
It's important to understand that the process requires unlocking the bootloader, installing a customized backup and superuser rights. It's not a one-button operation, but with the right approach, the risks are minimized. We'll look at two main methods: through Magisk modules (for beginners) and manual editing of system files (for advanced users), and we'll also look at what animations are available, where to download them and how to return it if the result is not liked.
If you have never worked with fastboot, you have never heard of it. TWRP Or you're afraid to brick your phone, don't worry, we'll explain every step, provide checklists, and warn you of potential pitfalls.
Preparation of the smartphone: unlocking the loader
The first and most important step is unlocking the bootloader, without which you can not install custom Recovery or get root rights. On the Xiaomi Mi 9 (codename cepheus), the process is standard for all devices of the brand, but has nuances.
First, check the status of the bootloader.
- Turn off the phone.
- Press Volume Down + Power to enter Fastboot mode.
- Connect the Mi 9 to your PC and type in the command line: fastboot oem device-info
If you see Device unlocked: false in the answer, the bootloader is locked.
- π Link your Mi Account to your device in settings (Settings) β Xiaomi account β Mi Cloud. Unlocking is impossible without this.
- π± Put the debugging on. USB In Settings β The phone. β Version. MIUI (Tap 7 times, then return to the additional β For developers.
- π₯οΈ Install Mi Unlock Tool on PC (you can download from the official website).
- β³ Wait 168 hours (7 days) after you have an account attached is a requirement of Xiaomi.
After waiting, launch the Mi Unlock Tool, log in to your account and follow the instructions of the program. Note: when you unlock, all data will be erased from your phone! Backup in advance through Settings. β Additionally. β Backup and reset.
β οΈ Attention: Unlocking the bootloader will void the Xiaomi warranty. If the phone is warranty, weigh the risks. L1 (drop down L3, What will make the quality of the streaming worse in Netflix/Disney+).
Installation of custom recaveri (TWRP)
With the bootloader unlocked, you can install unofficial firmware and modifications. TWRP β custom recavers, which allows you to mount the system partition and install ZIP-file.
For Xiaomi Mi. 9 (cepheus) current version TWRP β 3.7.0_12-0 Download it from the official website twrp.me (file with the extension.img), and you will need the tool fastboot (part of the Platform Tools from Google).
Installation instructions:
- Place the downloaded twrp-3.7.0_12-0-cepheus.img fastboot.
- Turn off your phone and go to Fastboot (Loudness Down). + Nutrition).
- Connect Mi. 9 The command is: fastboot flash recovery twrp-3.7.0_12-0-cepheus.img
- After successful installation, restart to Recavator: fastboot boot twrp-3.7.0_12-0-cepheus.img
V TWRP You'll be asked to allow modifications to the system partition. Swipe right to allow modifications.
Download the official img file TWRP cepheus|Installed Platform Tools on PC|Debugging is on. USB|Data backup made.|Battery charge > 50%-->
Getting root rights through Magisk
Magisk is a tool for obtaining root rights without making changes to the systemless root, and it also allows you to install modules, including those that change the animation of the fingerprint.
Download the latest version of Magisk (for example, Magisk-v26.4.zip) From GitHub, transfer the file to your phone or flash drive:
- V TWRP Click Install and select downloaded Magisk-v26.4.zip.
- Swipe to confirm installation.
- After completion, press Reboot System.
After the reboot, the Magisk Manager app will appear on the phone. Open it and check root status (should read Installed: XX.XX If root doesn't work, reinstall Magisk or check the version. TWRP.
β οΈ Attention: Some banking applications (Sberbank, Tinkoff) and games (PUBG Mobile, Genshin Impact block root devices. To hide root, activate MagiskHide (newer versions: Zygisk) in Magisk. + DenyList) and add problematic apps to the exclusion list.
Method 1: Change animations through Magisk modules
The easiest method is to use pre-built modules for Magisk, which automatically replace the standard print animation with custom animation, without requiring manual editing of system files.
Popular modules for Mi 9:
- π¨ FOD Animations - a collection of 50+ Animations (including effects from OnePlus, Samsung and customization).
- π₯ Edge Lighting + FOD β combines the illumination of the edges of the screen with the animation of the scanner.
- π Miui FOD Animations - only animations in style MIUI, with advanced speed and color settings.
How to determine:
- Download the module (for example, FOD_Animations_v3.2.zip) from the XDA-Developers forum or Telegram channels (for example, @Mi9Mods).
- Open Magisk Manager, go to Modules and click Install from Storage.
- Choose the downloaded one. ZIP-file and confirm installation.
- Reboot the phone.
Once you restart, the new animation is activated automatically. To change it, go to Settings. β Screen. β Fingerprint animation (menu item may vary depending on the module) Some modules also add settings to Magisk Manager (Settings section of the module).
π‘
If after installing the module animation has not changed, try to clear the cache Dalvik/ART into TWRP (Wipe β Advanced Wipe β Dalvik/ART Cache).
Method 2: Manual editing of system files (for advanced)
If the finished modules don't work, you can manually replace the animation files in the system partition. ADB or file manager in TWRP.
The fingerprint animation is stored in the files:
- /system/product/media/theme/default/fod_animation.zip β main archive.
- /system/product/overlay/FodAnimationOverlay.apk β overlay.
To replace animation:
- Download your favorite animation in.zip format (for example, from the Telegram channel).
- Rename the file to fod_animation.zip.
- V TWRP: Go to Advanced. β File Manager. Find the original file along the way /system/product/media/theme/default/. Delete it and upload yours (click Install and select a new file).
Reboot the phone.
To change the color or speed of the animation, you will need to edit the files in FodAnimationOverlay.apk. It's a complex procedure that requires knowledge of APKTool and Smali, and if you're not sure, you'd better use the Magisk modules.
β οΈ Warning: Incorrect editing of system files can lead to bootloop.Always backup the original files in the system. TWRP (Backup β Select Partitions β System before modifications.
What if the phone does not boot after the animation is replaced?
Where to download animations for Xiaomi Mi 9
There are many sources of custom animations for the Mi 9, but not all of them are safe.
| Source | Type of content | Reference | Advantages |
|---|---|---|---|
| XDA-Developers | Magisk modules, ZIP-animation | forum.xda-developers.com | Community support, reviews, instructions |
| Telegram channels | Ready-made animation packs | @FODAnimations | Regular updates, previews before downloading |
| GitHub | Sources of animations (for developers) | github.com | Open source code, possibility of modification |
| 4PDA | Russian-language discussions and files | 4pda.to | Adapted for Russian users |
When downloading, pay attention to:
- π Compatibility with MIUI. Animation for MIUI 12 may not work on the MIUI 14.
- π― Screen resolution. Mi. 9 permit 2340Γ1080 β animation 9T (2520Γ1080) may be misrepresented.
- π The version of the module, FOD Animations v3.2 It can be in conflict with Edge Lighting. v1.5.
Check other users' reviews before installing, and if the module has few downloads or negative comments, it's best to look for an alternative.
π‘
The most stable animations are those made specifically for the Xiaomi Mi 9 (cepheus). Universal modules can work incorrectly or cause lags.
Return to standard animation
If custom animation did not like or caused problems, you can return the original in several ways:
Method 1: Remove the Magisk module
- Open Magisk Manager.
- Go to the Modules section.
- Find a module with animation (for example, FOD Animations) and click on the basket.
- Reboot the phone.
Method 2: Recovery of system files
If you have edited the files manually:
- Download stock firmware for Mi 9 from Xiaomifirmwareupdater.com.
- Remove the original files from it fod_animation.zip and FodAnimationOverlay.apk (Use the archiver or Mi Firmware Extractor).
- V TWRP Replace the modified files with stock files.
Method 3: Complete reset
If nothing helps:
- V TWRP Choose the Wipe β Format Data (Warning: Deletes all data!).
- Fastboot Fastboot Firmware:
After returning to standard animation, check the fingerprint scanner in Settings β Passwords and security β If the scanner doesn't respond, re-register the fingerprints.
Frequent problems and their solutions
When you change the animation of the fingerprint on the Mi 9, users encounter common errors, and here are the most common ways to fix them:
| Problem. | Possible cause | Decision |
|---|---|---|
| Animation doesn't change | Magisk Module Conflict | Disable all modules except animation, or use MagiskHide for scanner |
| The fingerprint scanner is not working. | Damaged. FodAnimationOverlay.apk | Restore the original file or reflash the stock firmware |
| Phone's slowing down. | Too heavy animation (high resolution)/FPS) | Choose a lighter animation or turn it off altogether. |
| Netflix doesn't work in the industry HD | Root or modified system partition | Hide root via MagiskHide or return Widevine L1 (patch-in) |
| The animation is not displayed in the center. | Disparity between animation resolution and screen | Find animations specifically for Mi 9 (2340Γ1080) |
If the problem is not solved, refer to the profile forums (XDA, 4PDA) with error logs:
- Version MIUI (for example, MIUI 14.0.4 Stable).
- Magisk version and installed modules.
- An accurate description of the bug (e.g., βanimation twitches when unlockedβ).
π‘
Before seeking help, check if the animation module conflicts with other modifications (for example, with the theme or fonts).