[ROM][STOCK][FASTBOOT][OP6T] Stock Fastboot ROMs for OnePlus 6T

Search This thread


New member
Nov 23, 2016
Can someone help me with reverting to stock rom. Last week I tried some custom roms from XDA in my OnePlus 6t. As I am new to this A/B partition thing it took me so much time to finally install roms. Now I wants to revert to my stock rom.
I tried installing rom through fastboot 10.3.1 so that I could install the latest full ota file manualy from local storage.
I successfully installed stock rom through fastboot, but everytime I update to latest rom after completing to 99% I get error "System update installation failed". I tried installing fastboot rom manually, through MSM tool but nothing solved the problem.
Can someone help me to know what might be causing this problem


Dec 4, 2019
A question, so my phone is a Tmobile varient and because of a prior qualkum crash dumb I saw my self having to flash the T-Mobile OnePlus 6T Internationa ROM to bring it back to life. At first there was no magisk (which is what I want, dont want root only unlocked bootloader) but when I updated to the latest version (trough system updater) I noticed that there was now root. wast there always root and I just never saw it? how to uninstall? my plan is to unlock bootloader and get rid of tmobile stuff, will this affect me in any way? thanks.


New member
Sep 20, 2011
Hi there,
today I got my new op6t with the Oxy version 9.0 and wanted to install the current LionageOS 17.1 immediately.
I got the PlatformTools_30.0.3 for Linux and unlocked it successfully according to the following instructions (https://www.cyanogenmods.org/forums/topic/unlock-bootloader-android-phone-using-fastboot/).
Afterwards I wanted to flash TWRP according to these instructions (https://www.cyanogenmods.org/forums/topic/install-twrp-recovery-android-using-fastboot/), which was also successfully completed.
But after a reboot nothing worked and my op6t stuck in the unlocked screen. The first rescue attempts I made with the following instructions from here (https://forum.xda-developers.com/oneplus-6t/help/urgent-recovery-os-stuck-bootloader-t3995935), whereupon I first flash the A side, then also the B side.
...unfortunately without success, the error was the same and I stuck on the unlocked screen.
Then I found this article and I followed the instructions:
MANUAL FLASH: Windows - OSX - Linux --> Fastboot Partitions
Unfortunately the script remains stuck at the following position:

./fastboot flash vendor_a vendor.img
Invalid sparse file format at header magic
Sending sparse 'vendor_a' 1/2 (511139 KB) _

the same happens when i want to flash the following image
vendor_b vendor.img

At the moment the device is useless and stuck on screen "Your device is corrupt..."
The only thing I can do is to send it to the fastboot and the original recovery mode.
I could solve the problem myself.
I installed TWRP again and then had the possibility to install the current original OOS with everything that goes with it.
I was lucky :)
Last edited:


Senior Member
Feb 25, 2011
Anyone successfully used the 10.3.5 fastboot rom yet? 10.3.4 works for me, but 10.3.5 won't boot. In fact it requires me to use the MSMTool to get my phone to work again after using it. The SHA1 hash matches the SourceForge one, so supposedly my download should be good?


Senior Member
Jan 18, 2020
Can't I use twrp to flash the stock rom to both slots the type fastboot OEM lock then reboot device and be good to go?

Sent from my OnePlus 7 Pro using Tapatalk
May 14, 2018
Can I lock the bootloader after flashing this ROM?

---------- Post added at 08:35 PM ---------- Previous post was at 08:35 PM ----------

Can I lock the bootloader after flashing this ROM hoping it won't brick the phone?


Senior Member
Oct 12, 2011
Hi. I have tried flashing persist.img which I thought will fix my fingerprint sensor, however it did not. Anyone know how to fix fingerprint not working? It's a new fingerprint scanner which has just been replaced so I didn't think the fingerprint is faulty.
  • Like
Reactions: DESTRUCTION99
Can I lock the bootloader after flashing this ROM?

---------- Post added at 08:35 PM ---------- Previous post was at 08:35 PM ----------

Can I lock the bootloader after flashing this ROM hoping it won't brick the phone?

I wouldn't ever lock a bootloader. Why? I've read about a few users getting stuck on crashdump and they have locked bootloader's and oem unlocking not enabled and no way to access their screen to enable it to fix their device. I would leave it unlocked if I were you.


Sep 22, 2014
In the instructions for manual flashing, it says: "If you need also persist partition, this is the command:"

What's a "persist partition", and how do I know if I need it?

I'm currently stuck in Fastboot Mode on my phone. These instructions seem pretty straightforward, but I'm wondering if I could make a mistake and leave my phone in an even worse state than it is now. Could I possibly overwrite and mess up Fastboot?


Senior Member
Nov 22, 2010
My 6t was stuck in fastboot a few days ago. Thankfully, I ran the batch file just like the OP instructed. It took a while, but I left my phone alone. Once the process completed, my phone was restored in a factory reset state. The batch file is much safer than manual flash (in my opinion).

Sent from my Nexus 6 using Tapatalk


Senior Member
Mar 29, 2015
extracting android-info.txt (0 MB) to RAM...
extracting boot.img (64 MB) to disk... took 0.191s
target didn't report max-download-size
error: Failed to identify current slot
Press any key to exit...

Does anybody knows why I am getting this error on Fastboot ROM 10.3.3? I am on A11 cutom ROM. Thanks.

Top Liked Posts

  • There are no posts matching your filters.
  • 124
    Things are changing with the advent of project treble and seamless updates. OnePlus will no longer release ROMs flashable via recovery (either stock or twrp) 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 6T in fastboot mode (Power and volume-);
    Connect the OnePlus 6T to PC;
    Run flash-all.bat flasher you need;
    Wait until the process end;
    The phone will automatically reboot.

    flash-all-partitions-fastboot.bat : this .bat will flash all possible partitions through fastboot (Except persist) , there are some criticals partitions that can't be flashed through fastboot;
    flash-only-persist.bat : this .bat will flash only persist partition in fastboot mode (This is good for people that have problems with sensor);
    flash-all-partitions-recovery-criticals.bat : this .bat will boot the twrp and will flash criticals partitions, use this carefully;
    flash-system-boot-vendor.bat : this .bat is the same of older flash-all.bat and so it will flash only vendor, system and boot;
    flash-all-partitions.bat : this .bat will run flash-all-partitions-fastboot.bat , then flash-only-persist.bat and then flash-all-partitions-recovery-criticals.bat .

    Now usually the one needed is only the first "flash-all-partitions-fastboot.bat" but if you are badly bricked i recommend to use flash-all-partitions.bat .


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

    GUIDE: https://forum.xda-developers.com/on...-t-mobile-oneplus-6t-to-t3865966/post78131430
    T-Mobile OnePlus 6T Internationa ROM: https://www.androidfilehost.com/?fid=11410963190603845445

    MANUAL FLASH: Windows - OSX - Linux

    If you want to manual flash these roms these are the commands (you need to extract images.zip before proceed)

    Fastboot Partitions:
    fastboot flash aop_a aop.img
    fastboot flash aop_b aop.img
    fastboot flash bluetooth_a bluetooth.img
    fastboot flash bluetooth_b bluetooth.img
    fastboot flash boot_a boot.img
    fastboot flash boot_b boot.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 fw_4j1ed_a fw_4j1ed.img
    fastboot flash fw_4j1ed_b fw_4j1ed.img
    fastboot flash fw_4u1ea_a fw_4u1ea.img
    fastboot flash fw_4u1ea_b fw_4u1ea.img
    fastboot flash modem_a modem.img
    fastboot flash modem_b modem.img
    fastboot flash oem_stanvbk oem_stanvbk.img
    fastboot flash qupfw_a qupfw.img
    fastboot flash qupfw_b qupfw.img
    fastboot flash storsec_a storsec.img
    fastboot flash storsec_b storsec.img
    fastboot flash system_a system.img
    fastboot flash system_b system.img
    fastboot flash vbmeta_a vbmeta.img
    fastboot flash vbmeta_b vbmeta.img
    fastboot flash vendor_a vendor.img
    fastboot flash vendor_b vendor.img
    fastboot flash LOGO_a LOGO.img
    fastboot flash LOGO_b LOGO.img
    If you need also persist partition, this is the command:
    fastboot flash persist persist.img

    Criticals Partitions, for these you need to boot the TWRP:
    fastboot boot TWRP.img
    When you are in TWRP you need to run these commands to push and flash all criticals partitions:
    adb push abl.img /sdcard/abl.img
    adb shell dd if=/sdcard/abl.img of=/dev/block/bootdevice/by-name/abl_a
    adb shell dd if=/sdcard/abl.img of=/dev/block/bootdevice/by-name/abl_b
    adb push cmnlib.img /sdcard/cmnlib.img
    adb shell dd if=/sdcard/cmnlib.img of=/dev/block/bootdevice/by-name/cmnlib_a
    adb shell dd if=/sdcard/cmnlib.img of=/dev/block/bootdevice/by-name/cmnlib_b
    adb push cmnlib64.img /sdcard/cmnlib64.img
    adb shell dd if=/sdcard/cmnlib64.img of=/dev/block/bootdevice/by-name/cmnlib64_a
    adb shell dd if=/sdcard/cmnlib64.img of=/dev/block/bootdevice/by-name/cmnlib64_b
    adb push devcfg.img /sdcard/devcfg.img
    adb shell dd if=/sdcard/devcfg.img of=/dev/block/bootdevice/by-name/devcfg_a
    adb shell dd if=/sdcard/devcfg.img of=/dev/block/bootdevice/by-name/devcfg_b
    adb push hyp.img /sdcard/hyp.img
    adb shell dd if=/sdcard/hyp.img of=/dev/block/bootdevice/by-name/hyp_a
    adb shell dd if=/sdcard/hyp.img of=/dev/block/bootdevice/by-name/hyp_b
    adb push keymaster.img /sdcard/keymaster.img
    adb shell dd if=/sdcard/keymaster.img of=/dev/block/bootdevice/by-name/keymaster_a
    adb shell dd if=/sdcard/keymaster.img of=/dev/block/bootdevice/by-name/keymaster_b
    adb push xbl.img /sdcard/xbl.img
    adb shell dd if=/sdcard/xbl.img of=/dev/block/bootdevice/by-name/xbl_a
    adb shell dd if=/sdcard/xbl.img of=/dev/block/bootdevice/by-name/xbl_b
    adb push xbl_config.img /sdcard/xbl_config.img
    adb shell dd if=/sdcard/xbl_config.img of=/dev/block/bootdevice/by-name/xbl_config_a
    adb shell dd if=/sdcard/xbl_config.img of=/dev/block/bootdevice/by-name/xbl_config_b

    "Invalid sparce file format at header magic" is not an error, you need to wait a bit when you see that string, just wait.

    These ROMs can't be used to update or downgrade your phone but just to restore your phone, so don't use them to come back to oreo or to update from oreo to pie.

    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/

    Thanks to @SaiBork for first time tested

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

    Thanks to @Dark Nightmare for T-Mobile Rom Version


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

    If you are unable to use pools or moneybox, you can also make a normal donation, all private donations will be added in the moneybox:

    I got your reply and followed it... It WORKED!!! Many thanks ZeroKool76!
    No worries, brother. Been there several times. But the real credit goes to the OP. Without his work, none of this would be possible [emoji869]
    Hi, OB7 just released today.I hope to add, thank you.

    Sure, it is in upload just now, thanks to notify me this
    Hello All,

    I'm figuring with the advent and distribution/receipt of OP7Pros that some of the focus has shifted and production of these are facing slowdowns, is there any way I can help to make fastboot ROMs and upload them here for the OP6T? I know I still depend on them, and can bet money that many of us here at these XDA threads do.

    Warm Regards

    Recently i made a new app to make the fastboot rom directly from the official rom, so actually the process is 90% automatized. When a new rom comes i still need of 1-2 days to download, make and ipload the fastboot rom. These depends from when the link of full rom will be released and if i'm at home or not.
    Can u add OxygenOs fastboot version 9.0.13 ?

    Uploading it now, i think is need 30 minutes more or less