yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 Guides, News, & Discussion] chazey2:
Worked a treat

[MENTION=4712355]mauronofrio[/MENTION] many thanks small donation sent, sorry not more.

Had installed TWRP and Magisk on my OP6 and decided to wait a little longer and go completely back to stock ready for the next up date from one plus.

Followed instructions downloaded Rom zip -extracted to folder- opened powershell in source folder checked connection with fastboot devices and double clicked install all.bat. Straight away the phone responded with lock or unlock bootloader. I choose to just plain ignore it and seconds later the flash started few minutes later OP6 rebooted to a nice fresh clean install with my bootloader still unlocked.

Can confirm works as it says it does with above instructions.

Thanks
[OnePlus 6 Guides, News, & Discussion] 19kylegreer96:
Does your recovery work?
[OnePlus 6 Guides, News, & Discussion] chazey2:
One Plus stock yes used it to wipe cache.
[OnePlus 6 Guides, News, & Discussion] 19kylegreer96:
https://xdaforums.com/showpost.php?p=76660718&postcount=281

Using that guide I have fully working TWRP and root, after previously having no recovery at all. Posting here for reference
[OnePlus 6 Guides, News, & Discussion] chazey2:
Yep had done that on the very night received OP6. Might go back soon why I left bootloader unlocked.
[OnePlus 6 Guides, News, & Discussion] CB620:
I'm using a MBP what are the commands for terminal? Apple gets no love lol.
[OnePlus 6 Guides, News, & Discussion] KnifeFed:
The commands for ADB/fastboot are the same on every OS.
[OnePlus 6 Guides, News, & Discussion] iElvis:
Commands are exactly the same, but you have to preface them with ./ in Terminal. IOW:

./fastboot [command]

./adb [command]
[OnePlus 6 Guides, News, & Discussion] CB620:
I was looking for the commands to flash the files individually. I found them.
[OnePlus 6 Guides, News, & Discussion] Dr.A:
Brick phone

I bricked my phone before I even use it!

I tried to fastboot on my macbook pro but I couldn't get the command "Flash-all. bat" working!!

Then I tried to install twrp to get over the problem

But it keeps freezing and never starts up

I need to use my phone I don't want root anymore

Please help
[OnePlus 6 Guides, News, & Discussion] x111:
If my oneplus6 already has oos 5.1.5 with flashed twrp, root, exposed,

can I flash this stock rom on top ?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
For linux and OSX the commands are these:

export ANDROID_PRODUCT_OUT=<namzepath>
fastboot flashing unlock_critical
fastboot -w flashall

<namepath> is the folder path where you unpacked the rom zip fo example:

export ANDROID_PRODUCT_OUT=D:\Desktop\5.1.5
fastboot flashing unlock_critical
fastboot -w flashall

I will soon add these commands at the first post

EDIT: I'm uploading new version of zip with an .sh installer for linux/osx
[OnePlus 6 Guides, News, & Discussion] matze19999:
Just reflash all partitions via fastboot and it will boot up again.

Dont try to root your phone when you have no idea what youre doing :)
[OnePlus 6 Guides, News, & Discussion] tonime:
Where is the rom that has always on display?

It is 5.1.3 ?
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
If you don´t wanna go back and have Magisk installed, there is also a module for activating always on display.
[OnePlus 6 Guides, News, & Discussion] morissio:
I'm on beta 3 and I would like to install the last one via fastboot. Which file .bat I have to use?

Thanks
[OnePlus 6 Guides, News, & Discussion] HerySean:
Please add update version of Android 9.0 stock fastboot ROM. Thank you
[OnePlus 6 Guides, News, & Discussion] npes87184:
Hi,

In Android P fastboot rom, I think the third line of flash-all-partitions.bat has some problem.

It should be flash-only-persist.bat, right?

[MENTION=8011874]Echo off[/MENTION] title Mauronofrio All Partitions Flasher :P

flash-all-partitions-fastboot.bat

flash-all-partitions.bat <----

flash-all-partitions-recovery-criticals.bat

