[Q] Fastboot boot openrecovery hung my phone. Any hope? - One (M7) Q&A, Help & Troubleshooting

I was trying to update recovery and I typed the wrong commands in fastboot.
Instead of
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
I typed:
Code:
fastboot boot recovery openrecovery-twrp-2.6.3.3-m7.img
When that failed because "recovery" didn't exist I still didn't notice my mistake, and went with:
Code:
fastboot boot openrecovery-twrp-2.6.3.3-m7.img
creating boot image...
creating boot image - 10240 bytes
downloading 'boot.img'...
OKAY [ 0.232s]
booting...
OKAY [ 0.003s]
finished. total time: 0.240s
Since then my phone pretty much stopped working. The screen is on, but is hung - the power buttons and volume buttons do nothing. Here are some commands I tried
Code:
fastboot getvar all
getvar:all FAILED (command write failed (Unknown error))
finished. total time: 0.588s
-------------------------------
fastboot devices
HT35CW91**** fastboot
-----------------
fastboot reboot-bootloader
rebooting into bootloader...
Even the reboot just hung there with no change in the device. Is it a paperweight now or is there a way back? Obviously I can't remove the battery and I've not unplugged the USB cable just in case

Teefee said:
I was trying to update recovery and I typed the wrong commands in fastboot.
Instead of
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
I typed:
Code:
fastboot boot recovery openrecovery-twrp-2.6.3.3-m7.img
When that failed because "recovery" didn't exist I still didn't notice my mistake, and went with:
Code:
fastboot boot openrecovery-twrp-2.6.3.3-m7.img
creating boot image...
creating boot image - 10240 bytes
downloading 'boot.img'...
OKAY [ 0.232s]
booting...
OKAY [ 0.003s]
finished. total time: 0.240s
Since then my phone pretty much stopped working. The screen is on, but is hung - the power buttons and volume buttons do nothing. Here are some commands I tried
Code:
fastboot getvar all
getvar:all FAILED (command write failed (Unknown error))
finished. total time: 0.588s
-------------------------------
fastboot devices
HT35CW91**** fastboot
-----------------
fastboot reboot-bootloader
rebooting into bootloader...
Even the reboot just hung there with no change in the device. Is it a paperweight now or is there a way back? Obviously I can't remove the battery and I've not unplugged the USB cable just in case
Click to expand...
Click to collapse
fastboot boot <name of recovery>.img no longer works; it only works on hboot 1.44
just reboot using POWER + VOLDOWN the flash recovery.

nkk71 said:
fastboot boot <name of recovery>.img no longer works; it only works on hboot 1.44
just reboot using POWER + VOLDOWN the flash recovery.
Click to expand...
Click to collapse
Thanks for the response. The phone doesn't respond to any button presses, so I can't VOLDOWN to Power Down. I have tried holding VOLDOWN + POWER like you said but the screen is still on and the phone hasn't done anything

Teefee said:
Thanks for the response. The phone doesn't respond to any button presses, so I can't VOLDOWN to Power Down. I have tried holding VOLDOWN + POWER like you said but the screen is still on and the phone hasn't done anything
Click to expand...
Click to collapse
no i meant press and hold POWER + VOLDOWN buttons (preferably under a bright light), then when it reboots, let go of POWER, but keep holding VOLDOWN and you're back in bootloader.
also it's safe to unplug it. once you do, bootloader may actually respond to normal presses again.

nkk71 said:
no i meant press and hold POWER + VOLDOWN buttons (preferably under a bright light), then when it reboots, let go of POWER, but keep holding VOLDOWN and you're back in bootloader.
also it's safe to unplug it. once you do, bootloader may actually respond to normal presses again.
Click to expand...
Click to collapse
Thanks very much, you're a lifesaver! When I unplugged the device the screen still didn't respond but pressing & holding POWER+VOLDOWN for ~10 seconds rebooted the phone and I'm back in business.

