Hi guys. I was trying to install miui on my phone by twrp because there was a version of aex. When i tried to install the file twrp crashed and my phone turn off. now it can only go in fastboot mode, what can i do? I only want to install twrp and then install the miui. If you know another method, please help me.
P.S. I don't have usb debugging enabled.
Check that your Bootloader has not been locked again.
If unlocked officially, just use Mi Unlock to unlock it again.
Try Flash/Boot TWRP again and proceed with your flashing.
If the above doesn't work flash a fastboot version of MIUI with MiFlash (you may need to use EDL mode)
https://www.reddit.com/r/Xiaomi/wiki/flashing/miflash
Edit: - Official TWRP and MIUI don't work well together, you also may need to patch the boot image.
The Fastboot installation process goes all fine but device boots into Mi-Recovery by default. Currently Using Miui 9 Dev Rom (7.12.21 | Beta). This happened after I flashed the stock Dev rom after accidentally bricking my phone while unrooting through SuperSu's Full Unroot Option.
Bootloader is unlocked. Help asap plz.
Using The 4Gb 64Gb variant.
Hi,
if you flash Global Developer rom using Fastboot method, you will always flash a stock recovery with it.
There is a great manual how to unlock your device on official CZ and SK webpage created by local admins.
Just go to miuios.cz (translate it to ENG using browser like chrome or others) create an account to be able see the links.
Then on the main page scroll down to Redmi note 4 and check
[NÁVODY] - základné /Bootloader/TWRP/MIUI/ROOT
there is everything you need to unlock device with software you need.
All credits to miuios team.
Crys2perk said:
The Fastboot installation process goes all fine but device boots into Mi-Recovery by default. Currently Using Miui 9 Dev Rom (7.12.21 | Beta). This happened after I flashed the stock Dev rom after accidentally bricking my phone while unrooting through SuperSu's Full Unroot Option.
Bootloader is unlocked. Help asap plz.
Using The 4Gb 64Gb variant.
Click to expand...
Click to collapse
I think is a problem about installation process (I had the same problem with another phone), but you can still access twrp with your computer. Just use this command: Fastboot boot "twrp.img".
Update "twpr.img" with your own twrp´s file name.
Wait untill phone´s reboot (more than 15s.)
Then use it as usual
Good luck
XiaomiRedUser said:
I think is a problem about installation process (I had the same problem with another phone), but you can still access twrp with your computer. Just use this command: Fastboot boot "twrp.img".
Update "twpr.img" with your own twrp´s file name.
Wait untill phone´s reboot (more than 15s.)
Then use it as usual
Good luck
Click to expand...
Click to collapse
I ran into the same problem after unlocking the bootlader:
TWRP would not install -> [Vol+] + [Power] started only the MIUI recovery.
But after some search, I found that you have to:
enter in a terminal "fastboot flash recovery twrp-x.x.x-x-mido.img"
enter after that "fastboot boot twrp-x.x.x-x-mido.img"
My Note 4 then started in TWRP.
EDIT:
Corrected step 2
Crys2perk said:
The Fastboot installation process goes all fine but device boots into Mi-Recovery by default. Currently Using Miui 9 Dev Rom (7.12.21 | Beta). This happened after I flashed the stock Dev rom after accidentally bricking my phone while unrooting through SuperSu's Full Unroot Option.
Bootloader is unlocked. Help asap plz.
Using The 4Gb 64Gb variant.
Click to expand...
Click to collapse
After flashing twrp, directly from terminal boot to twrp and flash super su along with lazyflasher, after that reboot, when rebooted install official twrp app and super su app, and using the twrp app once again install twrp. That shld do.
MyNameIsRage said:
After flashing twrp, directly from terminal boot to twrp and flash super su along with lazyflasher, after that reboot, when rebooted install official twrp app and super su app, and using the twrp app once again install twrp. That shld do.
Click to expand...
Click to collapse
Tried This Still Not Working.
I directly booted from fastboot to TWRP
I Magisk Rooted then , which works fine now.
tinaeire said:
I ran into the same problem after unlocking the bootlader:
TWRP would not install -> [Vol+] + [Power] started only the MIUI recovery.
But after some search, I found that you have to:
enter in a terminal "fastboot flash recovery twrp-x.x.x-x-mido.img"
enter after that "adb reboot recovery"
My Note 4 then started in TWRP.
Click to expand...
Click to collapse
How did you get ADB commands to work in Fastboot? Having the same TWRP problem right now.
dancress said:
How did you get ADB commands to work in Fastboot? Having the same TWRP problem right now.
Click to expand...
Click to collapse
From a terminal from your PC. With a Windows open "cmd.exe".
tinaeire said:
From a terminal from your PC. With a Windows open "cmd.exe".
Click to expand...
Click to collapse
ADB doesn't work in Fastboot... fastboot.exe does. And that can only boot into itself (the bootloader), not the recovery.
Anyway, I solved the problem. Mine is a 4X not a Note 4X. Damn you Xiaomi... they are exactly alike!
dancress said:
ADB doesn't work in Fastboot... fastboot.exe does. And that can only boot into itself (the bootloader), not the recovery.
Anyway, I solved the problem. Mine is a 4X not a Note 4X. Damn you Xiaomi... they are exactly alike!
Click to expand...
Click to collapse
You are right, my mistake.
adb does not work and I mixed it up.
But I did test 'fastboot boot twrp-x.x.x-x-mido.img' in fastboot mode and it worked on my Note 4.
tinaeire said:
I ran into the same problem after unlocking the bootlader:
TWRP would not install -> [Vol+] + [Power] started only the MIUI recovery.
But after some search, I found that you have to:
enter in a terminal "fastboot flash recovery twrp-x.x.x-x-mido.img"
enter after that "fastboot boot twrp-x.x.x-x-mido.img"
Click to expand...
Click to collapse
As others have reported, I had the same issue too. I was able to boot to TWRP with the fastboot boot command above, but it looks like after you boot to the stock ROM (mine was MIUI V9.2.1.0.NCFMIEK as far as I remember), the TWRP recovery gets replaced by the stock one. After flashing LineageOS (official lineage-14.1-20180331-nightly-mido-signed.zip), I can now properly reboot to TWRP with Vol+ & Power.
Thanks for the tip @tinaeire :good:
Why aren't devs mentioning this in the instructions right after the recovery flash command? I'll never understand. I guess it's more MIUI's fault for being so weird about the bootloader.
TWRP boots stable
Press VOLUME-UP and POWER together, when you feel the vibration release the buttons.
-> boots into TWRP
If you hold the two buttons until you see the TWRP logo flash up and release them at that moment -> boots to MIUI.
Did that with phone mentioned below, TWRP 3.2.1, and MIUI Global 9.2 Stable.
I am also facing the same problem, please someone guide me thoroughly how to root my xiaomi redmi note 4 snapdragon global stable version. i have successfully unlocked my phone but i can't start it up in twrp recovery mode. please tell me all the steps and files necessary.
habib_561 said:
I am also facing the same problem, please someone guide me thoroughly how to root my xiaomi redmi note 4 snapdragon global stable version. i have successfully unlocked my phone but i can't start it up in twrp recovery mode. please tell me all the steps and files necessary.
Click to expand...
Click to collapse
Once you flash TWRP via fastboot then use command fastboot boot xxx.img
So, you'll be able to boot to TWRP, next flash magisk for MIUI, install lazyflasher.zip and reboot and check if TWRP sticks.
i have the same issue after flash the twrp and it reboot back to mi recovery instead. However i am using redmi K20.
Found out that the issue is the twrp.img file that you flash must be a correct one that your download for your device.
If it is not the correct file ( my case is using redmi k20 pro instead of redmi k20 twrp.img), i will always failed and stay at mi recovery.
Hey there,
Gone through every other thread in XDA and most other blogs already. I'm pretty used to rooting and modding android devices, still i somehow find rooting this dirty device harder than I expected.
It's been 2 days now and I could really use some 1-1 help for my case. So, my stock is MIUI Global 11.0.8 Stable 11.0.8.0 PCQINXM, I already unlocked the bootloader and flashed the latest PBRP. On attempting to flash Magisk, I don't find any success regardless of error/ no error messages.
1. I extracted my boot.img with
i) adb shell dd if=/dev/block/by-name/boot of=/sdcard/boot.img
ii) from my ROM via xiaomifirmwareupdater.com repo
2. Used recovery.img that came with olivewood's PBRP.
Patched both of them via Magisk Manager with Recovery Mode checked on.
3. Used vbmeta.img that came with stock ROM.
4. Flashed using fastboot flash boot c:\boot.img
fastboot flash recovery c:\recovery.img
fastboot flash vbmeta c:\vbmeta.img
Still can't seem to complete the root successfully.
What am i doing wrong?
P.S.: I found that flashing a recovery patched this way leads to issues, that I'm stuck in fastboot even if I try to boot to system or PBRP recovery. Flashing the original recovery.img from PBRP repo gets back the recovery menu.
prashanth_ said:
Hey there,
Gone through every other thread in XDA and most other blogs already. I'm pretty used to rooting and modding android devices, still i somehow find rooting this dirty device harder than I expected.
It's been 2 days now and I could really use some 1-1 help for my case. So, my stock is MIUI Global 11.0.8 Stable 11.0.8.0 PCQINXM, I already unlocked the bootloader and flashed the latest PBRP. On attempting to flash Magisk, I don't find any success regardless of error/ no error messages.
1. I extracted my boot.img with
i) adb shell dd if=/dev/block/by-name/boot of=/sdcard/boot.img
ii) from my ROM via xiaomifirmwareupdater.com repo
2. Used recovery.img that came with olivewood's PBRP.
Patched both of them via Magisk Manager with Recovery Mode checked on.
3. Used vbmeta.img that came with stock ROM.
4. Flashed using fastboot flash boot c:\boot.img
fastboot flash recovery c:\recovery.img
fastboot flash vbmeta c:\vbmeta.img
Still can't seem to complete the root successfully.
What am i doing wrong?
P.S.: I found that flashing a recovery patched this way leads to issues, that I'm stuck in fastboot even if I try to boot to system or PBRP recovery. Flashing the original recovery.img from PBRP repo gets back the recovery menu.
Click to expand...
Click to collapse
I have miui 12 how to root?
Ameer9963 said:
I have miui 12 how to root?
Click to expand...
Click to collapse
Which guide have you followed?
prashanth_ said:
Which guide have you followed?
Click to expand...
Click to collapse
I have followed miui 11 guide
But i have miui 12
Ameer9963 said:
I have followed miui 11 guide
But i have miui 12
Click to expand...
Click to collapse
Plz post how to patch boot image
Magist patched boot image not working to root
So i wanted to install custom rom on my redmi 8a, installed TWRP and wiped the system without installing the rom, now my phone is stuck in the fastboot mode because i don't have system to load, also can't access the TWRP and file system from the pc. How can i flash MIUI? Tried with Mi Flash Tool, got an error "missmatching image and device". I tried downloading several different roms and also from official website, but still didn't succeed in flashing and every time get this exact error.
SOLVED! flashed patched vbmeta through fastboot and can open TWRP now
Hi.
So, I'm exactly in the same situation. For a moment there I thought I perma-bricked my phone...
Anyway, can you tell me more about how you solved it?
Where did you get the patched vbmeta file?
How can I flash it? Is it just a simple fastboot flash <partition> <file> command?
Anything else I need besides the vbmeta file?
Thanks in advance.
Hello, I tried to root my Xiaomi 11T and now I'm stuck in fastboot. Bootloader is unlocked, I tried to flash stock rom via fastboot, Global and EEA Rom and nothing work... Phone is stuck how is it in the photo... Fastboot reboot put it back here. Does anybody have an idea what should I do? Thank you!
Rom is downloaded from: https://xiaomifirmwareupdater.com/miui/agate/
Hello,
Try to boot to recovery (power&vol+)
or
Try to dl the rom from here:
Xiaomi Community
c.mi.com
Find your rom (fastboot).
Flash it with Xiaomi Mi Flash Tool.
SAMPPLE said:
Hello, I tried to root my Xiaomi 11T and now I'm stuck in fastboot. Bootloader is unlocked, I tried to flash stock rom via fastboot, Global and EEA Rom and nothing work... Phone is stuck how is it in the photo... Fastboot reboot put it back here. Does anybody have an idea what should I do? Thank you!
Rom is downloaded from: https://xiaomifirmwareupdater.com/miui/agate/
Click to expand...
Click to collapse
open minimal and write. fastboot set_active a