pause
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
my .bat flash roms in both slots, but is always reccomended make a local upgrade with stock official rom zip. Just go in settings/updates/advanced/ local update.

Before the rom and then the twrp

I think you are a bit confused, the command to boot the twrp is

fastboot boot recovery.img

Your command will place the twrp in kernel partition and this is not good
[OnePlus 6 Guides, News, & Discussion] CRXed:
I used the flash-all-partitions.bat (after TWRP Restore got me into CrashDumpMode) but I still cannot boot my device, it only goes to CrashDumpMode.

What else can I try?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Oh my god, it is in all roms, i should reupload all.

Thanks for reporting it

From witch rom you came before flash the fastboot rom? Which rom have you flashed?

You can restore it with msmtool
[OnePlus 6 Guides, News, & Discussion] CRXed:
I updated from Oxygen 5.1 to Oxygen 9.0 and then I wanted to go back to my Nandroid of 5.1 but it did not work.

Then I tried to flash the fastboot rom of 5.1...I will now try Android 9.0 PIE
[OnePlus 6 Guides, News, & Discussion] megazero1x1:
Quick question, are these ROMs region independent ? Is it like only for USA Op6s or Indian Op6s ?
[OnePlus 6 Guides, News, & Discussion] Terrigible:
They are region independent.
[OnePlus 6 Guides, News, & Discussion] sejmand:
Noob-yes-no-question:

I'm on 5.1.11 / OnePlus A6003_22l_180810. (via faastboot-rom in this thread)

Will my phone get the normal auto update with the bulid in update app?
[OnePlus 6 Guides, News, & Discussion] morissio:
[MENTION=4712355]mauronofrio[/MENTION]

