Platinum Member

Rank: 4

Credits
2864
Device
Redmi Note 4X
Online time
49 Hours
Send PM

Mi MIXMagic CubeMijia VR Play 2Mi HomeUnlock MedalMi ScaleMi VRMi BoxMi TV 70Mi Band 2Xiaomi 7th AnniversaryMIUI Devices ContestMIUI 2016Fantastic!I Love MIUIAwesome!AnTuTuMIUI 8Redmi Note 4X4 Million Forum Members1st AnniversaryXiaomi 6th AnniversarySuper ThursdayRooster Year of 2017MIUI Forum AppSingapore Merlion MedalRocket to FutureMIUI Lucky FridayFan Of MIUI IndiaSuper FridayMIUI World TourSuper TuesdayMIUI Fan from India300K Forum MembersMIUI Happy MedalPuzzle MasterWomen's Day Medal100k Forum MembersHilal Ramadan 500K Forum MembersMIUI 100 Million UsersMIUI 9MIUI 2017MIUI 7th Anniversary90000 Forum Members3 Million Forum MembersMIUI PMIUI S10 Million Forum PostsSuper WednesdaySurge S12 Million Forum MembersFan Of MIUI GreeceMiPopI Love Mi BunnyGamer Mi BunnyMIUI ReviewMIUI Quick DiscussionDebate MasterApp StarBlack SharkXiaomi 8th AnniversaryTechnology GuruMIUI Weekly Devices Quiz5 Million Forum MembersSurpriseYouth PledgeMIUI FollowerRingtone ExpertMIUI Android 4.4 KitKatUpdates LoverMIUI SuperstarMIUI Halloween 20172017 Annual AwardsMIUI Twitter FollowerMIUI G+ FollowerMost Active MIUIerMIUI KingStar Of TechnologyDie-hard MIUI FanMIUI Ice Bucket ChallengeMi Lover MedalAndroid GuruAndroid ElfStar WarsMaster Of TechnologyMIUI ExpertForum Contest LoverScroll Of Wisdom

[Tools, Tips & Tutorials] Step by step guide: Root & TWRP installation for Redmi Note 4x/SD...,

  [ Promote]
35989 204 |
19:44, Jun-13-2017 | From PC
|
|
Go to reply no.
This post was edited by MAS4112 at 07:15, Apr-18-2018
Hello, Redmi Note 4X/SD users...,

Introduction:
              Here I present an easy step by step
guide to ROOT & install TWRP for Redmi Note 4X and Redmi Note 4 SD devices. Specially for those, having problem with @feds64 's Tut. I also had problem with that tut. So, thought of making this tut to help others as I've solved mine and installed TWRP on my RN4X successfully!

Prerequisite:
    1. Unlocked Bootloader (How to guides> Link-1, Link-2)

   
2. USB DATA cable (Original One).

    3. Windows PC with Disabled Driver Signature Enforcement (How to guide>Link)


   
4. adb & fastboot drivers installed (Check this thread for driver installation help>Link)

   
5. Developer options & USB Debugging Enabled (How to: Settings > About phone > tap MIUI version 7 times > Developer   Options unloceked. Now again, Settings > Additional settings > Developer options > USB Debugging> Turn On)

    6. Minimum 50% Charged Phone Battery.


Preparation:
   
1. Download adb_fastboot_tools.zip and extract in your PC (Somewhere you can access easily).

     2. Download twrp-3.1.1-0-mido.img and move it to
'adb_fastboot_tools' folder, created when you extracted 'adb_fastboot_tools.zip' file (See the picture below).

You can use other TWRP images for mido too. Here are two other twrps(themed)...,recovery-RR-Themed.img & recovery-Golden-Themed.img

   3. Download BETA-SuperSUv2.79 SR3 & Dm-verity and Forced Encryption Disabler 5.1 and copy both .zip files to your phone memory (See the picture below). These 2 files will be necessary to root you device.



Process:

Part-1(flashing twrp):

                       1. Switch Off your Device. T
hen hold Power & Volume Down button simultaneously until it vibrates and Mi logo appears in your phone screen. Your device is now in 'fastboot mode' you'll see the Mi Bunny doing some tweaking with Droid! Move on and Plug in your USB Data Cable & connect your phone with your PC / Laptop.

                 2. Now open the
'adb_fastboot_tools' folder you created earlier and Run "cmd.exe" as Administrator...,(See the picture below).


              3. In the CMD window...,write the following code and hit Enter!
  1. fastboot devices
Copy the Code

