fastboot: error: Command failed - OnePlus 7 Pro Questions & Answers

I have installed the OnePlus drivers, have the right fastboot platform files and bootloader is unlocked. Developer option and USB debugging are on. I tried the original USB cable and another third party cable, used different USB slots in my laptop and still cannot flash TWRP (the right version for my device). I am on Pie version. Can anyone please help fix this issue. Error below:
Sending 'boot.img' (33672 KB) OKAY [ 0.728s]
Booting FAILED (remote: 'unknown command')
fastboot: error: Command failed

Hmmmm , did you try the maybe the older version of TWRP...

Related

Unable to flash with fastboot

Hello there,
I just got a Nokia 6.2 to use for my app reverse-engineering/development needs, but I would need to root it.
Recovery is just saying "no command" and fastboot does not want to flash recovery.
Code:
C:\Users\<user>\Downloads\platform-tools_r29.0.5-windows\platform-tools>fastboot flash recovery twrp-3.3.1-PL2.img
Sending 'recovery' (38736 KB) FAILED (remote: 'unknown command')
fastboot: error: Command failed
Apperently the device's flashing functionality appears to be encrypted.
per the how-to at https://www.androidweblog.com/nokia-6-2-ta-1198-root-install-twrp-recovery/:
Code:
C:\Users\<username>\Downloads\platform-tools_r29.0.5-windows\platform-tools>fastboot oem unlock-go
FAILED (remote: 'Failed to unlock, decrypt failed!')
fastboot: error: Command failed
Device state is listed as unlocked.
Try
HTML:
fastboot flashing unlock

Can't boot into twrp

