[Solved]Fastboot flash recovery stuck on sending - Android Q&A, Help & Troubleshooting

Hello everybody,
I own a Lenovo k5 pro phone (L38041).
I've unlocked bootloader yesterday with this method, then I flashed via twrp zui 11 with android pie, prerequisite to install havoc 2.9. That overwrited twrp with stock recovery, so I tried to flash twrp again via fastboot but it got stuck sending.
See here, when prompted «FAILED (Status read failed (No such device))» is because I reboot phone bootloader after a long wait sending.
Code:
$ adb version
Android Debug Bridge version 1.0.41
Version 29.0.4-1
Installed as /usr/bin/adb
$ fastboot --version
fastboot version 29.0.4-1
Installed as /usr/bin/fastboot
$ fastboot devices
4488d6fc fastboot
$ fastboot flash recovery recovery-TWRP-3.2.3-0225-LENOVO_K5PRO-CN-wzsx150.img
Sending 'recovery' (55144 KB) FAILED (remote: 'unknown command')
fastboot: error: Command failed
$ fastboot -w
Finished. Total time: 0.002s
$ fastboot flash recovery recovery-TWRP-3.2.3-0225-LENOVO_K5PRO-CN-wzsx150.img
Sending 'recovery' (55144 KB) FAILED (Status read failed (No such device))
fastboot: error: Command failed
$ fastboot -w
Erasing 'userdata' FAILED (remote: 'unknown command')
fastboot: error: Command failed
$ fastboot flash recovery recovery-TWRP-3.2.3-0225-LENOVO_K5PRO-CN-wzsx150.img
Sending 'recovery' (55144 KB) FAILED (Status read failed (No such device))
fastboot: error: Command failed
$ fastboot -w
Erasing 'userdata' FAILED (remote: 'unknown command')
fastboot: error: Command failed
$ fastboot -w
Finished. Total time: 0.002s
$ fastboot -w
Erasing 'cache' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
$ fastboot getvar all
getvar:all FAILED (remote: 'unknown command')
Finished. Total time: 0.001s
$ fastboot getvar all
getvar:all FAILED (remote: 'GetVar Variable Not found')
Finished. Total time: 0.001s
$ fastboot getvar all
getvar:all FAILED (remote: 'GetVar Variable Not found')
Finished. Total time: 0.001s
$ fastboot -w
Finished. Total time: 0.001s
$ fastboot flash unlock sn.img
Sending 'unlock' (8 KB) FAILED (Status read failed (No such device))
fastboot: error: Command failed
$ fastboot -w
Erasing 'userdata' FAILED (remote: 'unknown command')
fastboot: error: Command failed
$ fastboot -w
Finished. Total time: 0.001s
Bootloader info:
Fastboot mode (secure)
Product: kunlun
Variant: SDM EMMC
SN: 4488d6fc
Device state: unlocked
In develorper options it shows as unlocked too.
Last thing, I've pushed some files via adb while system is on, (debugging mode on).
Thank you.

Today I've updated adb and fastboot to 29.0.4-2 with same result.
Some other commands I've tried (notice it fails when I restart fastboot at device some time after wait):
Code:
$ fastboot devices
4488d6fc fastboot
$ fastboot boot recovery-TWRP-3.2.3-0225-LENOVO_K5PRO-CN-wzsx150.img
Sending 'boot.img' (55141 KB) FAILED (Status read failed (No such device))
fastboot: error: Command failed
$ fastboot oem unlock
FAILED (remote: 'unknown command')
fastboot: error: Command failed
$ fastboot oem lock
FAILED (remote: 'unknown command')
fastboot: error: Command failed
Any help?

I'ts solved.
I've used different computer and different cable, it was as easy.

Related

Working With Fastboot Command in Atrix2

C:\android-tools>fastboot devices
014FDCF003009004 fastboot
C:\android-tools>fastboot oem unlock\
...
FAILED (remote: unsupported command)
finished. total time: 0.003s

bricked p20 lite

