DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowBack To SchoolAmazon USBack-to-school picks: upgrade before the busy seasonAmazon US: study, desk and setup picks worth checking.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
everythingxiaomi.
Explore devices

How to install TWRP Recovery and Root Xiaomi smartphones

twrp banner
Share
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Xiaomi has been a top-performing smartphone brand in Global markets and especially in India. The value proposition their smartphones provide is unmatched. A huge chunk of the developer community is also very actively working on these smartphones.

Scrolling through a number of Android user communities, you can notice the number of tweaks and custom ROMs that you can flash on these smartphones. Doing this all requires a certain set of skills and tools, the biggest tool of them all is a custom recovery. One of the forerunners in the custom recovery race is the TeamWin Recovery Project or TWRP.

In this post, we will explore the steps to flash a TWRP recovery on a Xiaomi smartphone followed by rooting the phone with Magisk. But before getting into the guide, we should dwell on what TWRP is and what it can do.

What is TWRP recovery?

TWRP stands for TeamWin Recovery Project. It is an open-source and entirely GUI-based custom recovery for Android devices. The reason why it’s so popular is because of the fact that it allows Android users to enjoy fully touch-based UI and flash custom ROMs, MODs, Magisk, SuperSu, etc. There are further features like Full System backup that come in handy during these customization sessions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Shopping ad
XIAOMI Poco M8 5G Ai (Compatible with Tmobile Mint Tello & Global) (512GB + 8GB) 50MP Dual Camera NFC 6.77" 144Hz Octa Core Unlocked Dual Sim Model 25118PC98G Liberado (Black)
  • USA MARKET ONLY WORK ON TMOBILE MINT TELLO OR ANY UNDER TMOBILE NETWORK PHONE NEEDS A SIM CARD ALREADY ACTIVATED ,OUTSIDE USA WORKS ANY GSM CARRIER SIM GSM FCC ID: 2AFZZPCA6G
  • nano SIM 1 + Hybrid (nano SIM or microSD)(No Esim supported), 5G: 1/2/3/5/7/8/20/28/38/40/41/48/66/71/77/78 4G: LTE FDD: B1/2/3/4/5/7/8/18/19/20/26/28/66/71 4G: LTE TDD: B38/40/41/42/48 -3G: WCDMA::B1/2/4/5/6/8/19 - 2G QUAD BAND
  • 6.77" Flow AMOLED display172.1mm Flow AMOLED displayResolution: 2392 x 1080Refresh rate: Up to 120Hz*Refresh rate can be adjusted to 120Hz for supported apps.Touch sampling rate: 240HzInstant touch sampling rate: 2560Hz*2560Hz instant touch sampling rate is activated under Game Turbo Mode.16x super-resolution touchBrightness: 3200 nits peak brightness, 800 nits (typ)Color depth: 12-bit (68.7 billion colors)Contrast ratio: 8,000,000:1DCI-P3 wide color gamutSunlight displayReading mode3840 PWM dimming | 16,000 (Hardware Solution) | TÜV Rheinland Circadian Friendly Certification | TÜV Rheinland Flicker Free CertificationScreen-to-body ratio: 92%
  • 50MP main cameraLight Fusion 4001/2.88"1.22μm 4in1 Super Pixel5P lensf/1.82MP depth cameraRear camera video recording4K at 30fps1080p at 30fps720p at 30fps --- 20MP front camera1/4" sensor sizef/2.24P lensFront camera video recording1080p at 30fps720p at 30fps
  • NFC - GPS: L1 | GLONASS: G1 | BDS: B1I+B1C | Galileo E1 - Virtual proximity sensor | Ambient light sensor | Accelerometer | Electronic compass | IR blaster | Gyroscope - In-screen fingerprint sensorAI face unlock

EverythingXiaomi.com is not responsible for any kind of damage to data or device while performing this task. Flashing a custom recovery voids the device’s warranty and might result in full data loss. You are proceeding at your own risk.

Install TWRP on Xiaomi smartphone

Before we start with the installation process, it is advised that you stick to the guide and follow the instructions line-by-line.

