[ROM][STOCK][FASTBOOT][OP8] Stock Fastboot ROMs for OnePlus 8

RandomPooka

Senior Member
Oct 14, 2010
3,986
2,478
253
Kent, OH
Mauronofrio: First of all congrats and many thanks for the awesome job you're doing.

I'm not too clear on what you mean by “fastboot -w” (sans quotes). You said this is to format data. Will it delete anything? Also, should you issue this command before or after applying the batch file?

I imagine you're a busy man, but whenever you get around to it please put out a zip with all those img files for "OnePlus8Oxygen_15.O.30_OTA_0300_all_2010031624_c5e68b42b3325". This just came out today (Oct 24) and, as you know, it cannot be flashed.

Before this Project Treble garbage if we bricked the phone we could easily flash the OxygenOS Rom. Sadly that's not possible any more. Do you believe this is a viable alternative in case disaster strikes? I still have a working copy of an old version just in case, hopefully it'll still be flashable.

Thanks,
fastboot -w has been around since forever or so, and it does format data. That will absolutely erase your user data, as if you'd done a factory reset and wiped everything on the internal sdcard.

Back up your important stuff
 

humb13

Member
Nov 24, 2016
22
1
13
fastboot -w has been around since forever or so, and it does format data. That will absolutely erase your user data, as if you'd done a factory reset and wiped everything on the internal sdcard.
Many thanks for replying to my post. Since this latest ROM that was pushed via OTA (OnePlus8Oxygen_15.O.30_OTA_0300_all_2010031624) is pure garbage that does nothing more than cause problems, there is no question that the best option is to wipe the phone and revert to the latest ROM on your download list (10.5.12-GLOBAL-OnePlus8Oxygen_15.O.21_OTA_021_all_2008080054_906daa239-FASTBOOT). Hopefully it won't keep nagging me about an update. This is, of course, assuming I can pull it off.

Let me see if I understand this. The first step is fastboot -w to wipe the phone completely. I'm assuming this will wipe both slots A and B. Right? After that should I just double-click on the batch file or can I use your All-In-One Tool to do the job? Am I correctly assuming your ROM is rooted, or do I have to install TWRP and flash Magisk separately?

Back up your important stuff
I'm an idiot so let me ask - how do you do this? The only option on my current ROM is to back it up to Google Drive. I don't like doing this but even if I did, how do restore the backup? Is it possible to back up to a flashdrive via OTG? Can your All-in-One Tool do this for me? And finally: I don't care about media, my concern is apps and settings. Can these be backed up?

Thanks for being patient with me and my fellow morons :)
 

mattie_49

Senior Member
Feb 4, 2010
2,629
794
193
Seymour Tn
Real quick question. I'm recently unlocked ,magisk installed and global 10.5 firmware installed. I would like to use your fastboot flash to go to Oxygen 11. Another gentleman that's recently in my same boat with Verizon,unlocked took the ota to 11 and broke modem completely. What's your thought on this. ?
 

humb13

Member
Nov 24, 2016
22
1
13
Real quick question. I'm recently unlocked ,magisk installed and global 10.5 firmware installed. I would like to use your fastboot flash to go to Oxygen 11. Another gentleman that's recently in my same boat with Verizon, unlocked took the ota to 11 and broke modem completely. What's your thought on this. ?
When Oneplus' server nagged me incessantly to "upgrade" to Android 11 (OnePlus8Oxygen_15.O.30_OTA_0300_all_2010031624), I thought it would be mere matter of flashing the OS followed by Magisk. Nothing! OxygenOS ROMS can not longer be flashed via recovery. With that in mind I proceeded to upgrade using the newer SlotA-SlotB system. Then I tried flashing TWRP. Didn't work. Every time I tried booting into recovery all I got was a Qualcomm Crashdump message. In fact even the useless stock recovery was removed.

Using a program called "Payload Dumper" I extracted the img files, including boot.img. I tried and succeeded in modifying it with Magisk Manager, but flashing the modified copies didn't work either. After flashing the phone booted but still unroooted. I then flashed recover.img. This brought the stock recovery back, but there is NO option to flash anything. All you can do is clear cache and do a factory reset, but not much more. I even went as far as to use several of those strange apps that root phones. None worked.