Teefee said:
Thanks for the response. The phone doesn't respond to any button presses, so I can't VOLDOWN to Power Down. I have tried holding VOLDOWN + POWER like you said but the screen is still on and the phone hasn't done anything
Click to expand...
Click to collapse
actually just tried, once unplugged bootloader still "hung", had to use the POWER + VOLDOWN as mentioned above to go to bootloader again

Related

[Q]Something goes wrong with recovery

I followed mike1986 "complete flashing guide"
s I unlocked bootloader - OK unlocked
then I do boot recovery to make nandroid backup first:
fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.193s]
booting...
OKAY [ 0.001s]
finished. total time: 1.194s
so I try flash recovery:
fastboot flash recovery recovery.img
sending 'recovery' (9840 KB)...
after that my phone stuck in fastboot mode, it's screen is turned ON all the time, I can't even turn it OFF
Do i bricked my phone, please help
zukers said:
I followed mike1986 "complete flashing guide"
s I unlocked bootloader - OK unlocked
then I do boot recovery to make nandroid backup first:
fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.193s]
booting...
OKAY [ 0.001s]
finished. total time: 1.194s
so I try flash recovery:
fastboot flash recovery recovery.img
sending 'recovery' (9840 KB)...
after that my phone stuck in fastboot mode, it's screen is turned ON all the time, I can't even turn it OFF
Do i bricked my phone, please help
Click to expand...
Click to collapse
Hold down the power button and vol down button untill the phone reboots to the bootloader again. Make sure its in fastboot mode and type
Code:
fastboot erase cache
Then type
Code:
fastboot flash recovery recovery.img
Then
Code:
fastboot reboot-recovery
Hopefully it will boot into recovery.
zukers said:
fastboot boot recovery.img
Click to expand...
Click to collapse
only works on hboot 1.44.
as mentioned above hold POWER + VOLDOWN (under a bright light), when it reboots let go of POWER but keep holding VOLDOWN, once in bootloader follow steps above to flash recovery
i think "fastboot reboot-recovery" doesn't work (at least for me), so do a "fastboot reboot-bootloader" then enter recovery.
zukers said:
I followed mike1986 "complete flashing guide"
s I unlocked bootloader - OK unlocked
then I do boot recovery to make nandroid backup first:
fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.193s]
booting...
OKAY [ 0.001s]
finished. total time: 1.194s
so I try flash recovery:
fastboot flash recovery recovery.img
sending 'recovery' (9840 KB)...
after that my phone stuck in fastboot mode, it's screen is turned ON all the time, I can't even turn it OFF
Do i bricked my phone, please help
Click to expand...
Click to collapse
I had the EXACTLY same error as you. Didn't know what caused it. After about 20 attemps I finally managed to flash it. I changed the USB Port several times... But I didn't do any other things. Just try and try and try again. And whenever your screen freezes, do what @nkk71 said.
Volume down + Power button for several seconds...
OK, I have resolved my problem, thanks all of You.

HELP! Only have bootloader access!