Hello guys, i bricked my phone and now i get errors:
Error!
Func NO : 11 (reovery image)
Error NO : 2 (load failed!)
I have unlocked bootloader, access to fastboot and stock recovery. Any idea how to fix it?
I can't flash anything becouse i get error FAILED (remote: Command not allowed). I have driver for my phone (Android ADB Interface)
D:\ROOT\Minimal ADB and Fastboot>fastboot devices
9WV7N18425025395 fastboot
D:\ROOT\Minimal ADB and Fastboot>fastboot flash ramdisk patched_ramdisk.img
target reported max download size of 471859200 bytes
sending 'ramdisk' (8638 KB)...
OKAY [ 0.268s]
writing 'ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.276s
D:\ROOT\Minimal ADB and Fastboot>
edit.
I had to relock bootloader and i get access to stock recovery, form there i can dowload software last version
IDeeJay91 said:
Hello guys, i bricked my phone and now i get errors:
Error!
Func NO : 11 (reovery image)
Error NO : 2 (load failed!)
I have unlocked bootloader, access to fastboot and stock recovery. Any idea how to fix it?
I can't flash anything becouse i get error FAILED (remote: Command not allowed). I have driver for my phone (Android ADB Interface)
D:\ROOT\Minimal ADB and Fastboot>fastboot devices
9WV7N18425025395 fastboot
D:\ROOT\Minimal ADB and Fastboot>fastboot flash ramdisk patched_ramdisk.img
target reported max download size of 471859200 bytes
sending 'ramdisk' (8638 KB)...
OKAY [ 0.268s]
writing 'ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.276s
D:\ROOT\Minimal ADB and Fastboot>
edit.
I had to relock bootloader and i get access to stock recovery, form there i can dowload software last version
Click to expand...
Click to collapse
https://forum.xda-developers.com/huawei-p20-lite/help/solution-nova-3e-p20-lites-brock-bolt-t3816608 my Solution
César Terrazas said:
https://forum.xda-developers.com/huawei-p20-lite/help/solution-nova-3e-p20-lites-brock-bolt-t3816608 my Solution
Click to expand...
Click to collapse
i cant used this method becouse i had FRP locked and i cant flash anything...
IDeeJay91 said:
Hello guys, i bricked my phone and now i get errors:
Error!
Func NO : 11 (reovery image)
Error NO : 2 (load failed!)
I have unlocked bootloader, access to fastboot and stock recovery. Any idea how to fix it?
I can't flash anything becouse i get error FAILED (remote: Command not allowed). I have driver for my phone (Android ADB Interface)
D:\ROOT\Minimal ADB and Fastboot>fastboot devices
9WV7N18425025395 fastboot
D:\ROOT\Minimal ADB and Fastboot>fastboot flash ramdisk patched_ramdisk.img
target reported max download size of 471859200 bytes
sending 'ramdisk' (8638 KB)...
OKAY [ 0.268s]
writing 'ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.276s
D:\ROOT\Minimal ADB and Fastboot>
edit.
I had to relock bootloader and i get access to stock recovery, form there i can dowload software last version
Click to expand...
Click to collapse
I've the same problem if you get the solution please inform me as well
Thanks
IDeeJay91 said:
i cant used this method becouse i had FRP locked and i cant flash anything...
Click to expand...
Click to collapse
Watch a YouTube tutorial to umlock FRP

The system has been destroyed - Pocophone F1

Hi Guys!
So I got a phone from a friend to assist him with a problem.
When I opening the phone, the phone showing an error message "The system has been destroyed".
I tried to use Fastboot but when I running any command an error message received, for example:
Example1:
fastboot flash recovery "twrp-3.3.0-0-beryllium (1).img"
Sending 'recovery' (31068 KB) FAILED (Write to device failed (Invalid argument))
fastboot: error: Command failed
Example2:
fastboot devices -l
???????????? fastboot
Example 3:
fastboot flashing unlock
FAILED (Write to device failed (Unknown error))
fastboot: error: Command failed
fastboot oem device-info -v
< waiting for any device >
FAILED (Write to device failed (Too many links))
fastboot: error: Command failed
Any ideas??
Please help!
Thanks!

