Custom recovery error in redmi note 8 pro - Redmi Note 8 Pro Questions & Answers

I have Redmi note 8 pro(india) with unlocked bootloader. And i want to falsh twrp recovery in it. But the probelm is whenever i flash the recovery, it shows succedd, but the recovery doesn't opens neither by command (fastboot.boot recovery.img) nor by manually. It automatically reboots and when i again want to go into recovery mode, then there is custom recovery. Please help me.

Piyush_001 said:
I have Redmi note 8 pro(india) with unlocked bootloader. And i want to falsh twrp recovery in it. But the probelm is whenever i flash the recovery, it shows succedd, but the recovery doesn't opens neither by command (fastboot.boot recovery.img) nor by manually. It automatically reboots and when i again want to go into recovery mode, then there is custom recovery. Please help me.
Click to expand...
Click to collapse
Use platform tools instead of Minimial ADB and check if you need to disable dm verity before, if not just directly flash the recovery and write the command "Fastboot reboot recovery"

Disable AVB 2.0.
Also make sure you are using the proper TWRP version, The official TWRP only supports Android 9 for some reason.
By the way "fastboot boot" command won't work on MTK devices.

Related

[Q] Are these the right steps for me to flash my RN5 Pro to a custom ROM?

Hello guys!
I just unlocked my Redmi Note 5, and I want to flash it to pixel experience 8.1.0 Oreo.
I've been reading around a lot about the antirollback thingy on the RN5, and all those risks to brick the phone etc.
How can I make sure to flash the phone without risking to brick it?
Before you tell me to read around (which I have), I just want to confirm if these are the right steps for me.
I have firstly enabled USB debugging.
I downloaded minimal ADB and fastboot tool and ran the code "Fastboot Devices" it found my device due I get some numbers etc...
In Fastboot I also wrote "Fastboot Getvar Anti" and got the code 4. So I'm guessing my antirollback thingy is 4...
Sooo here is the steps I want to do next, correct me if I'm wrong.
1. I have downloaded TWRP version 3.2.3.2 from this website: https://eu.dl.twrp.me/whyred/
And I downloaded LazyFlasher from this website: https://androidfilehost.com/?fid=890129502657590339.
I got that LazyFlasher link from here: https://www.google.com/amp/s/forum....aomi-redmi-note-5-whyred-unlock-t3778049/amp/
2. Now since my antirollback is 4 (and correct me if I'm wrong here), my next step now is to boot the phone I "Fastboot" by holding volume down button + Power button. And then write in the console from the computer "Fastboot boot TWRP.img".
Here is what I'm wondering. Is it "Fastboot boot TWRP.img" or "Fastboot flash TWRP.img"??
3. Let say that it's "Fastboot boot TWRP.img". The next step from here is to install the TWRP image inside TWRP recovery. And after when I have installed TWRP and should flash to LazyFlasher. After that reboot and boot up to TWRP recovery again.
4. Now since I have TWRP installed, I'm guessing everything is correct??
From here can I just wipe everything and flash to a custom ROM I have downloaded??
I have already downloaded Pixel experience 8.1.0. Or should I do something else?
5. If everything is correct, can I flash my kernel to derp kernel 4.2 even though I have Oreo 8.1.0??
https://forum.xda-developers.com/redmi-note-5-pro/development/derp-kernel-clang-4-4-138-t3804996
Thank you!
In question 3 I believe it is "fastboot flash recovery twrp.img"
After I did this and flashed lazy flasher mine did not boot into two recovery but was replaced by stock recovery.
So the 2nd time I entered fastboot on the phone. Flashed twrp again but this time used fastboot command to enter twrp recovery.
I think it was " fastboot boot recovery twrp.img"
I then was in twrp on the handset and could flash my room
My previous phone was a Redmond note 3. I am new to deep so have not looked into what it is or what newer versions do do ill leave that for you.
prefor said:
Hello guys!
I just unlocked my Redmi Note 5, and I want to flash it to pixel experience 8.1.0 Oreo.
I've been reading around a lot about the antirollback thingy on the RN5, and all those risks to brick the phone etc.
How can I make sure to flash the phone without risking to brick it?
Before you tell me to read around (which I have), I just want to confirm if these are the right steps for me.
I have firstly enabled USB debugging.
I downloaded minimal ADB and fastboot tool and ran the code "Fastboot Devices" it found my device due I get some numbers etc...
In Fastboot I also wrote "Fastboot Getvar Anti" and got the code 4. So I'm guessing my antirollback thingy is 4...
Sooo here is the steps I want to do next, correct me if I'm wrong.
1. I have downloaded TWRP version 3.2.3.2 from this website: https://eu.dl.twrp.me/whyred/
And I downloaded LazyFlasher from this website: https://androidfilehost.com/?fid=890129502657590339.
I got that LazyFlasher link from here: https://www.google.com/amp/s/forum....aomi-redmi-note-5-whyred-unlock-t3778049/amp/
2. Now since my antirollback is 4 (and correct me if I'm wrong here), my next step now is to boot the phone I "Fastboot" by holding volume down button + Power button. And then write in the console from the computer "Fastboot boot TWRP.img".
Here is what I'm wondering. Is it "Fastboot boot TWRP.img" or "Fastboot flash TWRP.img"??
3. Let say that it's "Fastboot boot TWRP.img". The next step from here is to install the TWRP image inside TWRP recovery. And after when I have installed TWRP and should flash to LazyFlasher. After that reboot and boot up to TWRP recovery again.
4. Now since I have TWRP installed, I'm guessing everything is correct??
From here can I just wipe everything and flash to a custom ROM I have downloaded??
I have already downloaded Pixel experience 8.1.0. Or should I do something else?
5. If everything is correct, can I flash my kernel to derp kernel 4.2 even though I have Oreo 8.1.0??
https://forum.xda-developers.com/redmi-note-5-pro/development/derp-kernel-clang-4-4-138-t3804996
Thank you!
Click to expand...
Click to collapse

No OS is installed. Moreover recovery cannot be accessed. Nor can flash it via adb.

Previously I was using Ressurection Remix treble rom which is based on android 9 pie. I went to TWRP and wiped the OS. Then I tried to install a new rom called Dot OS. But it showed error 7. So I flashed Vendortofactory zip within twrp and without rebooting again into TWRP I flashed a new TWRP image within TWRP by selecting Recovery mode. After that I cant boot into TWRP and as already my OS is gone I also cannot boot into any system. Moreover my device is not getting detected in my PC. I cannot install TWRP by writing commands in cmd, while the phone is in fastboot mode as the device is not getting detected in my pc. Really it is urgent. I will be glad if someone helps me. Thanks in advance.
What is the present booted state of your device? Are you in twrp, or bootloader. Most of the time you can keep on pressing the power button. When it boots into a message about unlocked bootloader, press volume button to select recovery and it will boot into twrp
You should be able to boot in fastboot mode without recovery nor os, maybe your drivers are not working on windows? Try different usb ports, check if the display says "bootloader" or something. If nothing works try the usb shunt, this device is literally 'unbrickable' if it's working properly.
Watch this video(https://www.youtube.com/watch?v=DexLELi04XY) and then you will be able to detect your phone in your pc in qcom 9008 mode , then use qfil to flash ZUI firmware ,there are plenty of tutorials on the internet for that ,then follow the proper procedure mentioned in DotOs thread for flashing the new rom .
Hope it helped .
If you don't want to flash the firmware and all long process just follow the following steps
Enter in to the boot loader make sure you installed all the drivers in to pc then open cmd windows in adb fastboot folder and enters the following cmd into the cmd
Fastboot -i 0x2b4c devices this will detect your device
After that enter
Fastboot -i0x2b4c flash recovery recovery name.img
And boom you are good to go flash the rom of your choice and enjoy
For this process you need following files
Adb and fastboot devices
Drivers of zuk z2
Latest recovery and place revovery image file into the adb and fastboot folder if you are confused about anything pm me i am not the expert but i faced simillar problem and solved by this method
yashpatel1221 said:
If you don't want to flash the firmware and all long process just follow the following steps
Enter in to the boot loader make sure you installed all the drivers in to pc then open cmd windows in adb fastboot folder and enters the following cmd into the cmd
Fastboot -i 0x2b4c devices this will detect your device
After that enter
Fastboot -i0x2b4c flash recovery recovery name.img
And boom you are good to go flash the rom of your choice and enjoy
For this process you need following files
Adb and fastboot devices
Drivers of zuk z2
Latest recovery and place revovery image file into the adb and fastboot folder if you are confused about anything pm me i am not the expert but i faced simillar problem and solved by this method
Click to expand...
Click to collapse
This assumes u have upgraded bootloader to 4.4 kernal.
U can still boot into twrp.. When the phone is booting up press vol up key and select recovery.. From there boot into twrp. There select f2v or v2f .. Then flash twrp which u want to flash.. Reboot to recovery.. U will get promp no os installed.. Ignore and reboot to recovery . Then again d9 f2v or v2f depending on what rom to install.. Again reboot to recovery... Then flash rom of ur choice.
This procedure is needed when changing from vendor to factory and vice versa.
sanjay.2704 said:
This assumes u have upgraded bootloader to 4.4 kernal.
U can still boot into twrp.. When the phone is booting up press vol up key and select recovery.. From there boot into twrp. There select f2v or v2f .. Then flash twrp which u want to flash.. Reboot to recovery.. U will get promp no os installed.. Ignore and reboot to recovery . Then again d9 f2v or v2f depending on what rom to install.. Again reboot to recovery... Then flash rom of ur choice.
This procedure is needed when changing from vendor to factory and vice versa.
Click to expand...
Click to collapse
I don't understand what you are talking about as i say i am not some kind of technical expert i am here help regarding this i faced similar situation where i am not able to enter into recovery and also not able to enter into the os and when i restart the phone it automatically boot into fast boot mode what ever option i select and i solved my problem by this method

Question TWRP installation problem

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.

Can't install TWRP mi10T

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!

Question installing custom recovery when device has AOSP recovery

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

Categories

Resources