[Q] unable to flash recovery - ONE Q&A, Help & Troubleshooting

I unlocked the boot loader and it wiped my phone so I assume that was successful.
I then tried to flash twrp and used the fastboot command, it says it succeeded but every time I boot into recovery it boots into cyangenmod's recovery.

Did you remember to go into Developer Options and uncheck the "update CM recovery" option?
Transmitted via Bacon

Related

Stuck out of bootloader and in recovery

Hi everyone,
I've got the no-gui TWRP from the 7th post in this thread and somehow I can't reboot my phone into bootloader: when I use "adb reboot bootloader", it restarts and gets back to the recovery.
Would there be a way to flash the stock recovery over the TWRP using adb (as fastboot can't be accessed) or another way to access bootloader?

Restore Android Stock's Recovery Mode

Hello! I've tried to root my phone (Moto G XT1541 Europe 1GB) but failed. I got an error when trying to flash the custom recovery. Unfortunately, it has overwritten the stock recovery and it didn't install. So, now I have a phone without recovery and I can't do a factory reset because of that (I think).
So, this is my question: how can I re install the default Android 6.0 recovery mode for my phone?
Also, my phone boots automatically on bootloader mode and I can't re-lock the bootloader because I can't flash anymore either; I got an error because the pre flash validation failed when trying to flash with adb fastboot, but this is minimal issues that doesn't really bother me, but they could be helpful and if someone knows how to get rid of them, I want to know!
I hope someone will help me!
Azyreal said:
Hello! I've tried to root my phone (Moto G XT1541 Europe 1GB) but failed. I got an error when trying to flash the custom recovery. Unfortunately, it has overwritten the stock recovery and it didn't install. So, now I have a phone without recovery and I can't do a factory reset because of that (I think).
So, this is my question: how can I re install the default Android 6.0 recovery mode for my phone?
Also, my phone boots automatically on bootloader mode and I can't re-lock the bootloader because I can't flash anymore either; I got an error because the pre flash validation failed when trying to flash with adb fastboot, but this is minimal issues that doesn't really bother me, but they could be helpful and if someone knows how to get rid of them, I want to know!
I hope someone will help me!
Click to expand...
Click to collapse
The bootloader cannot be relocked in the Moto G 2015, the best you can do is hide the warning screen. Find the stock image and fastboot flash the recovery from there, or better yet, flash the entire image so you are in a known working state
If you are in Pre-Flash validation, you do not have the correct image for your device... I suggest you post in the "How to flash factory images" thread about returning to stock, if it is possible. You MUST factory default before flashing factory images, if you can't, try 'fastboot erase userdata' and try again.
Flash latest twrp via fastboot and reboot into recovery ,
don't reboot into system,
reboot into recovery manually, then you can enter twrp recovery and can flash supersu 2.62.3.
when you just reboot after flash twrp and reboot system erase custom recovery and save stock recovery, so don't enter fastboot reboot, enter fastboot reboot recovery after flash recovery via pc.
Rename twrp recovery as only twrp in fastboot folder in your pc , not as twrp.img,
But cmd as fastboot flash recovery twrp.img , then no errors ( are you unlocked bootloader ?)
acejavelin said:
The bootloader cannot be relocked in the Moto G 2015, the best you can do is hide the warning screen. Find the stock image and fastboot flash the recovery from there, or better yet, flash the entire image so you are in a known working state
If you are in Pre-Flash validation, you do not have the correct image for your device... I suggest you post in the "How to flash factory images" thread about returning to stock, if it is possible. You MUST factory default before flashing factory images, if you can't, try 'fastboot erase userdata' and try again.
Click to expand...
Click to collapse
drmuruga said:
Flash latest twrp via fastboot and reboot into recovery ,
don't reboot into system,
reboot into recovery manually, then you can enter twrp recovery and can flash supersu 2.62.3.
when you just reboot after flash twrp and reboot system erase custom recovery and save stock recovery, so don't enter fastboot reboot, enter fastboot reboot recovery after flash recovery via pc.
Rename twrp recovery as only twrp in fastboot folder in your pc , not as twrp.img,
But cmd as fastboot flash recovery twrp.img , then no errors ( are you unlocked bootloader ?)
Click to expand...
Click to collapse
Hey! Thank you! I've been able to flash the TWRP recovery and now I can do a factory reset (and also send sms, which I couldn't do anymore for some reason).
I still have the issue where the bootloader screen appears everytime I turn my phone on, and I still can't re lock my device because I can't flash anything either. I've recovered all of my data, so I think I'm going to stick with that for a moment but maybe I'll try what you said some day.
Again, really thank you for helping me!
drmuruga said:
Flash latest twrp via fastboot and reboot into recovery ,
don't reboot into system, reboot into recovery manually, then you can enter twrp recovery and can flash supersu 2.62.3.
when you just reboot after flash twrp and reboot system erase custom recovery and save stock recovery, so don't enter fastboot reboot, enter fastboot reboot recovery after flash recovery via pc.
Click to expand...
Click to collapse
Now I understand why my flashing TWRP did not take. I simply rebooted to system and still have stock recovery installed. I was successful booting twrp via fastboot and successfully flashed supersu 2.62.3. Is this step in listed in any faq? I must have missed it.
So after flashing TWRP, do you then power down device prior to manually booting to recovery?
MrTooPhone said:
Now I understand why my flashing TWRP did not take. I simply rebooted to system and still have stock recovery installed. I was successful booting twrp via fastboot and successfully flashed supersu 2.62.3. Is this step in listed in any faq? I must have missed it.
So after flashing TWRP, do you then power down device prior to manually booting to recovery?
Click to expand...
Click to collapse
Don't power down, already you are in fastboot mode, you can just enter recovery from that. I forget the reference, but i will search and post.
---------- Post added at 04:41 PM ---------- Previous post was at 04:18 PM ----------
I get this from twrp official page
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.
In our phone press simultaneously volume down + power button to enter recovery.

