my MI 11x is running on xiaomi.eu stable 12.5.2.0. i installed it via fastboot method. now there is an update on this so i have to install TWRP.
i have tried "fastboot flash recovery twrp.img" method and it is unable to find recovery partition.
then i tried "fastboot boot twrp.img"
from that i got twrp but can't install recovery ramdisc because twrp is not showing my internal files.
please show me the way to do it.
Same query here.
djdhiraj139 said:
my MI 11x is running on xiaomi.eu stable 12.5.2.0. i installed it via fastboot method. now there is an update on this so i have to install TWRP.
i have tried "fastboot flash recovery twrp.img" method and it is unable to find recovery partition.
then i tried "fastboot boot twrp.img"
from that i got twrp but can't install recovery ramdisc because twrp is not showing my internal files.
please show me the way to do it.
Click to expand...
Click to collapse
Hi since u already on EU ROM 12.5.2.0. please follow the below steps.
First download the TWRP image file and place it in adb tools folder. Also rename the file to twrp.img
Second download the EU 12.5.3.0 ROM Zip file and keep it in your internal memory.
Third boot your handset into fastboot mode
Fourthl launch command prompt in abd tools folder and in the command prompt type "fastboot boot twrp.img". You will see that boot.img file is being sent to your device and your device will boot into TWRP.
Fifth, click on Install button in TWRP in handset and select the ROM Zip file and proceed further. Your update will be installed and handset will boot into Miui with Miui EU 12.5.3.0 installed. Also you will have TWRP installed on your handset as this ROM update comes with TWRP installation too.
Thanks.
Edit: It may ask some PIN/Password in TWRP. Its nothing but your PIN/Password with which you unlock device in addition to fingerprint/pattern lock.
Related
Here is the installation Guide.
Download the TWRP 3.2.0-20160712_zukz2 CN version from here.
Extract the .img file from the download and rename is to recover.img and copy to the ADB folder.
start the ADB, check the connection with adb devices .
Boot the phone to fastboot by typing
adb reboot bootloader
To flash the TWRP recovery type -
fastboot -i 0x2b4c flash recovery recovery.img
If you do not want to install permanently and just want to boot it to TWRP, type -
fastboot -i 0x2b4c boot recovery.img
This TWRP is a Chinese version by default. To change the language to English, tab the third block in the 2nd column and in the new page select the globe symbol and then change it to English. Here is the video.
After flashing TWRP and changing the language to Eng don't forget to boot back to the recovery first time (instead of system) to avoid stock-recovery overwriting the TWRP.
This TWRP version works with flashing CM13 and CM14 (LineageOS).
Hi,
I've installed the last chinese official 2.5.334 ST and I've lost the recovery. I'm trying to install the recovery again, and it it seems that the installation is correct but when I try to access to the recovery via power button + volume + the phone runs directly to the system.
Any help?
Here is link for latest official twrp 3.1.0-0 https://dl.twrp.me/z2/twrp-3.1.0-0-z2.img.html
This TWRP works on ZUI 2.1?
Hi guys,
I've just updated to newest OOS firmware wich is 5.1.2 and I'm facing a weird problem.
Every time I flash codeworks TWRP and reboot to system, the next time i try to boot to recovery it boots to the original recovery.
It's like when I flash TWRP it doesn't remain persistent. When i flash it through fastboot and straightly boot from fastboot to recoverry I succeed to get in TWRP but as soon as I reboot to system and try to boot to recovery I reach the original OnePlus recovery.
Is anyone facing the same problem ?
And also do you have any idea about what i could do to solve this problem ?
Thanks in advance for your answers !
If you don't have root or custom kernel its normal, plus you should use blu spark's twrp, its newer and more reliable.
Adnan008 said:
If you don't have root or custom kernel its normal, plus you should use blu spark's twrp, its newer and more reliable.
Click to expand...
Click to collapse
Indeed, I just needed to flash magisk to get it persistent. I'll try blu spark's one as you suggested.
Thank you very much for your answer !
Cheers !
Nothing to do with recoveries or kernel. After you do the fastboot flash recovery TWRP in fastboot, do this: "fastboot boot TWRP". I believe that's the right command. Basically after you flash it, manually boot to recovery through fastboot one time. After that it'll work from inside the phone or with the button combination with the phone off.
Jesus people are lazy these days.
First off there are official twrp versions for a reason!
Download the latest version: https://dl.twrp.me/dumpling/
Reboot into flash boot with the following command from your rom: adb reboot bootloader
With phone in fastboot mode: fastboot flash recovery 'twrp.img'
(You don't need to type out the entire file path you can just drag the file into the terminal and it'll insert the file location)
The reason you're not getting back into that recovery is because you're not booting into the recovery before you reboot into your ROM.
There is an option to boot straight into the recovery from the fastboot mode
pinnekeshaar said:
Jesus people are lazy these days.
First off there are official twrp versions for a reason!
Download the latest version: https://dl.twrp.me/dumpling/
Reboot into flash boot with the following command from your rom: adb reboot bootloader
With phone in fastboot mode: fastboot flash recovery 'twrp.img'
(You don't need to type out the entire file path you can just drag the file into the terminal and it'll insert the file location)
The reason you're not getting back into that recovery is because you're not booting into the recovery before you reboot into your ROM.
There is an option to boot straight into the recovery from the fastboot mode
Click to expand...
Click to collapse
Actually not that lazy because I used to do what you mentionned.
The thing is that a flash of Magik is needed to patch twrp. That's the step I forgot in the procedure and explained here.
So before being unpleasant, please know what you're talking about...
Cheers !
Hello,
I haved try to install TWRP on a Xiaomi redmi note 5 pro, with ADB and fastboot
adb reboot bootloader
fastboot devices
fastboot flash recovery twrp.img
fastboot boot twrp.img
The last line, is ok only when i am in the directory on my PC where the twrp.img is present.
I can't boot on TWRP with the volume and power button, the phone always returnon MI recovery.
And i can't install the magisk image from the phone.
I have unlock the phone.
i have search but i can't uderstand where is the problem.
Thank's for your help.
François-Marie
check the ARB status
if you are in ARB4 then you have to flash dummy.img before flash twrp
conspiracyharry said:
check the ARB status
if you are in ARB4 then you have to flash dummy.img before flash twrp
Click to expand...
Click to collapse
Yes i know that, i am with ARB 4, i make it before flashing TWRP. Flashing dummy.img work's fine.
billard_fm said:
Yes i know that, i am with ARB 4, i make it before flashing TWRP. Flashing dummy.img work's fine.
Click to expand...
Click to collapse
When you get boot in TWRP first time flash TWRP again with TWRP...1st time you boot TWRP with PC, than flash TWRP.img with TWRP. And don't forget to flash magisk to fix TWRP boot or flash dm-verty.zip. I would use OrangeFox recovery instead->flash it in TWRP after 1st pc boot and your done no extra steps needed.
Good luck.
drnightshadow said:
When you get boot in TWRP first time flash TWRP again with TWRP...1st time you boot TWRP with PC, than flash TWRP.img with TWRP. And don't forget to flash magisk to fix TWRP boot or flash dm-verty.zip. I would use OrangeFox recovery instead->flash it in TWRP after 1st pc boot and your done no extra steps needed.
Good luck.
Click to expand...
Click to collapse
Hello,
if i understand
flash TWRP from the PC with fastboot
reboot TWRP from fastboot
from TWRP flash TWRP.img -- At this point TWRP.img must be on the phone and is the same i have flash from fastboot ?
from TWRP lash magisk
Thank's
billard_fm said:
Hello,
if i understand
flash TWRP from the PC with fastboot
reboot TWRP from fastboot
from TWRP flash TWRP.img -- At this point TWRP.img must be on the phone and is the same i have flash from fastboot ?
from TWRP lash magisk
Thank's
Click to expand...
Click to collapse
- Yes,
- yes,
- yes and you can flash any recovery at this point (not necessary same, could be orangefox, pitchblack, TWRP, etc) and yes it needs to be on phone (use adb push or sd card) than reboot to recovery to check your result,
- yes, if you need magisk than you need to flash it from recovery.
Good luck.
Sent from my Redmi Note 5 using XDA Labs
Boot to twrp or any other recovery. Then flash that same img with in your booted recovery.
Hi everybody and thanks in advance.
1) I install TWRP through fastboot and a PC
2) I boot TWRP and it works fine
3) But then I restart the phone and it changes to stock xiaomi recovery
-I've tried with different TWRPs (geoanto and whyle)
-My device is a Mi10T
Why doesn't TWRP save completely into my system? Why does it change to stock recovery?
Hi,
after flashing twrp using the command "fastboot flash recovery twrp.img", type in adb "fastboot boot twrp.img" to boot directly to twrp and it won't be replaced after that by mi recovery.
zaqm said:
Hi,
after flashing twrp using the command "fastboot flash recovery twrp.img", type in adb "fastboot boot twrp.img" to boot directly to twrp and it won't be replaced after that by mi recovery.
Click to expand...
Click to collapse
Thanks for your answer
The problem I have now is that when I start the system and then try to open the recovery, it returns to the xiaomi stock one.
LikMaw said:
Thanks for your answer
The problem I have now is that when I start the system and then try to open the recovery, it returns to the xiaomi stock one.
Click to expand...
Click to collapse
Follow the procedure again to flash the twrp recovery using the abovementioned commands.
Good luck, zaqm!
So I installed a A13 AOSP rom (Evolution x) via orangefox and when I rebooted to recovery orangfox was gone and now I'm on AOSP recovery. I tried to "fastboot boot" TWRP but the phone restarts on black screen for several seconds then restarts again to system. and when I enter fastboot thro AOSP recovery and try to boot TWRP it just fails (says unrecognized command boot). how can I flash custom recovery? i was thinking of trying sideload but with fastboot not working properly, I dont want guessing and rather ask someone with more knowledge with AOSP recovery and what could be causing fastboot not working properly
PS/ AOSP recovery is not detecting otg, and when choosing apply updates from internal storage it says it cant mount /data
Aserar said:
So I installed a A13 AOSP rom (Evolution x) via orangefox and when I rebooted to recovery orangfox was gone and now I'm on AOSP recovery. I tried to "fastboot boot" TWRP but the phone restarts on black screen for several seconds then restarts again to system. and when I enter fastboot thro AOSP recovery and try to boot TWRP it just fails (says unrecognized command boot). how can I flash custom recovery? i was thinking of trying sideload but with fastboot not working properly, I dont want guessing and rather ask someone with more knowledge with AOSP recovery and what could be causing fastboot not working properly
PS/ AOSP recovery is not detecting otg, and when choosing apply updates from internal storage it says it cant mount /data
Click to expand...
Click to collapse
What is the code name of your device?
NOSS8 said:
What is the code name of your device?
Click to expand...
Click to collapse
Its alioth poco f3
Aserar said:
Its alioth poco f3
Click to expand...
Click to collapse
Seems that in official no TWRP A13
https://androidfilehost.com/?w=files&flid=322193
Here boot version A12(more recent).
1. fastboot boot twrp.img
2. go to Advanced > Flash Current TWRP
https://dl.akr-developers.com/?dir=skkk/TWRP/A12/v5.6_A12
https://forum.xda-developers.com/t/recovery-12-official-teamwin-recovery-project.4272625/
Aserar said:
So I installed a A13 AOSP rom (Evolution x) via orangefox and when I rebooted to recovery orangfox was gone and now I'm on AOSP recovery. I tried to "fastboot boot" TWRP but the phone restarts on black screen for several seconds then restarts again to system. and when I enter fastboot thro AOSP recovery and try to boot TWRP it just fails (says unrecognized command boot). how can I flash custom recovery? i was thinking of trying sideload but with fastboot not working properly, I dont want guessing and rather ask someone with more knowledge with AOSP recovery and what could be causing fastboot not working properly
PS/ AOSP recovery is not detecting otg, and when choosing apply updates from internal storage it says it cant mount /data
Click to expand...
Click to collapse
It is because flashing rom also flash the recovery packed along with the rom, and it will replace your old recovery. To prevent it you need to also tick on the reflash ofox option when you flash a rom, which is too late in your case.
So, if you want to reflash ofox recovery, download and extract the zip file, locate the recovery.img in the extracted folder, reboot to bootloader and issue this command:
Code:
fastboot boot /path/to/recovery.img
then reboot to recovery with the command:
Code:
fastboot reboot recovery
and your device will temporarily boot into ofox recovery
The last step is to flash the recovery to ramdisk to make it permanently, you can find this option in ofox settings.
NOSS8 said:
Seems that in official no TWRP A13
https://androidfilehost.com/?w=files&flid=322193
Here boot version A12(more recent).
1. fastboot boot twrp.img
2. go to Advanced > Flash Current TWRP
https://dl.akr-developers.com/?dir=skkk/TWRP/A12/v5.6_A12
https://forum.xda-developers.com/t/recovery-12-official-teamwin-recovery-project.4272625/
Click to expand...
Click to collapse
This is what I did befor posting but but TWRP wouldnt boot through fastboot. it just gives me blackscreen for a few seconds then it boots to system. but the problem was solved with ofx. thank you for your help
disconmair said:
It is because flashing rom also flash the recovery packed along with the rom, and it will replace your old recovery. To prevent it you need to also tick on the reflash ofox option when you flash a rom, which is too late in your case.
So, if you want to reflash ofox recovery, download and extract the zip file, locate the recovery.img in the extracted folder, reboot to bootloader and issue this command:
Code:
fastboot boot /path/to/recovery.img
then reboot to recovery with the command:
Code:
fastboot reboot recovery
and your device will temporarily boot into ofox recovery
The last step is to flash the recovery to ramdisk to make it permanently, you can find this option in ofox settings.
Click to expand...
Click to collapse
Thank you mf this worked! Booting twrp through fastbood just gave me black screen so I didnt think that booting Ofox would be any different but it actually booted Ofox recovery and I flashed it no problem. If anyone's going to attempt this make sure to backup your data before cause you'll need to format data