This will display your device id and ensure that your device is properly connected and you're ready to go.

           4. Now write the following code and hit Enter to start flashing twrp recovery..,
  1. fastboot flash recovery twrp_mido.img
Copy the Code


Note:
in the code "twrp_mido.img" is the name of my twrp image located in 'adb_fastboot_tools' folder. You've to change it according  to your twrp image name.
Example, if your twrp image name is "twrp-3.1.1-0-mido.img" then your CMD code will be>
  1. fastboot flash recovery twrp-3.1.1-0-mido.img
Copy the Code
          5. TWRP will be flashed, now write the following code and hit Enter...,>
  1. fastboot boot twrp_mido.img
Copy the Code


Note: in the code "twrp_mido.img" is the name of my twrp image, located in 'adb_fastboot_tools' folder. You've to change it according  to your twrp image name.
Example, if your twrp image name is "twrp-3.1.1-0-mido.img" then your CMD code will be>
  1. fastboot boot twrp-3.1.1-0-mido.img
Copy the Code
Edit: Now wait for 5-10 seconds (suggested by@Caylean, earlier I thought it's not that important but looks like it can cause heratache for some)! If you did everything correctly, you'll see the TWRP recovery interface...,asking to allow system modifications.

You've successfully flashed twrp recovery in your device.

Part-2 (Root and bootloop issue fix):
                  In the twrp screen, swipe right. By doing so...,you will trigger dm-verity, and it will cause bootloop issue! But don't worry my friend, just install the zip files (
BETA-SuperSU v2.79 SR3.zip & Dm-verity and Forced Encryption Disabler 5.1.zip) you  copied earlier in your phone memory.

Choose install and then browse to the location where you copied the .zip files...,then select 'BETA-SuperSU v2.79 SR3.zip' and install it. Do the same with 'Dm-verity and Forced Encryption Disabler 5.1.zip.'

This will root your device and fix the bootloop issue which occurs in MIUI ROM!


Result:
           
You'll have twrp flashed and rooted your device...,and ready to do all kind of customization, tweaking, rom/kernel flashing etc...,


Declaimer:
This tut is based on @feds64's tut, but Elaborated and modified for better understanding. Thanks to Boss Man @feds64 for his great stuffs!

Credits:
@feds64 (tuts, images)
Chainfire(SU App)
TWRP (all twrp images)
Hunter16 (themed twrp images)


Troubleshoot and QA...,
Here I'm trying to answer a few basic and frequently asked questions/issues regarding this tut, hope it helps...,

Q.1: Will it void warranty?
Ans: Yes, it will.

Q.2: Will it get OTA updates after flashing TWRP & root?
Ans: The answer is yes...,official TWRP 3.1.1 supports OTA update! At least for weekly Beta updates. I got OTA update of 7.6.22 while using 7.6.15(rooted)! The thing is Android 6.0 (Marshmallow) & all newer versions support only systemless root. Systemless root doesn't affect the system, it only patches the boot image. You'll have root without touching your system. Conclusion is OTA isn't affected by root.

Q.3: Will this tut work with MIUI version XXXX.X.X?
The tut works with MIUI 8.2.4(stable) to MIUI 9 (7.9.15 Global Beta), I've tested myself. So, it should work with other MIUI versions(like China Stable or beta) too but I can't guarantee that as I've not tested.

Issue-1: Having problem with Super SU!
PS:Try other versions of Super SU, you can find theme here>>>http://www.supersu.com/download Or use 'Magisk - Root & Universal Systemless Interface' you can find all Magisk related information and download links here>>> https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
PS:Use the latest version of SDK Platform Tools, you can find here...,>https://developer.android.com/studio/releases/platform-tools.html

PS: Use Magisk or use latest SuperSU V2.82 (suggested bybhaszry)or try these solutions>>> Link-1, Link-2 by  AlvaroTom.


Final Note: Any comment or suggestion about this tut will be greatly appreciated...,besides, feel free to comment your issues you encountered during the whole process. I'll try my best to reply your comments.


Favorite248 Share

Rated by 11 people   Experience Reason  

sith_lord + 1 Fantastic!
RainbowSally + 1 Fantastic!
zulhaidir86 + 1 Great!
XshreyX + 10 Fantastic!
tanveer19 + 1 Great!
Caylean + 2 Works flawlessly!
Milad-cpt + 1 Great!
DaiNecrom + 1 Awesome!
magnus48 + 1 Great!
AlvaroTom + 1 <font><font>¡Gracias!</fo
cinolek + 1 Fantastic!

Experience +21  View Rating Log

Always Believe that something
Wonderful is about to happen...,

MIUI Honorary Moderator

Nothing is impossible

Rank: 6Rank: 6

Credits
24642
Device
Redmi Note 4X
Online time
299 Hours
Send PM

Mijia Story TellerMi Band 2Mijia Walkie TalkieUnlock MedalMi MIXMi  BunnyMi VRMijia Qi CycleMijia Electric ScooterXiaomi 6 LaunchMijia 360° Panoramic CameraMijia VR Play 2Ninebot MiniMi Bluetooth SpeakerMagic CubeMi BoxMi TV 70Mi HeadphonesMi HomeXiaomi 7th AnniversaryAnTuTuAwesome!Fantastic!MIUI Devices ContestMarshmallowFlashholicMIUI 8I Love MIUI4 Million Forum MembersRedmi Note 4XRooster Year of 2017MIUI Happy Medal10 Million Forum PostsWomen's Day MedalHappy Valentine's Day5 Million Forum App InstallsHilal Ramadan Ringolicious MedalSuper SundayPuzzle MasterSuper MondaySuper Wednesday3500K Forum MembersSuper Thursday100k Forum MembersSuper TuesdaySuper SaturdayMIUI Forum App300K Forum MembersMIUI World TourMIUI 2017Rocket to Future90000 Forum MembersMerry ChristmasMIUI Fan From PhilippinesMIUI PMIUI 100 Million UsersMIUI SMIUI 7th AnniversaryMIUI 50 Million UsersFan Of MIUI BangladeshHappy Diwali500K Forum MembersMIUI 9MIUI Lucky FridayFan Of MIUI IndiaMIUI Font LoverDiwali Happy New YearMIUI Philippines Fan Meetup1st AnniversaryMIUI 5th AnniversaryAtaturk MourningSummer Mi BunnyMiPopI Love Mi BunnyGamer Mi BunnyMIUI ReviewScroll Of WisdomStar WarsOreoQuick SurveyMIUI Halloween 2017Mr. DependableMIUI Twitter FollowerForum Contest LoverMi TalentMIUI Weekly Devices Quiz2017 Annual AwardsMi Lover MedalAndroid ElfDebate MasterMost Popular Forum UserMIUI SuperstarOTA FeedbackMIUI KingTechnology GuruUpdates LoverMIUI FollowerTheme TalentMost Active MIUIerMIUI Medals CollectorMIUI Android 4.4 KitKatMi Bunny Game Master Master Of TechnologyAndroid GuruMi Story TellerPioneer of MIUI English Forum Star Of TechnologyIndia Independence Day25 Million StrongMIUI ExpertDie-hard MIUI Fan

19:52, Jun-13-2017 | From Redmi Note 4X
|
already know it,bjt helpful for neewbies thanks for sharing though

Rated by 1 person   Experience Reason  

MAS4112 + 1 Thanks!

Experience +1  View Rating Log

Platinum Member

Rank: 4

Credits
2864
Device
Redmi Note 4X
Online time
49 Hours
Send PM

Mi MIXMagic CubeMijia VR Play 2Mi HomeUnlock MedalMi ScaleMi VRMi BoxMi TV 70Mi Band 2Xiaomi 7th AnniversaryMIUI Devices ContestMIUI 2016Fantastic!I Love MIUIAwesome!AnTuTuMIUI 8Redmi Note 4X4 Million Forum Members1st AnniversaryXiaomi 6th AnniversarySuper ThursdayRooster Year of 2017MIUI Forum AppSingapore Merlion MedalRocket to FutureMIUI Lucky FridayFan Of MIUI IndiaSuper FridayMIUI World TourSuper TuesdayMIUI Fan from India300K Forum MembersMIUI Happy MedalPuzzle MasterWomen's Day Medal100k Forum MembersHilal Ramadan 500K Forum MembersMIUI 100 Million UsersMIUI 9MIUI 2017MIUI 7th Anniversary90000 Forum Members3 Million Forum MembersMIUI PMIUI S10 Million Forum PostsSuper WednesdaySurge S12 Million Forum MembersFan Of MIUI GreeceMiPopI Love Mi BunnyGamer Mi BunnyMIUI ReviewMIUI Quick DiscussionDebate MasterApp StarBlack SharkXiaomi 8th AnniversaryTechnology GuruMIUI Weekly Devices Quiz5 Million Forum MembersSurpriseYouth PledgeMIUI FollowerRingtone ExpertMIUI Android 4.4 KitKatUpdates LoverMIUI SuperstarMIUI Halloween 20172017 Annual AwardsMIUI Twitter FollowerMIUI G+ FollowerMost Active MIUIerMIUI KingStar Of TechnologyDie-hard MIUI FanMIUI Ice Bucket ChallengeMi Lover MedalAndroid GuruAndroid ElfStar WarsMaster Of TechnologyMIUI ExpertForum Contest LoverScroll Of Wisdom

 Author| 20:20, Jun-13-2017 | From PC