I (think i) flashed twrp into recovery but the recovery command brings me to the no command screen, booting up with VOLdown just wipes my device, and trying to boot brings
Sending 'boot.img' (17450 KB) OKAY [ 0.551s]
Booting FAILED (remote: 'unknown command')
fastboot: error: Command failed
Device: LGmx210ma (Lg aristo 2)
Andriod version: Nougat
I don't care if my phone gets wiped, I can't find any solutions online so I made this post.
(Can't post on the LG aristo 2 boarddue to the post limit)
If this problem has been solved on a different thread, please link it.
Thank you.

Cannot unlock Flashing Lock Flag for Blu Studio Mega 2019

Hello all,
I currently have a Blu Studio Mega 2019 android device with me. It is running android 9. I have spent the last 3 days trying my hardest and expending all resources to root the device. I have been unsuccessful every time and the main reason is that When I run the below command it always fails. I have tried "fastboot oem unlock" or "fastboot oem device-info" and it always returns command not valid.
fastboot flash recovery twrp.img
Sending 'recovery' (16356 KB) OKAY [ 0.527s]
Writing 'recovery' FAILED (remote: 'Flashing Lock Flag is locked. Please unlock it first!')
fastboot: error: Command failed
Yes I do have usb debugging on, OEM unlock on, I have the android drivers for the "fastboot gadget installed". My device shows up when I type "fastboot devices" and will reboot with "fastboot reboot". I have not been able to find a solution to my 'Flashing Lock Flag is locked. Please unlock it first!' problem. I hope someone else has found the solution.

Trouble with G110A (NOT Verizon) bootloader

Trying to root my phone to flash Alexndr ROM. Phone is Google purchased (NOT verizon) pixel 2 G011A . USB Debug and OEM unlocking are toggled "on."
From the bootloader screen, and connected to the computer, this is the result from the following commands:
fastboot flashing unlock
FAILED (remote: 'Flashing Unlock is not allowed') fastboot: error: Command failed
Click to expand...
Click to collapse
fastboot flashing unlock_critical
FAILED (remote: 'unknown command') fastboot: error: Command failed
Click to expand...
Click to collapse
It is communicating with the device:
fastboot devices
{{device serial number}} fastboot
Click to expand...
Click to collapse
and unlocking the bootloader seems to be enabled on the phone
fastboot flashing get_unlock_ability
(bootloader) get_unlock_ability: 1
OKAY [ 0.000s]
Finished. Total Time: 0.000s
Click to expand...
Click to collapse
I've tried all the USB ports on several computers with both Win10 and linux, with the same result.
On the phone itself, developer options are enabled, USB debugging is enabled, and OEM unlocking is enabled. Curiously, OEM unlocking becomes grayed out and disabled after enough failed attempts, but I've been fixing this with a factory reset.
The Android version is 11, build RP1A.201005.004A1
What am I missing here? Why wont this bootloader unlock? Thanks!
I have the same problem. Can someone please explain how to fix this?

FAILED (remote: 'Download is not allowed on locked devices')

i wnat to root https://www.xda-developers.com/root/
when i try
D:\platform-tools>fastboot flash boot D:\platform-tools/magisk_patched-25100_1VYTU.img
it show
Code:
Sending 'boot' (98304 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
i also try
fastboot oem unlock
it show
Code:
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
what should i do ??
chatofking said:
i wnat to root https://www.xda-developers.com/root/
when i try
D:\platform-tools>fastboot flash boot D:\platform-tools/magisk_patched-25100_1VYTU.img
it show
Code:
Sending 'boot' (98304 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
Click to expand...
Click to collapse
Rename the patched boot.img to "boot.img", then place the patched .img in your fastboot folder on PC then type:
fastboot flash boot boot.img
When you place the file in your fastboot folder, you don't need to include the path to the file in the command, it automatically looks for the file in the fastboot folder by default when you do not enter a path. Renaming the file to "boot.img" isn't necessarily required, but, it does simplify things for fastboot and makes the command easier to remember and type.
The same applies if you want to flash a system.img, recovery.img, etc.. Just change the name of the file to "system.img" or "recovery.img" and place it/them in your fastboot folder and it simplifies your commands to:
fastboot flash system system.img
And
fastboot flash recovery recovery.img
Also, try this for the failed command
FAILED (remote: Unable to open fastboot HAL): Unlock Bootloader Fix
In this tutorial, we will show you the steps to fix the FAILED (remote: Unable to open fastboot HAL) error when unlocking the bootloader.
www.droidwin.com
now i got same message
D:\platform-tools>fastboot flash boot boot.img
Code:
Sending 'boot' (98304 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
Droidriven said:
Also, try this for the failed command
FAILED (remote: Unable to open fastboot HAL): Unlock Bootloader Fix
In this tutorial, we will show you the steps to fix the FAILED (remote: Unable to open fastboot HAL) error when unlocking the bootloader.
www.droidwin.com
Click to expand...
Click to collapse
im already try this verify cmd location, install fastboot driver & boot fastboot mode nothing change.
Code:
D:\platform-tools>fastboot oem unlock
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
what should i do ??
chatofking said:
i wnat to root https://www.xda-developers.com/root/
when i try
D:\platform-tools>fastboot flash boot D:\platform-tools/magisk_patched-25100_1VYTU.img
it show
Code:
Sending 'boot' (98304 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
Click to expand...
Click to collapse
You've to unlock device's bootloader. Hence 1st of all if you want to manage the / operate on the bootloader you have to move device into fastboot mode and then run on device if it's launched 2015 or later
Code:
fastboot flashing unlock
[code]
instead of the outdated
[code]
fastboot oem-unlock
xXx yYy said:
You've to unlock device's bootloader. Hence 1st of all if you want to manage the / operate on the bootloader you have to move device into fastboot mode and then run on device if it's launched 2015 or later
Code:
fastboot flashing unlock
[code]
instead of the outdated
[code]
fastboot oem-unlock
Click to expand...
Click to collapse
when i try
D:\platform-tools>fastboot flashing unlock
it show
Code:
FAILED (remote: 'Unrecognized command flashing unlock')
fastboot: error: Command failed
i use https://developer.android.com/studio/releases/platform-tools
what should i do ??
The platform tools you actually use are meant to be used with Google devices only.
Use the Android USB-tools provided by your device's manufacturer.
xXx yYy said:
The platform tools you actually use are meant to be used with Google devices only.
Use the Android USB-tools provided by your device's manufacturer.
Click to expand...
Click to collapse
i use mtp driver
update Portable Devices to MTP USB Device
but when i enter fastboot mode
it become Android Device Android Bootloader Interface.
where is extracted the driver package folder ?? https://www.xda-developers.com/download-android-usb-drivers/
I'm having simular issue with my specter 8 tablet. I unlock the bootloader and give me the normal prompt. I go back do everything else and will execute reboot devices ect. However won't flash patch_boot.img brings up message
FAILED (remote: 'Download is not allowed on locked devices').

Categories

Resources