[ROM][STOCK][FASTBOOT][OP6] Stock Fastboot ROMs for OnePlus 6

Search This thread

zipalign

Senior Member
Sep 5, 2012
922
793
~$:
Xiaomi 13
Hey, version 10.3.12 released today, will you make a new fastboot zip? Thanks in advance!
here we are, again.
just like 10.3.11 I simply packed the fastboot .zip but didn't try it on my phone [still quite confortable with my custom ROM going by].
this leads to the usual disclaimer: try it at your own risk, I'll be not responsible for bricked or damaged devices.

just in case anyone would try to DIY, I followed this very guide for all the images I packed.
now, the 10.3.12 fastboot image link follows:

 
Last edited:
  • Like
Reactions: miguepereira77

miguepereira77

Senior Member
here we are, again.
just like 10.3.11 I simply packed the fastboot .zip but didn't try it on my phone [still quite confortable with my custom ROM going by].
this leads to the usual disclaimer: try it at your own risk, I'll be not responsible for bricked or damaged devices.

just in case anyone would try to DIY, I followed this very guide for all the images I packed.
now, the 10.3.12 fastboot image link follows:

Aaaand 11 stable is out... Will you be so kind... Thanks in advance!!! https://xdaforums.com/t/discussion-...7-ota-for-the-oneplus-6.3794232/post-85464241
 

t3tr4

Member
Aug 29, 2018
8
0
Thanks but it didn't work. Is there maybe a different driver that should be tested? I looked at this thread:
and they say that with the correct driver the correct device name should show up. Do you have the correct device name showing up? I certainly don't have any device name, I just have "Ports(Com & LPT) -> Qualcomm HS-USB QDLoader 9008 (COM3)"
Ok so I made my phone work finally!! :)
The driver was fine. I just tried with the link Android 8.1 - OSS 5.1.11 from https://xdaforums.com/t/op6-latest-10-3-8-collection-of-unbrick-tools.3914109/ and it worked first try.

From within Android 8 it does not offer me to upgrade to Android 9 or 10. Is it possible that my OP6 phone is supposed to work with Android 8 only? If so why can I run Android 10 on my other OP6?
 
Last edited:

Geenyous1

Member
Dec 13, 2020
14
11
OnePlus 6
For the ones messing up with flashing TWRP (like myself), here are the OS 11.1.1.1 boot.img and Magisk 23 patched boot.imgs.
I got all the other imgs from payload.bin as well, should anyone want to package them (send me a PM and I will share a link).

For Stock:
fastboot flash boot_a oos_11.1.1.1_stock_boot.img
fastboot flash boot_b oos_11.1.1.1_stock_boot.img
fastboot reboot

For root with Magisk 23:
Flash via fastboot:
fastboot flash boot_a magisk_patched-23000_iSZlS.img
fastboot flash boot_b magisk_patched-23000_iSZlS.img
fastboot reboot
 

Attachments

  • oos_11.1.1.1_stock_boot.img
    64 MB · Views: 73
  • magisk_patched-23000_iSZlS.img
    64 MB · Views: 71
  • Like
Reactions: linzoid and finotti

finotti

Senior Member
Dec 16, 2012
223
54
Knoxville
OnePlus 6
For the ones messing up with flashing TWRP (like myself), here are the OS 11.1.1.1 boot.img and Magisk 23 patched boot.imgs.
I got all the other imgs from payload.bin as well, should anyone want to package them (send me a PM and I will share a link).

For Stock:
fastboot flash boot_a oos_11.1.1.1_stock_boot.img
fastboot flash boot_b oos_11.1.1.1_stock_boot.img
fastboot reboot

For root with Magisk 23:
Flash via fastboot:
fastboot flash boot_a magisk_patched-23000_iSZlS.img
fastboot flash boot_b magisk_patched-23000_iSZlS.img
fastboot reboot

But you will lose TWRP then, right?
 

Geenyous1

Member
Dec 13, 2020
14
11
OnePlus 6
But you will lose TWRP then, right?
Yes, absolutely!

I have already lost TWRP and was stuck since I flashed all those non working TWRPs around after updating to OOS 11.1.1.1.