Shopping ad
Xiaomi Android Google TV Box S 3rd Gen, 4K UHD TV Box Dolby Vision Atmos & DTS:X, 2GB + 32GB Storage WiFi 6 HDMI 2.1 360° Bluetooth Remote Voice Control for Television Internet Smartphones Streaming
  • 【4K UHD Audiovisual Experience】Xiaomi 4K UHD resolution delivers exceptional clarity, while support for HDR10+ and Dolby Vision delivers cinematic picture quality. Dolby Atmos and DTS:X also create a cinematic audiovisual experience.
  • 【Powerful 6nm Platform Performance】Powered by a 64-bit 6nm high-performance platform, featuring a quad-core A55 CPU (up to 2.5GHz) and large memory (2GB + 32GB), it ensures smooth operation.
  • 【High-Speed Wi-Fi 6 Connectivity】Supports Wi-Fi 6 (requires a Wi-Fi 6-enabled router), utilizing OFDMA and MU-MIMO technologies to provide greater bandwidth and significantly improved transmission speeds, enabling instant playback of online content.
  • 【Smart Google TV Entertainment Center】Built-in Google TV integrates personalized recommendations for movies, shows, and more from various apps and subscriptions, along with powerful cross-app search for a customized entertainment experience.
  • 【Convenient Voice Control】Use the voice button on the 360° Bluetooth remote to use Google Assistant for voice search, playback control, and smart home management. Easily cast content from your phone/tablet to the TV via Google Cast. Easy to install.

Pre-Requisites:

  • Make sure the phone’s battery is charged above 65%.
  • Backup your Data on any external media or perform a Nandroid backup.
  • Download ADB and Fastboot Drivers on the PC/Laptop.
  • Download the latest Xiaomi USB Drivers on the PC
  • Download the recovery file from the Official TWRP website for the specific model and save twrp-recovery.img it to the Extracted folder of ADB – Fastboot drivers.
  • Unlocked Bootloader on the Xiaomi smartphone.

Procedure to install TWRP on Xiaomi smartphone

  • You first need to have an unlocked bootloader on your Xiaomi smartphone, so if that’s not done, follow our guide for the same.
  • Connect your phone to the PC and look if the OEM Unlock is turned on from the developer settings.
  • Extract ADB and Fastboot drivers in a folder and open the cmd or PowerShell by pressing Shift key + Right-Clicking in the same folder.
  • Now type the following command [adb reboot bootloader] to reboot the Xiaomi smartphone into the fastboot mode (Note: You might get a USB debugging permission on your smartphone, so accept the pop-up).
  • Now place the twrp-recovery.img to the same folder where you have extracted the ADB & Fastboot drivers.
  • Type this [fastboot flash recovery twrp-recovery.img] command to flash the TWRP image you download.
  • After the successful flashing, reboot the phone using the [fastboot reboot] command.

If you followed the guide correctly up to the last step, then you have successfully installed TWRP Recovery on Xiaomi smartphone. The thing to note here is that this is an unofficial TWRP build made by individual developers and the build has not been vetted by the TWRP team. So you can get some bugs upon installing it, and it is advised to take a full backup just in case things go sideways. Let us now flash the Magisk module to get root access on the phone.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Procedure to root Xiaomi smartphone

magisk manager

