Restore fastbootd - Google Pixel 4a Questions & Answers

Hi guys, after few mess with roms, stock and customs, now whenever I try to flash something with flash-all.sh fastboot says FAILED (remote: Partition should be flashed in fastbootd) since I don't have stock recovery anymore. And almost all roms requires fastbootd, I want to restore it. How can I?
The problem is whenever I try to flash it from fastboot flash boot desided-recovery.img it flashes successfully but when I go on recovery to check appears the green empty android. What's the matter?

theicecave said:
Hi guys, after few mess with roms, stock and customs, now whenever I try to flash something with flash-all.sh fastboot says FAILED (remote: Partition should be flashed in fastbootd) since I don't have stock recovery anymore. And almost all roms requires fastbootd, I want to restore it. How can I?
The problem is whenever I try to flash it from fastboot flash boot desided-recovery.img it flashes successfully but when I go on recovery to check appears the green empty android. What's the matter?
Click to expand...
Click to collapse
First make sure you're on the latest platform tools.
That's stock recovery if it says no command. Some custom recoveries look like this too. Others will look like DU/lineage recovery.
Press power + volume up then let go. If you Flash-all the factory image it will replace the custom recovery with stock.

Related

I need a quick answer guys..

I just helped a buddy (this never happened before) and his mytouch is rooted. He upgraded his SPL to Haykuro's and then, through fastboot, he flashed Amon_Ra's 1.2.2 recovery image. Now, we can't get it past the mytouch screen, but can get into fastboot. Any ideas?
Try flashing another rom?
If you can get into fastboot, you can send a new image to the phone.
I don't recall the exact commands, but if you're in fastboot, you're still good.
cursordroid said:
If you can get into fastboot, you can send a new image to the phone.
I don't recall the exact commands, but if you're in fastboot, you're still good.
Click to expand...
Click to collapse
Great man...does anyone know the commands?
Fastboot the recovery image, and then from the recovery, you can flash the new rom.
xyzulu said:
Fastboot the recovery image, and then from the recovery, you can flash the new rom.
Click to expand...
Click to collapse
the recovery image is there. We cant into to recovery to apply the rom.
Get yourself the proper recovery.img for that phone. Not sure what it is, but a quick search will find it. Search for 'mytouch recovery' or 'mt3g recovery'.
Then with the recovery image in your SDK tools folder, run:
Code:
fastboot boot recovery.img
That should at least get you to a point where you can flash a new ROM and commit the proper recovery image to flash using adb commands.
I can't hold your hand through the whole thing, I don't have that phone, but I've been in your situation before.
Ok we tried it, now it says... FAILED(remote: partition does not exist!)
anyone have an idea?
Try to erase Cache
fastboot erase cache
fastboot erase recovery
then flash recovery:
fastboot flash recovery recoveryxxxxxx***.img (***I'm not sure of the version you use...)
antonram said:
fastboot erase cache
fastboot erase recovery
then flash recovery:
fastboot flash recovery recoveryxxxxxx***.img (***I'm not sure of the version you use...)
Click to expand...
Click to collapse
Yeah that's exactl what we did and it worked.
The thing is, we erased the recovvery image and reinstalled it, but now again, it won't go into recovery. I have a feeling he downloaded the wrong Amos_Ra recovery. Probably one for the 32a.

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.

i m not able to flash twrp

I have successfully unlocked my Honor 6x. And when i flashed tero using fastboot flash recovery 1p.img (I renamed twrp to this one)
Then it went successful
After that I typed
Fastboot boot 1p.img
But it failed saying remote command not allowed
Then i tried booting recovery by pressing buttons
But it was booting default Huawei recovery
I have flashed multiple times using fastboot it went successful but in actually it don't flashed
Emui 5.0 Android nougat
Twrp 3.1
It said remote command not allowed too to me time ago when i flashed TWRP. Try this: after that you just flashed the recovery, don't do "fastboot boot recovery.img", but normally reboot your phone and try to use the 2 buttons combination (vol up+power) and keep it held until you hear a little vibration, then release it and check if you boot regularly to TWRP or not. Sometimes, if you don't reboot immediately to TWRP after the flash, the previous recovery will overwrite the one you just flashed. Are you using OpenKirin's TWRP right?
RedSkull23 said:
It said remote command not allowed too to me time ago when i flashed TWRP. Try this: after that you just flashed the recovery, don't do "fastboot boot recovery.img", but normally reboot your phone and try to use the 2 buttons combination (vol up+power) and keep it held until you hear a little vibration, then release it and check if you boot regularly to TWRP or not. Sometimes, if you don't reboot immediately to TWRP after the flash, the previous recovery will overwrite the one you just flashed. Are you using OpenKirin's TWRP right?
Click to expand...
Click to collapse
now i want to flash stock recovery
i have stock recovery but i dont know how to flash it i have twrp
narshi shukla said:
now i want to flash stock recovery
i have stock recovery but i dont know how to flash it i have twrp
Click to expand...
Click to collapse
Like TWRP, so through adb.
"fastboot flash recovery [stockrecoveryname].img"
Look for the correct stock recovery for your phone model

Cannot flash any custom Kernel anymore

Whenever I flash any kernel, my phone loses its recovery and boot partition. It can only boot into bootlader mode.
In Bootoader mode I cannot even flash twrp recovery. Trying to do so results in:
Code:
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
Booting recovery from twrp.img works and when I flash the twrp installer from within, I still cannot boot the phone after this. It boots straight into bootloader again. The only thing I can do, is restoring my boot backup taken in twrp before.
Can anyone help?
P.S.
It doesn't matter which kernel I try... Arter, mad, elementalX...
Guido83 said:
Whenever I flash any kernel, my phone loses its recovery and boot partition. It can only boot into bootlader mode.
In Bootoader mode I cannot even flash twrp recovery. Trying to do so results in:
Code:
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
Booting recovery from twrp.img works and when I flash the twrp installer from within, I still cannot boot the phone after this. It boots straight into bootloader again. The only thing I can do, is restoring my boot backup taken in twrp before.
Can anyone help?
P.S.
It doesn't matter which kernel I try... Arter, mad, elementalX...
Click to expand...
Click to collapse
Use msmtool to start over. And you can't flash recovery only boot it
Yes as mentioned use msm tool to get you back to having a usable device. Then when you want to try flashing kernel. Try using FKM (franco kernel manager) should work.
I've conducted a complete reset using MSM Tools and still cannot flash any custom kernel. It always break the hole boot partition
Guido83 said:
I've conducted a complete reset using MSM Tools and still cannot flash any custom kernel. It always break the hole boot partition
Click to expand...
Click to collapse
I've done that reset a couple times and never had an issue. Make sure you update your phone after msm. Then do the process of getting your phone rooted. After that you should be able to install any kernel just fine. Never tried unrooted but I think it's possible just through twrp to install a custom kernel.

not going into system after flashing twrp via fastboot

this is not troll, i just forgot command, but i understand where is problem, i just need help in issuing command, and also keeping TWRP after booting in system
okay, this is not usuall getting stuck in twrp after flashing it via fastboot.
i just need help how to boot , system
because way i installed it, is via fastboot:
' fastboot flash recovery twrp.img '
done good
but i mistakenly followed tutorial , and executed what they said should be okay (i mean it is okay, to boot it into recovery, but my phone manufacturer is stupid and don't include proper fastboot)
so i typed command
' fastboot boot recovery '
which it booted into recovery, and when i reboot into 'system' from twrp it boots into system. i had same issue, but i forgot command how to do this (and link to that solution also)
i just know that, last command, my phone misinterpret it , to boot recovery as boot way. instead of kernel, boot.img
------------------------------------------
because we have beautifull documentation on fastbood issued by google, i don't know how to make it boot system, i mean, boot.img
and, i want it to keep twrp installed, suprisingly, when i go power + volume up , sometimes it brings stock recovery and sometimes twrp.
for now, help me how to issue command, to boot kernel and not recovery
- and phone is: Allview Viva H801 , android 5.0
yea, some no name, that's why i'm asking for help
---------------
EDIT:
i think i managed to permamently flash TWRP, which was purpose, because now I can, use power on + volume up , and it always brings up TWRP (yay)
but now, i don't know how i can access bootloader (fastboot) , if i need to issue commands you instruct me to issue. i can use only twrp
kraken-gz said:
this is not troll, i just forgot command, but i understand where is problem, i just need help in issuing command, and also keeping TWRP after booting in system
okay, this is not usuall getting stuck in twrp after flashing it via fastboot.
i just need help how to boot , system
because way i installed it, is via fastboot:
' fastboot flash recovery twrp.img '
done good
but i mistakenly followed tutorial , and executed what they said should be okay (i mean it is okay, to boot it into recovery, but my phone manufacturer is stupid and don't include proper fastboot)
so i typed command
' fastboot boot recovery '
which it booted into recovery, and when i reboot into 'system' from twrp it boots into system. i had same issue, but i forgot command how to do this (and link to that solution also)
i just know that, last command, my phone misinterpret it , to boot recovery as boot way. instead of kernel, boot.img
------------------------------------------
because we have beautifull documentation on fastbood issued by google, i don't know how to make it boot system, i mean, boot.img
and, i want it to keep twrp installed, suprisingly, when i go power + volume up , sometimes it brings stock recovery and sometimes twrp.
for now, help me how to issue command, to boot kernel and not recovery
- and phone is: Allview Viva H801 , android 5.0
yea, some no name, that's why i'm asking for help
---------------
EDIT:
i think i managed to permamently flash TWRP, which was purpose, because now I can, use power on + volume up , and it always brings up TWRP (yay)
but now, i don't know how i can access bootloader (fastboot) , if i need to issue commands you instruct me to issue. i can use only twrp
Click to expand...
Click to collapse
Connect to adb while booted into TWRP and type the command:
adb reboot bootloader
That "should" boot into fastboot
For future reference, when flashing TWRP via fastboot, immediately after you flash the TWRP.img, enter the command:
adb reboot recovery
That should boot straight into TWRP and keep TWRP. If you let the device boot into any other mode than recovery, it will revert back to stock recovery, you have to boot directly into TWRP immediately after flashing it in order to keep TWRP.

Categories

Resources