yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 Guides, News, & Discussion] bilered:
Yes there's a way. First you need to flash TWRP recovery from bootloader, then reboot into recovery you'll find the option Mount. Now you can mount your internal storage to the PC and backup whatever you want.
[OnePlus 6 Guides, News, & Discussion] dkv2222:
Phones stuck in fastboot. Cannot flash anything/

extracting android-info.txt (0 MB) to RAM...

extracting boot.img (64 MB) to disk... took 0.197s

target reported max download size of 536870912 bytes

archive does not contain 'boot.sig'

archive does not contain 'boot_other.img'

extracting dtbo.img (8 MB) to disk... took 0.030s

archive does not contain 'dtbo.sig'

archive does not contain 'dt.img'

archive does not contain 'recovery.img'

extracting system.img (2860 MB) to disk...W/ziparchive( 8892): Zip: unable to truncate file to 2998927360: File too large

error:

failed to extract 'system.img': I/O error

Press any key to exit...

This is the error when running flash all bat

Tried to flash the stock ROM using your toolkit as well, didnt work. Ends up in cmd with the same error.

I need help real bad

PS Bootloader version and baseband version dont show anything on the fastboot screen, is that an issue??

All help is appreciated, thanks! :)
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
How much free space do you have on your pc hard disk? Seems the script is unable to extract the system.img. you need of 4 gb of free space and 4gb of ram
[OnePlus 6 Guides, News, & Discussion] john2529:
my phone is rooted. if i want this. how do i get back to non-rooting my phone? please help!
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
You can follow this guide:

https://xdaforums.com/oneplus-6t/how-to/how-to-update-return-to-stock-oneplus-6-t3870795
[OnePlus 6 Guides, News, & Discussion] john2529:
thank you so much for the info!
[OnePlus 6 Guides, News, & Discussion] Kunal_G1996:
extracting android-info.txt <0 MB> to RAM...

extracting boot.img <64 MB> to disk... took 0.440s

target reported max downloa size of 536870912 bytes

archive does not contain 'boot.sig'

archive does not contain 'boot_other.img'

extracting dtbo.img <8 MB> to disk... took 0.078s

archive does not contain 'dtbo.sig'

archive does not contain 'recovery.img'

extracting system.img <2860 MB> to disk... took 130.388s

Invalid sparse file format at header magic

This is the error while flashing flash-all.bat.

i am using windows 8.1, 4gb of ram and space available.

I am on open beta 15 and downloaded the "OB15-OnePlus6Oxygen_22_OTA_032_all_1903251449_4aa432208e9dc-FASTBOOT" for the same. i hope i am doing it right?

what could be the error? Please help :(
[OnePlus 6 Guides, News, & Discussion] casual_kikoo:
This is not an error, and reading the OP would have give you the answer
[OnePlus 6 Guides, News, & Discussion] Kunal_G1996:
Thankyou for the quick reply! appreciate it :)

The process has been done. i think i was over reacting a bit because of the time constraint! :p

Thanks again!

I tried flashing the official twrp for op6.. got stuck in the qualcomm crashdumb again and again.

Sorry, i am a noob in Oneplus rooting. i want to flash masgisk...but this oneplus recovery is giving me ****.

Can you help me with this ?

Before this i was using lenovo :p
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
The official twrp is for pie only, soyou need to update your device before flash it
[OnePlus 6 Guides, News, & Discussion] Kunal_G1996:
I am on Android 9.0.4.. but on the beta build i.e beta 15.

It's the same right?

I don't get it.. I am already on the latest version, right?

Or am I getting this wrong?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Try this twrp:

https://xdaforums.com/oneplus-6/development/recovery-unofficial-twrp-touch-recovery-t3860815
[OnePlus 6 Guides, News, & Discussion] PrettySalty:
Saved my life

I can't express in words how thankful I am... Easier than creating a google account...
[OnePlus 6 Guides, News, & Discussion] jumis:
What's that's?