Before we start this, make sure you download the latest version of Magisk from here and place the file on to the internal storage of your phone.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Shopping ad
XIAOMI Poco M8 PRO 5G Ai (Compatible with Tmobile Mint Tello & Global) (512GB + 12GB) 50MP Dual Camera NFC 6.83" 144Hz Octa Core Unlocked Dual Sim Model 2510EPC8BG Liberado (Silver)
  • USA MARKET ONLY WORK ON TMOBILE MINT TELLO OR ANY UNDER TMOBILE NETWORK PHONE NEEDS A SIM CARD ALREADY ACTIVATED ,OUTSIDE USA WORKS ANY GSM CARRIER SIM GSM FCC ID: 2AFZZPCA6G
  • Dual SIM (nano SIM 1 + nano SIM 2) (NO MICRO SD OR ESIM) 5G: n1/2/3/5/7/8/20/26/28/38/40/41/48/66*/71/77/78 4G: LTE FDD: B1/2/3/4/5/7/8/18/19/20/26/28/66*/71 // 4G: LTE TDD: B38/40/41/42/48 -- 3G: WCDMA: B1/2/4/5/6/8/19 - 2G QUAD BAND
  • 6.83" CrystalRes AMOLED displayResolution: 1.5K (2772 x 1280)447PPIRefresh rate: Up to 120Hz*Refresh rate can be adjusted to 120Hz for supported apps.Touch sampling rate: Up to 480HzInstant touch sampling rate: 2560Hz*2560Hz instant touch sampling rate is activated under Game Turbo Mode.16x super-resolution touchBrightness: 3200 nits peak brightnessBrightness: HBM 1800 nitsColor depth: 12-bit (68.7 billion colors)Contrast ratio: 8,000,000:1DCI-P3 wide color gamutOriginal color PROHDR10+ | Dolby VisionCorning Gorilla Glass Victus 2Sunlight display
  • 50MP main cameraLight Fusion 8001/1.55"2.0μm 4-in-1 Super Pixel6P lensf/1.6OIS8MP ultra-wide cameraf/2.2Rear camera video recording4K at 30fps1080p at 30/60fps720p at 30fps - 32MP front camera1/3.6" sensor sizef/2.24P lensFront camera video recording1080p at 30/60fps720p at 30fps
  • GPS: L1 | GLONASS: G1 | BDS: B1I +B1C | Galileo E1 | QZSS:L1 | A-GPS supplementary positioning | Wireless network | Data network | Sensor Assisted Positioning - In-screen fingerprint sensorAI face unlock - Proximity sensor | Ambient light sensor | Accelerometer | Electronic compass | IR blaster | Gyroscope
  • It’s always recommended that you take a full backup of the phone but if you’re doing this immediately after install TWRP recovery, there is no need to make a separate backup.
  • Now reboot your phone into TWRP recovery by pressing the volume up and power at the same while the phone is being turned on.
  • Now, Select “Install” from the TWRP and browse for the Magisk.zip file. Tap on it to select it.
  • Now, “Swipe to confirm flash” action.
  • Upon successful installation, select “Install” once again and locate the “no-verity-force-encrypt.zip” file. Tap it to select it.
  • Again “Swipe to confirm flash” action.
  • Reboot System from TWRP Recovery.
  • With the first boot, you might see a Magisk app on your phone, this is how you will be able to check the root status and download and install Magisk Modules for your Xiaomi smartphone.
  • If everything checks out till now, you should have root access on your phone.
  • Just to double-check, you could install the Root Checker app from the play store which should reflect the root status.

By now you have successfully flashed a custom recovery and root on your Xiaomi smartphone and if everything is done correctly this process won’t take much more than a couple of minutes.

Shopping ad
XIAOMI Redmi Note 14 Pro 4G LTE (for Tmobile Mint Tello & Global) (512GB + 12GB) 6.67" 120Hz 200MP AI Camera Model 24116RACCG Unlocked Dual Sim (Midnight Black)
  • USA MARKET ONLY WORK ON TMOBILE MINT TELLO OR ANY UNDER TMOBILE NETWORK PHONE NEEDS A SIM CARD ALREADY ACTIVATED ,OUTSIDE USA WORKS ANY GSM CARRIER SIM GSM FCC ID: 2AFZZRACCG
  • SIM 1 + Hybrid (SIM or microSD)2G: GSM: 850 900 1800 1900MHz3G: WCDMA:1/2/4/5/84G: LTE FDD:1/2/3/4/5/7/8/12/13/17/20/26/28/664G: LTE TDD:38/40/41Bluetooth 5.3Wi-Fi Protocol: 802.11a/b/g/n/ac
  • 6.67" AMOLED displayResolution: 2400 x 1080Refresh rate: Up to 120HzBrightness: 1800nits peak brightnessBrightness: 500 nits (typ), HBM 1200 nits (typ)Color depth: 10-bitContrast ratio: 5,000,000:1DCI- P3 wide color gamutCorning Gorilla Glass Victus 2Sunlight displayReading mode1920Hz PWM dimming|TÜV Rheinland Low Blue Light (Hardware Solution) Certified | TÜV Rheinland Flicker Free Certified | TÜV Rheinland Circadian Friendly Certified
  • Helio G100-Ultra6nm manufacturing processCPU: Octa-core processor, up to 2.2GHzGPU: Mali-G57 MC2
  • 200MP main camera OISf/1.6516-in-1 binning into one large 2.24μm pixel1/1.4” sensor size7P lens8MP ultra-wide cameraf2.22MP macro cameraf2.4Rear camera video recording1080p at 60fps1080p at 30fps720p at 30fps / 32MP front cameraf/2.2Front camera video recording1080p at 30fps720p at 30fps