This is just for getting your phone to boot again should you make the same mistake. And you can root, too. Apparently you can then flash TWRP with FKM App, but I haven't tried that yet.
 
  • Like
Reactions: finotti

Andy3153

Member
Apr 29, 2018
36
14
20
OnePlus 6
Oh yea remember how happy I was in the last comment? Kinda bricked it again
I tried to install this ROM, followed all the steps and anything I would do (try to boot, try to boot to twrp, try to boot to twrp with the img file and fastboot) would give me the qualcomm crashdump. So I tried following these steps again, and now some partitions are apparently locked? The error message is 'FAILED (Remote: Critical Partition not allowed)'

Here is what I was doing:

Code:
 √  root@sparkle  >  fastboot flash aop_a aop.img                                                 🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 262
Sending 'aop_a' (180 KB)                           OKAY [  0.011s]
Writing 'aop_a'                                    FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
 ×  root@sparkle  >  fastboot flash aop_b aop.img                                                 🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 263
Sending 'aop_b' (180 KB)                           OKAY [  0.008s]
Writing 'aop_b'                                    FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
 ×  root@sparkle  >  fastboot flash bluetooth_a bluetooth.img                                     🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 264
Sending 'bluetooth_a' (748 KB)                     OKAY [  0.024s]
Writing 'bluetooth_a'                              FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
 ×  root@sparkle  >  fastboot flash bluetooth_b bluetooth.img                                     🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 265
Sending 'bluetooth_b' (748 KB)                     OKAY [  0.028s]
Writing 'bluetooth_b'                              FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
 ×  root@sparkle  >  fastboot flash boot_a boot.img                                               🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 266
Sending 'boot_a' (65536 KB)                        OKAY [  1.745s]
Writing 'boot_a'                                   OKAY [  0.315s]
Finished. Total time: 2.100s
 √  root@sparkle  >  fastboot flash boot_b boot.img                                               🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 267
Sending 'boot_b' (65536 KB)                        OKAY [  1.730s]
Writing 'boot_b'                                   fastboot flash dsp_a dsp.imgOKAY [  0.471s]
Finished. Total time: 2.237s
 √  root@sparkle  >  fastboot flash dsp_a dsp.img                                                 🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 268
Sending 'dsp_a' (32768 KB)                         OKAY [  0.862s]
Writing 'dsp_a'                                    FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
 ×  root@sparkle  >  fastboot flash dsp_b dsp.img                                                 🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 269
Sending 'dsp_b' (32768 KB)                         OKAY [  0.873s]
Writing 'dsp_b'                                    FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
 ×  root@sparkle  >  fastboot flash dtbo_a dtbo.img                                               🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 270
Sending 'dtbo_a' (8192 KB)                         OKAY [  0.226s]
Writing 'dtbo_a'                                   OKAY [  0.076s]
Finished. Total time: 0.309s
 √  root@sparkle  >  fastboot flash dtbo_b dtbo.img                                               🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 271
Sending 'dtbo_b' (8192 KB)                         OKAY [  0.228s]
Writing 'dtbo_b'                                   OKAY [  0.055s]
Finished. Total time: 0.289s
 √  root@sparkle  >  fastboot flash fw_4j1ed_a fw_4j1ed.img                                       🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 272
Sending 'fw_4j1ed_a' (344 KB)                      OKAY [  0.010s]
Writing 'fw_4j1ed_a'                               OKAY [  0.005s]
Finished. Total time: 0.022s
 √  root@sparkle  >  fastboot flash fw_4j1ed_b fw_4j1ed.img                                       🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 273
Sending 'fw_4j1ed_b' (344 KB)                      OKAY [  0.013s]
Writing 'fw_4j1ed_b'                               OKAY [  0.003s]
Finished. Total time: 0.023s
 √  root@sparkle  >  fastboot flash fw_4u1ea_a fw_4u1ea.img                                       🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 274
Sending 'fw_4u1ea_a' (344 KB)                      OKAY [  0.011s]
Writing 'fw_4u1ea_a'                               OKAY [  0.006s]
Finished. Total time: 0.024s
 √  root@sparkle  >  fastboot flash fw_4u1ea_b fw_4u1ea.img                                       🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 275
