[ROM][STOCK][FASTBOOT][OP7TP] Stock Fastboot ROMs for OnePlus 7T Pro


Recognized Developer
Jun 29, 2012
Castellana Grotte
Things are changing with the advent of project treble and seamless updates. OnePlus will no longer release ROMs flashable via recovery (either stock) because is no more needed. The updates will be done on the slot not used for example if you are using slot a the update will be installed on slot b and the slot b will be set as default. If you brick and you are in bootloop how you can restore the rom? You can't with Stock ROM you have, because the zip can be only installed via Update Engine, so what can you do? Flash a stock rom via fastboot. I have extracted all images from the stock zip and i have made a new zip with the Fastboot ROM with a flash-all.bat included. This will work only if your bootloader is unlocked. This will erase all your data and will wipe your internal storage.

This version is only for not branded devices
Download the zip;
Unpack the zip in a folder;
Reboot the OnePlus 7T in fastboot-bootloader mode (Power and volume + and volume-);
Connect the OnePlus 7T to PC;
Run flash-all.bat flasher you need;
Wait until the process end;
The phone will automatically reboot.


All roms on AFH: https://www.androidfilehost.com/?w=files&flid=301115
All roms on Sourceforge: https://sourceforge.net/projects/fastbootroms/files/OnePlus 7T Pro

For now branded device are not supported

MANUAL FLASH: Windows - OSX - Linux

If you want to manual flash these roms these are the commands (You need the latest sdk platform tools, you can find it here

Is reccomended to format data or the rom cannot boot:
fastboot -w
Others Commands to flash a fastboot rom
fastboot flash aop aop.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash boot boot.img
fastboot flash dsp dsp.img
fastboot flash dtbo dtbo.img
fastboot flash LOGO LOGO.img
fastboot flash modem modem.img
fastboot flash oem_stanvbk oem_stanvbk.img
fastboot flash qupfw qupfw.img
fastboot flash storsec storsec.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash recovery recovery.img
fastboot --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verity flash vbmeta_system vbmeta_system.img
fastboot flash opproduct opproduct.img
fastboot reboot fastboot
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot reboot
"Invalid sparce file format at header magic" is not an error, you need to wait a bit when you see that string, just wait.

If the device automatically reboot in Stock Recovery mode don't reboot it and wait the flash end.

These ROMs can't be used to update or downgrade your phone but just to restore your phone.

If the rom seems doesn't start go in recovery stock and follow this guideline: English -> Wipe data and cache -> Erase everything.

If you want to rebrand your phone from HydrogenOS to OxygenOS you can follow this guide: Rebrand Guide

If you want you can use also my tool to flash Factory Images, unlock bootloader, flash twrp or to understand if the device is recognized: https://toolaio.tk/

If you got some problems like write error or no partition, check this: https://forum.xda-developers.com/showpost.php?p=76658555&postcount=34


If you want to support this and others my projects please consider making a donation, thanks.

Last edited:


Senior Member
Jan 14, 2014
Things sure really changing with Android, everything seems more complicated last time I rooted an OnePlus phone. So I appreciate this effort by you.

Sent from my OnePlus7TPro using XDA Labs
  • Like
Reactions: rohitghali


Senior Member
May 7, 2011
Silly question after returning to stock, I've tried to relock the bootloader and get a device corrupt won't boot message and the phone then turns off. How do I relock without this happening.


Senior Member
Jan 25, 2014
Wooot. Ok guys, i came from 5T and Root,TRWP and flash stock ROM was easy. Where do i have to begin, anyone can give me structured process of ROOT,TWRP?or FASTBOOT and ROM?