Shopping ad
XIAOMI Poco X8 PRO MAX 5G Ai (Compatible with Tmobile Mint Tello & Global) (256GB + 12GB) 6.83" 50MP Gamers Phone NFC Dual sim Unlocked Model 2602BPC18G Liberado (Orange
  • USA MARKET ONLY WORK ON TMOBILE MINT TELLO OR ANY UNDER TMOBILE NETWORK PHONE NEEDS A SIM CARD ALREADY ACTIVATED ,OUTSIDE USA WORKS ANY GSM CARRIER SIM GSM FCC ID: 2AFZZPC0AG
  • Dual SIM (nano SIM + nano SIM or nano SIM + eSIM) (NO MICRO SD) 5G: 5G SA: n1/2/3/5/7/8/20/26/28/38/40/41/66*(70M)/71/77/78/485G NSA: n1/3/5/7/8/20/28/38/40/41/66*(70M)/71/77/784G LTE TDD: B38/40/41/42/484G LTE FDD: B1/2/3/4/5/7/8/18/19/20/26/28/66*(70M)/713G WCDMA: 1/2/4/5/6/8/192G GSM: 2/3/5/8Supports 4x4 MIMO*5G SA/NSA N66(70M) and 4G B66(70M): UL 1710MHz~1780MHz, DL 2110MHz~2180MHz*5G connectivity may vary based on region availability and local operator support.
  • 6.83" 1.5K 120Hz ultra-bright AMOLED displayResolution: 2772 x 1280Contrast ratio: 8,000,000:1Refresh rate: Up to 120Hz*Refresh rate can be adjusted to up to 120Hz for supported apps.Peak brightness: 3500 nits covering 25% display areaHBM brightness: 2000 nitsTypical brightness: 800 n: 2560Hz*480Hz touch sampling rate is activated under Game Turbo Mode.*2560Hz instant touch sampling rate is activated under Game Turbo Mode.12-bit color depth, 68 billion colorsDCI-P3 wide display 2.0HDR10+TÜV Rheinland Low Blue Light (Hardware Solution) CertifiedTÜV Rheinland Flicker Free CertifiedTÜV Rheinland Circadian Friendly CertifiedDolby VisionCorning Gorilla Glass 7i
  • MediaTek Dimensity 9500s3nm manufacturing process1 x Cortex-X925, up to 3.73GHz3 x Cortex-X4, up to 3.3GHz4 x Cortex-A720, up to 2.4GHzImmortalis-G925 MC11NPU 890 - 8500mAh (typ)100W HyperChargeUSB Type-C charging portUp to 27W reverse chargingSupports PD3.0/PD2.0Smart charging
  • Wi-Fi Protocol: Wi-Fi 7/ Wi-Fi 6/ Wi-Fi 5/ Wi-Fi 4 and 802.11a/b/g*Wi-Fi 7/Wi-Fi 6 capability may vary based on regional availability and local network support. Wi-Fi connectivity (including Wi-Fi frequency bands, Wi-Fi standards and other features as ratified in IEEE Standard 802.11 specifications) may vary based on regional availability and local network support. The function may be added via OTA when and where applicable.WLAN frequency: 2.4G Wi-Fi | 5G Wi-FiSupports Multi-Link Operation, 2x2 MIMO, 8x8 Sounding for MU-MIMO, Wi-Fi Direct, MiracastBluetooth 6.0, Dual-BluetoothSupports SBC / AAC / LDAC / LHDC 5.0 / LC3 / ASHA / AuracastNFC

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Filed under
Avatar photo
Written by

Yogesh Brar

The guy recommending you tech products & living on the Internet.

More from this author

Join the conversation

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.