Here in this troubleshooting guide, we’ll be sharing with you possible steps to Fix the Fastboot FAILED (remote: Command not allowed) Error while trying to flash files on your Android device. If you’re also facing the same problem, then don’t worry. Talking about the ADB and Fastboot commands, these are the most useful ways to easily flash zip files, booting your device to fastboot or recovery mode.

Additionally, you can install root access or other modules in order to get into the unlimited customizations of Android. Additionally, if your Android handset has stuck into the boot loop issue or in the bricked status, you can easily fix the issue by the flashing firmware file via ADB and Fastboot method. But it doesn’t mean that you won’t gonna receive errors while using it. Yes! ADB and Fastboot methods can also occur multiple errors.

Also Read

No OS Found Error in TWRP: How to Fix

What is FAILED (remote: Command not allowed) Error?

It seems that one of the most common reasons behind such an issue is that you’re flashing a file to an incorrect partition. So, this can basically cause issues with the system partition such as the A/B slot partition. To be very specific, there is no recovery partition in the A/B partition. Therefore, you can’t flash the TWRP Recovery to the recovery partition directly.

Whereas if your device has the A-only slot partition, still it should be having the recovery partition. So, you can directly flash the recovery to the partition instead of booting it. But in most scenarios, not-so-geek users get confused with it and end up with the FAILED (remote: Command not allowed) error after trying the process wrongly.

Alternatively, you’re most probably flashing a custom binary file on a locked bootloader device. Whereas if you’re using an outdated ADB and Fastboot tool on your PC, it may also trigger such an issue. Now, without wasting any more time, let’s jump into it.

How to Fix Fastboot FAILED (remote: Check device console)

Steps to Fix FAILED (remote: Command not allowed) Error

Disclaimer: GetDroidTips isn’t responsible if you’re facing any kind of issues after following this guide. You should know what you’re doing and proceed at your own risk.

Requirements:

So, before heading over to the steps, make sure to follow the requirements properly.

1. You Need PC or Laptop

Obviously, if you’re getting into the ADB and Fastboot environment, you’ll gonna require a PC or Laptop whatsoever. You also need a USB data cable to connect your handset to the computer.

2. Download Android USB Drivers

Downloading and installing Android USB Drivers are necessary on your PC in order to successfully create a communication bridge between the computer & the mobile device. Once you’re connected, you’ll be good to go to flash files. You can get the USB drivers here.

3. Download Latest ADB and Fastboot Tool

Make sure to download the latest ADB and Fastboot Tool on your computer. The ADB and Fastboot method allow you to easily flash files to the system partitions in the bootloader or fastboot mode. However, it requires the unlocked bootloader of your Android device to work.

4. Make sure to Unlock Your Device Bootloader

As we’ve already mentioned that your device bootloader should be unlocked before using or trying to flash the file on the system partition by using the ADB and Fastboot command method. If you’re not aware of it, each Android device does come with a locked bootloader that doesn’t allow you to flash any third-party file into the system.

So, unlocking the bootloader is very very important before start flashing any third-party file on your Android device. You can find out an in-depth guide on how to get the bootloader unlocked on any Android handset.

Advertisement

Flash Files to the Correct Partition

  • To start with, make sure to check whether your Android device does have an A/B partition or an A-only partition. To do so, install the Treble Check app via Google Play Store, and check the system partition type of your device.

  • Now, if your device has the A/B partition type, then you’ll need to boot into the boot partition by executing the following command.

  • To do that, connect your device to the PC via a USB cable.

  • Second, we hope that you’ve already enabled USB Debugging on your handset.

  • Next, head over to the installed ADB and Fastboot folder > Press the Shift key + Right-click on the mouse > Click on Open command window here.

  • Type the following command and hit Enter:

fastboot boot twrp.img

  • Once the device boots into TWRP recovery, you can flash the TWRP zip file to get it installed permanently.
  • But if your device has the A-only partition type, then you’ll have to directly flash the TWRP Recovery to the recovery partition by using the following command: [If you’ve renamed the twrp.img file then replace it with the actual name]

fastboot flash recovery twrp.img

  • This method will boot your device into the TWRP recovery mode.
  • Finally, you’re good to go. Now, you can flash files to the system partition without getting fastboot failed errors.

That’s it, guys. We assume you’ve found this guide helpful. For further queries, let us know in the comment below.

  • To do that, connect your device to the PC via a USB cable.

  • Second, we hope that you’ve already enabled USB Debugging on your handset.

  • Next, head over to the installed ADB and Fastboot folder > Press the Shift key + Right-click on the mouse > Click on Open command window here.

  • Type the following command and hit Enter:

  • Once the device boots into TWRP recovery, you can flash the TWRP zip file to get it installed permanently.

Patch Stock Boot Image via Magisk and Flash it using Fastboot