I've been rooting phones forever and this is by far the most difficult one I've seen yet. I don't know what to do and I am out of options. As hard as this might be to believe, I'll go as far as to PAY somebody to root it for me.

If anyone of you has found a way to root this thing, even if it means going back to an earlier version of OxygenOS and shutting down the incessant upgrade nags, I'm listenting. Please help.
 

mattie_49

Senior Member
Feb 4, 2010
2,629
794
193
Seymour Tn
When Oneplus' server nagged me incessantly to "upgrade" to Android 11 (OnePlus8Oxygen_15.O.30_OTA_0300_all_2010031624), I thought it would be mere matter of flashing the OS followed by Magisk. Nothing! OxygenOS ROMS can not longer be flashed via recovery. With that in mind I proceeded to upgrade using the newer SlotA-SlotB system. Then I tried flashing TWRP. Didn't work. Every time I tried booting into recovery all I got was a Qualcomm Crashdump message. In fact even the useless stock recovery was removed.

Using a program called "Payload Dumper" I extracted the img files, including boot.img. I tried and succeeded in modifying it with Magisk Manager, but flashing the modified copies didn't work either. After flashing the phone booted but still unroooted. I then flashed recover.img. This brought the stock recovery back, but there is NO option to flash anything. All you can do is clear cache and do a factory reset, but not much more. I even went as far as to use several of those strange apps that root phones. None worked.

I've been rooting phones forever and this is by far the most difficult one I've seen yet. I don't know what to do and I am out of options. As hard as this might be to believe, I'll go as far as to PAY somebody to root it for me.

If anyone of you has found a way to root this thing, even if it means going back to an earlier version of OxygenOS and shutting down the incessant upgrade nags, I'm listenting. Please help.
https://forum.xda-developers.com/oneplus-8/help/oneplus-8-vzw-bootloader-unlock-t4091933/page10
Go to this thread and seek out WhoAreyou. He's on this page . I've been unlocked and rooted with magisk running global firmware for over a week now. Zero issues, carrier locked verizon version Op8..... Good luck
 

humb13

Member
Nov 24, 2016
22
1
13
Finally ROOT!!!

https://forum.xda-developers.com/oneplus-8/help/oneplus-8-vzw-bootloader-unlock-t4091933/page10
Go to this thread and seek out WhoAreyou. He's on this page . I've been unlocked and rooted with magisk running global firmware for over a week now. Zero issues, carrier locked verizon version Op8..... Good luck
Thanks for the tip, but by searching and searching I found and guy on Youtube who posted a video. HIS METHOD WORKED!!! The phone is rooted and works perfectly! His phone is a Oneplus 8 Pro. I have a regular Oneplus 8 (IN2013). Apparently if you have the boot.img file of the ROM version you have installed, it'll work (any other and you'll brick the phone). That can be extracted from payload.bin with Payload Dumper. I don't have a link, so just Google it. Of course I assume your bootloader is unlocked. If so, here's what you do:

1) Install Magisk Canary (Google it). Copy the boot.img file you extracted to the phone and patch it with Magisk. The patched file will be in your download folder. Copy that to the same folder as Platform Tools on your PC. Once that's done, boot your phone into the fastboot mode and connect to PC.

2) Open up a command prompt and type fastboot boot magisk_patched.img. Sit back and wait a few seconds, the img file will install and the phone will reboot by itself. Let it finish rebooting, don't interfere.

3) Once it's done, once again boot into fastboot mode. Now type, in succession, the following 3 commands. Let each one finish before proceeding to the next.
(a) fastboot flash boot_a magisk_patched.img
(b) fastboot flash boot_b magisk_patched.img
(c) fastboot reboot

After the phone reboots, check Magisk and you'll see it's now rooted. A bunch of Magisk commands that weren't available before are now there.

I realize I may have left out a detail or two. If so please leave me a message and I'll clarify any doubts you might have or email you any files you can't find.

This is tested and working. Go for it with confidence. Once again, use the same boot.img as the OS installed on your phone. I should also add that I did this with the lastest Android 11 version pushed to my phone a few days ago. I don't see why it wouldn't work on previous versions, but I've only tested it on 11.
 
Last edited:

bmgamer