[Completed] My Asus Zenfone 2(Z00A, ZE551ML) is stuck at fastboot bootloader. What to do?

I was trying to install the CM13. I followed the CM wiki page and created a CM13 build on my machine. The build was successful. But I couldn't load the CM zip file using adb sideload. I also unloacked the bootloader using the app from asus website. After this I rooted my device referring to androidroot_org.
Then I used "fastboot -w" to wipe the userdata. It failed when it reach erasing user-data field(saying "FAILED(remote: permssion denied)"). Next I went into recovery mode from fastboot screen and wiped user data/factory reset. After that I wiped the cache partition. I thought that now I can try "fastboot -w flashall". But when I tried it in linux cmd, it failed to write boot with same error of Permission denied.
Now I can't go into recovery mode to install the stock rom. Whichever option I select at the Fastboot among "Normal Boot", "Recovery Mode" it always end up restarting the bootloader. I also tried install the TWRP recovery image using "fastboot flash recovery" command. But it gives the error "cannot load 'twrp-3.0.2-0-Z00A.img.img'".
So eventually I'm stuck at the fastboot screen and don't know what to do.
XDA Visitor said:
I was trying to install the CM13. I followed the CM wiki page and created a CM13 build on my machine. The build was successful. But I couldn't load the CM zip file using adb sideload. I also unloacked the bootloader using the app from asus website. After this I rooted my device referring to androidroot_org.
Then I used "fastboot -w" to wipe the userdata. It failed when it reach erasing user-data field(saying "FAILED(remote: permssion denied)"). Next I went into recovery mode from fastboot screen and wiped user data/factory reset. After that I wiped the cache partition. I thought that now I can try "fastboot -w flashall". But when I tried it in linux cmd, it failed to write boot with same error of Permission denied.
Now I can't go into recovery mode to install the stock rom. Whichever option I select at the Fastboot among "Normal Boot", "Recovery Mode" it always end up restarting the bootloader. I also tried install the TWRP recovery image using "fastboot flash recovery" command. But it gives the error "cannot load 'twrp-3.0.2-0-Z00A.img.img'".
So eventually I'm stuck at the fastboot screen and don't know what to do.
Click to expand...
Click to collapse
Hi and welcome to XDA.
Please create an account so you can have full posting privileges.
Then you can post post in your device section:
ZenFone 2 Q&A, Help & Troubleshooting
Experts there may be able to help you.
Good luck

TWRP install dont work

Hi guys.
I unlocked my bootloader, and installed the Global Beta Rom via TWRP.
Now, that I am finishing that, TWRP is not installed anymore. And I can't install it.
When I boot into fastboot, and install TWRP like usual, everything is ok. No error appears. But when I want to boot into TWRP via key-combination, nothing happens. When I boot MiUi again, then reboot and try to boot into TWRP again, the Mi-Recoverymenue appears. But not TWRP. Can anyone help here?
After ROM package installed, boot and setup everythings you need, reboot to fastboot mode.
You must install TWRP again, then boot to TWRP by using command, same as the first time you install TWRP. Full commands:
1. fastboot devices.
2. fastboot flash recovery twrp.img
3. fastboot boot twrp.img
DungHD said:
After ROM package installed, boot and setup everythings you need, reboot to fastboot mode.
You must install TWRP again, then boot to TWRP by using command, same as the first time you install TWRP. Full commands:
1. fastboot devices.
2. fastboot flash recovery twrp.img
3. fastboot boot twrp.img
Click to expand...
Click to collapse
Done that.
Device reboot, screen turns black. Then device reboot again, and MIUI will start.
After you install TWRP via fastboot command boot into TWRP via fastboot using the TWRP image on your computer. After TWRP comes up disconnect your phone from your computer, go into the TWRP reboot menu and select reboot into recovery. After you boot back into TWRP it should stick until you flash another ROM zip.
Same issue here.....please have a look at attached picture to see what I have done.
Even after a couple of minutes the screen remains black after trying to boot into TWRP.img with "fastboot boot twrp.img"
Is this a wrong command?
OK with rebooting the system is replacing TWRP, mens I need to go directly into TWRP without rebooting OS., but neither the command above nor ´"fastboot reboot" and simultaniously holding Vol+ and Power ware entering TWRP .....even more
Entering "fastboot reboot" afterwards, device is rebooting normally.
Would be great to explain how I can successfully get TWRP run.
Thx a lot!!
MIUI overwrites the recovery with each boot.
You'll have to get root access and adjust s few files (there is a guide somewhere here on xda) to get it to stay
flyingjack said:
Same issue here.....please have a look at attached picture to see what I have done.
Even after a couple of minutes the screen remains black after trying to boot into TWRP.img with "fastboot boot twrp.img"
Is this a wrong command?
OK with rebooting the system is replacing TWRP, mens I need to go directly into TWRP without rebooting OS., but neither the command above nor ´"fastboot reboot" and simultaniously holding Vol+ and Power ware entering TWRP .....even more
Entering "fastboot reboot" afterwards, device is rebooting normally.
Would be great to explain how I can successfully get TWRP run.
Thx a lot!!
Click to expand...
Click to collapse
Did you download wrong .img file for polaris?
All versions has capacity more than 46 MB. Latest version is 46788 KB.
DungHD said:
Did you download wrong .img file for polaris?
All versions has capacity more than 46 MB. Latest version is 46788 KB.
Click to expand...
Click to collapse
THx mate! actually I downloaded the wrong file. With the correct one evreythink is working fine!!!

Stuck on "Bootloader is unlocked" screen, can't boot into recovery

So I wanted to root my op6 after updating to android 10
(OnePlus6Oxygen_22_OTA_041_all_1911142043_dde113e53cd0f9.zip)
I tried booting into twrp via fastboot using fastboot flash boot twrp.img (twrp-3.3.1-x_blu_spark_v9.101_op6.img, my bootloader is unlocked).
I then tried rebooting directly into twrp, but now it's just stuck on the "Bootloader is unlocked" screen.
I can still boot into fastboot, but I can't boot into recovery or reboot normally since it just gets stuck on the bootloader unlocked screen.
Please Help!
Edit1: Changing my boot slot from b to a gives me access to the stock recovery. not sure where to go from here though.
Edit2:Fortunately, ManikandanGuru had uploaded the stock boot.img, which works perfectly.
happened to me too. you just did a mistake and flashed the twrp recovery not to the recovery directory, you flashed it to the boot. if you want to make your recovery "twrp recovery", you just needed to do "fastboot flash recovery twrp.img. and if you want to make the "twrp recovery" only once (recommended), just do "fastboot boot twrp.img". now the only thing you can do is to flash the stock boot.img, like you did, or just to send your phone to phones fixing lab (like i did). it's much better and safe. they just flash on your phone the original oneplus 6 boot.img, not the stock one.
btw, i recommend you to use other twrp.img that built specially for android 10 (its safe, i use it). you can download it from https://drive.google.com/file/d/1Ndts4-CLP3o0kvs8wL40w3HLoyqMfwfy/view?usp=sharing (dont worry i uploaded it by myself).
good luck
Happen to me yesterday....boot on bootloader and use some tools from Mauro frio to reinstall everything with a batch-file...

Categories

Resources