So like a moron I installed ViperRom 5.0 with regular old CWM. Now as a result I'm stuck at the bootloader with no access to recovery.
I have no idea what to do now. PLEASE HELP!!!!
S-ON
Hboot 1.55.0000
Can you not boot into recovery from the boot loader or reboot and hold the volume down button?
Sent from my HTC One Max using Tapatalk!
gimmeitorilltell said:
Can you not boot into recovery from the boot loader or reboot and hold the volume down button?
Sent from my HTC One Max using Tapatalk!
Click to expand...
Click to collapse
I only have access to my bootloader......can't get into recovery or boot into the rom.
My terminal window keeps hanging on "waiting for device" so I don't think USB Debugging was enabled.....
The only thing that is looking bright is that my computer is recognizing my phone in Fastboot.
I'm completely clueless on what to do now.....
Please anyone help
Maybe try flashing recovery again?
Sent from my HTC One Max using Tapatalk!
Does it say fastbootusb? If not press the power button to select fastboot.
BD619 said:
Does it say fastbootusb? If not press the power button to select fastboot.
Click to expand...
Click to collapse
I can get to fastboot USB but from there I'm honestly lost...
nickhernandez said:
I can get to fastboot USB but from there I'm honestly lost...
Click to expand...
Click to collapse
I can help you remotely PM if interested
i'm in the same boat, but when I go to flash another recovery in fastboot my phone freezes after it fails to flash.
sending 'recovery' (9786 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.016s
Then my phone freezes and I have to reboot into bootloader.
Never mind solved it.
Morghan said:
i'm in the same boat, but when I go to flash another recovery in fastboot my phone freezes after it fails to flash.
sending 'recovery' (9786 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.016s
Then my phone freezes and I have to reboot into bootloader.
Click to expand...
Click to collapse
I had to run RUU to fix mine

[Q] Nexus 6 Bootloader Unlock Mistake

Hey Guys/Gals!!!
Looking for help.
I received my N6 yesterday. After logging into the device, and turning developer options on, I placed the device into fastboot mode and proceded with unlocking the bootloader like I did with all my previous Nexus devices. In hindsight, the only error was my failure to check the OEM unlock box in the developer option page.
After getting the device into fastboot mode, I entered "Fastboot OEM unlock". I was given the screen asking if I wanted to unlock the bootloader. I selected yes and hit the power button. The phone then showed "Device is unlocked. Status Code 3." Not doing anything else, I tried restarting by selecting start and hitting the power button. A new screen came up with a little robot with a spinning sphere. Underneath the robot was "erasing..." This screen went on and on for ages. Eventually, I got tired of letting it sit there and was able to power off via the main fastboot screen.
This morning, I kept getting the erasing message. I kept powering down, not sure what else was going on.
Now, I am no longer getting the erasing message. The phone boots up, gets past the google screen with an unlocked padlock at the bottom, and proceeds to the splash screen (swirling dots). There it just sits.
I tried entering recovery mode via the fastboot screen, but I get my old friend the robot with the spinning sphere (this time no erasing message).
I know the factory images haven't been posted, but can someone help with what I have so far? Will reflashing solve the problem?
Nucleonic said:
Hey Guys/Gals!!!
Looking for help.
I received my N6 yesterday. After logging into the device, and turning developer options on, I placed the device into fastboot mode and proceded with unlocking the bootloader like I did with all my previous Nexus devices. In hindsight, the only error was my failure to check the OEM unlock box in the developer option page.
After getting the device into fastboot mode, I entered "Fastboot OEM unlock". I was given the screen asking if I wanted to unlock the bootloader. I selected yes and hit the power button. The phone then showed "Device is unlocked. Status Code 3." Not doing anything else, I tried restarting by selecting start and hitting the power button. A new screen came up with a little robot with a spinning sphere. Underneath the robot was "erasing..." This screen went on and on for ages. Eventually, I got tired of letting it sit there and was able to power off via the main fastboot screen.
This morning, I kept getting the erasing message. I kept powering down, not sure what else was going on.
Now, I am no longer getting the erasing message. The phone boots up, gets past the google screen with an unlocked padlock at the bottom, and proceeds to the splash screen (swirling dots). There it just sits.
I tried entering recovery mode via the fastboot screen, but I get my old friend the robot with the spinning sphere (this time no erasing message).
I know the factory images haven't been posted, but can someone help with what I have so far? Will reflashing solve the problem?
Click to expand...
Click to collapse
Since it sounds like there's no way to do a factory reset, the fastest way back to a functional phone is to reflash the factory image.
I would call google and see of they have an eta on the factory image being released. I know it's a long shot but it seems like you the tried everything else.
When you reboot to recovery and get the robot push volume up.
I would go back into recovery and do another factory reset. Make sure it's plugged in and when it says erasing just let it sit until it's finished even if it takes a couple of hours. It may have really been erasing in the background and got interrupted several times when you powered off.
Have you tried relocking the bootloader to see if that makes a difference?
Wow!
Try holding the power button down for like 30 seconds to hard reset it.
Just tested this. You didn't break anything it's just an odd way to open recovery. You need to hold down power and then press volume up when the open android image is on the screen.
@Nucleonic did you solve the problem?
Still nothing but swirling balls. Just have to wait for the factory image to be released.
Nucleonic said:
Still nothing but swirling balls. Just have to wait for the factory image to be released.
Click to expand...
Click to collapse
Can you give it any fastboot commands? If there is a way to pull the image off my phone I will (does anyone know how)
Fastboot works great. That is how I am able to power off the device. OEM lock/unlock is fine. Fastboot devices is fine. Fastboot reboot and reboots boot loader all work fine. Because I can and have nothing else to do, I even put in an incompatible recovery. Fastboot flash recovery works. Just can't get the thing to boot past the spiraling balls.
Weird, I wonder what happened. Anyone know? I think I've read others have had success unlocking the bootloader without checking the box in settings like Nucleonic.
Nucleonic said:
Hey Guys/Gals!!!
Looking for help.
I received my N6 yesterday. After logging into the device, and turning developer options on, I placed the device into fastboot mode and proceded with unlocking the bootloader like I did with all my previous Nexus devices. In hindsight, the only error was my failure to check the OEM unlock box in the developer option page.
After getting the device into fastboot mode, I entered "Fastboot OEM unlock". I was given the screen asking if I wanted to unlock the bootloader. I selected yes and hit the power button. The phone then showed "Device is unlocked. Status Code 3." Not doing anything else, I tried restarting by selecting start and hitting the power button. A new screen came up with a little robot with a spinning sphere. Underneath the robot was "erasing..." This screen went on and on for ages. Eventually, I got tired of letting it sit there and was able to power off via the main fastboot screen.
This morning, I kept getting the erasing message. I kept powering down, not sure what else was going on.
Now, I am no longer getting the erasing message. The phone boots up, gets past the google screen with an unlocked padlock at the bottom, and proceeds to the splash screen (swirling dots). There it just sits.
I tried entering recovery mode via the fastboot screen, but I get my old friend the robot with the spinning sphere (this time no erasing message).
I know the factory images haven't been posted, but can someone help with what I have so far? Will reflashing solve the problem?
Click to expand...
Click to collapse
Try this:
• Press and hold Vol DN key then momentary press PWR key. Unit should power on into the bootloader screen. (you can now let go of the Vol DN key)
• Use the Vol DN to scroll two positions down until the bootloader options show “Recovery mode”
• Use the power key to select “Recovery Mode”
• Wait for your phone to enter recovery. The display will show the laying down Android with a red triangle exclamation mark.
• Press and hold the power key then quickly press the Vol up key (Caution pressing the power key for longer then 10s will reset the device).
• The phone should now be in system recovery option mode.
• Use the Vol DN key to scroll two positions down to the “wipe data/factory reset”
• Use the power key to select that option.
• Scroll down through the “no” option until you get to the “yes” option using the Vol Dn key 7 positions.
• Use the power key to select that option.
Your phone should now eared and reset back to factory mode. Once completed, use the power key to restart the device.
Else you can use the following fastboot commands to reset:
fastboot erase userdata
fastboot erase cache
fastboot reboot
Hope that helps,
fifo209 said:
Try this:
•Press and hold Vol DN key then momentary press PWR key. Unit should power on into the bootloader screen. (you can now let go of the Vol DN key)
•Use the Vol DN to scroll two positions down until the bootloader options show “Recovery mode”
•Use the power key to select “Recovery Mode”
•Wait for your phone to enter recovery. The display will show the laying down Android with a red triangle exclamation mark.
•Press and hold the power key then quickly press the Vol up key (Caution pressing the power key for longer then 10s will reset the device).
•The phone should now be in system recovery option mode.
•Use the Vol DN key to scroll two positions down to the “wipe data/factory reset”
•Use the power key to select that option.
•Scroll down through the “no” option until you get to the “yes” option using the Vol Dn key 7 positions.
•Use the power key to select that option.
Your phone should now eared and reset back to factory mode. Once completed, use the power key to restart the device.
Else you can use the following fastboot commands to reset:
fastboot erase userdata
fastboot erase cache
fastboot reboot
Hope that helps,
Click to expand...
Click to collapse
Thanks! I executed the fastboot commands. After reboot, I'm still stuck with the spiraling balls.
First time power on after rest take a very long time. (up to 5 min)
Sent from my AOSP on Shamu using Tapatalk
Still have swirling balls 18 minutes after turning back on.
I downloaded the factory image for the N6. I ran sh flash-all.sh. This is what I got:
target reported max download size of 536870912 bytes
sending 'bootloader' (3807 KB)...
OKAY [ 0.120s]
writing 'bootloader'...
(bootloader) flashing partition ...
(bootloader) This may take a few seconds if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
(bootloader) flashing rpm ...
(bootloader) flashing tz ...
(bootloader) flashing sdi ...
(bootloader) flashing logo ...
OKAY [ 0.342s]
finished. total time: 0.463s
rebooting into bootloader...
OKAY [ 0.001s]
finished. total time: 0.001s
target reported max download size of 536870912 bytes
sending 'radio' (67170 KB)...
OKAY [ 2.105s]
writing 'radio'...
(bootloader) flashing modem ...
(bootloader) flashing mdm1m9kefs1 ...
(bootloader) flashing mdm1m9kefs2 ...
(bootloader) flashing mdm1m9kefs3 ...
(bootloader) flashing versions ...
OKAY [ 0.730s]
finished. total time: 2.835s
rebooting into bootloader...
OKAY [ 0.001s]
finished. total time: 0.001s
target reported max download size of 536870912 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
fastboot(1322,0xa0b121d4) malloc: *** mach_vm_map(size=1681272832) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
failed to allocate 1679592636 bytes
error: update package missing system.img
What do I do next? can't get past that error message.
You don't need to enable Developer Options just to unlock the bootloader. When I first powered on my N6, I went right to the bootloader screen without loading Lollipop at all, since I knew it would delete everything, so why go through the setup process twice?
I did fastboot oem unlock, and rebooted. I only enabled Developer Options after I unlocked bootloader, and set up Lollipop

can only get into fastboot after trying to flash twrp recovery

I was trying to follow the steps in this guide - https://forum.xda-developers.com/oneplus-3t/development/recovery-twrp-oneplus-3t-t3507308 - and I got hung up at step #7. After flashing the twrp recovery in fastboot, I could not get it to boot into twrp recovery.
Code:
fastboot boot twrp.img
That returned with
Code:
[email protected]:~/$ sudo fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.069s]
booting...
FAILED (remote: bootimage: incomplete or not signed)
finished. total time: 0.089s
And when I tried to reboot it took me into what I thought was the stock recovery warning me that my device was unlocked and not to be trusted and gave me the options to power off, restart, recovery or fastboot. Fastboot takes me to the fastboot mode. Recovery takes me back to this same screen warning me that it isn't to be trusted. Powering off and restarting either take me back to the warning screen or simply give me a blank screen and the white led on.
I don't know where to go from here. I've downloaded the stock rom but I don't think I can flash that from fastboot and I can't get connect to the phone with adb because I can't boot the phone.
Does anyone have any suggestions? Aside from to stop messing with stuff when I don't fully understand what I'm doing that is...
Thanks for any help!
Jono
Go back to fastboot and try booting the stock recovery. Then choose to update worry ADB sideload. That worked for me, but I'm still having issues with TWRP.
Thanks for the reply! When I try that it just takes me back to the screen that says it can't be trusted because it's unlocked and 5 seconds later if I haven't pushed the volume keys it shows the oneplus logo for a second and then the screen goes blank and the white LED comes on.
solved
Ok, I managed to flash the stock recovery; which I downloaded from oneplus directly. I'm a new user here so it won't let me post a link but they do provide a download for the stock recovery there.
At that point I was able to reboot into recovery, and now I can get it to start up again. Here's what I did in case anyone needs help.
Code:
[email protected]:~/$ sudo fastboot devices
[sudo] password for jono:
bb1c12d3 fastboot
[email protected]:~/$ sudo fastboot flash recovery recovery_OBT7.img
target reported max download size of 442499072 bytes
sending 'recovery' (22237 KB)...
OKAY [ 0.555s]
writing 'recovery'...
OKAY [ 0.171s]
finished. total time: 0.725s
[email protected]:~/$ sudo fastboot boot recovery_OBT7.imgdownloading 'boot.img'...
OKAY [ 0.544s]
booting...
OKAY [ 0.322s]
finished. total time: 0.865s
Hope that helps anyone else. After I did that it rebooted and took me through the whole setup procedure. I'm going to hold off on trying to root this thing for now.

boot, recovery, and fastboot loop

MI8 with older twrp and older LOS suddenly bootlooping. it is unlocked.
If I hold Vol Down, it flashes a fastboot logo for a few seconds.
If I hold Vol Up, it flashes the TWRP logo 3.3.1-1 for a bit longer than the fastboot.
If I hit 'adb devices' just right I can see the device for a few seconds.
I cannot shut off the phone.
Any help?
don't know what I am doing, but
./fastboot flash recovery /home/poiu/Downloads/t.img
< waiting for any device >
Sending 'recovery' (43588 KB) OKAY [ 1.614s]
Writing 'recovery' OKAY [ 0.133s]
Finished. Total time: 1.752s
@Kenora_I
Reflash Lineage (preferably a newer one)
Clear data before though and after just in case.
um why did you tag me
Because in pm you said to make a thread and tag you.
How do i flash lineage when it reboots in ~2 secs
LargePrime said:
How do i flash lineage when it reboots in ~2 sec
Click to expand...
Click to collapse
Oh sorry I forgot.
How did you flash recovery then?
Unsucessfully.
When i did ./fastboot ... It waited till it could see the phone and started the flash i guess, but as i said it said it was done in 1.7sec, so i think the phone rebooted, like it do, not caring if the flash was done
Type fastboot oem edl and automatically your phone will go to EDL Mode. If the command does not work, try fastboot reboot-edl or fastboot reboot edl.
If it can recieve and execute this it should enter emergency download mode.
And if that works then what should i do?
Flash it normally with miflash
Or qualcomm flash tool or sp flash tool depending on your chipset
./fastboot oem edl
< waiting for any device >
OKAY [ 0.000s]
Finished. Total time: 0.000s
still looping
./fastboot reboot-edl
< waiting for any device >
fastboot: usage: unknown command reboot-edl
./fastboot reboot edl
< waiting for any device >
fastboot: usage: unknown reboot target edl
The power button is probably broken.
You cant shut off the phone meaning something wrong with the power button.
The fastboot and twrp screens won't stay on for more than a few seconds.
I've done my reading and looking at similar issues. I've just concluded that the power key is damaged in some way.
Your best bet is to find someone to fix it. Or you can try to fix it yourself(but that is risky if you don't know what you're doing.)
I'm sorry for looping around the issue, I suspected the power button at first but I didn't really wanna leave you with a hardware issue unless I was sure so......
So, firstly, thanks.
You said power button, so i just played with the power button for 30 sec, AND IT BOOTED!
BUT, it has a SAFE MODE graphic on the screen.
rebooted and its fine?
can i ask how to update twrp and lineage, and can it keep the data intact?
Uh safe mode happens when the power button is held during boot.
Um that still is broken i think.
LargePrime said:
So, firstly, thanks.
You said power button, so i just played with the power button for 30 sec, AND IT BOOTED!
BUT, it has a SAFE MODE graphic on the screen.
rebooted and its fine?
can i ask how to update twrp and lineage, and can it keep the data intact?
Click to expand...
Click to collapse
upon reboot graphic is gone, but I agree it is sus
LargePrime said:
upon reboot graphic is gone, but I agree it is sus
Click to expand...
Click to collapse
Yep. Maybe get it looked at.
how update TWRP and LOS? in a way that keeps data?
LargePrime said:
how update TWRP and LOS? in a way that keeps data?
Click to expand...
Click to collapse
Well do they boot?
If LOS boot okay
Twrp can be flashed normally
Hope your issue is solved
I think it is. seems ok.
Thanks much

Categories

Resources