Wysłane z mojego ONEPLUS A6013 przy użyciu Tapatalka
[OnePlus 6 Guides, News, & Discussion] Blindie:
Read the first post.
[OnePlus 6 Guides, News, & Discussion] jumis:
ok, it's good now but I do not have wifi right now

Wysłane z mojego ONEPLUS A6013 przy użyciu Tapatalka

---------- Post added at 12:23 PM ---------- Previous post was at 12:20 PM ----------

which partition is responsible for it? .... img

Wysłane z mojego ONEPLUS A6013 przy użyciu Tapatalka
[OnePlus 6 Guides, News, & Discussion] lukypuie:
Is there a way to prevent internal sdcard to be erased? It's a bit annoying not being able to save my data before unbricking it
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Check if the imei are there and if sensors is working, maybe you need to flash persist

You can edit the script removing " -w" from the flash command, to edit just use notepad or something similar
[OnePlus 6 Guides, News, & Discussion] tie___:
After using this (thanks a lot, helped so much!) can I do Oxygen OS Updates OTA or do I have to use another way?
[OnePlus 6 Guides, News, & Discussion] purlupar:
Complete .sh script

Confirm. :):) (It seems I've un-softbricked the phone now. Phew.)

Using mauronofrio's TWRP.

For the record: If on Mac/Linux, and trying to flash all of these, including persist and critical, don't forget to move all needed img (extracted from the zips) files into the directory of this sh script first. Same is true for the twrp.img (see below). Then run smth like from above (quoted post) or this:

fastboot -w

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

fastboot boot twrp-3.3.1-2-enchilada.img
sleep 30

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
[OnePlus 6 Guides, News, & Discussion] lm089:
I'm so extremely glad I found this thread: after hours trying to recover from a bootloader loop I got into after trying to update blu*spark Twrp. Modified the flash-all.bat by removing "-w" as mentioned above and finally my phone is up and running. Then flashed latest twrp by [MENTION=4712355]mauronofrio[/MENTION], then magisk, and finally followed this hint here resolving a "corrupt device" message. I guess I'm more or less set now; probably will need to re-install / re-configure the odd app, but hey: phone seems to be working again! :good::good: (sorry for this lengthy THANK YOU post, but I'm so glad being back at normal...)

A million thanks to the OP and everyone else here!!
[OnePlus 6 Guides, News, & Discussion] Bonito77:
Sorry for asking but have read all and can't find out what is the differrent between the "flash-all.bat" in the root directory of the rom zip and the "flash-all-partitions-fastboot.bat" in the included zip. iin the rom folder ? And which I need in my case ?

I'm on (OP6) Liquid Remix 8.1.0 Oreo, root and TWRP3.2.3.x-blu_spark v9.85 and I would like to go back to stock OOS and stock recovery without root to update over OTA to OOS Pie. OOS was 5.1.11.

Thanks to all for your help here.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Flash-all.bat is enough, it will flash system vendor and boot, after this you will able to take the updates
[OnePlus 6 Guides, News, & Discussion] Bonito77:
Thanks for your fast answer. Wish you a nice evening.
[OnePlus 6 Guides, News, & Discussion] D4l3x:
good evening when version 9.0.6?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Good question, i'm making it right now, i think it will up in 1 hour (I'm uploading the one for op6t too)
[OnePlus 6 Guides, News, & Discussion] D4l3x:
a problem with version 9.0.6 for OP6?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
What problems?
[OnePlus 6 Guides, News, & Discussion] D4l3x:
I thought there must have been a 9.0.6 FASTBOOT version yesterday?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Yes, but i got some problems during the upload.

But now is already uploaded
[OnePlus 6 Guides, News, & Discussion] D4l3x:
in google drive? you have to wait a bit then?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
I'm not uploading on gdrive the rom anymore, i got some problems with latest fastboot rom version, the upload starts but the process never ends, i tried to kepp the page open for 1 day. Actually i'm uploading fastboot roms only on android file host, if you have problems with androidfilehost, try to use a download manager like jdownloader
[OnePlus 6 Guides, News, & Discussion] D4l3x:
sorry I put on my computer a racurci directly to Google Drive and I did not see the rom and for good reason I understood your problems and here on AFH no worries, thank you again I like this process of installation Thanks for the work
[OnePlus 6 Guides, News, & Discussion] L22EEW:
Hi all, i'm in a bit of a pickle.

My OP6T has gone into the dreaded Crash Dump Mode.

I can't boot into fastboot (tried a dozen times)

I can't boot into recovery (tried a dozen more time)

Phone will sometimes boot passed unlocked bootloader warning message but is stuck on boot animation.

I'm in the process of downloading the 6T MsmDownloadTool.

I do have a backup of phone on PC (about 2 months old unfortunately). Is there any physical way to access the internal storage (as phone will not fully boot, but will stick on boot animation).
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
No there is not a method.

Here we are on the oneplus 6 thread, you are talking about oneplus 6t, use the proper msm tool
[OnePlus 6 Guides, News, & Discussion] cmart4:
Op thanks for everything.... You are a huge timesaver ?
[OnePlus 6 Guides, News, & Discussion] Awehweh:
Technical problem

Hello, i have big problem beacause before making the mistake i had not read the post fully, so i made the mistake of wanting downgrade my OP6 with this method to android oreo and my fastboot call me "FAILED (remote: Check device console.)" when i want to "fastboot erase data" or to make other specific command . So ... someone have a solution ?

thanks to those who have taken the time to read this message goodbye :)
[OnePlus 6 Guides, News, & Discussion] kadir4211:
Thank yo so much it worked
[OnePlus 6 Guides, News, & Discussion] plopingo:
Hi,

