FAILED (remote: command unknown) - Android Q&A, Help & Troubleshooting

When I tried to boot twrp from K109_V01 (MT6753) tablet:
fastboot boot recovery.img
the display says:
FAILED (remote: command unknown)
How can I fix this?
Thanks!

Related

HELP - Cannot Flash Custom Recovery - ERROR: usb_read failed with status e00002e8

My phone is rooted and unlocked. I have installed adb and fastboot. I had twrp installed and I used it to install a custom rom. Then, I accidentally flashed something (maybe update.zip?) that not only changed the regular system partition, but also the recovery partition. I've been trying to get twrp back and I'm having major issues.
When I try the command "fastboot erase recovery" I receive the following error message:
erasing 'recovery'...
ERROR: usb_read failed with status e00002e8
FAILED (status read failed (Invalid argument))
finished. total time: 0.005s
I've searched google with several different parameters and nothing is helping me, so I figure best to post my own question. I get the same error and status e00002e8 when trying to flash recovery.img or boot.img

[Solved]Fastboot flash recovery stuck on sending

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.

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!

partition table broken

Hi all,
when installing lineage 18.1 I successfully screwed up my MOTO G8. When rebooting after all installalation steps being successfull, it says
​No valid operation system could be found. The device will not boot.​
Booting to fastboot again I tried to flash again, but this time I get
​fastboot set_active a​Setting current slot to 'a' FAILED (remote: '')
fastboot: error: Command failed​​Trying to to flash something does not work as well, e.g.
fastboot flash recovery recovery.img​ending 'recovery' (24924 KB) OKAY [ 0.752s]​Writing 'recovery' (bootloader) Invalid partition name recovery
FAILED (remote: '')
fastboot: error: Command failed​​Apperently the partition table appears to be broken. Can I restore it?
badkey212 said:
Hi all,
when installing lineage 18.1 I successfully screwed up my MOTO G8. When rebooting after all installalation steps being successfull, it says
​No valid operation system could be found. The device will not boot.​
Booting to fastboot again I tried to flash again, but this time I get
​fastboot set_active a​Setting current slot to 'a' FAILED (remote: '')​fastboot: error: Command failed​​Trying to to flash something does not work as well, e.g.
​fastboot flash recovery recovery.img​ending 'recovery' (24924 KB) OKAY [ 0.752s]​Writing 'recovery' (bootloader) Invalid partition name recovery​FAILED (remote: '')​fastboot: error: Command failed​​Apperently the partition table appears to be broken. Can I restore it?
Click to expand...
Click to collapse
Does the bootloader say "flashing_locked" now?
Try
Code:
fastboot flash partition gpt.bin
sd_shadow said:
Does the bootloader say "flashing_locked" now?
Try
Code:
fastboot flash partition gpt.bin
Click to expand...
Click to collapse
That helped, thank you!

How to sign A13 boot image for relocking bootloader for Pixel 4A?

I followed this https://forum.xda-developers.com/t/signing-boot-images-for-android-verified-boot-avb-v8.3600606/ to sign boot image. But it fails to boot. I think the process corrupts image.
```
fastboot boot boot_signed.img
< waiting for any device >
Sending 'boot.img' (36925 KB) OKAY [ 1.220s]
Booting FAILED (remote: 'Error verifying the received boot.img: Volume Corrupt')
fastboot: error: Command failed
```
Device is Pixel 4A. I tried with different ROMs.

Categories

Resources