[ROM][STOCK][FASTBOOT][OP8P] Stock Fastboot ROMs for OnePlus 8 Pro

Search This thread

sefai77

Senior Member
Nov 3, 2010
79
8
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.

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


DOWNLOAD

All roms on Sourceforge: https://sourceforge.net/projects/fastbootroms/files/OnePlus 8 Pro

BRANDED PHONE
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:
Code:
fastboot -w
Others Commands to flash a fastboot rom
Code:
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

REMEMBER
"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

DONATE LINK

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

When can i use twrp oneplus 8 pro Android 11 ?
 

wesblake

Member
Sep 10, 2010
14
1
Before I try this, is there an issue restoring from LineageOS? I have a new OnePlus 8 Pro. I installed LineageOS 18.1 right away to "De-google" and quickly found that they have us by the b411s, so much did not work, biggest of all location.
So, I give up, I want to just stick with stock.
Originally I followed this guide:
But got the latest OOS 11 ROM directly from a OnePlus page. Flashed all manually though like that guide.
I was in a panic! First time all flashes worked, but no boot. Just kept booting to fastboot.
Then I tried to start the process with OOS 10 (manual again) but I got stuck half way through. I got the reboot and I got Qualcom crash screens, can't write to critical, etc. I thought I was toast.
By doing some combo of flashing portions I was able to re-flash LineageOS and get my phone back up!
Great. But, i still would like to just go back to OOS (stock). Will this one be different? Running flash_all.bat and using this package? Thinking I just used a wrong combo of stuff but I want to be sure it isn't something LineageOS did that has me "stuck" now before I get it all messed up for hours again. Thanks!

UPDATE: So, this isn't actually a "stock" rom? I'm trying to get this thing back to stock.
Anyways, I went ahead and tried this. Same issue as when I tried the other method. Ran flash_all.bat, everything went smoothly to the end, no errors, but phone would not boot, just reboot to fastboot. Powering off and back on, still always fastboot. So, I 'm on LineageOS, again, just to have communication for now. I can not figure out how to return to stock OOS!!
 
Last edited:

magicmckinney