'fastboot oem get_unlock_data' failure with Motorola

Hello, I've been struggling with this for hours and nothing seems to be working.
I have a Motorola DROID RAZR XT912 running Android 4.1.2 JB, it's already rooted but I'm attempting to unlock the bootloader using this guide.
I've installed the Android SDK as well as the latest USB Drivers.
I enter my mobile device into "AP Fastboot Flash Mode (S)" by holding power + volume down.
I plug my device into my laptop, the phone says "USB Connected".
I open a terminal in Windows 11 in my SDK tools directory [C:\Users\FOS11\AppData\Local\Android\Sdk\platform-tools]
I use the command "fastboot devices" to test if fastboot is working and detecting my device.
It properly returns with "014FFB290D006013 fastboot"
I attempt to use the command "fastboot oem get_unlock_data"
It returns with an error:
"FAILED (remote: 'unsupported command')
fastboot: error: Command failed"
I have followed the guide exactly up to this point with no errors, I have not found any forum or guide saying anything about this error, I must be missing something very simple, right? please let me know if any additional information is needed.
some moto/lenovo do not require unlock code. such old device maybe isn't even locked. just curious what happen for?
Code:
fastboot flashing get_unlock_ability
fastboot flashing unlock
fastboot oem unlock
fastboot getvar all
could be also possible it's non-unlockable bootloader (not intended by manufacturer, unofficial methods might exist)
"Your device is NOT eligible for bootloader unlock if the CID value returned is one of these: 0x0001, 0x0002, 0x0004, 0x0005, 0x0006, 0x0008, 0x000A, 0x000F, 0x0010, 0x0011"
aIecxs said:
some moto/lenovo do not require unlock code. such old device maybe isn't even locked. just curious what happen for?
Code:
fastboot flashing get_unlock_ability
fastboot flashing unlock
fastboot oem unlock
fastboot getvar all
could be also possible it's non-unlockable bootloader (not intended by manufacturer, unofficial methods might exist)
"Your device is NOT eligible for bootloader unlock if the CID value returned is one of these: 0x0001, 0x0002, 0x0004, 0x0005, 0x0006, 0x0008, 0x000A, 0x000F, 0x0010, 0x0011"
Click to expand...
Click to collapse
"fastboot flashing get_unlock_ability"
returns
"FAILED (remote: 'unsupported command')
fastboot: error: Command failed"
"fastboot flashing unlock"
returns
"FAILED (remote: 'unsupported command')
fastboot: error: Command failed"
"fastboot oem unlock"
returns
"(bootloader) fastboot oem unlock disabled!
FAILED (remote: '')
fastboot: error: Command failed"
"fastboot getvar all"
returns
"getvar:all FAILED (remote: 'unsupported command')
Finished. Total time: 0.000s"
Additional info: phone has no SIM card inserted (Not sure if this is useful)
(bootloader) fastboot oem unlock disabled!
probably means this bootloader cannot unlocked.
But last cmd shouldn't fail.. try special mfastboot.exe or more recent platform-tools
Code:
fastboot getvar unlocked
fastboot getvar securestate
fastboot getvar sku
fastboot getvar cid
or just try if unlocked by doing something invasive (does not harm on cache)
Code:
fastboot oem fb_mode_set
fastboot format cache
fastboot oem fb_mode_clear
aIecxs said:
(bootloader) fastboot oem unlock disabled!
probably means this bootloader cannot unlocked.
But last cmd shouldn't fail.. try special mfastboot.exe or more recent platform-tools
Code:
fastboot getvar unlocked
fastboot getvar securestate
fastboot getvar sku
fastboot getvar cid
or just try if unlocked by doing something invasive (does not harm on cache)
Code:
fastboot oem fb_mode_set
fastboot format cache
fastboot oem fb_mode_clear
Click to expand...
Click to collapse
Using your attached platform-tools version,
'mfastboot.exe' is not recognized as an internal or external command,
operable program or batch file.
fastboot getvar unlocked
returns
unlocked: no
fastboot getvar securestate & fastboot getvar sku
returns
FAILED (remote: 'unsupported command')
fastboot getvar cid
returns
cid: 2
fastboot oem fb_mode_set
returns
OKAY [ 0.016s]
fastboot format cache
returns
FAILED (remote: 'protocol error')
fastboot oem fb_mode_clear
returns
OKAY [ 0.016s]
Additional info: phone was rooted with a tool called "RAZR Blade"
Thank you for your help so far.
cid: 0x0002 "Your device is NOT eligible for bootloader unlock"
Frequently Asked Questions - Motorola Razr [XT912, XT910, XT908] (2015)
Frequently Asked Questions Motorola Razr [XT912, XT910, XT908] This a short list of frequently asked questions in this device forum and the answers often given as a response. It should serve as a starting point for gathering knowledge and...
forum.xda-developers.com
hi, i received other error, xt-2239-16 moto e22i,
C:\Users\Rosaly\Desktop\platform-tools>fastboot getvar unlocked
unlocked: no
Finished. Total time: 0.000s
C:\Users\Rosaly\Desktop\platform-tools>fastboot getvar securestate
getvar:securestate FAILED (remote: 'Unknown variable')
Finished. Total time: 0.016s
C:\Users\Rosaly\Desktop\platform-tools>fastboot getvar securestate
getvar:securestate FAILED (remote: 'Unknown variable')
Finished. Total time: 0.000s
C:\Users\Rosaly\Desktop\platform-tools>fastboot getvar sku
getvar:sku FAILED (remote: 'Unknown variable')
Finished. Total time: 0.016s
C:\Users\Rosaly\Desktop\platform-tools>fastboot getvar cid
getvar:cid FAILED (remote: 'Unknown variable')
Finished. Total time: 0.016s
C:\Users\Rosaly\Desktop\platform-tools>fastboot oem fb_mode_set
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
C:\Users\Rosaly\Desktop\platform-tools>
C:\Users\Rosaly\Desktop\platform-tools>fastboot format cache
FAILED (remote: 'Invalid partition')
fastboot: error: Command failed
C:\Users\Rosaly\Desktop\platform-tools>fastboot oem fb_mode_clear
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
i m not read cid, could be help me, please.
tks
Rocha