I have some micro lagg/stuttering when scrolling, launching or tabbing between apps sometimes.

Do you have any idea?

(script I've used: "flash-all-partitions-fastboot.bat" )
[OnePlus 6 Guides, News, & Discussion] skeeter123:
I'm stuck in a TWRP bootloop.

Background: resetting the phone to factory conditions, unrooted but with unlocked bootloader.

What's the best practice for getting the phone back to stock, unrooted, with unlocked bootloader?

Thanks!
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
You can use the fastboot roms
[OnePlus 6 Guides, News, & Discussion] skeeter123:
Edit:

Well, that was just too dang easy! Thank you!

One last thing...How do I get the stock OnePlus recovery back? When I boot to recovery, I just get the screen that offers English and (possibly) Chinese or wipe data/cache. Searched all ever Googland and found info about just about every device except the 1+6. What did I miss??

Donated! (ID xxxxxx90152N For yer 7Pro work as well)

===================================================================

Thank you kindly!

In other words, eg., I can download the 9.0.6 zip file in the OP here, extract it, and flash it per the instructions?

This will also remove TWRP and flash the stock recovery?

Pardon my ignorance, never had to do this before...
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
The stock recovery is included in the stock boot.img so when you restore your phone with a fastboot rom you will restore also the stock TWRP.

Thanks for the donation.
[OnePlus 6 Guides, News, & Discussion] skeeter123:
Interesting. I used the 9.0.6 fastboot ROM from the OP and apparently have no recovery. TWRP or stock....odd, no?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
If you used the fastboot rom and now you are able to boot the rom you must have also the stock recovery.
[OnePlus 6 Guides, News, & Discussion] skeeter123:
EDIT:

Well, I guess that IS the 1+6 recovery mode. Pretty limited for sure....

Oh, well....off it goes to it's new owner!

Thanks again!

..

One would surely think so. But, I can't boot to the actual recovery...I just the screen that says "English or (Chinese characters) or the option to wipe and (advanced...recalling from memory here)... Definitely not TWRP or what I recall as a stock recovery screen...
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Yes that is the stock recovery, if you need of the twrp just flash it
[OnePlus 6 Guides, News, & Discussion] D4l3x:
Hello when the OB21 version?
[OnePlus 6 Guides, News, & Discussion] plopingo:
if I can boot my phone (have access to update engine) it's better to install this way? update engine flash ALL partitions? critical? persist? like flash-all-partitions.bat do?

Thanks
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
No, it's always better use the twrp or the update engine. These fastboot roms are only to restore your rom if you get a bootloop
[OnePlus 6 Guides, News, & Discussion] ammaralidj:
I flash fastboot rom but now my device cant boot, black screen with white LED. Am i missing something??

Why i need to flased fastboot rom:

I installed HavocOS and Bluspark recovery, but when i reboot to recovery to install gapps, the phone stuck at Black screen with white LED.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Which rom did you flashed?
[OnePlus 6 Guides, News, & Discussion] ammaralidj:
Previously i try to flash HavocOS but due to error now i downloaded and flashed Latest fastboot rom 9.0.6 from the links in 1st post
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
You should use the same rom you already have before flash the havoc os, how is written in the first post, you should use this rom to restore the stock rom not to update it.
[OnePlus 6 Guides, News, & Discussion] ammaralidj:
I was using OxygenOS 9.0.6 before HavocOS and now downloaded 9.0.6 fastboot rom
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Which flash-all have you used? Have you waited the process end?
[OnePlus 6 Guides, News, & Discussion] ammaralidj:
I used flash-all command available in the root of extracted file and yes oneplus 6 restarted by itself after completion of flashing

Update:

Now i used MSM Downloader and thank GOD my phone is now OK and also many thanks for you because of your fastboot images and fast replies.
[OnePlus 6 Guides, News, & Discussion] btuhin17:
Can i flash this in lock bootloader...???my condition is too much critical...i erase persist.img and flash stock rom through unbrick tools...and my bootloader lock..and phone stuck in bootloop..i can flash persist.img..becouse bootloader is lock
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Have you used my flash-all.sh or have you manualy wrote the commands? I'm happy if you solve your problem.

If you want to help me to get a OnePlus 6 for a better support for this fastboot stock rom.and for the tool, i created a dedicated PayPal MoneyBox.

PayPal MoneyBox: paypal.me/pools/c/84F5qEp0ej

If in your conuntry is not available the pools, just make a normal donation through PayPal: https://www.paypal.me/MauronofrioTool

Thanks for your support.
[OnePlus 6 Guides, News, & Discussion] Blunts47:
Wow amazing work thank you
[OnePlus 6 Guides, News, & Discussion] rav101:
Hey buddy,

I manually wrote the commands

I'm not sure if it had the fastboot files required for Mac either. I had to copy in my fastboot file over from my normal ADB location to get it to work in that extracted folder.

Edit: How far along are you with the donations?

Edit 2: Just donated €15 for your help last night. You really helped me out both by providing the ROM and giving the suggestion to try on OSX!!
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Perfect i will ad the guide for OSX to the first post.

Thanks for you donation, with your donation we are at 173 of 519, it could be done better but I think it's a good result :good:
[OnePlus 6 Guides, News, & Discussion] rav101:
Yeah,

I mean when it comes to donations, it's hard to get people to part with their cash. At a point it might be worth considering whether you could fund the rest of the money yourself via another means as you would still effectively have a "good discount" on the price of the phone.

Either way, I hope it comes long well for you!

Edit: When I get home, I might send you the Mac OSX fastboot file to add into your zip files so it will work there too. Otherwise you might be adviced to add that to the instructions for OSX.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
The problem is that i have not money at this moment, I am a student... Maybe i can get 50-100 euro but no more. I wrote in the moneybox description "If the fixed quota is not reached within 1 month and I can not integrate in any way, all the money collected will be returned." so if i can i will add the money i have.

Thanks send me the binaries, maybe i can download it also from google site
[OnePlus 6 Guides, News, & Discussion] rav101:
Understood about the money box. Hope it goes well because I can see that you're adding true value to this community.

I will try tonight when I have a moment.
[OnePlus 6 Guides, News, & Discussion] yourmate:
So why it have not?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
What?
[OnePlus 6 Guides, News, & Discussion] bradman117:
fricken life saver man! Thanks so much
[OnePlus 6 Guides, News, & Discussion] mikex8593:
What does that mean?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
he wanted to say that he spent all day trying to solve the brick and then resolved it with the fastboot ROM

I'm happy you solved your problem. If you want to help me:

I'm trying to get a OnePlus 6 with the support of the community, my tool is available for a lot of devices and have a lot of functions, but project treble is giving me problems and the only way to improve tool it's testing by me the functions on the OnePlus 6. If you want to participate I created a PayPal Moneybox where you can donate what you want and helping me to help you.

PayPal MoneyBox: https://www.paypal.me/pools/c/84F5qEp0ej

If in your conuntry is not available the pools, just make a normal donation through PayPal: https://www.paypal.me/MauronofrioTool

Thanks for your support.
[OnePlus 6 Guides, News, & Discussion] chakra:
Hi I am trying to fix my brick, I used your tool as described to flash the 5.1.5 but after its all done it just sits on a black screen with the light blue and doesnt do anything more? I am using Windows 10, I am not sure what else to try.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Have you wiped data from twrp? If yes there is another method to unbrick your device
[OnePlus 6 Guides, News, & Discussion] azsl1326:
Getting the following error when running flash-all.bat:

Invalid sparse file format at header magic

Edit: Tried again and it seems to be working. Thanks for the guide and files!
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
How i wrote in the first page, that is not an error, when you see that string you.need only to wait, the procedure needs also 10 minutes

Tell me if it works
[OnePlus 6 Guides, News, & Discussion] Lownita:
Just to get this straight, if I wanted to restore my phone to stock, I would have to flash the latest OOS with unmodified boot images to both A/B partitions and just lock the bootloader. Nothing else needed, as there is no actual recovery partition anymore, instead recovery is part of boot.img?

What about the firmware/modem, that's still shared between the two A/B partitions? I am coming from an OP3 so still trying to catch up with this :)
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
A/B partitions are for 90% of partitions inlcuded firmware/modem partitions. The else is all true, the recovery is included in the boot.img and for a complete restore you need to flash the stock rom in bot A/B partitions. At this moment the fastboot rom i'm sharing with the community have an included flash-all.bat the flash only system, boot and vendor. For a complete flash-all.bat is needed a bit of more test
[OnePlus 6 Guides, News, & Discussion] tdssmarty16:
Is there any way to go back to 5.1.0 firmware

Battery was much better and always on display was also available
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
There is not a backup of 5.1.0 stock rom
[OnePlus 6 Guides, News, & Discussion] Friedlord:
Thank you!!Thank you!!Thank you!!Thank you!!Thank you!!

Thanks alot
[OnePlus 6 Guides, News, & Discussion] ammaralidj:
I am currently on Beta 21, can i use Fastboot image to move to stable 9.0.7?? Due to internet speed in my area, i cant downgrade / update via OTA

UPDATE:

I just converted to Stable rom via 9.0.6 fastboot rom. Thanks
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Ok
[OnePlus 6 Guides, News, & Discussion] thebianchi:
Gentlemen ... can I install this Rom "fastboot" and continue using it normally?

Or is it just to fix faulty partitions, restore the system? And then install the normal version.

(I installed version 9.0.7 by fastboot and I'm using it normally!)

That's right?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
You can use these roms like the official one, they are unmodified. You should restore the system with official zip only if you have problems
[OnePlus 6 Guides, News, & Discussion] wartomato:
Last two sentences in the first paragraph of the OP you quoted in your post say "no".
[OnePlus 6 Guides, News, & Discussion] D4l3x:
good evening is he expected to have the OB23 version? thank you very much in advance

---------- Post added at 08:39 PM ---------- Previous post was at 07:45 PM ----------

good evening is he expected to have the OB23 version? thank you very much in advance