yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 Guides, News, & Discussion] ed-gonzo:
You look here.

https://xdaforums.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892
[OnePlus 6 Guides, News, & Discussion] Recoba20:
hi my phone has no sound and freez video for youtube & lecture music
[OnePlus 6 Guides, News, & Discussion] lijianjunyonghu:
extracting android-info.txt (0 MB) to RAM...

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

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.060s

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... took 26.770s

Invalid sparse file format at header magic

archive does not contain 'system.sig'

archive does not contain 'system_other.img'

extracting vbmeta.img (0 MB) to disk... took 0.001s

archive does not contain 'vbmeta.sig'

extracting vendor.img (1024 MB) to disk... took 8.656s

Invalid sparse file format at header magic

archive does not contain 'vendor.sig'

archive does not contain 'vendor_other.img'

wiping userdata...

mke2fs 1.43.3 (04-Sep-2016)

Creating filesystem with 13215931 4k blocks and 3309568 inodes

Filesystem UUID: 229c6b5c-081d-11e9-93a2-a3536a8facd3

Superblock backups stored on blocks:

32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,

4096000, 7962624, 11239424

Allocating group tables: done

Writing inode tables: done

Creating journal (65536 blocks): done

Writing superblocks and filesystem accounting information: done

--------------------------------------------

Bootloader Version...:

Baseband Version.....:

Serial Number........: 745e4853

--------------------------------------------

checking product...

OKAY [ 0.003s]

sending 'boot_a' (65536 KB)...

OKAY [ 1.930s]

writing 'boot_a'...

OKAY [ 0.441s]

sending 'dtbo' (8192 KB)...

OKAY [ 0.251s]

writing 'dtbo'...

OKAY [ 0.072s]

erasing 'system_a'...

OKAY [ 0.069s]

sending sparse 'system_a' 1/5 (523507 KB)...

OKAY [ 17.185s]

writing 'system_a' 1/5...

OKAY [ 0.005s]

sending sparse 'system_a' 2/5 (521214 KB)...

OKAY [ 19.929s]

writing 'system_a' 2/5...

OKAY [ 0.006s]

sending sparse 'system_a' 3/5 (512343 KB)...

OKAY [ 19.515s]

writing 'system_a' 3/5...

OKAY [ 0.006s]

sending sparse 'system_a' 4/5 (501881 KB)...

OKAY [ 18.666s]

writing 'system_a' 4/5...

OKAY [ 0.004s]

sending sparse 'system_a' 5/5 (279653 KB)...

OKAY [ 11.312s]

writing 'system_a' 5/5...

OKAY [ 0.003s]

sending 'vbmeta' (4 KB)...

OKAY [ 30.243s]

writing 'vbmeta'...

OKAY [ 0.008s]

sending sparse 'vendor' 1/2 (512286 KB)...

OKAY [ 17.546s]

writing 'vendor' 1/2...

OKAY [ 0.006s]

sending sparse 'vendor' 2/2 (157959 KB)...

OKAY [ 19.276s]

writing 'vendor' 2/2...

OKAY [ 0.007s]

Setting current slot to 'a'...

OKAY [ 10.122s]

erasing 'userdata'...

OKAY [ 0.479s]

sending 'userdata' (4665 KB)...

OKAY [ 0.157s]

writing 'userdata'...

OKAY [ 0.009s]

rebooting...

finished. total time: 167.392s

Press any key to exit...

Unable to start
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Which version you flashed? Which version you have before flash the fastboot rom?
[OnePlus 6 Guides, News, & Discussion] lijianjunyonghu:
OnePlus6 Hydrogen BETA22

China's OnePlus6

Because I want to try oos
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Yes but how is written in the first post these roms can't be used to update your device, try to flash the latest oos beta
[OnePlus 6 Guides, News, & Discussion] lijianjunyonghu:
OK
[OnePlus 6 Guides, News, & Discussion] lijianjunyonghu:
I have succeeded with your method, but the video has no sound.

---------- Post added at 04:03 PM ---------- Previous post was at 04:01 PM ----------