Senior Member
  • Oct 9, 2012
    74
    11
    Before I try this, is there an issue restoring from LineageOS? I have a new OnePlus 8 Pro. I installed LineageOS 18.1 right away to "De-google" and quickly found that they have us by the b411s, so much did not work, biggest of all location.
    So, I give up, I want to just stick with stock.
    Originally I followed this guide:
    But got the latest OOS 11 ROM directly from a OnePlus page. Flashed all manually though like that guide.
    I was in a panic! First time all flashes worked, but no boot. Just kept booting to fastboot.
    Then I tried to start the process with OOS 10 (manual again) but I got stuck half way through. I got the reboot and I got Qualcom crash screens, can't write to critical, etc. I thought I was toast.
    By doing some combo of flashing portions I was able to re-flash LineageOS and get my phone back up!
    Great. But, i still would like to just go back to OOS (stock). Will this one be different? Running flash_all.bat and using this package? Thinking I just used a wrong combo of stuff but I want to be sure it isn't something LineageOS did that has me "stuck" now before I get it all messed up for hours again. Thanks!

    UPDATE: So, this isn't actually a "stock" rom? I'm trying to get this thing back to stock.
    Anyways, I went ahead and tried this. Same issue as when I tried the other method. Ran flash_all.bat, everything went smoothly to the end, no errors, but phone would not boot, just reboot to fastboot. Powering off and back on, still always fastboot. So, I 'm on LineageOS, again, just to have communication for now. I can not figure out how to return to stock OOS!!
    Sounds like you need to use the MSM dowload tool which will rescue any OP8 from anything. I once screwed my OP8P up so bad, I could not even get to the recovery or bootloader. I was able to bring it back to life with the MSM tool. Just google "MSM tool for OP8 pro" and click on the XDA link to get it with info.
     

    shaolinz

    Senior Member
    Feb 15, 2011
    479
    77
    Sounds like you need to use the MSM dowload tool which will rescue any OP8 from anything. I once screwed my OP8P up so bad, I could not even get to the recovery or bootloader. I was able to bring it back to life with the MSM tool. Just google "MSM tool for OP8 pro" and click on the XDA link to get it with info.
    I am in the same boat! It just boots to fastboot i do have stock recovery as well but cant get anything to boot and the msm tool dont work because i cant get it to go into qualcom mode or whatever..... please help!
     

    magicmckinney

    Senior Member
  • Oct 9, 2012
    74
    11
    I am in the same boat! It just boots to fastboot i do have stock recovery as well but cant get anything to boot and the msm tool dont work because i cant get it to go into qualcom mode or whatever..... please help!
    Try starting the MSM program as far as you can go. It will be sitting looking for your phone to get into Qualcom EDL mode. It is hard to do from windows 10 and Powershell. I have found the best is to hard reset from locked dump screen and when you see MSM program grabinng, click the start button ASAP. It is much easier on a windows 7 machine if you have one around.
     

    magicmckinney

    Senior Member
  • Oct 9, 2012
    74
    11
    Try starting the MSM program as far as you can go. It will be sitting looking for your phone to get into Qualcom EDL mode. It is hard to do from windows 10 and Powershell. I have found the best is to hard reset from locked dump screen and when you see MSM program grabinng, click the start button ASAP. It is much easier on a windows 7 machine if you have one around.
    If you can get into Recovery & the bootloader you should be able to use a fastboot rom. Get the android 10 version though, since I have never gotten the android 11 version to work. You can get them here... https://forum.xda-developers.com/t/...tock-fastboot-roms-for-oneplus-8-pro.4083997/. That will get you up and running quite easily.
     
    • Like
    Reactions: galaxys
    Nov 26, 2015
    49
    4
    Hi guys,

    I read the whole tread and I am curious if you could help me out. My phone bricked after trying to flash a custom rom. I have access to fastboot mode and TWRP. I am operating a linux machine and have windows10 running in virtualbox. I don't know if this is the reason I can not install the correct qualcomm drivers to windows but I get the error that it is not compatible. I am sure I tried to install the correct one. Because of this I can not use the MSM tool to get my phone up and running. It simply does not pop up as a qualcomm device in devicemanager when I reboot in EDL mode.

    I tried to flash the fastbootrom for my oneplus8 pro but after the last command it restarts and gets into stock recovery. There is no option available to wipe data and cache/ erase everything. I can only choose to reboot to recovery. Then my phone powers off. The other option is to reboot into fastbootmode. When I do that there is an error in the command window FAILED Flashing is not allowed for Critical Partitions. I don't know how to fix this. I tried both Linux to flash the fastboot rom manually and in windows also and with the flash-all.bat file. Everytime I end up in fastboot mode when I boot up my phone.

    Is there a solution available to get my phone up and running?

    Schermafbeelding 2021-05-03 160334.png
    Schermafbeelding 2021-05-03 160403.png
    Schermafbeelding 2021-05-03 160447.png


    Schermafbeelding 2021-05-03 161115.png
    Schermafbeelding 2021-05-03 161352.png
    Schermafbeelding 2021-05-03 162240.png
     
    • Like
    Reactions: galaxys

    MariusKv

    Senior Member
    May 25, 2010
    74
    15
    OnePlus 8 Pro
    Hi guys,

    I read the whole tread and I am curious if you could help me out. My phone bricked after trying to flash a custom rom. I have access to fastboot mode and TWRP. I am operating a linux machine and have windows10 running in virtualbox. I don't know if this is the reason I can not install the correct qualcomm drivers to windows but I get the error that it is not compatible. I am sure I tried to install the correct one. Because of this I can not use the MSM tool to get my phone up and running. It simply does not pop up as a qualcomm device in devicemanager when I reboot in EDL mode.

    I tried to flash the fastbootrom for my oneplus8 pro but after the last command it restarts and gets into stock recovery. There is no option available to wipe data and cache/ erase everything. I can only choose to reboot to recovery. Then my phone powers off. The other option is to reboot into fastbootmode. When I do that there is an error in the command window FAILED Flashing is not allowed for Critical Partitions. I don't know how to fix this. I tried both Linux to flash the fastboot rom manually and in windows also and with the flash-all.bat file. Everytime I end up in fastboot mode when I boot up my phone.

    Is there a solution available to get my phone up and running?

    View attachment 5298257View attachment 5298259View attachment 5298261

    View attachment 5298263View attachment 5298271View attachment 5298277
    I did
    fastboot flash boot boot.img
    fastboot flash dtbo dtbo.img
    fastboot flash recovery recovery.img
    fastboot flash vbmeta vbmeta.img
    fastboot flash vbmeta_system vbmeta_system.img
    fastboot reboot fastboot
    fastboot flash system system.img
    fastboot flash system_ext system_ext.img
    fastboot flash product product.img
    fastboot flash odm odm.img
    fastboot flash vendor vendor.img
    fastboot reboot recovery

    Worked for me
     
    Nov 26, 2015
    49
    4
    I did
    fastboot flash boot boot.img
    fastboot flash dtbo dtbo.img
    fastboot flash recovery recovery.img
    fastboot flash vbmeta vbmeta.img
    fastboot flash vbmeta_system vbmeta_system.img
    fastboot reboot fastboot
    fastboot flash system system.img
    fastboot flash system_ext system_ext.img
    fastboot flash product product.img
    fastboot flash odm odm.img
    fastboot flash vendor vendor.img
    fastboot reboot recovery

    Worked for me
    Thanx for your reply MariusKv. I try that tomorrow and post the result here ;-)

    ############################UPDATE##################################

    Hi MariusKv,

    I did the steps you sugested in your post. It did not work for me. My phone reboots to Fastbootmode. Is there something else that can solve my problem?

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash boot boot.img
    target reported max download size of 805306368 bytes
    sending 'boot_b' (98304 KB)...
    OKAY [ 4.070s]
    writing 'boot_b'...
    OKAY [ 0.284s]
    finished. total time: 4.354s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash dtbo dtbo.img
    target reported max download size of 805306368 bytes
    sending 'dtbo' (8192 KB)...
    OKAY [ 0.489s]
    writing 'dtbo'...
    OKAY [ 0.027s]
    finished. total time: 0.516s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash recovery recovery.img
    target reported max download size of 805306368 bytes
    sending 'recovery' (102400 KB)...
    OKAY [ 5.525s]
    writing 'recovery'...
    OKAY [ 0.354s]
    finished. total time: 5.879s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash vbmeta vbmeta.img
    target reported max download size of 805306368 bytes
    sending 'vbmeta' (8 KB)...
    OKAY [ 0.021s]
    writing 'vbmeta'...
    OKAY [ 0.003s]
    finished. total time: 0.024s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash vbmeta_system vbmeta_system.img
    target reported max download size of 805306368 bytes
    sending 'vbmeta_system' (4 KB)...
    OKAY [ 0.016s]
    writing 'vbmeta_system'...
    OKAY [ 0.003s]
    finished. total time: 0.019s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot reboot fastboot
    fastboot: usage: unknown reboot target fastboot

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash system system.img
    target reported max download size of 805306368 bytes
    Invalid sparse file format at header magic
    sending sparse 'system' 1/3 (784964 KB)...
    OKAY [ 45.485s]
    writing 'system' 1/3...
    FAILED (remote: Partition not found)
    finished. total time: 45.508s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash system_ext system_ext.img
    error: cannot load 'system_ext.img': No such file or directory

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash product product.img
    target reported max download size of 805306368 bytes
    Invalid sparse file format at header magic
    sending sparse 'product' 1/2 (785388 KB)...
    OKAY [ 45.049s]
    writing 'product' 1/2...
    FAILED (remote: Partition not found)
    finished. total time: 45.051s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash odm odm.img
    target reported max download size of 805306368 bytes
    sending 'odm' (960 KB)...
    OKAY [ 0.092s]
    writing 'odm'...
    FAILED (remote: (odm_b) No such partition)
    finished. total time: 0.095s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash vendor vendor.img
    target reported max download size of 805306368 bytes
    Invalid sparse file format at header magic
    sending sparse 'vendor' 1/2 (785429 KB)...
    OKAY [ 46.612s]
    writing 'vendor' 1/2...
    FAILED (remote: Partition not found)
    finished. total time: 46.615s
     
    Last edited:
    Nov 26, 2015
    49
    4
    Thanx for your reply MariusKv. I try that tomorrow and post the result here ;-)

    ############################UPDATE##################################

    Hi MariusKv,

    I did the steps you sugested in your post. It did not work for me. My phone reboots to Fastbootmode. Is there something else that can solve my problem?

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash boot boot.img
    target reported max download size of 805306368 bytes
    sending 'boot_b' (98304 KB)...
    OKAY [ 4.070s]
    writing 'boot_b'...
    OKAY [ 0.284s]
    finished. total time: 4.354s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash dtbo dtbo.img
    target reported max download size of 805306368 bytes
    sending 'dtbo' (8192 KB)...
    OKAY [ 0.489s]
    writing 'dtbo'...
    OKAY [ 0.027s]
    finished. total time: 0.516s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash recovery recovery.img
    target reported max download size of 805306368 bytes
    sending 'recovery' (102400 KB)...
    OKAY [ 5.525s]
    writing 'recovery'...
    OKAY [ 0.354s]
    finished. total time: 5.879s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash vbmeta vbmeta.img
    target reported max download size of 805306368 bytes
    sending 'vbmeta' (8 KB)...
    OKAY [ 0.021s]
    writing 'vbmeta'...
    OKAY [ 0.003s]
    finished. total time: 0.024s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash vbmeta_system vbmeta_system.img
    target reported max download size of 805306368 bytes
    sending 'vbmeta_system' (4 KB)...
    OKAY [ 0.016s]
    writing 'vbmeta_system'...
    OKAY [ 0.003s]
    finished. total time: 0.019s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot reboot fastboot
    fastboot: usage: unknown reboot target fastboot

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash system system.img
    target reported max download size of 805306368 bytes
    Invalid sparse file format at header magic
    sending sparse 'system' 1/3 (784964 KB)...
    OKAY [ 45.485s]
    writing 'system' 1/3...
    FAILED (remote: Partition not found)
    finished. total time: 45.508s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash system_ext system_ext.img
    error: cannot load 'system_ext.img': No such file or directory

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash product product.img
    target reported max download size of 805306368 bytes
    Invalid sparse file format at header magic
    sending sparse 'product' 1/2 (785388 KB)...
    OKAY [ 45.049s]
    writing 'product' 1/2...
    FAILED (remote: Partition not found)
    finished. total time: 45.051s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash odm odm.img
    target reported max download size of 805306368 bytes
    sending 'odm' (960 KB)...
    OKAY [ 0.092s]
    writing 'odm'...
    FAILED (remote: (odm_b) No such partition)
    finished. total time: 0.095s

    [email protected]:~/Downloads/10.5.12-EUROPE-OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100
    _c953-FASTBOOT$ fastboot flash vendor vendor.img
    target reported max download size of 805306368 bytes
    Invalid sparse file format at header magic
    sending sparse 'vendor' 1/2 (785429 KB)...
    OKAY [ 46.612s]
    writing 'vendor' 1/2...
    FAILED (remote: Partition not found)
    finished. total time: 46.615s
    I think that I can not flash the fastbootrom because of this two issues:

    target reported max download size of 805306368 bytes

    and

    FAILED (remote: Partition not found)

    Do you guys know where these issues come from and how to fix this? I have been searching the forum and the web but I can not find a solution for fixing the problem.
     

    raptor7056

    Member
    Jun 14, 2010
    20
    3
    I think that I can not flash the fastbootrom because of this two issues:

    target reported max download size of 805306368 bytes

    and

    FAILED (remote: Partition not found)

    Do you guys know where these issues come from and how to fix this? I have been searching the forum and the web but I can not find a solution for fixing the problem.
    I ran into the same issue when trying to flash OOS after a failed OTA update. I ended up using the Evolution-X Fastboot ROMinstaller from the Evolution-X thread and everything worked. Instead of using the .img files from the Evolution-X rom, I used the .img files from the OOS rom I downloaded and copied them into the fastboot_installer folder then ran the ROMInstaller.bat file.

    After that finished I was in the stock recovery, and just rebooted and the rom loaded up.

    Edit to add that I am using a OnePlus 8T, so I got the Evolution-X Fastboot ROMinstaller link from the 8T rom threads, but whatever fastboot/adb version it comes with works for flashing the .img files you need without running into errors.
     
    Last edited:
    Nov 26, 2015
    49
    4
    I ran into the same issue when trying to flash OOS after a failed OTA update. I ended up using the Evolution-X Fastboot ROMinstaller from the Evolution-X thread and everything worked. Instead of using the .img files from the Evolution-X rom, I used the .img files from the OOS rom I downloaded and copied them into the fastboot_installer folder then ran the ROMInstaller.bat file.

    After that finished I was in the stock recovery, and just rebooted and the rom loaded up.

    Edit to add that I am using a OnePlus 8T, so I got the Evolution-X Fastboot ROMinstaller link from the 8T rom threads, but whatever fastboot/adb version it comes with works for flashing the .img files you need without running into errors.
    1620314683010.png


    Thanx for your help raptor7056.

    I read in the thread ' Download Evolution-X Fastboot ROMinstaller ( These zip have both payload_dumper and fastboot_installer ) and extract it's zip'

    I dowloaded via the download-link and extracted the file. I do not see fastboot_installer in the folder. Am I doing something wrong?

    I downloaded multiple zips from the webpage and extracted the files and in none of them I see fastboot_installer in the extracted folder.
     

    raptor7056

    Member
    Jun 14, 2010
    20
    3
    View attachment 5301487

    Thanx for your help raptor7056.

    I read in the thread ' Download Evolution-X Fastboot ROMinstaller ( These zip have both payload_dumper and fastboot_installer ) and extract it's zip'

    I dowloaded via the download-link and extracted the file. I do not see fastboot_installer in the folder. Am I doing something wrong?

    I downloaded multiple zips from the webpage and extracted the files and in none of them I see fastboot_installer in the extracted folder.
    The link to the installer zip file is in the 2nd post of the thread at the bottom of the changelog. It's on there as an attachment

    Edit to add the link https://forum.xda-developers.com/attachments/evolution-x-fastboot-rominstaller-zip.5287309/
     
    • Like
    Reactions: SakasakaHeyhey
    Nov 26, 2015
    49
    4
    I ran into the same issue when trying to flash OOS after a failed OTA update. I ended up using the Evolution-X Fastboot ROMinstaller from the Evolution-X thread and everything worked. Instead of using the .img files from the Evolution-X rom, I used the .img files from the OOS rom I downloaded and copied them into the fastboot_installer folder then ran the ROMInstaller.bat file.

    After that finished I was in the stock recovery, and just rebooted and the rom loaded up.

    Edit to add that I am using a OnePlus 8T, so I got the Evolution-X Fastboot ROMinstaller link from the 8T rom threads, but whatever fastboot/adb version it comes with works for flashing the .img files you need without running into errors.
    Hi raptor7056,

    I have a question about copying the files from the fastbootrom (OOS) to the fastboot-installer folder. The files have the same name in both folders. What do I need to do with these files when the notification pops up?

    Do I need to replace the files in the fastboot-installer folder for the files from the fastbootrom? When I do that I also replace the flash-all.bat file and I have an issue with installing the fastbootrom this way. Are there specific files I need to copy and files I can skip?
     

    raptor7056

    Member
    Jun 14, 2010
    20
    3
    Hi raptor7056,

    I have a question about copying the files from the fastbootrom (OOS) to the fastboot-installer folder. The files have the same name in both folders. What do I need to do with these files when the notification pops up?

    Do I need to replace the files in the fastboot-installer folder for the files from the fastbootrom? When I do that I also replace the flash-all.bat file and I have an issue with installing the fastbootrom this way. Are there specific files I need to copy and files I can skip?
    I only copied in the .img files from the OOS rom into the fastboot-installer folder. Then I ran the ROMInstaller.bat file.

    It basically just runs the following commands

    fastboot flash recovery recovery.img
    fastboot flash boot boot.img
    fastboot flash dtbo dtbo.img
    fastboot reboot fastboot
    fastboot flash odm odm.img
    fastboot flash system system.img
    fastboot flash system_ext system_ext.img
    fastboot flash product product.img
    fastboot flash vbmeta vbmeta.img
    fastboot flash vbmeta_system vbmeta_system.img
    fastboot flash vendor vendor.img

    But doing it this way I didn't get the FAILED (remote: Partition not found) error message and everything flashed successfully.
     
    • Like
    Reactions: SakasakaHeyhey
    Nov 26, 2015
    49
    4
    I only copied in the .img files from the OOS rom into the fastboot-installer folder. Then I ran the ROMInstaller.bat file.

    It basically just runs the following commands

    fastboot flash recovery recovery.img
    fastboot flash boot boot.img
    fastboot flash dtbo dtbo.img
    fastboot reboot fastboot
    fastboot flash odm odm.img
    fastboot flash system system.img
    fastboot flash system_ext system_ext.img
    fastboot flash product product.img
    fastboot flash vbmeta vbmeta.img
    fastboot flash vbmeta_system vbmeta_system.img
    fastboot flash vendor vendor.img

    But doing it this way I didn't get the FAILED (remote: Partition not found) error message and everything flashed successfully.
    Thanx friend.

    I am going to try it this weekend. Fingers crossed :)

    Have a great weekend. I put an update in this thread later.
     
    Nov 26, 2015
    49
    4
    Thanx friend.

    I am going to try it this weekend. Fingers crossed :)

    Have a great weekend. I put an update in this thread later.
    Hi raptor7056,

    I tried to flash the firmware but it did not work:

    A.png


    The device did not reboot into fastboot but in stock recovery. When I choose Reboot to fastboot in the recovery menu the process continues in the rominstaller:

    B.png


    When I restart the device it boots up into fastbootmode. I do not know what the problem is. Are there alternatives that can help me to flash a ROM? I am open to all sugestions.
     

    Top Liked Posts

    • 1
      Hi raptor7065,

      Just tried the whole thing. My device boots to the recovery which I downloaded from the thread you mentioned...same issue the flashing does not continue and in the cmd window I see again <waiting for any device>.....:cry:
      Based on everything I am finding online it seems like this might be an issue with your drivers. It seems your phone isn't being recognized when it is booted into recovery.

      The thread below might be helpful, otherwise I think you will have to do more research on why you have no adb when it reboots into recovery.

    • 1
      Try starting the MSM program as far as you can go. It will be sitting looking for your phone to get into Qualcom EDL mode. It is hard to do from windows 10 and Powershell. I have found the best is to hard reset from locked dump screen and when you see MSM program grabinng, click the start button ASAP. It is much easier on a windows 7 machine if you have one around.
      If you can get into Recovery & the bootloader you should be able to use a fastboot rom. Get the android 10 version though, since I have never gotten the android 11 version to work. You can get them here... https://forum.xda-developers.com/t/...tock-fastboot-roms-for-oneplus-8-pro.4083997/. That will get you up and running quite easily.
      1
      Hi guys,

      I read the whole tread and I am curious if you could help me out. My phone bricked after trying to flash a custom rom. I have access to fastboot mode and TWRP. I am operating a linux machine and have windows10 running in virtualbox. I don't know if this is the reason I can not install the correct qualcomm drivers to windows but I get the error that it is not compatible. I am sure I tried to install the correct one. Because of this I can not use the MSM tool to get my phone up and running. It simply does not pop up as a qualcomm device in devicemanager when I reboot in EDL mode.

      I tried to flash the fastbootrom for my oneplus8 pro but after the last command it restarts and gets into stock recovery. There is no option available to wipe data and cache/ erase everything. I can only choose to reboot to recovery. Then my phone powers off. The other option is to reboot into fastbootmode. When I do that there is an error in the command window FAILED Flashing is not allowed for Critical Partitions. I don't know how to fix this. I tried both Linux to flash the fastboot rom manually and in windows also and with the flash-all.bat file. Everytime I end up in fastboot mode when I boot up my phone.

      Is there a solution available to get my phone up and running?

      Schermafbeelding 2021-05-03 160334.png
      Schermafbeelding 2021-05-03 160403.png
      Schermafbeelding 2021-05-03 160447.png


      Schermafbeelding 2021-05-03 161115.png
      Schermafbeelding 2021-05-03 161352.png
      Schermafbeelding 2021-05-03 162240.png
      1
      View attachment 5301487

      Thanx for your help raptor7056.

      I read in the thread ' Download Evolution-X Fastboot ROMinstaller ( These zip have both payload_dumper and fastboot_installer ) and extract it's zip'

      I dowloaded via the download-link and extracted the file. I do not see fastboot_installer in the folder. Am I doing something wrong?

      I downloaded multiple zips from the webpage and extracted the files and in none of them I see fastboot_installer in the extracted folder.
      The link to the installer zip file is in the 2nd post of the thread at the bottom of the changelog. It's on there as an attachment

      Edit to add the link https://forum.xda-developers.com/attachments/evolution-x-fastboot-rominstaller-zip.5287309/
      1
      Hi raptor7056,

      I have a question about copying the files from the fastbootrom (OOS) to the fastboot-installer folder. The files have the same name in both folders. What do I need to do with these files when the notification pops up?

      Do I need to replace the files in the fastboot-installer folder for the files from the fastbootrom? When I do that I also replace the flash-all.bat file and I have an issue with installing the fastbootrom this way. Are there specific files I need to copy and files I can skip?
      I only copied in the .img files from the OOS rom into the fastboot-installer folder. Then I ran the ROMInstaller.bat file.

      It basically just runs the following commands

      fastboot flash recovery recovery.img
      fastboot flash boot boot.img
      fastboot flash dtbo dtbo.img
      fastboot reboot fastboot
      fastboot flash odm odm.img
      fastboot flash system system.img
      fastboot flash system_ext system_ext.img
      fastboot flash product product.img
      fastboot flash vbmeta vbmeta.img
      fastboot flash vbmeta_system vbmeta_system.img
      fastboot flash vendor vendor.img

      But doing it this way I didn't get the FAILED (remote: Partition not found) error message and everything flashed successfully.
      1
      Hi raptor7065,

      Just tried the whole thing. My device boots to the recovery which I downloaded from the thread you mentioned...same issue the flashing does not continue and in the cmd window I see again <waiting for any device>.....:cry:
      Based on everything I am finding online it seems like this might be an issue with your drivers. It seems your phone isn't being recognized when it is booted into recovery.

      The thread below might be helpful, otherwise I think you will have to do more research on why you have no adb when it reboots into recovery.

    • 26
      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.

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


      DOWNLOAD

      All roms on Sourceforge: https://sourceforge.net/projects/fastbootroms/files/OnePlus 8 Pro

      BRANDED PHONE
      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:
      Code:
      fastboot -w
      Others Commands to flash a fastboot rom
      Code:
      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

      REMEMBER
      "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

      DONATE LINK

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

      10
      I want to thank all those who supported me, in 2 days I have already managed to buy the OnePlus 8 Pro, I will receive it in about a week and then I will immediately get to work. I will remove the link of the Paypal moneybox and let it close by itself so as to keep it in the historical (it will close tomorrow). A big thank you to everyone.
      3
      You can do this yourself.

      Step 1: Download your official firmware
      Step 2: Extract payload.img
      Step 3: Use Payload dumper to dump payload.image
      Step 4: Copy dumped files to the root of the Fastboot rom directory
      Step 5: Flash :)
      2
      This is awesome, my OP8P is not even here yet and development is moving forward nicely.
      Tx mauronofrio, donation sent!

      ---------- Post added at 09:44 AM ---------- Previous post was at 09:39 AM ----------

      As I understand this, this is for the European version so far and not the US version, correct?
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone