Hi guys, I am sharing these tuts on rooting and flashing ROM, which was successful for me using Mac OS (sierra) Terminal commands.
This is not my work. This is just to help Mac users
My Phone is REDMI Note 4 Snapdragon
Conditions for this method.
1) Bootloader should be unlocked
2) Mac OS (any version should work as its a terminal command, I used SIERRA).
3) Try these steps only if your are familiar with Flashing Roms and rooting process.
4) Superuser and TWRP recovery are available in this forum, I used those.
5) Fastboot Rom from MIUI : http://en.miui.com/a-234.html
This is step one
Link 1: setup your MAC for ADB
Use this link first, to set up your mac for ADB and Fastboot.
https://www.youtube.com/watch?v=jgM3yHImDR0
This is step two
Link 2: Flash Rom through Fastboot method on a Mac
http://en.miui.com/thread-582874-1-1.html
This is step three
Link 3: Installing TWRP
https://www.youtube.com/watch?v=4mUtvcASz9A
Once TWRP is installed, you can boot to TWRP recovery and mount the internal drive. Then copy the Superuser file to any folder using Android file transfer app on a mac and flash it using the TWRP.
Related
, operable program or batch file.
(update: I'm trying to find a tegra note root guide but I think I'm going to die of old age before I find one that explains the actual steps for 1. finding the tegra note windows drivers 2. how to install them every step explained 3. every step explained how to root this tablet oh god why did I not buy a windows tablet this time ok)
http://forum.xda-developers.com/showthread.php?t=2586432
I tried towelroot but it doesn't do anything after 15 seconds.
You either need to install Fastboot and ADB look in dev are for links or your not in the directory where the adb and fastboot executables are.
This is why your getting this error. Also i have tried towelroot and it froze my tegranote right out i have to reflash the device again to get it working or more over just the /System partition.
If you have gone though the OTA updates and have hit past 4.3 then you can simply use the SuperTool to restore your tablet which has everything in there for you including the fastboot and adb.
Just make sure you wasn't on 4.2.2 before using this methord.
Also you haven't said which brand of tablet you have either.
By looks of the link you posted your after installing root via either CWM or TWRP (I suggest using TWRP!)
if thats the case.
Install fastboot and adb files some where and also the recovery image of choice then do the fastboot flash recovery (name of recovery .img file ) then download the SuperSU zip and flash that in your chosen recovery you will then be rooted!.
kingroot v3.5 or older
If you want to root without PC on TN7 use kingroot and if you having trouble installing fastboot send me an email
Hi.
First I have to apologize for being a noob, and if I am posting questions that has already been answered. I can't post these question in the original thread about F2FS file system, so I am posting this here.
I am currently running stock Android 4.4.4 on my Nexus 7 WiFi (2012), and because it has become very slow, I want to root, install Cyanogenmod and use F2FS file system.
I have used CWM-recovery and installed custom roms on a Huawei device before, so I have some experience with this. I have also some experience with Linux and using ADB. But I don't want to brick my Nexus 7, so I have some questions before I start:
I want to unlock the bootloader and install custom recovery. I want to avoid using toolkits, as I don't know what they installs on my Nexus 7. I found a tutorial here that I am using, but I am not 100% sure if I am following the correct steps?:
1. Install SDK and drivers
2. Enable Debug on the Nexus 7
3. Download CWM-recovery to the same directory as adb.exe on my PC running Windows 8.1
4. With CMD: run command "adb reboot bootloader" then run command "fastboot oem unlock" (I know this will delete all data on my Nexus 7)
5. After unlocking, flash CWM-recovery with the steps from the tutorial: run command "fastboot flash recovery recovery-clockwork-touch-6.0.4.3-grouper.img".
6. Permanent flash CWM-recovery: mount "/System" and rename/backup "recovery-from-boot.p" with the command "mv recovery-from-boot.p recovery-from-boot.bak" (Is this step necessary? I have seen other tutorials skipping this step.)
7. Backup everything from recovery, and move the backup from the Nexus 7 to my PC. (I don't know if this step is necessary, but I'll do it anyway)
Are these seven steps above correct, or am I missing something? If the steps above are correct, then can I now install CM11 Snapshot M7 with F2FS with these steps?:
1. Download and copy "CM11.zip", "gapps.zip" and "LegoKernel-F2FS-140228.zip" from PC to Nexus 7, then install them from CWM-recovery.
2. Download "recovery-F2FS-A.img" to the same directory as adb.exe
3. Reboot the Nexus 7 into Android(CM11), activate Debug, run command "adb reboot bootloader" then flash custom TWRP with the command "fastboot flash recovery recovery-F2FS-A.img"
4. Reboot into TWRP-recovery, go to Wipe menu and format data.
5. Reboot into Android(CM11)
Will these seven+five steps work, or am I missing something? I don't want to brick my Nexus 7, so if someone could verify that these steps is correct, that would be great.
And one more question: Can I change back to CWM-recovery without losing the F2FS file system, or should I just use TWRP?
~Liloolil
Hi!
Liloolil said:
I am currently running stock Android 4.4.4 on my Nexus 7 WiFi (2012), and because it has become very slow, I want to root, install Cyanogenmod and use F2FS file system.
I have used CWM-recovery and installed custom roms on a Huawei device before, so I have some experience with this. I have also some experience with Linux and using ADB. But I don't want to brick my Nexus 7, so I have some questions before I start:
I want to unlock the bootloader and install custom recovery. I want to avoid using toolkits, as I don't know what they installs on my Nexus 7. I found a tutorial here that I am using, but I am not 100% sure if I am following the correct steps?:
1. Install SDK and drivers
2. Enable Debug on the Nexus 7
3. Download CWM-recovery to the same directory as adb.exe on my PC running Windows 8.1
4. With CMD: run command "adb reboot bootloader" then run command "fastboot oem unlock" (I know this will delete all data on my Nexus 7)
5. After unlocking, flash CWM-recovery with the steps from the tutorial: run command "fastboot flash recovery recovery-clockwork-touch-6.0.4.3-grouper.img".
6. Permanent flash CWM-recovery: mount "/System" and rename/backup "recovery-from-boot.p" with the command "mv recovery-from-boot.p recovery-from-boot.bak" (Is this step necessary? I have seen other tutorials skipping this step.)
7. Backup everything from recovery, and move the backup from the Nexus 7 to my PC. (I don't know if this step is necessary, but I'll do it anyway)
Click to expand...
Click to collapse
The tutorial sounds ok to me even though adb is not even needed to unlock the bootloader and flash a new recovery.
Instead you might need "fastboot" for this. Oh and I would use TWRP instead of CWM on the Nexus 7 (it includes F2FS support out of the box):
Code:
fastboot oem unlock
fastboot flash recovery openrecovery-twrp-2.7.1.1-grouper.img
Liloolil said:
Are these seven steps above correct, or am I missing something? If the steps above are correct, then can I now install CM11 Snapshot M7 with F2FS with these steps?:
1. Download and copy "CM11.zip", "gapps.zip" and "LegoKernel-F2FS-140228.zip" from PC to Nexus 7, then install them from CWM-recovery.
2. Download "recovery-F2FS-A.img" to the same directory as adb.exe
3. Reboot the Nexus 7 into Android(CM11), activate Debug, run command "adb reboot bootloader" then flash custom TWRP with the command "fastboot flash recovery recovery-F2FS-A.img"
4. Reboot into TWRP-recovery, go to Wipe menu and format data.
5. Reboot into Android(CM11)
Will these seven+five steps work, or am I missing something? I don't want to brick my Nexus 7, so if someone could verify that these steps is correct, that would be great.
And one more question: Can I change back to CWM-recovery without losing the F2FS file system, or should I just use TWRP?
~Liloolil
Click to expand...
Click to collapse
As long as you can boot through fastboot, it should be ok to make experiments. I don't think that you can brick the device permanently.
Your tutorial again sounds good but I would choose a few different files instead. LegoKernel is from February 2014, there are other kernels in newer versions available...
I have just posted a howto for this in another thread: http://forum.xda-developers.com/showpost.php?p=54004629&postcount=3342
Good luck!
michael_ch said:
Hi!
The tutorial sounds ok to me even though adb is not even needed to unlock the bootloader and flash a new recovery.
Instead you might need "fastboot" for this. Oh and I would use TWRP instead of CWM on the Nexus 7 (it includes F2FS support out of the box):
Code:
fastboot oem unlock
fastboot flash recovery openrecovery-twrp-2.7.1.1-grouper.img
As long as you can boot through fastboot, it should be ok to make experiments. I don't think that you can brick the device permanently.
Your tutorial again sounds good but I would choose a few different files instead. LegoKernel is from February 2014, there are other kernels in newer versions available...
I have just posted a howto for this in another thread: http://forum.xda-developers.com/showpost.php?p=54004629&postcount=3342
Good luck!
Click to expand...
Click to collapse
Thank you! I have now successfully rooted and installed CM11 on my Nexus 7.
This method is only for Moto E 2015 3G version ( Code name Otus ). Do not try On LTE version or on any other phone.
Disclaimer:
Code:
1.) I am not responsible for a bricked device if you don't follow all the instructions correctly.
2.) The development is still in initial stages. Try this on your own risk. Me or any other developer will not be responsible
for your bricked devices.
All credits goes to @squid2 for creating the recovery and guiding me and @cybojenix for initial development.
I am merely putting all the things together and encapsulating in one thread.
Pre Requirements :
1.) Download Moto E drivers from http://androidxda.com/download-motorola-usb-drivers. Make Sure you Download the correct driver.
2.) Setup ADB By following Q 03 of http://forum.xda-developers.com/moto-e-2015/help/faq-frequently-questions-moto-e-2015-t3044929 ( Thread) by Lucas Eugene.
2.) Unlocked Bootloader. ( Follow @Lucas Eugene Guide from http://forum.xda-developers.com/moto-e-2015/general/guide-unlock-bootloader-moto-e-2015-t3045748.
Download and flash latest TWRP recovery for Moto E 2015 3G created by @squid2 from here http://forum.xda-developers.com/moto-e-2015/orig-development/twrp-recovery-moto-e-3g-2015-t3084849 .
The steps to flash recovery are :-
1.) Put the downloaded recovery file in C:\Program Files\Android\android-sdk\platform-tools\
2.)Go to command prompt and while being in the platform tools folder enter.
Code:
adb devices ( this should detect your device )
adb reboot bootloader ( alternately you can press volume down and power button Simultaneously)
This should open fastboot mode on your devices.
Now give the following code
Code:
fastboot flash recovery twrp-otus-2.8.6-test4.img
adb reboot
The recovery is now flashed onto your devices.
Now for Rooting :
1.) Download latest SuperSu from here http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip.
2.) Put the SuperSu Zip at the root of your SD card.
3.) Now go into fast boot mode again by process described above.
4.) Flash the SuperSu zip from recovery from SD card.
5.) Reboot the Device and Voila.......You are Rooted.
In Any case do not use this if you are not familiar with the process.
Thanks to @squid2 , @cybojenix , @Lucas Eugene for the resources and Guides.
If you have any confusion about this. Please feel free to ask.
Reserved
Explain clearly plz
explain clearly i can't understand i am new in this rooting thing
Ravx said:
This method is only for Moto E 2015 3G version ( Code name Otus ). Do not try On LTE version or on any other phone.
Disclaimer:
Code:
1.) I am not responsible for a bricked device if you don't follow all the instructions correctly.
2.) The development is still in initial stages. Try this on your own risk. Me or any other developer will not be responsible
for your bricked devices.
All credits goes to @squid2 for creating the recovery and guiding me and @cybojenix for initial development.
I am merely putting all the things together and encapsulating in one thread.
Pre Requirements :
1.) Download Moto E drivers from http://androidxda.com/download-motorola-usb-drivers. Make Sure you Download the correct driver.
2.) Setup ADB By following Q 03 of http://forum.xda-developers.com/moto-e-2015/help/faq-frequently-questions-moto-e-2015-t3044929 ( Thread) by Lucas Eugene.
2.) Unlocked Bootloader. ( Follow @Lucas Eugene Guide from http://forum.xda-developers.com/moto-e-2015/general/guide-unlock-bootloader-moto-e-2015-t3045748.
Download and Boot( Do not Install) TWRP recovery for Moto E 2015 3G created by @squid2 from here http://forum.xda-developers.com/moto-e-2015/orig-development/twrp-recovery-moto-e-3g-2015-t3084849 .
Now here is the trick part. Do not flash the recovery for now. Instead boot it from cmd prompt because its under development.
Now for Rooting :
1.) Boot into Recovery. ( Do not flash it).
2.) Download latest SuperSu from here http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip.
3.) Put the SuperSu Zip at the root of your SD card.
4.) Flash the SuperSu zip from recovery from SD card.
5.) Reboot the Device and Voila.......You are Rooted.
In Any case do not use this if you are not familiar with the process.
Thanks to @squid2 , @cybojenix , @Lucas Eugene for the resources and Guides.
If you have any confusion about this. Please feel free to ask.
Click to expand...
Click to collapse
yash.gamer said:
explain clearly i can't understand i am new in this rooting thing
Click to expand...
Click to collapse
What part of the guide you didnt understand. You will have to be very precise about following the method. you will probably brick your phone if you dnt do it properly. I will suggest first you understand all the things before trying.
I don't get it how to flash supersu.zip
Ravx said:
What part of the guide you didnt understand. You will have to be very precise about following the method. you will probably brick your phone if you dnt do it properly. I will suggest first you understand all the things before trying.
Click to expand...
Click to collapse
yash.gamer said:
I don't get it how to flash supersu.zip
Click to expand...
Click to collapse
The method to boot into recovery from cmd prompt is explained in above steps. First understand them and then go ahead.
How to detect the device in adb
Hey thanks to @squid2 and @Ravx and all respective devs for making the root and recovery for mot e 3g.
I am using ubuntu and installed adb using sudo apt-get install android-tools-fastboot command.
When I am doing the fastboot boot twrp.img terminal says waiting for device.
How to detect the moto e 2015 3g in adb as I am new to adb.
How to detect the device in adb
Hey thanks to @squid2 and @Ravx and all respective devs for making the root and recovery for mot e 3g.
I am using ubuntu and installed adb using sudo apt-get install android-tools-fastboot command.
When I am doing the fastboot boot twrp.img terminal says waiting for device.
How to detect the moto e 2015 3g in adb as I am new to adb.
Thanks a lot and lot
Finally! Rooted. Viper4android is working and that means a lot to me:laugh:. Thanks and Thanks and Thanks. @Ravx
ferroca20 said:
Hey thanks to @squid2 and @Ravx and all respective devs for making the root and recovery for mot e 3g.
I am using ubuntu and installed adb using sudo apt-get install android-tools-fastboot command.
When I am doing the fastboot boot twrp.img terminal says waiting for device.
How to detect the moto e 2015 3g in adb as I am new to adb.
Click to expand...
Click to collapse
ADB and fastboot are different things. To use fastboot, you have to get your phone into bootloader mode (turn off, hold PWR and VOL- for 3 seconds, then let go). Alternatively, you can enter bootloader mode while Android is running with ADB enabled by running the command "adb reboot bootloader". Make sure that your udev rules give you permissions to access your phone's USB device.
---------- Post added at 01:28 AM ---------- Previous post was at 01:26 AM ----------
I've put out a new version (2.8.6-test4) that fixes an issue with loading the recovery from flash. While the procedure described here still works, you can now safely flash the recovery by running "fastboot flash recovery blah.img"
thanxxxxx
finally we can root our moto e now. Thank you so much. Will now be able to use gl2sd
Is flashing the new recovery working for you guys. If yes I will update the thread so that the method becomes more easy.
Ya i flashed it and it working great thanks
Unable to flash twrp. Error :fail to load ---------------------------.img
Ravx said:
This method is only for Moto E 2015 3G version ( Code name Otus ). Do not try On LTE version or on any other phone.
Disclaimer:
Code:
1.) I am not responsible for a bricked device if you don't follow all the instructions correctly.
2.) The development is still in initial stages. Try this on your own risk. Me or any other developer will not be responsible
for your bricked devices.
All credits goes to @squid2 for creating the recovery and guiding me and @cybojenix for initial development.
I am merely putting all the things together and encapsulating in one thread.
Pre Requirements :
1.) Download Moto E drivers from http://androidxda.com/download-motorola-usb-drivers. Make Sure you Download the correct driver.
2.) Setup ADB By following Q 03 of http://forum.xda-developers.com/moto-e-2015/help/faq-frequently-questions-moto-e-2015-t3044929 ( Thread) by Lucas Eugene.
2.) Unlocked Bootloader. ( Follow @Lucas Eugene Guide from http://forum.xda-developers.com/moto-e-2015/general/guide-unlock-bootloader-moto-e-2015-t3045748.
Download and flash latest TWRP recovery for Moto E 2015 3G created by @squid2 from here http://forum.xda-developers.com/moto-e-2015/orig-development/twrp-recovery-moto-e-3g-2015-t3084849 .
The steps to flash recovery are :-
1.) Put the downloaded recovery file in C:\Program Files\Android\android-sdk\platform-tools\
2.)Go to command prompt and while being in the platform tools folder enter.
Code:
adb devices ( this should detect your device )
adb reboot bootloader ( alternately you can press volume down and power button Simultaneously)
This should open fastboot mode on your devices.
Now give the following code
Code:
fastboot flash recovery twrp-otus-2.8.6-test4.img
adb reboot
The recovery is now flashed onto your devices.
Now for Rooting :
1.) Download latest SuperSu from here http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip.
2.) Put the SuperSu Zip at the root of your SD card.
3.) Now go into fast boot mode again by process described above.
4.) Flash the SuperSu zip from recovery from SD card.
5.) Reboot the Device and Voila.......You are Rooted.
In Any case do not use this if you are not familiar with the process.
Thanks to @squid2 , @cybojenix , @Lucas Eugene for the resources and Guides.
If you have any confusion about this. Please feel free to ask.
Click to expand...
Click to collapse
I am unable to flash twrp recovery. There is no android sdk folder on android folder, there is only android studio folder. While android sdk folder is on user folder. When i copy the .img file. It says in the cmd erro : fail to load .img
Shahidd said:
I am unable to flash twrp recovery. There is no android sdk folder on android folder, there is only android studio folder. While android sdk folder is on user folder. When i copy the .img file. It says in the cmd erro : fail to load .img
Click to expand...
Click to collapse
I think you have downloaded the whole android studio. see where the folder ' platform tools' is and paste the recovery there. copy the cmd from system32 and paste it in platform tools folder. then run the cmd prompt from there.
how to root moto e
Ravx said:
This method is only for Moto E 2015 3G version ( Code name Otus ). Do not try On LTE version or on any other phone.
Disclaimer:
Code:
1.) I am not responsible for a bricked device if you don't follow all the instructions correctly.
2.) The development is still in initial stages. Try this on your own risk. Me or any other developer will not be responsible
for your bricked devices.
All credits goes to @squid2 for creating the recovery and guiding me and @cybojenix for initial development.
I am merely putting all the things together and encapsulating in one thread.
Pre Requirements :
1.) Download Moto E drivers from http://androidxda.com/download-motorola-usb-drivers. Make Sure you Download the correct driver.
2.) Setup ADB By following Q 03 of http://forum.xda-developers.com/moto-e-2015/help/faq-frequently-questions-moto-e-2015-t3044929 ( Thread) by Lucas Eugene.
2.) Unlocked Bootloader. ( Follow @Lucas Eugene Guide from http://forum.xda-developers.com/moto-e-2015/general/guide-unlock-bootloader-moto-e-2015-t3045748.
Download and flash latest TWRP recovery for Moto E 2015 3G created by @squid2 from here http://forum.xda-developers.com/moto-e-2015/orig-development/twrp-recovery-moto-e-3g-2015-t3084849 .
The steps to flash recovery are :-
1.) Put the downloaded recovery file in C:\Program Files\Android\android-sdk\platform-tools\
2.)Go to command prompt and while being in the platform tools folder enter.
Code:
adb devices ( this should detect your device )
adb reboot bootloader ( alternately you can press volume down and power button Simultaneously)
This should open fastboot mode on your devices.
Now give the following code
Code:
fastboot flash recovery twrp-otus-2.8.6-test4.img
adb reboot
The recovery is now flashed onto your devices.
Now for Rooting :
1.) Download latest SuperSu from here http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip.
2.) Put the SuperSu Zip at the root of your SD card.
3.) Now go into fast boot mode again by process described above.
4.) Flash the SuperSu zip from recovery from SD card.
5.) Reboot the Device and Voila.......You are Rooted.
In Any case do not use this if you are not familiar with the process.
Thanks to @squid2 , @cybojenix , @Lucas Eugene for the resources and Guides.
If you have any confusion about this. Please feel free to ask.
Click to expand...
Click to collapse
plz tell me how to root moto e because when i put the code in moto official website for 20 digit unique code then it says uh r not eligible so plz help me
Cannot root
After unlocking and flashing the device, I enter fastboot again (power + volume down), I then select recovery from the menu, but all I get is "No command"message with a dead droid logo
I get error DNS not authoritative for zone? I have never seen this error in all of my times of using ADB
rooting after OTA update of android 5.1 on otus xt1506
i am rooted on stock rom and i am recieving OTA update of 5.1 version..i have 2 questions:
1- can installing OTA update cause problems (brick,etc).?
2- will i be able to root it after updating it..!?
any help would be appreciated...!!
Hi there, I'm trying to follow your guide but am getting stuck after flashing. After trying to go into recovery mode I get the message
AP Fastboot Flash Mode (Secure)
Error: failed to load kernel!
Fastboot Reason: Fall-through from recovery boot mode
Any help would be greatly appreciated!
Many noobs New Users are experiencing Problems rooting Lenovo K3 Note on Marshmallow Rom. So this tutorial will help them Root Lenovo k3 Note and install Custom recovery.:good::good::good:
This is not a cookbook, You need to know what are you doing. Neither I nor XDA is responsible for BRICKED Devices.
Downloads:
Boot.img
SP Flash Tool
(optional)Lenovo K3 Note Stock ROM
Recovery
ADB AND FASTBOOT
Patience
Now to Root Your phone Follow These Steps:
(OPTIONAL) Flash Your Phone with Stock Rom, To do this follow these steps :
Install All the required Drivers.
Download the LENOVO K3 NOTE FIRMWARE from Above.
Now Extract SP Flash Tool And extract FIRMWARE Folder inside it.
Now Run flash_tool.exe as Administrator.
Go to Options>Download> And check both the checkbox(s).
Now Click On Scatter-Loading and navigate to Firmware>target_bin>and select MT6752_Android_scatter.txt .
and click on DOWNLOAD.
NOW connect your Device Powered OFF to your computer and Wait Till a Box Appears Saying "Download OK".
Turn ON your Mobile and complete the initialization.
Now Download the Recovery, Extract it, and load its scatter file in the SP FLASH TOOL with the same config.
And again connect the phone Powered OFF after clicking Download Button.
When it completes. Try to Boot into recovery (by holding VOL+, VOL- and Power button simultaneously).
IF TWRP boots You are good to Go. :good::good::good:
Now Reboot into system and open Settings>DEVELOPER Options and click on USB DEBUGGING and ALLOW OEM UNLOCK.
Now Extract ADB and FASTOOT tools (and PLACE boot.img in the folder) and shift+right-click in the folder and select open command window here.
and type
Code:
adb devices
allow ADB to connect on your phone and then type
Code:
adb reboot-bootloader
Now your phone will reboot in FASTBOOT MODE type
Code:
fastboot devices
if it shows your device then type
Code:
fastboot flash boot boot.img
then type
Code:
fastboot reboot
After that switch off your Phone and boot into recovery.
Now install the SuperSU zip.
Hurray Your Phone is ROOTED.
If you Have Any Problems please Reply :crying::crying:
What's the encryption key of recovery file
Rishi.Nerd said:
What's the encryption key of recovery file
Click to expand...
Click to collapse
I have Updates the Links They should now be working fine.
Albert
Anunay.j said:
I have Updates the Links They should now be working fine.
Click to expand...
Click to collapse
..... i finish to root but my device wont start anymore
custom rom installation without rooting
I have s433 firmware android 6.0,
1. if I just want to install twrp ( without rooting), do I need to flash boot.img
2. if want to install custom ROM and still don’t want to root, do I need to flash boot.img
3. after a litte bit googling i found i need to have an unlocked bootloader and custom recovery for flashing custom rom ,
how do i unlock bootloader ( is boot.img fot that )
Notes About Xiaomi Mi Devices:
Some Xiaomi Mi devices have bootloaders that require additional steps to unlock before you are able to flash custom images. This typically involves filling out an application to have your device unlocked.
You will need to follow the steps on Xiaomi's MIUI website in order to unlock your device.
Understand that unlocking your device will wipe all of your personal data, settings, and apps from its memory.
TWRP Install (Requires TWRP 2.8.4 or higher already installed):
Download the latest TWRP image file (.img) from the download link and boot TWRP. Go to install and find and select the Images... button. Browse to the image that you downloaded and select it. Choose recovery and swipe to flash.
Fastboot Install Method (No Root Required):
You will need the platform-tools from the Android SDK on your computer. Find the Android command line tools section on the page linked and install the SDK tools package. From the SDK Manager, download only the platform-tools to get adb and fastboot binaries.
Windows users will need proper drivers installed on their computer. You can try the simple FWUL adb/fastboot ISO or the Naked ADB drivers or the Universal ADB drivers if you don't already have a working driver installed
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
adb reboot bootloader
You should now be in fastboot mode.
Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:
fastboot flash recovery twrp.img
fastboot reboot
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
dd Install Method (Requires Root):
Download the latest image file (.img) from the download link above. Place it in the root of your /sdcard folder and rename it to twrp.img. Run the following commands via adb shell or a terminal emulator app:
su
dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/recovery
#Download
dl.twrp.me/mido/twrp-3.2.1-0-mido.img
All credit goes to TWRP Devoloper
I am just share the file
abed0203 said:
Notes About Xiaomi Mi Devices:
Some Xiaomi Mi devices have bootloaders that require additional steps to unlock before you are able to flash custom images. This typically involves filling out an application to have your device unlocked.
All credit goes to TWRP Devoloper
I am just share the file
Click to expand...
Click to collapse
Thanks Thanks and once again, Thanks. It works fine with my RN 4 SD!
Please help me how to install twrp and root on redmi note 4x/mido miui 9.5.9.0...help me master...
ungah said:
Please help me how to install twrp and root on redmi note 4x/mido miui 9.5.9.0...help me master...
Click to expand...
Click to collapse
https://forum.xda-developers.com/re...p-step-guide-to-flash-android-n-beta-t3551221
Is it Treble supported?
Rifat Rezwan said:
Is it Treble supported?
Click to expand...
Click to collapse
I think this is a FAQ now. Official TWRP doesn't support Treble. There is a custom Treble version, which you can find a link to on the LOS 15.1 Treble threads.
You can also try OrangeFox TWRP, which supports Treble.