Sending 'fw_4u1ea_b' (344 KB)                      OKAY [  0.012s]
Writing 'fw_4u1ea_b'                               OKAY [  0.004s]
Finished. Total time: 0.023s
 √  root@sparkle  >  fastboot flash modem_a modem.img                                             🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 276
Sending 'modem_a' (117764 KB)                      OKAY [  3.116s]
Writing 'modem_a'                                  OKAY [  0.917s]
Finished. Total time: 4.040s
 √  root@sparkle  >  fastboot flash modem_b modem.img                                             🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 277
Sending 'modem_b' (117764 KB)                      OKAY [  3.082s]
Writing 'modem_b'                                  OKAY [  0.651s]
Finished. Total time: 3.740s
 √  root@sparkle  >  fastboot flash oem_stanvbk oem_stanvbk.img                                   🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 278
Sending 'oem_stanvbk' (952 KB)                     OKAY [  0.035s]
Writing 'oem_stanvbk'                              OKAY [  0.015s]
Finished. Total time: 0.057s
 √  root@sparkle  >  fastboot flash qupfw_a qupfw.img                                             🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 279
Sending 'qupfw_a' (64 KB)                          OKAY [  0.007s]
Writing 'qupfw_a'                                  FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
 ×  root@sparkle  >  fastboot flash qupfw_b qupfw.img                                             🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 280
Sending 'qupfw_b' (64 KB)                          OKAY [  0.007s]
Writing 'qupfw_b'                                  FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
 ×  root@sparkle  >  fastboot flash storsec_a storsec.img                                         🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 281
Sending 'storsec_a' (24 KB)                        OKAY [  0.006s]
Writing 'storsec_a'                                FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
 ×  root@sparkle  >  fastboot flash storsec_b storsec.img                                         🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 282
Sending 'storsec_b' (24 KB)                        OKAY [  0.008s]
Writing 'storsec_b'                                FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
 ×  root@sparkle  >  fastboot flash system_a system.img                                           🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 283
Invalid sparse file format at header magic
Sending sparse 'system_a' 1/4 (770772 KB)          fastboot flash system_b system.img
OKAY [ 20.324s]
Writing 'system_a'                                 OKAY [  0.001s]
Sending sparse 'system_a' 2/4 (786425 KB)          OKAY [ 24.439s]
Writing 'system_a'                                 OKAY [  0.001s]
Sending sparse 'system_a' 3/4 (774919 KB)          OKAY [ 24.149s]
Writing 'system_a'                                 OKAY [  0.001s]
Sending sparse 'system_a' 4/4 (430045 KB)          OKAY [ 15.179s]
Writing 'system_a'                                 OKAY [  0.001s]
Finished. Total time: 84.655s
 √  root@sparkle  >  fastboot flash system_b system.img                                           🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 284
Invalid sparse file format at header magic
Sending sparse 'system_b' 1/4 (770772 KB)          OKAY [ 20.107s]
Writing 'system_b'                                 OKAY [  0.001s]
Sending sparse 'system_b' 2/4 (786425 KB)          OKAY [ 24.519s]
Writing 'system_b'                                 OKAY [  0.001s]
Sending sparse 'system_b' 3/4 (774919 KB)          OKAY [ 23.859s]
Writing 'system_b'                                 OKAY [  0.001s]
Sending sparse 'system_b' 4/4 (430045 KB)          OKAY [ 14.859s]
Writing 'system_b'                                 OKAY [  0.001s]
Finished. Total time: 94.285s
 √  root@sparkle  >  fastboot flash vbmeta_a vbmeta.img                                           🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 285
Sending 'vbmeta_a' (8 KB)                          OKAY [  0.001s]
Writing 'vbmeta_a'                                 OKAY [  0.001s]
Finished. Total time: 0.009s
 √  root@sparkle  >  fastboot flash vbmeta_b vbmeta.img                                           🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 286
Sending 'vbmeta_b' (8 KB)                          OKAY [  0.001s]
Writing 'vbmeta_b'                                 OKAY [  0.001s]
Finished. Total time: 0.009s
 √  root@sparkle  >  fastboot flash vendor_a vendor.img                                           🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 287
