In this guide, we will show you the steps to create a OnePlus Fastboot ROM. Ever since the introduction of dynamic partition, flashing firmware has become quite a challenging task. If we talk about OnePlus, then the users till the ninth series can easily use the MSM Download Tool to carry out this task [we aren’t just talking about unbricking the device, even going back to stock from custom now requires taking the help of EDL Mode].
However, from the tenth series onwards, things have taken a turn for the worse. The tenth series in particular doesn’t have any tool whatsoever. Its successors, though, have been blessed with a couple of tools, namely Oppo Flash Tool and OPlus Flash Tool. However, at the time of writing, both of them have been patched. Moreover, using an EDL Tool just to go back to stock or fixing bootloop/softbrick also required additional efforts.
In this regard, we do have the Fastboot Enhance Tool that will help you flash the firmware in the Fastboot and FastbootD Modes. However, my experience hasn’t been quite great with this tool [and we can’t blame the developer either as it was particularly built for OnePlus 8T]. So let’s minimize our dependency in these third-party tools and create our very own Fastboot ROM for your OnePlus device. Follow along.
Table of Contents
How to Create a OnePlus Fastboot ROM
The below process will wipe off all the data from your device. Moreover, even a slight mistake in the command and your device will end up in a bricked or bootlooped state [in such cases, you can use the Fastboot Firmware Flasher Tool to unbrick your device]. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device. and data by performing the below steps.
This is a generic guide for all OnePlus devices. The commands given here are for OnePlus 11, so there is every possibility that a few files might not be there in your device, and in other cases, your device might be having some additional partitions that my device lacks.
In the first instance, you should delete those commands from the command sheet [more on that later] whereas in the second case, you’ll have to manually add those commands to the sheet [if you are unsure about which partition the file needs to be flashed or whether the file needs to be flashed in Fastboot or FastbootD Mode, then please ask us beforehand in the comments section]. So keeping all these points in mind, let’s get started.
Instructions Steps
- First off, download and extract Android SDK Platform Tools on your PC.
- Now, download the firmware for your device using the Oxygen Updater app or any third-party site.
- Then extract the payload.bin file using the Fastboot Enhance Tool.
- Now transfer all the files inside the platform-tools folder.
- Then create a new text file inside this folder and paste the commands given in the next section.
- Compare the commands with the files that you have got from the firmware and make the changes accordingly, as discussed above.
- Once done, save the changes. Then go to Rename and change the file extension from TXT to BAT.
- Now reboot your device to the Fastboot Mode. For that, power it off, then long press the Power and Volume Down keys.
- Finally, launch the BAT file. The flashing will start and take a while. Once done, your device will boot to the OS.
Command Sheet
ECHO ############################### ECHO # Format Data # ECHO ############################### fastboot -w ECHO ############################### ECHO # Set A as Active Slot # ECHO ############################### fastboot --set-active=a ECHO ############################### ECHO # Flash in Fastboot Mode # ECHO ############################### fastboot flash boot_a boot.img fastboot flash boot_b boot.img fastboot flash init_boot_a init_boot.img fastboot flash init_boot_b init_boot.img fastboot flash modem_a modem.img fastboot flash modem_b modem.img fastboot flash recovery_a recovery.img fastboot flash recovery_b recovery.img fastboot flash vbmeta_a vbmeta.img fastboot flash vbmeta_b vbmeta.img fastboot flash vbmeta_system_a vbmeta_system.img fastboot flash vbmeta_system_b vbmeta_system.img fastboot flash vbmeta_vendor_a vbmeta_vendor.img fastboot flash vbmeta_vendor_b vbmeta_vendor.img fastboot flash vendor_boot_a vendor_boot.img fastboot flash vendor_boot_b vendor_boot.img ECHO ############################### ECHO # Boot to FastbootD # ECHO ############################### fastboot reboot fastboot ECHO ############################### ECHO # Flash in FastbootD Mode # ECHO ############################### fastboot flash abl_a abl.img fastboot flash abl_b abl.img fastboot flash aop_a aop.img fastboot flash aop_b aop.img fastboot flash aop_config_a aop_config.img fastboot flash aop_config_b aop_config.img fastboot flash bluetooth_a bluetooth.img fastboot flash bluetooth_b bluetooth.img fastboot flash cpucp_a cpucp.img fastboot flash cpucp_b cpucp.img fastboot flash devcfg_a devcfg.img fastboot flash devcfg_b devcfg.img fastboot flash dsp_a dsp.img fastboot flash dsp_b dsp.img fastboot flash dtbo_a dtbo.img fastboot flash dtbo_b dtbo.img fastboot flash engineering_cdt_a engineering_cdt.img fastboot flash engineering_cdt_b engineering_cdt.img fastboot flash featenabler_a featenabler.img fastboot flash featenabler_b featenabler.img fastboot flash hyp_a hyp.img fastboot flash hyp_b hyp.img fastboot flash imagefv_a imagefv.img fastboot flash imagefv_b imagefv.img fastboot flash keymaster_a keymaster.img fastboot flash keymaster_b keymaster.img fastboot flash oplus_sec_a oplus_sec.img fastboot flash oplus_sec_b oplus_sec.img fastboot flash oplusstanvbk_a oplusstanvbk.img fastboot flash oplusstanvbk_b oplusstanvbk.img fastboot flash qupfw_a qupfw.img fastboot flash qupfw_b qupfw.img fastboot flash shrm_a shrm.img fastboot flash shrm_b shrm.img fastboot flash splash_a splash.img fastboot flash splash_b splash.img fastboot flash tz_a tz.img fastboot flash tz_b tz.img fastboot flash uefi_a uefi.img fastboot flash uefi_b uefi.img fastboot flash uefisecapp_a uefisecapp.img fastboot flash uefisecapp_b uefisecapp.img fastboot flash xbl_a xbl.img fastboot flash xbl_b xbl.img fastboot flash xbl_config_a xbl_config.img fastboot flash xbl_config_b xbl_config.img fastboot flash xbl_ramdump_a xbl_ramdump.img fastboot flash xbl_ramdump_b xbl_ramdump.img ECHO ############################### ECHO # Delete Logical Partitions # ECHO ############################### fastboot delete-logical-partition odm_a fastboot delete-logical-partition odm_b fastboot delete-logical-partition product_a fastboot delete-logical-partition product_b fastboot delete-logical-partition system_a fastboot delete-logical-partition system_b fastboot delete-logical-partition system_dlkm_a fastboot delete-logical-partition system_dlkm_b fastboot delete-logical-partition system_ext_a fastboot delete-logical-partition system_ext_b fastboot delete-logical-partition vendor_a fastboot delete-logical-partition vendor_b fastboot delete-logical-partition vendor_dlkm_a fastboot delete-logical-partition vendor_dlkm_b fastboot delete-logical-partition my_bigball_a fastboot delete-logical-partition my_bigball_b fastboot delete-logical-partition my_carrier_a fastboot delete-logical-partition my_carrier_b fastboot delete-logical-partition my_company_a fastboot delete-logical-partition my_company_b fastboot delete-logical-partition my_engineering_a fastboot delete-logical-partition my_engineering_b fastboot delete-logical-partition my_heytap_a fastboot delete-logical-partition my_heytap_b fastboot delete-logical-partition my_manifest_a fastboot delete-logical-partition my_manifest_b fastboot delete-logical-partition my_preload_a fastboot delete-logical-partition my_preload_b fastboot delete-logical-partition my_product_a fastboot delete-logical-partition my_product_b fastboot delete-logical-partition my_region_a fastboot delete-logical-partition my_region_b fastboot delete-logical-partition my_stock_a fastboot delete-logical-partition my_stock_b ECHO ############################### ECHO # Create Logical Partitions # ECHO ############################### fastboot create-logical-partition odm_a 1 fastboot create-logical-partition odm_b 1 fastboot create-logical-partition system_a 1 fastboot create-logical-partition system_b 1 fastboot create-logical-partition system_dlkm_a 1 fastboot create-logical-partition system_dlkm_b 1 fastboot create-logical-partition system_ext_a 1 fastboot create-logical-partition system_ext_b 1 fastboot create-logical-partition product_a 1 fastboot create-logical-partition product_b 1 fastboot create-logical-partition vendor_a 1 fastboot create-logical-partition vendor_b 1 fastboot create-logical-partition vendor_dlkm_a 1 fastboot create-logical-partition vendor_dlkm_b 1 fastboot create-logical-partition my_bigball_a 1 fastboot create-logical-partition my_bigball_b 1 fastboot create-logical-partition my_carrier_a 1 fastboot create-logical-partition my_carrier_b 1 fastboot create-logical-partition my_company_a 1 fastboot create-logical-partition my_company_b 1 fastboot create-logical-partition my_engineering_a 1 fastboot create-logical-partition my_engineering_b 1 fastboot create-logical-partition my_heytap_a 1 fastboot create-logical-partition my_heytap_b 1 fastboot create-logical-partition my_manifest_a 1 fastboot create-logical-partition my_manifest_b 1 fastboot create-logical-partition my_preload_a 1 fastboot create-logical-partition my_preload_b 1 fastboot create-logical-partition my_product_a 1 fastboot create-logical-partition my_product_b 1 fastboot create-logical-partition my_region_a 1 fastboot create-logical-partition my_region_b 1 fastboot create-logical-partition my_stock_a 1 fastboot create-logical-partition my_stock_b 1 ECHO ############################### ECHO # Flash Logical Partitions # ECHO ############################### fastboot flash odm_a odm.img fastboot flash odm_b odm.img fastboot flash product_a product.img fastboot flash product_b product.img fastboot flash system_a system.img fastboot flash system_b system.img fastboot flash system_dlkm_a system_dlkm.img fastboot flash system_dlkm_b system_dlkm.img fastboot flash system_ext_a system_ext.img fastboot flash system_ext_b system_ext.img fastboot flash vendor_a vendor.img fastboot flash vendor_b vendor.img fastboot flash vendor_dlkm_a vendor_dlkm.img fastboot flash vendor_dlkm_b vendor_dlkm.img fastboot flash my_bigball_a my_bigball.img fastboot flash my_bigball_b my_bigball.img fastboot flash my_carrier_a my_carrier.img fastboot flash my_carrier_b my_carrier.img fastboot flash my_company_a my_company.img fastboot flash my_company_b my_company.img fastboot flash my_engineering_a my_engineering.img fastboot flash my_engineering_b my_engineering.img fastboot flash my_heytap_a my_heytap.img fastboot flash my_heytap_b my_heytap.img fastboot flash my_manifest_a my_manifest.img fastboot flash my_manifest_b my_manifest.img fastboot flash my_preload_a my_preload.img fastboot flash my_preload_b my_preload.img fastboot flash my_product_a my_product.img fastboot flash my_product_b my_product.img fastboot flash my_region_a my_region.img fastboot flash my_region_b my_region.img fastboot flash my_stock_a my_stock.img fastboot flash my_stock_b my_stock.img ECHO ############################### ECHO # Format Data # ECHO ############################### fastboot -w ECHO ############################### ECHO # Reboot OS # ECHO ############################### fastboot reboot
That’s it. These were the steps to create a OnePlus Fastboot ROM. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution as soon as possible.
Downgrade OnePlus from Android 15 to 14: OxygenOS 15 to 14