I also encountered the same problem
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Now you need to re-install the same oos version through phone settings
[OnePlus 6 Guides, News, & Discussion] lijianjunyonghu:
Can't you solve it through FASTBOOT mode?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
No, you should use the normal rom and flash it via phone settings
[OnePlus 6 Guides, News, & Discussion] fred_gaou:
It’s wrong. TWRP can flash OTA.zip, full one for sure. You should correct that in the first post to avoid confusion in reader’s mind.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Hi, are you on a stock pie rom true? Try to flash with the TWRP an oreo stock rom, the come here and edit your post
[OnePlus 6 Guides, News, & Discussion] ired17:
Are the roms from this thread (https://xdaforums.com/oneplus-6/how-to/official-oxygenos-5-1-5-ota-oneplus-6-t3794232) same as your given link in AFH?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Not sure on what are you asking, What i share are stock roms flashable from fastboot
[OnePlus 6 Guides, News, & Discussion] Cablespider:
You don't need to quote the OP just to ask a question.
[OnePlus 6 Guides, News, & Discussion] fred_gaou:
Still, your first post implies that flashing full OTA with TWRP will NEVER work. You don’t say « it work on some case and fail for downgrade ». It’s misleading. I only suggest the post to be more accurate. And I*won’t try to downgrade to Oreo from Pie. Not only because I’ve been kindly warned but because it’s just meaningless too. ?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
I edited the first post, in all cases is always better don't use the twrp to flash stock firmwares
[OnePlus 6 Guides, News, & Discussion] ired17:
but it can be flashable also thru twrp, right? coz it is in zip format.

---------- Post added at 05:18 AM ---------- Previous post was at 04:52 AM ----------

oops. sorry, didn't manage to notice the reply button in uc mobile browser.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
These fastboot roms zip can't be flashed through twrp also
[OnePlus 6 Guides, News, & Discussion] ired17:
oh i see, thank you
[OnePlus 6 Guides, News, & Discussion] mrk2815:
will you always have a flash-all bat script for all oxygen oS builds for the one plus six.

---------- Post added at 09:58 PM ---------- Previous post was at 09:57 PM ----------

if not how do i use yorr all in one tool to accomplish this just in case i decide to tlash a custom rom and want to go back to stock build.

---------- Post added at 10:05 PM ---------- Previous post was at 09:58 PM ----------

will your flash-all bat script also work with the OTA update from oxygen os 9.0.2 to 9.0.3. just wondering.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
There is a lot of versions, you should use the same you already have on your phone, don't use these roms to update your phone, is really not reccomended
[OnePlus 6 Guides, News, & Discussion] mrk2815:
mauronofrio, i want to use this as a base to get back just in case i flash a rom and dont like what it does. , i can quickly get back to stock base with the one plus image. that is what i was looking at your tool for doing.is that recommended or not.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
My tool is a good option, but you can easily also flash it without the tool.
[OnePlus 6 Guides, News, & Discussion] Pkumar3495:
extracting system image taking too long.

How much time does it usually take to complete the flash? Because mine is just extracting the system image to the disk since half an hour now. Please help. Thank you.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Depends from the pc
[OnePlus 6 Guides, News, & Discussion] Pkumar3495:
I have i7-4710hq cpu at 2.50ghz with 8 gb of RAM. I think my system is fast enough.

btw I just pressed enter when it was stuck at the step of extracting system image. And it continued.

All the process ran just as expected but still my phone is unable to boot. I will really appreciate your help.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Yes it is an hard disk problem, in all cases are you using the same version you already have on your phone?
[OnePlus 6 Guides, News, & Discussion] Pkumar3495:
If you talking about the os version then this is what happened.

I wanted to try pixel experience rom so I downloaded the official one and flashed using latest twrp. And also I rooted it later on.

But the problem was that non of my banking app was working. Not even after using magisk hide.

So I decided to go back to the stock. Since I had already taken the nandroid backup of my stock rom. I tried to restore it. But after booting, it was stuck at "phone is starting screen".

And this is where problem started, I tried installing rom downloaded from oneplus official site but after installing via twrp it says "no os installed, do you still want to restart".

After that I just trying to get back to stock but I cant.

I was on beta build of oxygen os.

update:------------------------------------

used msmdownloadtool and successfully restored my oxygenos. Thank you very much
[OnePlus 6 Guides, News, & Discussion] snd0cff:
Hi, I have OP6 with unlocked bootloader. After OTA update and making a root one more time my smartphone stuck on fastboot mode.

Which scirpt should I use now?

/edit doesn't metter. Now, everything working
[OnePlus 6 Guides, News, & Discussion] Saintrheno:
i came from custom rom..can i flash stock rom and relock bootloader with this method?
[OnePlus 6 Guides, News, & Discussion] perception5k:
Flashing rom manually.

I am not pro at flashing. I want to know is it necessary to flash persist.img and critical recovery partitions? Moreover can someone explain the scenarios when and why we flash these partitions? Thanks :)