Member
Dec 17, 2014
6
0
0
Hey guys,

I have oneplus 8 (IN2010) with european Oxygen. I had a problem when installing Edxposed and get bootlop. I try your fastboot rooms and now I have Qualcom Crushdump mode.
I get the error sahara communication failed
Can anyone please help me?
 
Last edited:

dj41490

New member
Dec 19, 2020
2
0
1
Hey guys need some help here..... I have an IN2017 version.
I already unlocked my phone using the token but I'm getting "Flashing is not allowed for critical partitions" when I'm trying to flash the global rom.

I ran the command fastboot oem device-info and it shows:
(bootloader) Verity mode: true
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: true

how do I make device critical unlocked to true?
 

GrandMstrBud

Senior Member
Jan 30, 2007
1,326
81
68
Unlocked phone and got the unlock token so bootloader is unlocked. Did this by running the flash all .bat file and it tries to boot and I get to the screen that says

"Qualcom Crashdump Mode"
"Attempt to kill init! exitcode=0x0007f00"
"Do_exit"
 

cafracien

New member
Dec 26, 2020
1
0
1
Hey guys need some help here..... I have an IN2017 version.
I already unlocked my phone using the token but I'm getting "Flashing is not allowed for critical partitions" when I'm trying to flash the global rom.

I ran the command fastboot oem device-info and it shows:
(bootloader) Verity mode: true
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: true

how do I make device critical unlocked to true?
Same here
 

falizadeh

Member
Oct 1, 2010
9
0
21
Unlocked phone and got the unlock token so bootloader is unlocked. Did this by running the flash all .bat file and it tries to boot and I get to the screen that says

"Qualcom Crashdump Mode"
"Attempt to kill init! exitcode=0x0007f00"
"Do_exit"
Where you able to fix this? Im going from Tmobile to Global or Europe and same thing keeps happening. Thanks
 

GrandMstrBud

Senior Member
Jan 30, 2007
1,326
81
68
Where you able to fix this? Im going from Tmobile to Global or Europe and same thing keeps happening. Thanks
Yes, I used the MSM tool to go back to stock TMO then unlocked bootloader and tried it again and it worked. Make sure you flash Oxygen OS 10 and not 11, I think that's what I did since I had both downloaded but don't remember.
 

Gentleman06

New member
Jan 3, 2021
3
0
11
Hi i have flashed the stock rom but i can't lock the boot loader, i tried many times but it didn't work, and by the way my device is ( oneplus 8)
 

Gentleman06

New member
Jan 3, 2021
3
0
11
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 in fastboot-bootloader mode (Power and volume + and volume-);
Connect the OnePlus 8 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

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.

Hi i have flashed the stock rom but i can't lock the boot loader, i tried many times but it didn't work, and by the way my device is ( oneplus 8)
 

Gentleman06

New member
Jan 3, 2021
3
0
11
cannot relock bootloader on oneplus 8

bro thanks for fastboot room for oneplus 8,i flash your fastboot room 10.5.9 everthing ok,but i relocked to boot loader it the phone be correpted. what should i do ,
please help me.
I'm like you I'm in the same situation
So what is the solution please ?.
 

kool_am

Member
Jan 13, 2014
46
6
28
Hi all. I have a t mobile oneplus 8, carrier unlocked. I'm on version 10.5.23.IN55CB. It's bootloader unlocked and rooted. Can I install global rom on it using fastboot rom or Tool all in One? Or do I need to downgrade first using msm? Thank you.
 
  • Like
Reactions: mobile_sensei

kool_am

Member
Jan 13, 2014
46
6
28
Hi all. I have a t mobile oneplus 8, carrier unlocked. I'm on version 10.5.23.IN55CB. It's bootloader unlocked and rooted. Can I install global rom on it using fastboot rom or Tool all in One? Or do I need to downgrade first using msm? Thank you.
I was able to flash global rom without downgrading. Everything works fine. Didn't need to reflash modem.
 

zushiye1

New member
Oct 18, 2020
3
2
3
@mauronofrio
A quick question here.
Since there's a newer version recently released on Oneplus website 11.0.4.4.IN21AA.
Can we download from the below official website as the fastbook rooms? Or we need to use the one in the original thread.
Thanks !