back to top

How to Fix Critical Partition Flashing Is Not Allowed: Error Message: remote: Partition flashing is not allowed.

Follow Us
placeholder text

If you want to have complete use of your device, then you have thought of flashing a custom skin, but in between you likely encounter a failed (remote: “flashing is not allowed for critical partitions.”) This isn’t quite a common scenario, but if you have it, then it is quite straightforward to rectify the issue.

We can assume that you have unlocked your device bootloader and that, during flashing, you have encountered the critical partition flashing is not allowed error due to restrictions.

What is critical partition flashing? Flashing is not allowed during flashing.

Custom Binary flashing is done by fastboot OEM unlock, but if you flash a stock ROM with the fastboot command, then there is a high chance of encountering the error. This means this error happens due to the locked partitions and triggers the aforementioned error. 

How to Fix Critical Partition Flashing Is Not Allowed

Not to mention, this will completely format your device data, so ensure you have a complete backup of your files. Also, it will void the warranty.

  • First things first, you need to enable USB debugging to grant access to the device in ADB mode.
  • Open Device Settings and then head over to the phone.
  • X7 taps on the build number to enable developer mode.
  • Revert back to the previous menu, and then go to the system and tap on advance.
  • From there, tap on the Developer option and toggle to enable USB debugging.
  • Now, install the Android SDK on your PC.
  • After that, unlock your device’s bootloader.
  • Next, connect your device to your PC, then open the Android SDK Platform tool folder, type cmd in the address bar, hit enter, and it will open CMD (Command Prompt).
  • After that, execute the following commands:.
    • adb reboot bootloader (to boot your device into fastboot mode)
    • fastboot flashing unlock_critical (to unlock the critical partitions.)
    • fastboot reboot (to reboot your device)

At this time, your device should be fixed. Now you can flash any custom ROM based on your preference.