Invalid sparse file format at header magic
Sending sparse 'vendor_a' 1/2 (757755 KB)          OKAY [ 19.565s]
Writing 'vendor_a'                                 OKAY [  0.001s]
Sending sparse 'vendor_a' 2/2 (115028 KB)          OKAY [  7.629s]
Writing 'vendor_a'                                 OKAY [  0.001s]
Finished. Total time: 27.404s
 √  root@sparkle  >  fastboot flash vendor_b vendor.img                                           🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 288
Invalid sparse file format at header magic
Sending sparse 'vendor_b' 1/2 (757755 KB)          OKAY [ 19.506s]
Writing 'vendor_b'                                 OKAY [  0.001s]
Sending sparse 'vendor_b' 2/2 (115028 KB)          OKAY [  8.059s]
Writing 'vendor_b'                                 OKAY [  0.001s]
Finished. Total time: 27.750s

So, yeah, how do I solve this? How do I get the partitions to not be 'critical partitions'? I've tried this:
Code:
 √  root@sparkle  >  fastboot flashing unlock                                                     🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 294
FAILED (remote: '       Device already : unlocked!')
fastboot: error: Command failed
 ×  root@sparkle  >  fastboot flashing unlock_critical                                            🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 295
FAILED (remote: '       Device already : unlocked!')
fastboot: error: Command failed

but it is already unlocked apparently
 

Geenyous1

Member
Dec 13, 2020
14
11
OnePlus 6
Oh yea remember how happy I was in the last comment? Kinda bricked it again
I tried to install this ROM, followed all the steps and anything I would do (try to boot, try to boot to twrp, try to boot to twrp with the img file and fastboot) would give me the qualcomm crashdump. So I tried following these steps again, and now some partitions are apparently locked? The error message is 'FAILED (Remote: Critical Partition not allowed)'

Here is what I was doing:

Code:
 √  root@sparkle  >  fastboot flash aop_a aop.img                                                 🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 262
