• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

General edit: guide how to flash stock via fastboot and fastbootd

Search This thread


Jun 12, 2016
OnePlus 9 Pro
hay i flashed the open beta android 12 on my le2123
i noticed thet i dont have root so i trying download twrp and flash magisk.zip
i boot the phone into fast boot and run this commend
"fastboot boot twrp.img"
and then i flash magisk
the phone refuse to boot normal
i able to boot it to fastboot, what should i do now?
i convart to payload of the open beta via payload dumper and i have now a lot of .img file
should i flash them 1 by 1?
there is any order of doing that?


first i sorry for my bad english :)

i finally boot up the phone by first download stock rom and extract the .bin file into payload dumper (i found it on xda)
after that i flash allmost any of the output img the phone came to liva again.

(i have to download the fastboot from android sdk, the minimal adb and fastboot not incloude the specific command of "reboot fastboot.
the command boot the phone into fastbootd (new to me, i never heard about it))

this is the command i use if any one here do my mistake ;)

1. fastboot -w (this will erease anything on the phone)

2.now you need to flash the following img

fastboot flash boot boot.img
fastboot flash cpucp cpucp.img
fastboot flash dtbo dtbo.img
fastboot flash modem modem.img
fastboot flash oplusstanvbk oplusstanvbk.img
fastboot flash oplus_sec oplus_sec.img
fastboot flash qweslicstore qweslicstore.img
fastboot flash shrm shrm.img
fastboot flash splash splash.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash vm-bootsys vm-bootsys.img

3. now use this command to reboot the fastboot into fastbootd
fastboot reboot fastboot

4. Flash the remaining files

fastboot flash abl abl.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash devcfg devcfg.img
fastboot flash dsp dsp.img
fastboot flash featenabler featenabler.img
fastboot flash hyp hyp.img
fastboot flash imagefv imagefv.img
fastboot flash keymaster keymaster.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash qupfw qupfw.img
fastboot flash tz tz.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash xbl xbl.img
fastboot flash xbl_config xbl_config.img
fastboot flash product product.img
fastboot flash system system.img
fastboot flash system_ext system_ext.img
fastboot flash vendor vendor.img
fastboot flash odm odm.img

5. finnaly use this command to reboot your phone into stock rom

fastboot reboot

i really hope this will halp anyone who stuck on the same situation as me

credit to other forum for the flash guide
Last edited:

Top Liked Posts