How to unbrick OnePlus 11 using Fastboot Commands

When it comes to custom development, OnePlus smartphones have always been active players in terms of custom development. Whether it is flashing custom ROMs, installing any mods, or gaining administrative access by flashing Magisk Patched Boot, the possibilities are endless. In some situations, your device might end up soft bricking or going into a bootloop state, then you will not have to interact with the MSM Tool or EDL Mode. Instead, you could easily unbrick your device by flashing the stock firmware. In this guide, you will get to know how to unbrick OnePlus 11 using Fastboot Commands.

How to unbrick OnePlus 11 using Fastboot Commands

Step 1: Install Android SDK

Firstly, you’ll need to install the Android SDK Platform Tools on your PC. It’s the official ADB and Fastboot binary offered by Google. You’ll need to download it and extract it to a convenient location on your PC.

Step 2: Download OnePlus 11 Fastboot ROM

Next, you will need to download the stock firmware or Fastboot ROM for your smartphone.

OnePlus provides the firmware in payload.bin, which you will have to extract to get hold of the partition files.

Download OnePlus 11 Fastboot ROM

Download OnePlus 11 Stock Firmware

Step 3: Extract OnePlus 11 Payload.bin

Once you have downloaded the Fastboot ROM, you can skip this step. If you have a payload.bin firmware, you will need to extract it first and get the resulting IMG files. Once extracted, you will need to ensure that you transfer all the files to the platform-tools folder.

Step 4: Boot bricked OnePlus 11 to Fastboot Mode

unbrick OnePlus 11 using Fastboot Commands

In most cases, a soft-bricked drive could already be in the Fastboot Mode. But if you’re stuck in a bootloop, long-press the Power key to turn it off. After that, press and hold the Power + Volume Down keys simultaneously to boot your device to Fastboot Mode.

If you aren’t able to power off the device, allow its battery to drain out. Once this happens, you should connect it to the charger. As soon as it is about to boot up, you should use the Power + Volume Up/Down keys and it’ll boot to the Fastboot Mode.

Step 5: Format your device via Fastboot

  • Go to the platform-tools folder where the extracted ROM file is present
  • Go to the address bar, type in CMD in the address, and hit enter to launch the CMD window
  • Now, you should execute the following command to perform a factory reset –
fastboot –w

Step 6: Flash the firmware in Fastboot Mode

Execute the following commands in the CMD window to flash the partition file. Ensure that you execute one command at a time. Further, if you get any error, do not leave the process mid-way, instead, move to the next flashing command.

fastboot --set-active=a

fastboot flash --slot=all boot boot.img

fastboot flash --slot=all modem modem.img

fastboot flash vendor_boot vendor_boot.img

fastboot flash vbmeta vbmeta.img

fastboot flash vbmeta_system vbmeta_system.img

fastboot flash vbmeta_vendor vbmeta_vendor.img

Step 7: Flash OnePlus 11 Firmware in FastbootD Mode

You’ll now need to flash the remaining firmware files in the FastbootD Mode. Type the following commands to boot your device to this mode –

fastboot reboot fastboot

Execute the below commands in the CMD window to flash the remaining files –

fastboot flash --slot=all abl abl.img

fastboot flash --slot=all aop aop.img

fastboot flash --slot=all aop_config aop_config.img

fastboot flash --slot=all bluetooth bluetooth.img

fastboot flash --slot=all cpucp cpucp.img

fastboot flash --slot=all devcfg devcfg.img

fastboot flash --slot=all dsp dsp.img

fastboot flash --slot=all dtbo dtbo.img

fastboot flash --slot=all engineering_cdt engineering_cdt.img

fastboot flash --slot=all featenabler featenabler.img

fastboot flash --slot=all hyp hyp.img

fastboot flash --slot=all imagefv imagefv.img

fastboot flash --slot=all init_boot init_boot.img

fastboot flash --slot=all keymaster keymaster.img

fastboot flash --slot=all oplus_sec oplus_sec.img

fastboot flash --slot=all oplusstanvbk oplusstanvbk.img

fastboot flash --slot=all qupfw qupfw.img

fastboot flash --slot=all recovery recovery.img

fastboot flash --slot=all shrm shrm.img

fastboot flash --slot=all splash splash.img

fastboot flash --slot=all tz tz.img

fastboot flash --slot=all uefi uefi.img

fastboot flash --slot=all uefisecapp uefisecapp.img

fastboot flash --slot=all xbl xbl.img

fastboot flash --slot=all xbl_config xbl_config.img

fastboot flash --slot=all xbl_ramdump.img xbl_ramdump.img

fastboot flash system system.img

fastboot flash system_ext system_ext.img

fastboot flash vendor vendor.img

fastboot flash product product.img

fastboot flash my_product my_product.img

fastboot flash odm odm.img

fastboot flash my_engineering my_engineering.img

fastboot flash vendor_dlkm vendor_dlkm.img

fastboot flash system_dlkm system_dlkm.img

fastboot flash my_stock my_stock.img

fastboot flash my_heytap my_heytap.img

fastboot flash my_carrier my_carrier.img

fastboot flash my_region my_region.img

fastboot flash my_bigball my_bigball.img

fastboot flash my_manifest my_manifest.img

Lastly, execute the following command to boot your smartphone to the OS –

fastboot reboot

That’s all there is to it. If you need help with the steps to unbrick your OnePlus 11 using Fastboot commands, don’t hesitate to leave your questions in the comment section down below and we’ll help you as soon as possible.

Liked this post? Let us know on X (formerly Twitter) - we love your feedback! You can also follow us on Google News, and Telegram for more updates.

Note

Our tech news and guides are based on extensive testing, inputs from prominent tech journalists, community forums, and reputable publications. While we strive for accuracy, some details may become outdated or contain unintended mistakes. We welcome corrections and feedback to improve our content using the google form link here.

Aviral Sharma
Aviral Sharma
Android Expert
Aviral Sharma is a talented and passionate writer who has been using words to express his thoughts ever since he learnt how to hold a pen. He is passionate about outer space, history, sports and most importantly technology. Aviral is a regular writer for rootmygalaxy.net and has been getting better by the day. He currently own Samsung Galaxy S24 Ultra, iPhone 13 and a HP Pavilion laptop

Comments (4)

  1. D:\user\Desktop\oneplus 11+\oneplus 11 oxygen os fastboot flash rom>fastboot flash –slot=all xbl_ramdump.img xbl_ramdump.img
    Sending ‘xbl_ramdump.img’ (812 KB) OKAY [ 0.021s]
    Writing ‘xbl_ramdump.img’ FAILED (remote: ‘No such file or directory’)
    fastboot: error: Command failed

    how to fix?

    Reply
  2. fastboot flash –slot=all xbl_ramdump.img xbl_ramdump.img
    Sending ‘xbl_ramdump.img’ (812 KB) OKAY [ 0.021s]
    Writing ‘xbl_ramdump.img’ FAILED (remote: ‘No such file or directory’)
    fastboot: error: Command failed

    I’m having the same problem.

    Still stuck in bootloop

    Reply
  3. i’m getting error please help
    C:\Users\Andy\Downloads\dp>fastboot flash –slot=all xbl_ramdump.img xbl_ramdump.img
    Sending ‘xbl_ramdump.img’ (812 KB) OKAY [ 0.019s]
    Writing ‘xbl_ramdump.img’ FAILED (remote: ‘No such file or directory’)
    fastboot: error: Command failed

    Reply

Leave a Comment