After the upgrade fails, the download, recovery mode and android system cannot be entered.

Device Information:
*** Software status: Modified ***
*** UNLOCKED ***
HTC_A51BML 128 SHIP S-ON
CID-HTC__621
LK-1.01.0000
OS-1.14.401.52
HTC Desire 828g
_______________________________________________________________________________________________
First of all, I would like to apologize, Not any forums for my device.
After the upgrade fails, I can only enterded Bootloader.
I kown first I need to fix my download mode but I can't, and I found an RUU flash file.
When I flash.
CMD:
fastboot flash cache cache.img
fastboot flash userdata userdata.img
Fastboot responsed:
---start---
Sending 'cache' (6248 KB) OKAY [ 0.236s]
Writing 'cache' FAILED (remote: 'download for partition 'cache' is not allowed
')
fastboot: error: Command failed
---end---
--start---
Sending sparse 'userdata' 1/2 (131068 KB) OKAY [ 4.364s]
Writing 'userdata' FAILED (remote: 'download for partition 'userdata' is not allowed
')
fastboot: error: Command failed
---end---
Later I want to fix my recovery
CMD:
fastboot flash recovery twrp-3.1.0-0-a51bml_tuhl.img
Fastboot responsed:
---start---
Sending 'recovery' (12582 KB) OKAY [ 0.432s]
Writing 'recovery' FAILED (remote: 'download for partition 'recovery' is not allowed
')
fastboot: error: Command failed
---end---
So..........
What do I do?
Please Any Developers Help Me
Hope

Categories

Resources