---------- Post added at 11:12 AM ---------- Previous post was at 11:06 AM ----------

By this procedure will I be able to get back to my stock kernel?:confused: If not, can someone post the link for stock kernel and instructions regarding the flashing of the kernel? Thank you:)
[OnePlus 6 Guides, News, & Discussion] bilered:
Look the stock kernel is the file named boot.img and you should flash persist because it contains all the sensor usage files.
[OnePlus 6 Guides, News, & Discussion] perception5k:
Thanks for the info. I could not find persist.img in the downloaded zip.(I flashed manually because i am using ubuntu). I have installed the twrp and rooted my device after flashing the stock ROM. So can i flash persist.img now? If not, can you suggest what to do? :confused:
[OnePlus 6 Guides, News, & Discussion] bilered:
I have the persist of both oneplus 6 and 6t. You can download it from my gdrive link. It's not a flashable zip you have to extract the persist.img and then flash it using fastboot.

Just search for the command line to flash the file from Ubuntu

https://drive.google.com/file/d/1Uq17X1ilqTQxDUXeKEp3Q2Z6nR4PsxRo/view?usp=drivesdk
[OnePlus 6 Guides, News, & Discussion] Aiolizator:
Hi, my OnePlus 6 is running a custom rom, and I cannot get it back to Oos.

I can flash any custom rom, but I've tried to flash Oos in fastboot using your instructions on my PC running Fedora Linux, and when rebooting, OnePlus stock recovery shows, and when chosing "reboot"option, it boots again in stock recovery.

What am I doing wrong ?

Thanks for your answers.

Envoyé de mon Lenovo TB-8703F en utilisant Tapatalk
[OnePlus 6 Guides, News, & Discussion] bilered:
Are you flashing using flash-all.bat or the.sh file? If you are using the batch file install wine on your linux device. Or you can boot TWRP and wipe everything including internal storage, system, data and dalvik cache and then try to flash the file. I recommend you to auto flash, not manually. If you need further assistance you can reply to my thread.
[OnePlus 6 Guides, News, & Discussion] Aiolizator:
I created a sh file with all the requested "fastboot flash xxx. Img" commands inside.

Envoyé de mon ONEPLUS A6003 en utilisant Tapatalk
[OnePlus 6 Guides, News, & Discussion] bilered:
There's a file named something like flash-all.bat

Create a sh file from the commands it have, It may probably work.
[OnePlus 6 Guides, News, & Discussion] Aiolizator:
The sh file I created has the following content :

I guess these commands should work, but my phone is stuck in OnePlus stock recovery.
[OnePlus 6 Guides, News, & Discussion] bilered:
Yes they will definitely work. Just boot into twrp after flashing the critical partitions

---------- Post added at 07:43 PM ---------- Previous post was at 07:42 PM ----------

Yes this will work. Just boot into TWRP and flash the critical partitions mentioned in the guide
[OnePlus 6 Guides, News, & Discussion] Aiolizator:
Same problem after running the adb commands while phone in TWRP.

Stuck in stock recovery.
[OnePlus 6 Guides, News, & Discussion] bilered:
Best idea install Windows and try again.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Always remember to flash the same version you already have on your phone
[OnePlus 6 Guides, News, & Discussion] Aiolizator:
It was (v 9.0.3).

Envoyé de mon ONEPLUS A6003 en utilisant Tapatalk
[OnePlus 6 Guides, News, & Discussion] gabrielvega225:
Hello which of the .bat I must use to not lose the data as photos, I can use it with other tools but I do not want to lose my files.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
You should remove the "-w" option from the .bat
[OnePlus 6 Guides, News, & Discussion] AcmE85:
[MENTION=4712355]mauronofrio[/MENTION]

I'm currently on OOS Beta 11/12 (tried to update to 12 while running Arter97 kernel), full stock encryption, never ran any other rom.

I'll try to keep it short. The following happened to me:

Slot A = bootloop into stock recovery

Slot B = bootloop into TWRP

Neither asks for my encryption key. TWRP doesn't show the internal storage, but random folders.

When booting latest blu_spark TWRP (haven't tried another version) from fastboot:

I can enter TWRP, it asks for my key and shows internal storage with all files just fine.

Flashing anything here (TWRP Zip, Magisk, OOS.zip) or changing slots does not help me booting into System.

Do you think it is possible to use flash-all-partitions-fastboot.bat without wiping to get it running?

Currently at work with my device at home, so I figured I might ask first before trying later this evening. Maybe you have an idea.

Other than that, a backup + wipe and flash-all-partitions-fastboot.bat will be the way to go I believe.

Thanks for your files and huge help in this thread!
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
If you remove "-w" from the zip you will able to flash it without wiping data
[OnePlus 6 Guides, News, & Discussion] AcmE85:
Thanks. I've tried multiple times (flash-all.bat and flash-all-partitions-fastboot.bat).

Still bootloops.

The weird thing: It boots to system as if nothing ever happened as soon as I reflash arter97 kernel in TWRP.

How is this even possible? I've also tried to do the latest OOS Beta update right through the system.

Still bootloops, until I once again reflash his kernel.
[OnePlus 6 Guides, News, & Discussion] gregsoir:
i have a same problem as above.

wondering, is this thread still applicable? https://forums.oneplus.com/threads/guide-mega-unbrick-guide-for-a-hard-bricked-oneplus-6.840709/

i'm on stock 9.0.3 and can't get rid arters97 kernel, can't boot any other kernel just like AcmE85. i don't know what to do, i've tried almost everything
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
The last solution is always msmtool
[OnePlus 6 Guides, News, & Discussion] Aiolizator:
Flashing from Windows worked fine.

Envoyé de mon ONEPLUS A6000 en utilisant Tapatalk
[OnePlus 6 Guides, News, & Discussion] bilered:
Glad it worked out. If you need anything else you can pm me.
[OnePlus 6 Guides, News, & Discussion] Aiolizator:
Thanks, I'm fine now. [emoji106]

Envoyé de mon ONEPLUS A6000 en utilisant Tapatalk
[OnePlus 6 Guides, News, & Discussion] habylab:
Hi there, I was on 9.03 and went into a bootloop when trying to cleanflash my phone after an issue with arter 1.2 kernel.

I am getting the below. It's been stuck on the last bit for a while. How do I fix this please?

extracting android-info.txt (0 MB) to RAM...
extracting boot.img (64 MB) to disk... took 1.289s
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.063s
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... took 341.764s
Invalid sparse file format at header magic

---------- Post added at 09:17 PM ---------- Previous post was at 09:15 PM ----------

Hi there, I am trying to do the same. Any luck fixing this? What a mess that kernel created.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Have you read the first post? There are not errors in your output, you need only to wait, also 10 minutes if needed
[OnePlus 6 Guides, News, & Discussion] gregsoir:
i formated data from twrp and flashed stock 9.0.3 via fastboot
[OnePlus 6 Guides, News, & Discussion] habylab:
Good idea. Out of curiosity, are you still on arter kernel? Feel free to PM as off topic.

Thanks, I re-read and am now 5 minutes in, was just about to post when I saw your reply! Thanks so much for your hard work.
[OnePlus 6 Guides, News, & Discussion] gregsoir:
i flashed 1.4 for a while but had some freezes with camera and went back to radioactive kernel
[OnePlus 6 Guides, News, & Discussion] Neilkesh:
This may be a noob question(I'm pretty sure it is) So using flashall.bat will install OOS in both partitions(A and B) right? And if i want to install a custom Rom i won't have to install OOS in both A and B partition again? I could just install ROM+ recovery. Reboot recovery flash gapps+magisk and reboot.

I screw up every time i try to install a custom ROM and encrypt my TWRP.

All help would be appreciated. Thanks :)
[OnePlus 6 Guides, News, & Discussion] plopingo:
Hi,

I was running the latest stock Android 8 firmware for the op6 with magisk & twrp.

I delayed the firmware update since month then yesterday I was forced to update.

My phone reboot everything was fine. no twrp & no root anymore because of the update.

I booted in latest twrp (fastboot boot twrp.img....) then I flashed the twrp.zip. After reboot I flashed magisk.zip.

After the latest reboot phone stuck for ~30 sec at the warning message saying boot-loader unlock blablalbla. then the phone reboot again and put me in twrp.

What method is the best for me ?

Thanks for you help.
[OnePlus 6 Guides, News, & Discussion] ahacker:
Thanks for your work, it helped me recover my phone! A little gift sent your way.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Yes this will work for you

Thanks for gift
[OnePlus 6 Guides, News, & Discussion] plopingo:
work with which method ?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
The fastboot rom
[OnePlus 6 Guides, News, & Discussion] plopingo:
latest rom from official one+ website ?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
I'm not understanding, in the first post there are the links for the fastboot stock roms, on the official website you will find only recovery zip flashable roms
[OnePlus 6 Guides, News, & Discussion] plopingo:
I used flash-all.bat. My phone seems back to full stock. no twrp. everything wiped. but do I need to do that on the other partition too? A / B ? or it's not important?

Thanks again !
[OnePlus 6 Guides, News, & Discussion] anmoltinder:
1+6 not boot flash fstbt rom 3 types oxygenos 5 time beta 11 beta 8 beta 10

all window drivers everyday good i everyday use same device same laptop but tjis time after flashing open beta 6 fastboot rom phone not goes to main display for start and after all commands done rom flashed succesfully but it boot recovery or home screen i dont know its show as ,like running on oreo 5.1.11, but after i flash beta 8 rom for miui,first i downgrade then oreo install then taste samsung ux 9.5 rommaking a youtube video after video i flash open beta 8 and twrp installer after a full wipe erase use data after i flash beta 6 fastboot rom 3 times but is show everytime blnk screen on boot and recovery,tell me how it solve its my major device which i use for my youtube,youtube is my only one buiseness, can any one help me i am only single man depend on youtube earningfor my family so kindely any body guide me how to solve this which rom works.email at, anmoltinder4474447@gmail.com, contact , +917009197673 please help me..i am working on this from last 18 hours non stop i dont know when i sleep brothers...
[OnePlus 6 Guides, News, & Discussion] pkdubai20:
Brother you just go with MSM Download Tool

https://xdaforums.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
If you still need help contact me on telegram, the username is the same of here
[OnePlus 6 Guides, News, & Discussion] cmart4:
Thanks... needed 9.03 to flash Omni and used your Fastboot... worked great:)
[OnePlus 6 Guides, News, & Discussion] Mew789:
Hello,

