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 .
Agree

Flashing Guide

[Guide] How To Install Custom Recovery and Root Your Device Easily

2018-10-29 05:47:54
10056 49

Hello, MIUIer’s,

How are you? I hope everything will be fine. Most of the Xiaomi user asked me that, how do they install custom recovery and root their device. So, I decide today I want to give you, How to install a custom recovery on your Xiaomi device and also root your device.

About Root:
Rooting an Android phone means giving yourself superuser access. A superuser is an administrator who has access to more features and functions of a system and can make changes to it beyond its standard behaviour. This grants more access to the operating system, which means more power over how the device works, but it also brings with it a greater potential to do damage to the device's proper operation. One of the best features of the Android phone is that it has an open source operating system. However, this doesn't mean it is completely open; phone service carriers and device manufacturers such as Samsung, LG, Huawei, Xiaomi, and others, put quite a few modifications and restrictions on their phone products. Even Google puts some restrictions into its own operating system for safety and security reasons, but also at the request of carriers and phone manufacturers.

The Advantage of Root:
  • You can install a custom recovery.
  • Change the boot image.
  • Can change the boot logo.
  • Can enable camera 2api.
  • Can use Gcam.
  • Can change your device IMEI.
  • Can edit build prop.
  • Can use Titanium Backup.
  • Can use Lucky Patcher and much more.

Warning: Do anything at your own risk. Oreo and Pie rom have anti-rollback so, be careful.

Requirement:
You need an unlocked bootloader and also need Mi USB Driver.
If you don’t know how to unlock your device bootloader and how to install Mi USB Driver then read this two thread.

Now, most of the Xiaomi devices come with anti-rollback so, now you can’t flash custom recovery directly. If you want to flash custom recovery directly then you bypass dummy. That is a trouble stape we don’t need to follow that. We always try to use the official TWRP custom recovery. Because sometimes moded custom recovery can’t boot your device on custom recovery

Now I deserving you how to flash a custom recovery and also root your device...

  • Download TWRP Recovery (img file) from this site: HERE


  • Now download Fastboot Tool from here: Fastboot Tool.zip (1.33 MB, Downloads: 353)

  • Also,download the “Magisk.zip” from here: Magisk-v17.1.zip (4.07 MB, Downloads: 298)
(You can also use the updated version of Magisk or can you SuperSU for root your device)

  • Download “lazyflasher-no-verity-opt-encrypt.zip”from here: lazyflasher-no-verity-opt-encrypt.zip (411.16 KB, Downloads: 477)
