• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[RECOVERY][3.4.0-10][cepheus]Official/Unofficial TWRP for Xiaomi Mi 9 (Stable)

Search This thread


Recognized Developer
Jun 29, 2012
Castellana Grotte
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

#include <std_disclaimer.h>
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.

- Decryption works
- Otg works
- Backups works
- Flash Rom works
- Android Q Supported
- F2FS support
- Fastboot boot command support
- Compatibility.zip error fixed
- Android 11 Decryption

TWRP 3.4.0-10 Unofficial by mauronofrio
TWRP 3.4.0-0 Unofficial by mauronofrio

TWRP 3.3.1-62 Unofficial by mauronofrio
TWRP 3.3.1-52 Unofficial by mauronofrio
TWRP Official Builds
TWRP 3.3.1-46 Unofficial by mauronofrio
TWRP 3.3.1-42 Unofficial by mauronofrio
TWRP 3.3.1-41 Unofficial by mauronofrio
TWRP 3.3.1-39 Unofficial by mauronofrio
TWRP 3.3.1-37 Unofficial by mauronofrio
TWRP 3.3.1-35 Unofficial by mauronofrio
TWRP 3.3.1-34 Unofficial by mauronofrio
TWRP 3.3.1-30 Unofficial by mauronofrio
TWRP 3.3.1-27 Unofficial by mauronofrio
TWRP 3.3.1-24 Unofficial by mauronofrio

To Flash the TWRP:
if it's the first time you flash the TWRP or you are getting problems of TWRP lost or device doesn't boot after flashed magisk or something else you need to flash a script to patch your vbmeta:
To flash the TWRP:
fastboot flash recovery twrp-3.3.1-xx-xxxxxx-mauronofrio.img
Then reboot in TWRP manually or using a fastboot command.
fastboot boot twrp-3.3.1-xx-xxxxxx-mauronofrio.img
fastboot oem reboot-recovery
Flash the VBMETA PATCHER and reboot.
REMEMBER: is important that from fastboot you directly go in TWRP mode or the TWRP will be overwritten.

Reccomended ADB and Fastboot binaries:

Adb and Fastboot Installer

Source code:

My Telegram TWRP Support Group:


@PeterCxy for the commits about wrappedkey
@siankatabg for the latest commit about vendor.gatekeeper.disable_spu
@ingbrzy for the help with Android Q decryption problems
Thanks to all testers on the Telegram Group

Created 2019-02-28
Last edited:

Top Liked Posts