Sending 'aop_a' (180 KB)                           OKAY [  0.011s]
Writing 'aop_a'                                    FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
×  root@sparkle  >  fastboot flash aop_b aop.img                                                 🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 263
Sending 'aop_b' (180 KB)                           OKAY [  0.008s]
Writing 'aop_b'                                    FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
×  root@sparkle  >  fastboot flash bluetooth_a bluetooth.img                                     🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 264
Sending 'bluetooth_a' (748 KB)                     OKAY [  0.024s]
Writing 'bluetooth_a'                              FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
×  root@sparkle  >  fastboot flash bluetooth_b bluetooth.img                                     🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 265
Sending 'bluetooth_b' (748 KB)                     OKAY [  0.028s]
Writing 'bluetooth_b'                              FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
×  root@sparkle  >  fastboot flash boot_a boot.img                                               🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 266
Sending 'boot_a' (65536 KB)                        OKAY [  1.745s]
Writing 'boot_a'                                   OKAY [  0.315s]
Finished. Total time: 2.100s
√  root@sparkle  >  fastboot flash boot_b boot.img                                               🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 267
Sending 'boot_b' (65536 KB)                        OKAY [  1.730s]
Writing 'boot_b'                                   fastboot flash dsp_a dsp.imgOKAY [  0.471s]
Finished. Total time: 2.237s
√  root@sparkle  >  fastboot flash dsp_a dsp.img                                                 🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 268
Sending 'dsp_a' (32768 KB)                         OKAY [  0.862s]
Writing 'dsp_a'                                    FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
×  root@sparkle  >  fastboot flash dsp_b dsp.img                                                 🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 269
Sending 'dsp_b' (32768 KB)                         OKAY [  0.873s]
Writing 'dsp_b'                                    FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
×  root@sparkle  >  fastboot flash dtbo_a dtbo.img                                               🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 270
Sending 'dtbo_a' (8192 KB)                         OKAY [  0.226s]
Writing 'dtbo_a'                                   OKAY [  0.076s]
Finished. Total time: 0.309s
√  root@sparkle  >  fastboot flash dtbo_b dtbo.img                                               🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 271
Sending 'dtbo_b' (8192 KB)                         OKAY [  0.228s]
Writing 'dtbo_b'                                   OKAY [  0.055s]
Finished. Total time: 0.289s
√  root@sparkle  >  fastboot flash fw_4j1ed_a fw_4j1ed.img                                       🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 272
Sending 'fw_4j1ed_a' (344 KB)                      OKAY [  0.010s]
Writing 'fw_4j1ed_a'                               OKAY [  0.005s]
Finished. Total time: 0.022s
√  root@sparkle  >  fastboot flash fw_4j1ed_b fw_4j1ed.img                                       🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 273
Sending 'fw_4j1ed_b' (344 KB)                      OKAY [  0.013s]
Writing 'fw_4j1ed_b'                               OKAY [  0.003s]
Finished. Total time: 0.023s
√  root@sparkle  >  fastboot flash fw_4u1ea_a fw_4u1ea.img                                       🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 274
Sending 'fw_4u1ea_a' (344 KB)                      OKAY [  0.011s]
Writing 'fw_4u1ea_a'                               OKAY [  0.006s]
Finished. Total time: 0.024s
√  root@sparkle  >  fastboot flash fw_4u1ea_b fw_4u1ea.img                                       🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 275
Sending 'fw_4u1ea_b' (344 KB)                      OKAY [  0.012s]
Writing 'fw_4u1ea_b'                               OKAY [  0.004s]
Finished. Total time: 0.023s
√  root@sparkle  >  fastboot flash modem_a modem.img                                             🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 276
Sending 'modem_a' (117764 KB)                      OKAY [  3.116s]
Writing 'modem_a'                                  OKAY [  0.917s]
Finished. Total time: 4.040s
√  root@sparkle  >  fastboot flash modem_b modem.img                                             🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 277
Sending 'modem_b' (117764 KB)                      OKAY [  3.082s]
Writing 'modem_b'                                  OKAY [  0.651s]
Finished. Total time: 3.740s
√  root@sparkle  >  fastboot flash oem_stanvbk oem_stanvbk.img                                   🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 278
Sending 'oem_stanvbk' (952 KB)                     OKAY [  0.035s]
Writing 'oem_stanvbk'                              OKAY [  0.015s]
Finished. Total time: 0.057s
√  root@sparkle  >  fastboot flash qupfw_a qupfw.img                                             🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 279
Sending 'qupfw_a' (64 KB)                          OKAY [  0.007s]
Writing 'qupfw_a'                                  FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
×  root@sparkle  >  fastboot flash qupfw_b qupfw.img                                             🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 280
Sending 'qupfw_b' (64 KB)                          OKAY [  0.007s]
Writing 'qupfw_b'                                  FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
×  root@sparkle  >  fastboot flash storsec_a storsec.img                                         🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 281
Sending 'storsec_a' (24 KB)                        OKAY [  0.006s]
Writing 'storsec_a'                                FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
×  root@sparkle  >  fastboot flash storsec_b storsec.img                                         🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 282
Sending 'storsec_b' (24 KB)                        OKAY [  0.008s]
Writing 'storsec_b'                                FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
×  root@sparkle  >  fastboot flash system_a system.img                                           🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 283
Invalid sparse file format at header magic
Sending sparse 'system_a' 1/4 (770772 KB)          fastboot flash system_b system.img
OKAY [ 20.324s]
Writing 'system_a'                                 OKAY [  0.001s]
Sending sparse 'system_a' 2/4 (786425 KB)          OKAY [ 24.439s]
Writing 'system_a'                                 OKAY [  0.001s]
Sending sparse 'system_a' 3/4 (774919 KB)          OKAY [ 24.149s]
Writing 'system_a'                                 OKAY [  0.001s]
Sending sparse 'system_a' 4/4 (430045 KB)          OKAY [ 15.179s]
Writing 'system_a'                                 OKAY [  0.001s]
Finished. Total time: 84.655s
√  root@sparkle  >  fastboot flash system_b system.img                                           🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 284
Invalid sparse file format at header magic
Sending sparse 'system_b' 1/4 (770772 KB)          OKAY [ 20.107s]
Writing 'system_b'                                 OKAY [  0.001s]
Sending sparse 'system_b' 2/4 (786425 KB)          OKAY [ 24.519s]
Writing 'system_b'                                 OKAY [  0.001s]
Sending sparse 'system_b' 3/4 (774919 KB)          OKAY [ 23.859s]
Writing 'system_b'                                 OKAY [  0.001s]
Sending sparse 'system_b' 4/4 (430045 KB)          OKAY [ 14.859s]
Writing 'system_b'                                 OKAY [  0.001s]
Finished. Total time: 94.285s
√  root@sparkle  >  fastboot flash vbmeta_a vbmeta.img                                           🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 285
Sending 'vbmeta_a' (8 KB)                          OKAY [  0.001s]
Writing 'vbmeta_a'                                 OKAY [  0.001s]
Finished. Total time: 0.009s
√  root@sparkle  >  fastboot flash vbmeta_b vbmeta.img                                           🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 286
Sending 'vbmeta_b' (8 KB)                          OKAY [  0.001s]
Writing 'vbmeta_b'                                 OKAY [  0.001s]
Finished. Total time: 0.009s
√  root@sparkle  >  fastboot flash vendor_a vendor.img                                           🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 287
Invalid sparse file format at header magic
Sending sparse 'vendor_a' 1/2 (757755 KB)          OKAY [ 19.565s]
Writing 'vendor_a'                                 OKAY [  0.001s]
Sending sparse 'vendor_a' 2/2 (115028 KB)          OKAY [  7.629s]
Writing 'vendor_a'                                 OKAY [  0.001s]
Finished. Total time: 27.404s
√  root@sparkle  >  fastboot flash vendor_b vendor.img                                           🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 288
Invalid sparse file format at header magic
Sending sparse 'vendor_b' 1/2 (757755 KB)          OKAY [ 19.506s]
Writing 'vendor_b'                                 OKAY [  0.001s]
Sending sparse 'vendor_b' 2/2 (115028 KB)          OKAY [  8.059s]
Writing 'vendor_b'                                 OKAY [  0.001s]
Finished. Total time: 27.750s