|
This post was edited by MAS4112 at 09:11, Aug-11-2017
amit56 replied at 2017-6-13 17:52
already know it,bjt helpful for neewbies thanks for sharing though

Thank you for your valuable comment...,the main target of this thread is to make the whole 'twrp flashing' process easier to understand for everyone, specially for beginners!

Rated by 1 person   Experience Reason  

arthgalicio + 2 Agreed!

Experience +2  View Rating Log

Always Believe that something
Wonderful is about to happen...,

Gold Member

Rank: 3Rank: 3

Credits
267
Device
0
Online time
11 Hours
Send PM

Mi VRRedmi Note 4X3500K Forum MembersMIUI ExpertScroll Of Wisdom

20:59, Jun-13-2017 | From Redmi Note 4X
|
thanls for this

Rated by 1 person   Experience Reason  

MAS4112 + 1 Thanks!

Experience +1  View Rating Log

Gold Member

Rank: 3Rank: 3

Credits
234
Device
0
Online time
12 Hours
Send PM
06:10, Jun-14-2017 | From Redmi Note 4X
|
golddddd

Rated by 1 person   Experience Reason  

MAS4112 + 1 Thanks!

Experience +1  View Rating Log

Senior Member

Rank: 2

Credits
55
Device
0
Online time
14 Hours
Send PM
10:56, Jun-14-2017 | From PC
|
Sir, you're awesome! I just got my phone today and followed this tutorial and worked flawlessly! Thank you!

Rated by 1 person   Experience Reason  

MAS4112 + 2 Thanks!

Experience +2  View Rating Log

Platinum Member

Rank: 4

Credits
2864
Device
Redmi Note 4X
Online time
49 Hours
Send PM

Mi MIXMagic CubeMijia VR Play 2Mi HomeUnlock MedalMi ScaleMi VRMi BoxMi TV 70Mi Band 2Xiaomi 7th AnniversaryMIUI Devices ContestMIUI 2016Fantastic!I Love MIUIAwesome!AnTuTuMIUI 8Redmi Note 4X4 Million Forum Members1st AnniversaryXiaomi 6th AnniversarySuper ThursdayRooster Year of 2017MIUI Forum AppSingapore Merlion MedalRocket to FutureMIUI Lucky FridayFan Of MIUI IndiaSuper FridayMIUI World TourSuper TuesdayMIUI Fan from India300K Forum MembersMIUI Happy MedalPuzzle MasterWomen's Day Medal100k Forum MembersHilal Ramadan 500K Forum MembersMIUI 100 Million UsersMIUI 9MIUI 2017MIUI 7th Anniversary90000 Forum Members3 Million Forum MembersMIUI PMIUI S10 Million Forum PostsSuper WednesdaySurge S12 Million Forum MembersFan Of MIUI GreeceMiPopI Love Mi BunnyGamer Mi BunnyMIUI ReviewMIUI Quick DiscussionDebate MasterApp StarBlack SharkXiaomi 8th AnniversaryTechnology GuruMIUI Weekly Devices Quiz5 Million Forum MembersSurpriseYouth PledgeMIUI FollowerRingtone ExpertMIUI Android 4.4 KitKatUpdates LoverMIUI SuperstarMIUI Halloween 20172017 Annual AwardsMIUI Twitter FollowerMIUI G+ FollowerMost Active MIUIerMIUI KingStar Of TechnologyDie-hard MIUI FanMIUI Ice Bucket ChallengeMi Lover MedalAndroid GuruAndroid ElfStar WarsMaster Of TechnologyMIUI ExpertForum Contest LoverScroll Of Wisdom

 Author| 18:02, Jun-14-2017 | From PC
|
xtring replied at 2017-6-14 08:56
Sir, you're awesome! I just got my phone today and followed this tutorial and worked flawlessly! Tha ...

You're welcome...,I'm glad, you find it helpful. And thank you for your nice feedback!
Always Believe that something
Wonderful is about to happen...,

