Fixed : Flashing is not allowed in Lock State

When using fastboot, if we type below command,

$ sudo fastboot flash boot boot.img

We may see an error as,

FAILED (remote: 'Flashing is not allowed in Lock State')
fastboot: error: Command failed

Solution :

First make sure to unlock the flashing using below command,

$ sudo fastboot flashing unlock

To make sure the above command works properly, you need to enable “OEM Unlock” as mentioned in “Solved: Fastboot Flashing Unlock is not allowed”

How To Enable / Disable LED Flash F... x
How To Enable / Disable LED Flash For Alerts on iPhone

Leave a Comment

Sign up to our newsletter!

ADB Commands Android Android Applications Android Build system Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia NDK / Middleware / HAL Operating System Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto Embedded Linux