So, yeah, how do I solve this? How do I get the partitions to not be 'critical partitions'? I've tried this:
Code:
 √  root@sparkle  >  fastboot flashing unlock                                                     🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 294
FAILED (remote: '       Device already : unlocked!')
fastboot: error: Command failed
×  root@sparkle  >  fastboot flashing unlock_critical                                            🗁 /home/andy3153/…/10.3.6-OnePlus6Oxygen_22.J.48_OTA_048_all_2010042239_c0c1fee2ee-FASTBOOT/images    🗏 295
FAILED (remote: '       Device already : unlocked!')
fastboot: error: Command failed

but it is already unlocked apparently
Now I am no expert, but reading the first post I believe what you are seeing is normal - those partitions can't be flashed through fastboot. Usually, you will need to boot to TWRP and flash from there.

What exactly did you try to do?
What were your steps?
 

Andy3153

Member
Apr 29, 2018
36
14
20
OnePlus 6
Now I am no expert, but reading the first post I believe what you are seeing is normal - those partitions can't be flashed through fastboot. Usually, you will need to boot to TWRP and flash from there.

What exactly did you try to do?
What were your steps?
So when I unbricked my phone the first time I flashed all the partitions normally, it let me flash them all (that was most likely because all the partitions in TWRP were wiped). But after I tried installing the ROM (which is android 11), I got that qualcomm crashdump for either booting into the normal OS or going into the recovery, but the scariest part is that even if you try to boot TWRP from an image file on your computer using fastboot, I'd still get that crashdump (which just says that it attempted to kill init, which really looks like a kernel panic you'd get on Linux).

I have to note that even when I updated the stock ROM to Android 11 (through the settings app), even then TWRP wouldn't start anymore. To install TWRP back I had to downgrade OOS and then I proceeded to try and install dotOS.

I think there's something about android 11 which just prevents TWRP from starting. And, I think I'd need that sort of full wipe once again, but I can only do it in TWRP, and I can't get into TWRP. So, uh, what's the next thing I could try?

I also have to mention that yes I did use the latest version of TWRP so that isn't a problem
 

Geenyous1

Member
Dec 13, 2020
14
11
OnePlus 6
... flashed all the partitions normally, ...
What exactly do you mean by that?

If you flashed all images one by one, then I am not sure why that worked in the first place, as to how I understand the first post, that should not work (the critical ones always have to be flashed by TWRP, no matter if they are wiped or not).

