In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .

Redmi Note 4

[Tips] A Complete Guide On Installing TWRP Recovery On Any Device

2018-08-24 18:02:21
17759 84
Hi Mi Fans,
Many of you want to install Custom ROMs on your device, but stock recovery doesn't allow it. To do that Custom Recovery is must need. In this thread, we are talking about on How to Install TWRP (Team Win Recovery Project) Custom Recovery To Any Device.

Let's talk more about Stock Recovery and Custom Recovery

What is Stock Recovery?
The Recovery that comes with your Android Device from the manufacturer is called Stock Recovery. Stock recovery can be used to flash updates from a file, OTA Updates, for factory reset etc.

What is Custom Recovery?
From stock recovery, we cannot flash Custom ROMs, Modules etc. So for this, you need to flash custom recoveries like TWRP (Team Win Recovery Project), CWM (ClockworkMod), etc. Flashing custom recovery overwrites system recovery environment.

Hope you understand basic difference between Stock Recovery & Custom Recovery.

What is TWRP Custom Recovery?
TWRP stands for TeamWin Recovery Project. It's an open source software custom recovery for Android devices. It's helpful to install third party firmware and backup your current system. It also supports the installation of custom ROMs, kernels, add-on e.g. Gapps and other mods. Using TWRP you can wipe, format, install or backup your system. There is a wide variety of custom recoveries are available but, TWRP Recoveries are most popular and is widely used.

Benefits of installing a custom recovery :
  • Ability to flash third-party custom ROMs.
  • Ability to take backup of your android device, so that you can completely restore your phone from backup if something went wrong.
  • Amazing and easy to use User Interface.
  • and Much More!

Installing Custom recovery won't void the warranty
Take a complete backup before Flashing this.
I am not responsible for bricked devices, dead SD-Cards.
Try this at your own risk.

Now let's Start Our Main Topic

  • Your device. Ofcourse, it required xD.
  • Unlocked bootloader of your Xiaomi Device.
  • A PC or laptop.
  • Data Cable (USB Cable)

Follow the step by step guide to install a Custom Recovery on your Xiaomi device-

01. You Need to have an Unlocked Bootloader. If you haven't already done then check out this thread for the detailed guide.

02. Now Turn on USB Debugging. To do that-
Open settings- about phone- click 7 times on MIUI version to enable Developer options. (See image instructions).

Now again open settings- Additional settings- Developer options- turn on Developer options and USB Debugging. (See image instructions).

03. Your phone needs to be recognized by your pc, if it's not recognized please install Xiaomi USB drivers (usually included in Mi PC Suite

04. Download your device TWRP file from here  [Collection] Official TWRP for all Xiaomi Devices. Download Now!!

05.Download Android ADB and Fastboot from here and install it  ADB Installer v1.4.3 (8.89 MB, Downloads: 753)

06. Rename your twrp.img file to recovery.img and move it to ADB folder (usually in C: drive).

07. Boot your phone into fastboot mode pressing and holding volume down + power key.

08. Connect your Xiaomi phone to your PC with the USB cable.

09. Search for cmd in Windows search bar and right click on it = "Run as administrator".

10. Type in the command prompt
cd C:\ADB

and press Enter, you will move to ADB folder (if installed in a different path please replace "C:\ADB" with your installation path, e.g. "C:\Program Files\ADB").

11. Then type
fastboot devices

and press Enter just to be sure your device is correctly recognized.

12. Then type
fastboot flash recovery recovery.img

and press Enter to flash the recovery (Warning: this is permanent and will replace your Mi Recovery).

OR for temporary TWRP type
fastboot boot recovery.img

and press Enter if you want to use the recovery without flashing it.

13. Now type
fastboot reboot

and press Enter to reboot your device after the flash is complete.

14. First time you boot in recovery you will be shown a TWRP screen asking to allow modifications to the system partition. Personally, I choose always Keep read only to have no issues with my ROM.

For another Custom Recovery, installing process is 99% same.

Note- Also If you want back to the Mi Recovery please download your xiaomi device Fastboot image from here and extract the recovery.img file, then follow the same steps as above to flash it and go back to stock recovery

That's All For Now, Thanks!!

Signing off,
Device Team.

Related Threads-


Number of participants 3 Experience +36 Pack Reason

View Rating Log

2018-08-24 18:02:21
Favorites177 RateRate

Semi Pro Bunny

techviewer | from Redmi Note 5


good tutorial
2018-08-25 01:14:21

Grandmaster Bunny

Solver13 | from Redmi Note 4


Thanks for sharing this in such detailed information:-)
2018-08-30 09:52:20

Advanced Bunny

Bunny@18 | from Redmi Note 5


2018-09-02 00:13:16

Master Bunny

MAHMADARIF | from Redmi Note 4


2018-09-02 00:16:47

Master Bunny

Gokul G.k | from Redmi 4


wow thank you g
2018-09-02 00:19:44

Advanced Bunny

Sumesh.S | from Redmi Note 3


good information...
2018-09-02 00:31:16

Master Bunny

SuHaNi ChAuHaN | from Redmi 4


thanks for sharing information
2018-09-02 00:33:27

Mi A2 Beta Tester

vibmat9000 | from Mi A2


any one of you remember days off CWM recovery
2018-09-02 00:42:03

Pro Bunny

Sourav Rwt | from Redmi 4A


is not necessary to install twrp
2018-09-02 01:01:35

Advanced Bunny

603777428 | from app


A very helpful thred indeed.
2018-09-02 01:08:34
please sign in to reply.
Sign In Sign Up


Master Bunny

  • Followers


  • Threads


  • Replies


  • Points


3 Days Check-In
7 Days Check-In
21 Days Check-In
Lucky Draw No.
500K Members
Christmas Contest
2016 Christmas
Mi Explorers
2016 #ThrowbackwithMiComm
Pokemon Go!
App Review
1 million members
Xiaomi 7th Birthday
New Home
June-100 replies in a month
Oct-100 replies in a month
1st Anniversary
My Poster My Life
MIUI 7th Anniversary
2 million registered members
Newbie Member
Device Team Member
2017 Xiaomi Annual Bill
Mi Community Updater
Color Your Planet
Color Our Planet Game
Wang Cai Medal
The Motivator
Golden Mi Bunny
MIUI Subscriber
Mi A2
MIUI 8th Anniversary
Eid Mubarak
Ringtones Mania
10 Million Downloads
Throwback With Mi 2018
Xiaomi's 9th Birthday
9 Years of MIUI

Read moreGet new
Copyright©2010-2020, All Rights Reserved
Content Policy
Quick Reply To Top Return to the list