(LazyFlasher is a custom kernel flashing tool designed to make it easy to dynamically modify ramdisks and inject kernel binaries into the current boot image. It's the swiss army knife of kernel flashing for use in Team Win Recovery Project)

  • Copy and put the Magisk.zip, lazyflasher.zip, and recovery.img on your device internal storage/sd card/pen drive.


  • Now rename your device TWRP Recovery from any name to recovery (Ex: Download twrp-3.2.3-0-whyred.img). Don’t change the file extension it will be img.


  • Extract the “Fastboot Tool.zip” and put the recovery image on this extracted Fastboot Tool folder.


  • Select all the file with recovery image and type “cmd” on the search bar or press-hold shift and right click then select "Open command window here/Command Prompt".


  • Your device boot into the fastboot mode. For this power of your device and press Power and Volume Down button (-) at the same time. If your device makes any problem on this then first Power Off your device then hold press Power Button then connect the USB cable, I hope this trick will be work.


  • Now type some commands. First type “fastboot devices” for the check, is your device connected your computer or not? If your device doesn’t show any code and fastboot (see the screenshot) then update your Mi USB Driver. For this follow the requirement part.

  • After that again type “fastboot devices” now you can see code and fastboot (see on the screenshot).

  • Now I’m showing if you try to install TWRP Recovery then what will happen. (see the screenshot)


  • So, don’t try this, follow my easy way. Type “fastboot boot recovery.img” and wait sometimes.


  • After booting into TWRP Recovery swipe for allow modification.

  • Select “Install”.

  • Now “Select Storage”.

  • Then select your storage where you put Magisk, lazyflasher and recovery. Select “Ok”.


  • Now select “Install Image”, select “recovery.img/any the thing that is your device recovery”.


  • If your recovery asked for partition then select “Recovery” and swipe to confirm flash.


  • After flashed recovery press home button and go to storage and select “Install Zip” and again select “Magisk.zip”, swipe to confirm flash.


  • Again press the home button and go to storage. Select “lazyflasher-no-verity-opt-encrypt.zip” and swipe to confirm flash.


  • After flashing select “Reboot System”. Now unchecked the two boxes and press “Do Not Install”.


  • After rebooting your devices you can see “Magisk Manager” on your device. If you don’t find this then download from here and install.
    Download: MagiskManager-v6.0.1.apk (1.92 MB, Downloads: 43)


  • Now download “Root Checker Basic” and install. After installing open the app and click agree and again “Get Started”.
    Download from here: Root_Checker_Basic_6.4.0[1].apk (8.68 MB, Downloads: 38)


  • Click “VERIFY ROOT” and click “GRANT”.


Congratulations you successfully installed TWRP custom recovery and also rooted your device

Note: For downloading the latest magisk manager, magisk uninstaller, magisk stable and beta click here.

If you have any problem, please comment

Rate

Number of participants 8 Experience +72 Pack Reason

View Rating Log

2018-10-29 05:47:54
Favorites23 RateRate

Moderator

MH Imran | from Redmi Note 4

#1

Thanks for sharing bro
2018-10-29 07:03:58

Pro Bunny

Sumaia | from Redmi Note 5A

#2

learnt something new today thanks for sharing
2018-10-29 07:19:17

Techie Team

M. Ahsan Ullah | from Redmi Note 5

#3

অনেক অনেক ধন্যবাদ ভাই। এর থেকে ইজি সহজ আর কোনো টিউটোরিয়াল/ গাইডলাইন হতে পারে না। আনলক , কাস্টম রিকভারী ইনস্টল, রুট এর ২টা থ্রেড এর জন্য আপনাকে অসংখ্য ধন্যবাদ।
2018-10-29 07:40:22

Techie Team

Mahmud Af Nahin | from Redmi Note 5

#4

thanks for sharing
2018-10-29 08:56:34

Süper moderatör

rayhan4200 | from Redmi Note 4X

#5

informative thread & thanks you so much for this amazing tutorial.
2018-10-29 09:01:05
Rayhan Hasan,
Super Moderator, Mi Community Bangladesh.

Master Bunny

NJ shanto | from Redmi S2

#6

Thanks for sharing
2018-10-29 11:15:33

Moderator

Mainul Hasan Rohan Author | from Redmi Note 5

#7

MH Imran
Thanks for sharing bro

welcome brother
2018-10-29 12:53:46
Moderator, Mi Community Bangladesh

I ❤️ Mi

Moderator

Mainul Hasan Rohan Author | from Redmi Note 5

#8

Sumaia
learnt something new today thanks for sharing

welcome sis for your support
2018-10-29 12:54:12
Moderator, Mi Community Bangladesh

I ❤️ Mi

Moderator

Mainul Hasan Rohan Author | from Redmi Note 5

#9

M. Ahsan Ullah
অনেক অনেক ধন্যবাদ ভাই। এর থেকে ইজি সহজ আর কোনো টিউটোরিয ...

আপনাকে ও অনেক ধন্যবাদ ভাই।
2018-10-29 12:54:48
Moderator, Mi Community Bangladesh

I ❤️ Mi

Moderator

Mainul Hasan Rohan Author | from Redmi Note 5

#10

Mahmud Af Nahin
thanks for sharing

welcome brother
2018-10-29 12:55:04
Moderator, Mi Community Bangladesh

I ❤️ Mi
please sign in to reply.
Sign In Sign Up
Aktywny 3 dni pod rząd
Aktywny 7 dni pod rząd
Aktywny 21 dni pod rząd
Aktywny 40 dni pod rząd
Aktywny 70 dni pod rząd
Aktywny 100 dni pod rząd
Newbie Member
Mi A2
Eid Mubarak
Master of Speed
MIUI Beta Tester
MIUI 10
10K Members Celebration
10M Downloads
20k
10000 użytkowników na Społeczności Mi!
Mi Explorers Challenger
Święta z Mi!
2019
Throw Back with Mi 2018
Xiaomi Number One In Ukraine
20K Registered Users
Mi Community App Review
9th Birthday of Xiaomi
Redmi Note 7
বাংলা নববর্ষ
Suited and Booted
New Home
10k Mi Fans
Cast Away
20K Mi Fans
20k użytkowników!
30K Members
Redmi Note 7 Into Space
Mi Love U & I
Redmi Note 7 Unboxing
Limited Edition Space Medal
Bunny Winner
70K Fans
Challenge Photographer
Android Q
PhotoChallenge
2 años
Android Q
Phoenix
Mother's Day
Guess The Name
Mothers day
MIUI
Xiaomi Band
X-Men
Día de las Madres
ShotByMi
Mi Band Series
Redmi Note 7 Space
Mi Band Series
هاتف  Redmi Note 7 في الفضاء
تحدي جديد للتصوير الفوتوغرافي
توقع اسم Android Q
Best Mi
Happy Mother's Day
Android Q
50K Mi Fans
Złoty Mi Band
Mi band 3
25K
Świętujemy dzień X-Men!
Mi Band History
قصتك مع السوار الذكي Mi Band
Mi Band Story
X-Men Character
Medalla X-Men: Cíclope
Medalla X-Men: Magneto
70K Mi Fans
Challenger
40K Registered Users
Eid Mubarak
Redmi Questionnaire
Ngày của Mẹ
Xmen dark phoenix
MiBand Story
Android Q
70k celebrate
X-Men: Tormenta
X-Men: Profesor Xavier

Read moreGet new
Copyright©2016-2019 Xiaomi.com, All Rights Reserved
Content Policy
Quick Reply To Top Return to the list