Anyway, like I said, am no expert. What could be the issue is that any of the Android 11 based restore files here have the issue, that TWRP does not work properly. Or at least the specific TWRP packed with the files (if there even is a twrp packed with the files?).

If you want to have TWPR on Android 11, I think you should downgrade again (as that will give you a working TWRP), then root, then either update through system app and then use a TWRP retention script in magisk, or flash the ROM through TWRP - there is a way to keep twrp there I believe, but you would need to find a tutorial (something with rebooting to recovery and flashing again, afaik).

Did you already try to downgrade again with the bat file from Android 10 based ROM (not flashing every img manually?
 

Andy3153

Member
Apr 29, 2018
36
14
20
OnePlus 6
What exactly do you mean by that?

If you flashed all images one by one, then I am not sure why that worked in the first place, as to how I understand the first post, that should not work (the critical ones always have to be flashed by TWRP, no matter if they are wiped or not).

Anyway, like I said, am no expert. What could be the issue is that any of the Android 11 based restore files here have the issue, that TWRP does not work properly. Or at least the specific TWRP packed with the files (if there even is a twrp packed with the files?).

If you want to have TWPR on Android 11, I think you should downgrade again (as that will give you a working TWRP), then root, then either update through system app and then use a TWRP retention script in magisk, or flash the ROM through TWRP - there is a way to keep twrp there I believe, but you would need to find a tutorial (something with rebooting to recovery and flashing again, afaik).

Did you already try to downgrade again with the bat file from Android 10 based ROM (not flashing every img manually?
I tried to install the things in this post, but I'm not on Windows, so I flashed the images manually. It didn't work.

I think there's something in the protected partitions preventing TWRP from booting, I have no idea. But that's where I am at, either trying to write to those protected partitions or finding a 'fastboot update' compatible archive, or getting TWRP to somehow work

It's so annoying that on these new AB phones you don't have the recovery partition. I think that if I could get TWRP somehow onto the device it might work. But it doesn't work with 'fastboot boot', it gives the qualcomm crashdump
 

Top Liked Posts

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

    FLASHER ADVANCED GUIDE
    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 .



    DOWNLOAD

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

    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:
    Code:
    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:
    Code:
    fastboot flash persist persist.img

    Criticals Partitions, for these you need to boot the TWRP:
    Code:
    fastboot boot TWRP.img
    When you are in TWRP you need to run these commands to push and flash all criticals partitions:
    Code:
    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


    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.

    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://xdaforums.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.

    16
    Does using this method restores stock recovery??
    12
    This would've saved me 6 hours of my life trying to unbrick my 6 this morning. You are a savior. Reserved.
    12
    I've uploaded latest 5.1.11
    7

    cmd window said it had failed due to not having a partition to write to, my phone seems to be in a boot loop ATM
    I did backup a partial working (still bootable) backup and saved it on my pc but I cannot seem to transfer it back to the phone after using your BAT file. The phone will not boot at all

    ---------- Post added at 02:53 PM ---------- Previous post was at 02:36 PM ----------


    After the first failed attempt, when I try to reflash using the runall.bat, it just says phone is already unlocked and does nothing else. Phone is still partially bricked (no bootable rom at all, cannot install oxygen os through TWRP and also wont let me transfer files from PC to internal storage)

    ---------- Post added at 03:15 PM ---------- Previous post was at 02:53 PM ----------

    Tried sideloading stock OxygenOS, it fails to install zip "updater process ended with ERROR: 255.
    Nothing at all seems to be able to fix my phone lol

    ---------- Post added at 03:23 PM ---------- Previous post was at 03:15 PM ----------

    target reported max download size of 536870912 bytes
    Invalid sparse file format at header magic
    wiping userdata
    erase successful but not automatically formatting
    cant determine partition type
    FAILED command write failed no error

    ---------- Post added at 03:33 PM ---------- Previous post was at 03:23 PM ----------


    I believe I have fixed my issue with your BAT not working,
    I needed to mark the EXE files as large address aware, to be compatible with my 64bit OS.

    Done here if anyone else has same issue:
    https://www.techpowerup.com/forums/threads/large-address-aware.112556/

    My phone has just booted! Much thanks to the OP, you have just saved my device