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.
Related
Hello!
I unlock the bootloader, installed TWRP (several versions) but it doesn't work.
I enter in recovery, select YES in both options, the green android shows up and the phone just boot normally. TWRP options never displayed.
Any help on this? Plz...
Thank you!
Download: https://dl.twrp.me/h815/
1. fastboot boot recovery your_recovery_image.img
2. flash twrp image from booted twrp
Or fastboot flash recovery twrp.img
No ! This doesnt work. Read the official twrp xda thread.
Hi!
I tried all that, flashed all TWRP versions, all available versions of european rom for LG G4 H815, nothibg... the damn thing just don't work on my phone
Have you followed the right steps?
First use fastboot boot twrp.img (boot not flash)
Then within twrp copy the twrp image from your pc by adb or mtp then use the button to flash an image and then choose the copied twrp to flash to recovery
Now I think you got me... I followed the tutorial how to install twrp but, in the beggining I was having problems with the drivers. Win10 was changing them on every command, and after so much time (I went to sleep at 5 AM ) trying everything that it could work, maybe I just mess on that step....
Thanks for your help. As soon as I have time again, I'll check that step.
Thank you very much @steadfasterX !!!
It works
I followed this tutorial: http://www.technobuzz.net/install-twrp-recovery-on-lg-g4/
Thats why I got mistaken... Thanks once again
First use fastboot boot twrp.img (boot not flash)
Then within twrp copy the twrp image from your pc by adb or mtp then use the button to flash an image and then choose the copied twrp to flash to recovery
Click to expand...
Click to collapse
You're welcome
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 !
Is there TWRP for EMUI 9.1? My device is BND-L21. I've recently unlocked my device with PotatoNV and now I'm stuck here trying to find a TWRP image compatible with my device so I can install Magisk. Thank you
I've solved this issue by patching the twrp recovery image in the Magisk installer menu. Magisk will be enabled after this. The problem is, that you won't able to boot into the recovery after that. When you flash the unpatched recovery image again, magisk won't be activated anymore, but you'll be able to boot into twrp again.
First step:
Boot into fastboot mode
adb reboot bootloader
Click to expand...
Click to collapse
Second step:
You can use my attached patched image file and flash it in fastboot mode (Magisk v23.0):
fastboot flash recovery_ramdisk magisk_patched-twrp.img
Click to expand...
Click to collapse
Last step and important to activate magisk:
Boot into the recovery. You won't see the recovery, so don't worry about that.
adb reboot recovery
Click to expand...
Click to collapse
After that, magisk should be active
Just for your information:
--------------------------------------------------
The unpatched twrp is booting, but doesn't decrypt the data partition and is not able to flash magisk.zip, even if it seems that everything works fine when installing the zip file:
fastboot flash recovery_ramdisk unpatched_twrp.img
Click to expand...
Click to collapse
I also attached the original emui 9 recovery,:
fastboot flash recovery_ramdisk recovery_ramdisk.img
Click to expand...
Click to collapse
You can also patch the recovery_ramdisk.img in Magisk and use it to gain root access if you like.
But remember: you wont be able to boot into recovery if you do this, until you flash the unpatched file again.
jonnymcweed said:
I've solved this issue by patching the twrp recovery image in the Magisk installer menu. Magisk will be enabled after this. The problem is, that you won't able to boot into the recovery after that. When you flash the unpatched recovery image again, magisk won't be activated anymore, but you'll be able to boot into twrp again.
You can use my attached patched image file and flash it in fastboot mode (Magisk v23.0):
The unpatched twrp is booting, but doesn't decrypt the data partition and is not able to flash magisk.zip, even if it seems that everything works fine when installing the zip file:
I also attached the original emui 9 recovery,:
You can also patch the recovery_ramdisk.img in Magisk and use it to gain root access if you like.
But remember: you wont be able to boot into recovery if you do this, until you flash the unpatched file again.
Click to expand...
Click to collapse
Can you upload boot.img file please.
jonnymcweed said:
I've solved this issue by patching the twrp recovery image in the Magisk installer menu. Magisk will be enabled after this. The problem is, that you won't able to boot into the recovery after that. When you flash the unpatched recovery image again, magisk won't be activated anymore, but you'll be able to boot into twrp again.
You can use my attached patched image file and flash it in fastboot mode (Magisk v23.0):
The unpatched twrp is booting, but doesn't decrypt the data partition and is not able to flash magisk.zip, even if it seems that everything works fine when installing the zip file:
I also attached the original emui 9 recovery,:
You can also patch the recovery_ramdisk.img in Magisk and use it to gain root access if you like.
But remember: you wont be able to boot into recovery if you do this, until you flash the unpatched file again.
Click to expand...
Click to collapse
Is this device specific ?!
My device is Honor 7x(BND-AL10); EMUI - 9.1.0; Android - 9
kurangan said:
Is this device specific ?!
My device is Honor 7x(BND-AL10); EMUI - 9.1.0; Android - 9
Click to expand...
Click to collapse
I don't know to be honest.
My device is BND-L21.
You can try to patch my unpatched twrp or original ramdisk file and flash it via fastboot as I described it.
Maybe you can also extract the files from the specific rom image of your device, if you can find it.
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