Hi. Can I flash Oreo rom via fastboot without problem? (now i'm on Pie)

What .bat i have to use for a clear install ? (event Pie)

Grazie ciao!

M.
[OnePlus 6 Guides, News, & Discussion] Obamaloominaty:
How do you know you're on OOS Pie? I mean the official one, cause when I compare the numbers the OOS Updater says when I flash official Pie to OB3 Pie they're the same. Is this normal?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Ascolta è sconsigliato il downgrade, anche perchè teoricamente non sarebbe fattibile. Ora se vuoi tornare ad oreo ti consiglio di mettere la beta, poi usare il rollback per oreo alla 5.1.6 e poi di aggiornare alla 5.1.11. Purtroppo google ha inserito una forma di protezione che impedisce il downgrade, in questo modo la dovresti eludere.

Listen to the downgrade is not recommended, also because theoretically it would not be feasible. Now if you want to go back to ore or I suggest you put the beta, then use the rollback for ore or 5.1.6 and then update to 5.1.11. Unfortunately Google has inserted a form of protection that prevents the downgrade, in this way you should avoid it.

I had also the same question. I think the official one is the same of the beta, they changed only little things to be flashed like a non-beta rom
[OnePlus 6 Guides, News, & Discussion] Obamaloominaty:
Yeah... I spent like 30 minutes last night trying to get this damn phone on Official Pie and I felt like an idiot. I couldn't even get it to pick up the OTA either. I'm gonna assume I'm on official for now though since I gave up and flashed the official OTA in TWRP.
[OnePlus 6 Guides, News, & Discussion] morissio:
deleted
[OnePlus 6 Guides, News, & Discussion] Dr.A:
I had a problem during update

now I only have access to fastboot mode

Can I still Have my data ?

what command won't delete my internal storage ?
[OnePlus 6 Guides, News, & Discussion] Dr.A:
Any help please ?
[OnePlus 6 Guides, News, & Discussion] ChemoNL:
You can try to boot TWRP from fastboot and use a flashable zip from this thread: https://xdaforums.com/oneplus-6/how-to/oneplus-6-mirrors-official-oxygen-os-t3792244

If not, you are screwed and you should use the flash-all.bat from this thread
[OnePlus 6 Guides, News, & Discussion] thrgk:
will i need to re unlock bootloader and re-root after flashing this?
[OnePlus 6 Guides, News, & Discussion] yldlj:
Only re root. Unlocked bootloader remains.
[OnePlus 6 Guides, News, & Discussion] bkeaver:
anyone have any clue why when I do this (to be clear I'm on a linux pc and I did all the fastboot commands manually one by one) I get a black screen with the blue led light when it tries to boot?
[OnePlus 6 Guides, News, & Discussion] Gr8man001:
You only need to put your phone in fastboot mode. No commands needed from PC. Just run the batch file from the downloaded and unzipped folder.

Per OP:

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 .bat flasher you need;

Wait until the process end;

With new .bat you need to manually reboot the phone
[OnePlus 6 Guides, News, & Discussion] bkeaver:
when on a linux pc the bat files will not work. Si U do need to run things manually

---------- Post added at 08:17 AM ---------- Previous post was at 07:59 AM ----------

nevermind.. I used the unbrick msmdownloadqualcom method and I now have it working..
[OnePlus 6 Guides, News, & Discussion] stcev:
does anybody know why it is impossible to flash twrp after this process ??. Everytime I try to I get qualcomm crash dump mode. Please help me to get twrp again. The .bat helped me to boot again, but I am not able to get twrp again.
[OnePlus 6 Guides, News, & Discussion] teja:
I believe you are trying to flash TWRP in android pie stable ? if yes, FYI for now, TWRP offical version wont support android pie in op6.

you will always get qc dump mode if u try to flash official version.

instead you can try to flash blue_spark twrp version and it works like charm. see below thread to detail information

blue_spak detail link
[OnePlus 6 Guides, News, & Discussion] stcev:
Figured that out this morning, feeling pretty dumb right now haha. But at least got it to work. Thanks for your quick reply
[OnePlus 6 Guides, News, & Discussion] tryingnottobenoob:
Need help with recovering my phone

There is absolutely nothing on my phone. I was on Pie Beta 3, then I tried to install a custom ROM and Magisk.

I ended up doing the following:-

> Cleaning out all partitions after the phone wouldn't boot.

> Able to boot into blu_spark twrp but through fastboot only. Booting through the button combination causes it to stay at the blu_spark logo.

> Unable to transfer data to "Internal Storage" because there is no storage bar, even though I put the last PIN and got the message for successful decryption.

I am stuck here. I need this phone to work. Please help.
[OnePlus 6 Guides, News, & Discussion] teja:
Do below steps it may work on depends:

case 1. if you have already followed and flashed according to this thread dev @mauronofro it should definitely works. if still not i cant help

case 2. if you tried to flash blue_spark and stucked on splash screen or bluespark twrp on every boot, then flash this OOS9 Stock boot img from fastboot. if you are in beta builds go this thread for correct boot img.

(same happened to me earlier, was stuck on blue spark,after flashing i can boot system)

case 3. if you want to transfer files from pc to phone, there is a method called adb push, you can google it for same.
[OnePlus 6 Guides, News, & Discussion] mjolnir-117:
Trying to recover phone

I'm trying to recover my phone after failing to flash a different ROM on it. How long is the fastboot -w command supposed to take? Because it seems to be taking way too long.

Edit: Had to reboot phone and then it worked perfectly. Thank you.
[OnePlus 6 Guides, News, & Discussion] HFidalgo:
[MENTION=4712355]mauronofrio[/MENTION]

Your Tool All In One is a f*cking life safer!

Thanks for sharing it!!! :highfive:
[OnePlus 6 Guides, News, & Discussion] Terrigible:
I know this is kinda late, but in the OP, it should be seamless updates, not project treble. [MENTION=4712355]maunorofrio[/MENTION]
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Yes but then i should explain how android works, saying project treble I wanted to generalize

In all cases new Beta rom in upload
[OnePlus 6 Guides, News, & Discussion] Terrigible:
Project Treble is the ability to change the Android stuff while keeping vendor implementations unchanged, which is totally different from Seamless Updates. For example, the 5T also has Project Treble, but not seamless updates. Just look at this: https://www.androidauthority.com/project-treble-818225
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Man the people doesn't know the difference beetween project treble and seamless updates, so i've wrote only project treble, now i write seamless update
[OnePlus 6 Guides, News, & Discussion] Xdevillived666:
Need radio

I need the modem_config and all mcfg files inside if anyone has them,please?
[OnePlus 6 Guides, News, & Discussion] Azhar_Fahry:
i just installed this on my oneplus 6 ,but i dont know which version of oxygenos is this. is it open beta or stable 9.0 ? thx
[OnePlus 6 Guides, News, & Discussion] null0seven:
Settings > About.
[OnePlus 6 Guides, News, & Discussion] Azhar_Fahry:
check attachment
[OnePlus 6 Guides, News, & Discussion] ericlui:
Hi, I would appreciate if someone can help. I tried to install ANDROID-PIE-OnePlus6Oxygen_22_OTA_025_all_1809150101_35981ba3cecc19e-FASTBOOT.zip, but the phone won't boot, so I went back and install OnePlus6Oxygen_22_OTA_015_all_1808102118_770880-FASTBOOT.zip, the phone boot, but is crashing and rebooting every 2 seconds, I can't even get through set up. What can I do?
[OnePlus 6 Guides, News, & Discussion] biron_w:
Try OTA_13

I had the same issue and ended up flashing a few til I found one that worked and 13 was lucky for me. I don't think it matters which one of 13 you choose.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
This roms are not good to update your phone, they are good only to restore your phone, so you need to flash the same version you have previously and it's important to wipe all data before do it.
[OnePlus 6 Guides, News, & Discussion] rickysidhu_:
I received this same error and on the same step (3/5).

I was trying to get a fresh install of Pie on my friend's OnePlus 6 and that same data write failure came up.

I was using Windows 10 via Parallels on my iMac (which shouldn't be an issue since I've run 8.x versions of this on my own OP6 when I used to own one).

I chose the "flash-all-partitions-fastboot" option.

The 6 was on Oreo prior to running the Pie flash-all, but I'm not sure if that was the reason.

I ended up having to use the unbrick tool to get back to 5.1.5 and then just upgraded to Pie via the standard system update in the settings app. I was too afraid to attempt the flash-all script for a second time since the device isn't even mine.

In case my friend wants me to do any updating / modding for him in the future, it would be nice to know the reason/cause for this and thus a potential solution, thanks in advance!
[OnePlus 6 Guides, News, & Discussion] yldlj:
These fastboot ROMs are NOT for updating. You need to use the same build
[OnePlus 6 Guides, News, & Discussion] rickysidhu_:
Interesting. I thought either way it's still overwriting whatever OS was installed prior.

So I guess for next time I should update via full zip and then use this fastboot version?
[OnePlus 6 Guides, News, & Discussion] yldlj:
Just take the OTA normally then factory reset in settings. Taking ota from settings while rooted will download the full ROM and get rid of twrp and root
[OnePlus 6 Guides, News, & Discussion] boyinboyin:
Hey guys! I have 0 experience in flashing. If I buy an OP6 in China, can I follow these procedures straight out the box or do I need to update things?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
This fastboot rom is not needed in this case, just download latest official oxygenos from oneplus site and flash it through settings, then make a restore and you are ready
[OnePlus 6 Guides, News, & Discussion] boyinboyin:
Oh it's that simple? Do I still need to go in recovery mode? Also, I've read somewhere that hydrogen to oxygen gives an "impossible to downgrade" error, is it true?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
True, in fact you need to flash a newer version of oxygen os on the hydrogen os rom. You don't need of recovery just make the update from the settings
[OnePlus 6 Guides, News, & Discussion] boyinboyin:
Thank you! However, what are the options if Oxygen never gets "newer" than hydrogen?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
You should flash new oxygen os beta 4, then you should use the roll back to come back oreo and then you can flash latest oxygen os rom
[OnePlus 6 Guides, News, & Discussion] boyinboyin:
Sorry for being a noob, but is there a guide for the rollback? Is Oxygen os beta 4 on oneplus.net?
[OnePlus 6 Guides, News, & Discussion] null0seven:
Yes.

Om official OnePlus site you will find Oos 9.0 and Open beta 04
[OnePlus 6 Guides, News, & Discussion] klym.software:
correct me if I'm wrong because I'm new to A/B partitioning and seamless updates, but if i want to unbrick my op6 and update to stable oos 9 (kept trying to fastboot TWRP on oos9), Do i first flash stock images with msmdownload tool and go to hydrogen OS. Then local upgrade to oxygen os open beta 4. Then roll back to oxygen OS oreo. Then local upgrade to stable OOS9. Then somehow install it on the other partition as well? (I read that earlier in this thread. Instructions on how to do this is appreciated). Then after all that I can fastboot the TWRP bluespark image for android 9 and install magisk. Is all this correct?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
If you flash hydrogenos through msmdownload tool you can flash directly oxygenos pie stable on it, always remember to make reset after flashed oxygenos on hydrogenos
[OnePlus 6 Guides, News, & Discussion] Etshy:
I'm stuck on a blackscreen at boot with blueish led and I tried these bat to "reinstall" stock rom.

I run the flash-all-partitions.bat to my oneplus6 but I'm not sure what to do after that.

When I boot (normal or recovery) I'm still stuck on the blackscreen.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Which rom did you have before flash the rom? What rom did you flash?
[OnePlus 6 Guides, News, & Discussion] Etshy:
before starting flash I had the latests stable version I couldn't do any system updates) but don't remember the build or oxygenOs version number.

When I tried the first time to flash I followed a tuto on the oneplus forum But I don't remember either the link or the rom used (only remember the twrp img I boot was extremely laggy).

I tried so many different tuto availble here or on others android forum I don't knwo anymore what could happen to my device ...

I just know I'm stuck with a blackscreen, when in blackscreen my OP6 is detected as Qualcomm 900E, I can access fastboot mode but can't boot on img via fastboot boot img.img (it goes to the blackscreen too)

Sorry I didn't take all the information before starting doing this, I never had probleme to do it before.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
You should follow this guide: https://xdaforums.com/oneplus-6/how-to/guide-mega-unbrick-guide-hard-bricked-t3796051
[OnePlus 6 Guides, News, & Discussion] Etshy:
Yeah I found that but didn't understand what to do when I found it.

now I read more tuto etc, I understood what to do, thanks.

My devices wasn't in "unknown Devices" though, it was on "Ports (COM & LPT)"

And i didn't manage to install the drivers provided in the thread (OP5T) but I installed from drivers not compatible > Qualcomm > and I found the Qualcomme DQLoader 9008

After that I truned off and connect it while pressing volume up (I turned it on while pressing vol up before, that's why it didn't work the first time I tried this tuto)

And When I had to go, I launch the MSMsomething tool (I didn't use the one in the thread, but another I got from antoher tuto) and it seems it downloaded/installed things, so I hope It will work.

Thanks a lot to remind me this tuto though.

Once it's finished, i just need to boot normally (juste by pressing the power button) right ?

I let the checkbox "auto reboot" checked on MSM tool so maybe it will do it automatically.

I'm completely lost at the moment with this problem, sorry for talking(/writing) too much.

Edit : It worked !! Thansk a lot all the persons that helped me in pm here or in the thread I created this earlier.

I'll try to root it later with a better tuto this time.
[OnePlus 6 Guides, News, & Discussion] xbdf:
How long is flashing the vendor supposed to take? System finished in less than a minute, but flashing vendor is still going after a while.

target reported max download size of 536870912 bytes
Invalid sparse file format at header magic
Sending sparse 'vendor_a' 1/2 (521723 KB)...

I see this in the dmesg, maybe that's helpful:

[ 1474.167187] INFO: task fastboot:14284 blocked for more than 120 seconds.
[ 1474.167198] Not tainted 4.18.10-artix1-1-ARTIX #1
[ 1474.167202] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1474.167207] fastboot D 0 14284 14283 0x00000000
[ 1474.167215] Call Trace:
[ 1474.167233] ? __schedule+0x29b/0x8b0
[ 1474.167240] schedule+0x32/0x90
[ 1474.167248] schedule_timeout+0x311/0x4a0
[ 1474.167276] ? usb_hcd_submit_urb+0xba/0xb30 [usbcore]
[ 1474.167282] ? do_page_fault+0x32/0x130
[ 1474.167289] wait_for_common+0x15f/0x190
[ 1474.167298] ? wake_up_q+0x70/0x70
[ 1474.167319] usb_start_wait_urb+0x82/0x160 [usbcore]
[ 1474.167342] proc_bulk+0x299/0x370 [usbcore]
[ 1474.167365] usbdev_do_ioctl+0x763/0x10f0 [usbcore]
[ 1597.047235] ? usbdev_compat_ioctl+0x10/0x10 [usbcore]
[ 1597.047256] usbdev_ioctl+0xa/0x10 [usbcore]
[ 1597.047263] do_vfs_ioctl+0xa4/0x620
[ 1597.047271] ? apic_timer_interrupt+0xa/0x20
[ 1597.047277] ksys_ioctl+0x60/0x90
[ 1597.047284] __x64_sys_ioctl+0x16/0x20
[ 1597.047291] do_syscall_64+0x5b/0x170
[ 1597.047297] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1597.047303] RIP: 0033:0x7f367399e79b
[ 1597.047304] Code: Bad RIP value.
[ 1597.047320] RSP: 002b:00007ffd7df34e68 EFLAGS: 00000206 ORIG_RAX: 0000000000000010
[ 1597.047325] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f367399e79b
[ 1597.047328] RDX: 00007ffd7df34ec0 RSI: 00000000c0185502 RDI: 0000000000000004
[ 1597.047331] RBP: 00007ffd7df34ee0 R08: 0000000007df9d40 R09: 000055d096ff5920
[ 1597.047334] R10: 0000000000000001 R11: 0000000000000206 R12: 000055d096ff3f80
[ 1597.047336] R13: 00007ffd7df36a50 R14: 0000000000000000 R15: 0000000000000000

---------- Post added at 06:36 PM ---------- Previous post was at 06:00 PM ----------

Using another computer seems to have worked. However, I still can't boot TWRP
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Why you are unable to boot twrp?
[OnePlus 6 Guides, News, & Discussion] xbdf:
Black screen when I try. I have gotten it to work a few times since that post, but now it's showing a "Qualcomm Crashdump Mode" when I try
[OnePlus 6 Guides, News, & Discussion] ango81:
Hello,

I need your help my oneplus is blocked

oneplus 6 android 9

bootloader unlock

usb debug ok

after installation twrp the phone did not reboot

I tried flash-all-partitions-fastboot.bat black screen the phone does not start

I tried flash-all-partitions.bat black screen the phone does not start

What is the solution ?

Thank
[OnePlus 6 Guides, News, & Discussion] tabletalker7:
Unbrick tool
[OnePlus 6 Guides, News, & Discussion] Jeik:
https://xdaforums.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892
[OnePlus 6 Guides, News, & Discussion] ango81:
Thank's i download and i tried tomorrow
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Unfortunately when you flash the twrp you need also to flash magisk or something else that disable the verification or you wil be unable to boot the rom again, i don't know why a lot of people are having issues with the latest fastboot rom, in the next days i will check it.

Can you please tell me which rom did you have before try to flash the fastboot rom and which fastboot rom did you use?
[OnePlus 6 Guides, News, & Discussion] curtjoe:
Hi,

I'm trying to convert from Hydrogen OS on the A6000 to Oxygen OS. I've unlocked the bootloader.

Which Oneplus 6 fastboot ROM is the first one? I'm trying to install the original stock ROM for Oxygen OS and there are so many on that google drive to choose from. Which one do I choose?