MIUI Beta Team - Global

Decision Defines Destiny

Rank: 6Rank: 6

Credits
8302
Device
Redmi Note 5/Pro
Online time
222 Hours
Send PM

Unlock MedalMijia Story TellerMi BandMi Bluetooth SpeakerMi HomeMIUI Devices ContestAwesome!I Love MIUIRedmi Note 4X4 Million Forum MembersSuper WednesdayMIUI 201790000 Forum MembersRingolicious MedalMIUI Forum AppSuper TuesdayFan Of MIUI India1st Anniversary2 Million Forum MembersHappy Singles' Day100k Forum MembersPuzzle MasterMIUI Philippines Fan MeetupMIUI 7th AnniversaryMIUI 9300K Forum MembersRocket to FutureSummer Mi BunnyGamer Mi BunnyXiaomi 8th AnniversaryMIUI KingNougatAndroid GuruPioneer of MIUI English Forum MIUI FB FollowerMIUI Android 4.4 KitKatAndroid ElfMi TalentMIUI SuperstarMIUI Weekly Devices QuizApp StarStar WarsOTA FeedbackScroll Of WisdomMIUI Medals CollectorMost Active MIUIerMIUI ExpertMIUI Halloween 2017Master Of TechnologyMi Lover MedalUpdates LoverForum Contest LoverTechnology GuruMIUI FollowerIndia Independence DayDie-hard MIUI FanStar Of Technology

16:46, Jun-15-2017 | From Redmi Note 4X
|
thanks

Rated by 1 person   Experience Reason  

MAS4112 + 1 Thanks!

Experience +1  View Rating Log


Platinum Member

Rank: 4

Credits
2864
Device
Redmi Note 4X
Online time
49 Hours
Send PM

Mi MIXMagic CubeMijia VR Play 2Mi HomeUnlock MedalMi ScaleMi VRMi BoxMi TV 70Mi Band 2Xiaomi 7th AnniversaryMIUI Devices ContestMIUI 2016Fantastic!I Love MIUIAwesome!AnTuTuMIUI 8Redmi Note 4X4 Million Forum Members1st AnniversaryXiaomi 6th AnniversarySuper ThursdayRooster Year of 2017MIUI Forum AppSingapore Merlion MedalRocket to FutureMIUI Lucky FridayFan Of MIUI IndiaSuper FridayMIUI World TourSuper TuesdayMIUI Fan from India300K Forum MembersMIUI Happy MedalPuzzle MasterWomen's Day Medal100k Forum MembersHilal Ramadan 500K Forum MembersMIUI 100 Million UsersMIUI 9MIUI 2017MIUI 7th Anniversary90000 Forum Members3 Million Forum MembersMIUI PMIUI S10 Million Forum PostsSuper WednesdaySurge S12 Million Forum MembersFan Of MIUI GreeceMiPopI Love Mi BunnyGamer Mi BunnyMIUI ReviewMIUI Quick DiscussionDebate MasterApp StarBlack SharkXiaomi 8th AnniversaryTechnology GuruMIUI Weekly Devices Quiz5 Million Forum MembersSurpriseYouth PledgeMIUI FollowerRingtone ExpertMIUI Android 4.4 KitKatUpdates LoverMIUI SuperstarMIUI Halloween 20172017 Annual AwardsMIUI Twitter FollowerMIUI G+ FollowerMost Active MIUIerMIUI KingStar Of TechnologyDie-hard MIUI FanMIUI Ice Bucket ChallengeMi Lover MedalAndroid GuruAndroid ElfStar WarsMaster Of TechnologyMIUI ExpertForum Contest LoverScroll Of Wisdom

 Author| 23:57, Jun-17-2017 | From PC
|

You're welcome...,
Always Believe that something
Wonderful is about to happen...,

Senior Member

Rank: 2

Credits
40
Device
0
Online time
1 Hours
Send PM
04:26, Jun-23-2017 | From PC
|
This post was edited by Lostxmind84 at 04:52, Jun-23-2017

Hi, thanks for the tuto ! But i got one problem.. i rebooted to Fastboot mode, but after plug in my phone to the PC, the command adb devices returns nothing.. as if the phone was not connected... And the phone is correctly detected when booted.. Any advice ? thanks !
Edit : in fact it worked even if the "adb devices" command returned nothing.. i used the fastboot command and installation and reboot were OK !

Thanks !

Comment

MAS4112 Replied...,you can check it below!  13:57, Jun-29-2017

Credits Management

Quick Reply Top Return to the list