I've updated my OP6 to 9.0.4 version, installed the latest blu spark TWRP then installed the Pixel Experience Rom.

BUT Now :

I only can access the fastboot mode. I tried your tool. It works and reboots the phone at the end but I only have a blanck screen with white light).

How can I solve this ?
[OnePlus 6 Guides, News, & Discussion] anmoltinder:
Twrp installer blu spark 3.2.3 not installed

dear brother you have not installed twrp recovery jeet installer files file you have already / at the blues park imt file from tool but you have not after installing any room in tawaif recovery there you need selection twrp recovery ji installer after the storage room every time and you did any changes in your software then you need to install that way recovery jeep installer files if you relation e pixel experience for any other room then you need to first history reset and then you'll first you need to go to your oxygen os version then you need to go twrp recovery image new need to visit recovery real you can agree comcast format of attari reset only reset your phone setting menu need to install excel experience room then you need to install the way up recovery jeep is daughters then reboot to recovery after reboot recovery now you can clean it all and this time you need to root your phone this time you can route your phone then reboot to systems your phone will be boot successfully

---------- Post added at 06:29 PM ---------- Previous post was at 06:25 PM ----------
[OnePlus 6 Guides, News, & Discussion] Mew789:
When I try to install blu spark twrp it says ok, finished, phone reboots but twrp doesn't appear...
[OnePlus 6 Guides, News, & Discussion] anmoltinder:
contact me at now

you can contact me now at telegram and WhatsApp I will share my number but the secret +91-7009 1976 73 this is a my WhatsApp and telegram number for oneplus users
[OnePlus 6 Guides, News, & Discussion] Mew789:
extracting android-info.txt (0 MB) to RAM...

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

target didn't report max-download-size

archive does not contain 'boot.sig'

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

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... took 50.571s

archive does not contain 'system.sig'

extracting vbmeta.img (0 MB) to disk... took 0.001s

archive does not contain 'vbmeta.sig'

extracting vendor.img (1024 MB) to disk... took 15.582s

archive does not contain 'vendor.sig'

wiping userdata...

Erase successful, but not automatically formatting.

Can't determine partition type.

FAILED (command write failed (No error))

--------------------------------------------

getvar:version-bootloader FAILED (command write failed (No error))

finished. total time: 0.011s

Press any key to exit...
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Your bootloader is unlocked?
[OnePlus 6 Guides, News, & Discussion] Mew789:
Yes bootloader is unlocked
[OnePlus 6 Guides, News, & Discussion] J0nhy:
I can only access bootloader :C, but i have important files on my phone, is there a way to backup my files before flashing all this files?