yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro Guides, News, & Discussion] fatproduce:
HELP! Stuck booting to fastboot after OTA (Root and TWRP still work)

Greetings!

I'm in a pickle with my Oneplus 7 Pro (unlocked variant) that I just updated to 10.3.0 (the lastest OTA). I have root and an unlocked bootloader. I installed 10.3.0 via OTA (successfully via the recommended method to keep root). I reenabled the Magisk modules (TWRP recovery was already enabled) and when I rebooted the phone will only boot into Fastboot mode (Slot A). Whenever I booted into Slot B it boots but looks like a completely new factory reset rom.

My TWRP still works and I am able to get into it from fastboot mode.

I am at a loss as to how to proceed and make it so that I can boot back into Slot A without it only going into fastboot mode on the phone.

Thank you in advance.
[OnePlus 7 Pro Guides, News, & Discussion] molochgrifone:
Hi,

I was on open beta 8, root and your last twrp, and accidentally wiped vendor partition, now my phone give me an error "Qualcomm crashdump mode --- dm.verify device corrupted force dump --- kernel_restart".

I can't manage to do anything, I tried to use your fastboot roms (yes, I can access to fastboot and recovery) but nothing is useful fo my situation.

I have to send my op7 pro to service repair cause I broke the back glass, do I have other method to try to fix my software problem or do you think it's better if I ask to service repair to solve even my software problem?

Thanks ;)
[OnePlus 7 Pro Guides, News, & Discussion] fkam18:
I restored my op7p with this stock rom latest (https://xdaforums.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424).

I used:

fastboot --disable-verity flash vbmeta_a vbmeta.img

fastboot --disable-verity flash vbmeta_b vbmeta.img

** note other partitions are restored without --disable-verity

to stop the dm-verity kernel crash.

That's for an op7p that has Oxygen 10 installed. It seems once Oxygen 10 was installed, dm-verity applied somehow. I didn't have this problem on 9.
[OnePlus 7 Pro Guides, News, & Discussion] molochgrifone:
I'll try, thanks :)

Which is the correct latest rom for me? 10.0.2 Europe or 10.0.2 global?
[OnePlus 7 Pro Guides, News, & Discussion] fkam18:
I had the same question. Need to base on your model to decide. If it's not EU, then global. Slot a. I did "fastboot -w" also before flashing.

https://forums.oneplus.com/threads/...a-oxygen-os-repo-of-oxygen-os-builds.1033129/

After the phone's restored to Oxy, then I found twrp-3.3.1-70-guacamole-unified-Q-mauronofrio.img

That's the ONLY twrp working at this minute for my op7p after Oxy 10 was installed. And TWRP latest won't work (just got me into a fastboot loop).

With that latest, I can get my LineageOS back fine.
[OnePlus 7 Pro Guides, News, & Discussion] U35632317:
thanks a lot for this hint! :)

Can somebody explain me the reason for this error? never saw this before...

Edit: After I try to lock the bootloader again, I got the message "Your device is corrupt...." and device state is locked (cant flash anything in fastboot).... Any hint?

Edit2: Ok, I was able to unlock bootloader via fastboot again. Any hint how to lock bootloader to get the factory setting back?

Edit3: Used msmtool to restore factory rom (guide/files see https://xdaforums.com/oneplus-7-pro/how-to/op7pro-collection-unbrick-tools-t3956595)
[OnePlus 7 Pro Guides, News, & Discussion] earthbend:
i get "C:\adb\fastboot.exe: unrecognised option `--disable-verity'" from this, please help
[OnePlus 7 Pro Guides, News, & Discussion] fkam18:
I used linux version which has that option. Not sure about Windows version though. You might do a fastboot --help see what equivalent options are there. Also remember to wipe clean the davik cache, system, data partitions before flashing. I used twrp to wipe and then also did that in fastboot -w . It seems that the stock rom won't boot up if the original partitions are not clean enough !! :) But it will work. I tried that just last night again to prove my gyro is working LOL
[OnePlus 7 Pro Guides, News, & Discussion] solid.snake:
Hello,

Need help please.

My phone is stuck to fastboot mode / bootloader. ABSOLUTELµY no way to boot to the recovery...

What should I do if I want to get back to stock but WITH KEEPING THE /data partition pleasez ?
[OnePlus 7 Pro Guides, News, & Discussion] null0seven:
"This will erase all your data and will wipe your internal storage". This is from the OP.

MSM idem, wipes all.

But you get to use to use the phone.
[OnePlus 7 Pro Guides, News, & Discussion] kalawy:
noticed that GPS lock takes forever after flashing these ..

global version

before gps used to lock within a few seconds .. now it locks in about 130 second and even then it is not accurate

provided it is in the same places

i thought it was from crdroid .. so i reflashed oos and the problem presisted

any thoughts ?
[OnePlus 7 Pro Guides, News, & Discussion] toyotajak01:
If i just switched to f2fs , will this reformat back?
[OnePlus 7 Pro Guides, News, & Discussion] dream27:
hi i had same problem when i used flash-all.bat file, i find solution by put your phone in flashmod than

1 unziped images.zip

2 used the file recovery img 74 version by mauronofrio and rename it TWRP.img and put it in same place.

3 run the other file flash-all-partitions-recovery-criticals.bat

that all.

:good:

---------- Post added at 12:27 AM ---------- Previous post was at 12:18 AM ----------

hi i had same problem when i used flash-all.bat file, i find solution by put your phone in flashmod than

1 unziped images.zip

2 used the file recovery img 74 version by mauronofrio and rename it TWRP.img and put it in same place.

3 run the other file flash-all-partitions-recovery-criticals.bat

that all.
[OnePlus 7 Pro Guides, News, & Discussion] amirage:
Hi, can someone please post fastboot version 10.3.0 for 21AA
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
It is online
[OnePlus 7 Pro Guides, News, & Discussion] Mr.Crucial:
Where?
[OnePlus 7 Pro Guides, News, & Discussion] bobbyricha:
Thanks for the rescue! I'm back up and running (Root -> Unroot ->Black screen)

One comment on the first post,

At: Reboot the OnePlus 7 Pro in fastboot mode (Power and volume-);

I had to press Power and both volumes, I read the original as Volume down.

Thanks again - donation sent.
[OnePlus 7 Pro Guides, News, & Discussion] RabbleCake:
If I want to relock the bootloader and to make sure everything is stock on both partitions do I just run flash-all-partitions-fastboot.bat? It seems to flash everything on both partitions but wanted to double check. I tried to message you, mauronofrio, on telegram but wouldn't let me
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
So, it's indifferent, but before lock the bootloader check if the rom boots and it has not problems.

I think i missed you on telegram, i'm receiving a lot of messages in these days, people brick their op7 pro, twrp testing and more. Write me again
[OnePlus 7 Pro Guides, News, & Discussion] RabbleCake:
Ok thanks, it seems to boot just fine on both partitions. Telegram is giving me issues so apologies for that
[OnePlus 7 Pro Guides, News, & Discussion] xPeriaGUY666:
Hey, same problem here. Tested every bat, it bootloops right after... :/
[OnePlus 7 Pro Guides, News, & Discussion] VitruviusDeArchitectus:
Does anyone have a copy of the stock persist partition? Mine got corrupted somehow. It's not in the OP.
[OnePlus 7 Pro Guides, News, & Discussion] jdhedden:
No space left on device

Trying to recover from messing things up. Trying this set of images to try to fix things. When I use:

fastboot -w update images.zip

it give ends with the following error:

extracting system.img (3472 MB)...

W/ziparchive(32255): Zip: unable to allocate 3640655872 bytes at offset 0 : No space left on device

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

Advise would be appreciated.
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
You have not space left on your hard disk
[OnePlus 7 Pro Guides, News, & Discussion] jdhedden:
I have 700GB+ of hard disk space. I can unzip the file manually. The error states "3640655872 bytes" or 3.5GB. I have 8GB for /tmp and 16GB for memory.

Is it possible the error is referring to space on the device?
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
No it's impossible, try to download or extract again the rom, maybe the download was corrupted
[OnePlus 7 Pro Guides, News, & Discussion] kgs1992:
Which partitions can I flash without losing data? I'd like to restore as much as possible before erasing my internal storage and data.
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
Removed -w from the script
[OnePlus 7 Pro Guides, News, & Discussion] _Hinnie_:
So I was in a recovery bootloop, nothing worked so I tried this.

After running the flash-all script atleast it's trying to boot now, but it's been stuck booting for over 10 minutes now.

Any advice?

EDIT: Fixed this thanks to [MENTION=4712355]mauronofrio[/MENTION]!

I added him on telegram, and he helped me. The fix was to after using the script go into stock recovery, and wipe everything, the third option!
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
Yes sorry, i was not at home.

I don't know why the -w command is not working well so after you flashed the fastboot you need also to wipe your internal storage
[OnePlus 7 Pro Guides, News, & Discussion] jdhedden:
[FIX] Stuck on Orbiting Dots Logo

After mucking up my phone, flashed all the Fastboot Partitions in the OP. However, on booting, the phone was forever stuck on the orbiting dots logo.

Through trial-and-error, I stumbled on the fix booting to the OnePlus recovery (not TWRP) and doing: English -> Wipe data and cache -> Erase everything... After that, the reboot worked!
[OnePlus 7 Pro Guides, News, & Discussion] kgs1992:
I was in panic mode, so didn't wait for the response. Anyway, I've got my phone working now thanks to your fastboot images. Will send you a beer on the 1st of June once I get my salary. ?

It would be super helpful if you had some alternate hosting as well since AFH is very slow.
[OnePlus 7 Pro Guides, News, & Discussion] Eric214:
I'm getting an invalid sparse file format header magic while trying to flash-all.bat from the GM21AA 9.5.4.

I updated to 9.5.4 through local upgrade and all was fine and ran the boot_patched.img from the magisk thread and no sound was working. Cant do much with the phone so I tried the fastboot room and ran the flash_all.bat

Edit... It looks like it just hung. I stopped and reboot the bootloader and ran it again and it is extracting and running the scripts

If I updated to 9.5.4 from 9.5.3 can I use a fastboot ROM to flash_all.bat back to 9.5.3?
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
You have not read the first post
[OnePlus 7 Pro Guides, News, & Discussion] Eric214:
It worked after rebooting the bootloader and running it again. I'm up and running thanks! I have 1 question though... can I go back to 9.5.3 from 9.5.4 with the fastboot ROM? I know you can't downgrade from android versions but what about incremental updates?
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
Is the same thing, don't use fastboot roms for this
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
In thenlink in the first post, 10.3.0-GLOBAL
[OnePlus 7 Pro Guides, News, & Discussion] Mr.Crucial:
Not present. 38 files are there without 10.3.0 link
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
Are you kidding me or what?
[OnePlus 7 Pro Guides, News, & Discussion] liam_davenport:
He's asking for 10.3.0 you don't have it uploaded only 10.0.3.
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
It's the same rom
[OnePlus 7 Pro Guides, News, & Discussion] rumitdhamecha:
Im facing this same problem. Did you find the solution?
[OnePlus 7 Pro Guides, News, & Discussion] RandomPooka:
I feel like it's a distinct release. I know it solved several black screen issues with certain games, and it's a separate download with a different file hash and version in the OOS updater app.

I haven't looked on the actual OnePlus support web site for a few weeks, but I think it's also a different rom there as well
[OnePlus 7 Pro Guides, News, & Discussion] amirage:
Really! Never would have guessed that!
[OnePlus 7 Pro Guides, News, & Discussion] tranthengoc:
not the same rom mauro. its another rom with new feature Oxygen Cloud
[OnePlus 7 Pro Guides, News, & Discussion] Reconfigured:
[MENTION=4712355]mauronofrio[/MENTION] can you please share stock recovery?

---------- Post added at 12:18 AM ---------- Previous post was at 12:17 AM ----------

[/COLOR [MENTION=4712355]mauronofrio[/MENTION] can you please share stock recovery?
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
just flash stock boot.img
[OnePlus 7 Pro Guides, News, & Discussion] JaneDoe34:
Hi. Thank you! I rescued my phone with flash all.bat. But I’d like to now use lineage. Does flash-all.bat flash the stock rom to both a and b slots? Or do I need to flash again with the flash-all-partitions.bat? Thanks again.
[OnePlus 7 Pro Guides, News, & Discussion] Nevsdr:
Hi mauronofrio, thank you so much for this project! I tried flashing the persist.img file to my OP 7Pro, but it unfortunately did not fix my sensors. Any ideas?
[OnePlus 7 Pro Guides, News, & Discussion] Nevsdr:
Is it worth attempting a complete revert to stock?

Everything worked fine, until I flashed Lineage OS 16, then it just stopped working. I assume I must have wiped the wrong partition.
[OnePlus 7 Pro Guides, News, & Discussion] Whoareyou:
When in doubt, flash persist again, and msm to stock,
[OnePlus 7 Pro Guides, News, & Discussion] pierrep56:
Sorry in advance if the answer is obvious: I was in OOS 10.1 then I flashed a custom Rom. All good. Now I want to flash another Custom Rom based on OOS 10.3.

Do I need to revert first to OOS, or is there another way to get the 10.3 firmware, as flashing a specific partition ?

I am on Linux, so I can't use Windows batch file. Thanks again.
[OnePlus 7 Pro Guides, News, & Discussion] CombinE54:
Good day.

Thanks for the work.

I've stumbled upon an issue - I've downloaded latest global firmware from ah link and executed flash-all.bat (I wanted to overwrite every partition including persistent and critical). Upon booting I've noticed, that my phone lacks any wallpapers and some apps. Is this intended? What else from stock firmware and other partitions could be missing?

Thanks in advance for response!
[OnePlus 7 Pro Guides, News, & Discussion] k0l3:
Thanks for the tutorial!

I just had an issue. I downloaded and extracted the ROM but when I Ran the flash-all.bat I go an error: "failed to extract 'system.img': I/O error.

How to fix it?
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
How much ram you have?
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
There are some problems in the newer oneplus updates. You need to flash the same rom you already have in the device using local update in the settings.
[OnePlus 7 Pro Guides, News, & Discussion] k0l3:
Ah, indeed I had not enough HD space.

The process completed but now I have another issue.

After the final reboot, after I closed the .CMD window, the phone entered QUALCOMM CrasDump Mode screen and it's frozen.

it says:

"dm-verify device corrupted Force Dump

kernel_restart"

What should I do?
[OnePlus 7 Pro Guides, News, & Discussion] mjb337:
Tried this on my converted T-Mobile OP7P and manage to pull it off without error. Flashed 10.0 in twrp recovery before running flash-all-bat from 10.0 fastboot rom folder.
[OnePlus 7 Pro Guides, News, & Discussion] mauronofrio:
Keep pressed both volume buttons and power button
[OnePlus 7 Pro Guides, News, & Discussion] daviddmora:
Hi, I got an issue while trying to move an app to system, my phone got on boot logo, then i tried to flash the room with the flashall.bat then the phone got another error there is an screen that says DM-verity deivce corrupted. Force dumpkernel_restart. I used the room 10.0-GM21AA-OnePlus7ProOxygen_21.O.20 that is in your links. Ive tried all flash.bat. then I used the 10.0.4-GLOBAL-OnePlus7ProOxygen_21.P.25 and it shows the same screen, do you know how to fix it?

---------- Post added at 02:19 AM ---------- Previous post was at 01:45 AM ----------

Hi, just to make sure the Flashmod than is the regular fastboot sreen on the device? and to which recovery img 74, do you refer?
[OnePlus 7 Pro Guides, News, & Discussion] damekko:
Thank you very much!!! Phone is back to life! :) Will donate on my next paycheck! :D
[OnePlus 7 Pro Guides, News, & Discussion] JeTSkY1h:
Okay I think i realy ****ed up.

Maybe one of you can still help me. I flashed linage OS 17 yesterday. but Gaapps didn't worked foe me that well. So i tried to flash back to stock. first i started the flash-all.bat.

got an error something with getVar not working.

after that phone was still booting in lineage.

Then i tried the flash-all-partitions.bat.

Now my phone is stuck in completly blackscreen...
[OnePlus 7 Pro Guides, News, & Discussion] JeTSkY1h:
Okay, i fixed it with the msmtool.

Thx anyways.
[OnePlus 7 Pro Guides, News, & Discussion] Daviddmoraless:
Are you able to get to the fastboot screen? Using the both volume and power buttons.
[OnePlus 7 Pro Guides, News, & Discussion] Gr8man001:
I need to flash fastboot rom on oneplus 7 pro USA model GM1917, I had previously installed 10.3.1 before trying another rom. Can I flash 10.04 fastboot since I could not find 10.3.1 version in the download section? Are there any major differences between 10.3.1 and 10.0.4? Thanks for your help.
[OnePlus 7 Pro Guides, News, & Discussion] Whoareyou:
GM25CC 10.0.1 (guacamoles / 7 Pro 5G Sprint)

https://www.mediafire.com/file/vuu337zj9ukippb/guacamoles_10.0.1_restore.zip/file
[OnePlus 7 Pro Guides, News, & Discussion] tilltill12:
Error

EDIT : fixed my problem
[OnePlus 7 Pro Guides, News, & Discussion] dennisb71:
Got a new phone ;)

Flashed a new ROM, but wasn't working properly. I used the fastboot and flashall.bat.

Now stuck on crashdum mode. What would be the next idea?

I can go to fastboot, but how to get stock on again (working :))?

Cheers
[OnePlus 7 Pro Guides, News, & Discussion] farhan20:
Use Fastboot Rom again but still same error then use MSM tool to flash stock.
[OnePlus 7 Pro Guides, News, & Discussion] dennisb71:
I got it running again with the MSM tool. So back to stock.

Now i am scared to try a new version again cause it seems i am unlucky with flashing a phone. Everybody seems to get things running....but not this guy ?
[OnePlus 7 Pro Guides, News, & Discussion] Nikhil:
I've been there. Once you understand how things work, you'll be fine (like others)

You might want to put exact steps that you're following. Someone in the forum who has the answer will definitely help you out.
[OnePlus 7 Pro Guides, News, & Discussion] dennisb71:
Thx!

I am comming from a oneplus6T and also had problems with that one, so it probably isn't the rom or phone :)

I have followed the exact steps in several tutorials but with no luck.

I am giving it another go. Perhaps i am using the wrong rom version/build for the phone.
[OnePlus 7 Pro Guides, News, & Discussion] nbarrett423:
BRO!

So the other day I was minding my own business when my sim card randomly stopped working, which led to me doing a factory reset, which fixed it, but then my phone wouldn't let me restore my data partition for some reason, which led me down the deepest android rabbit hole i've been down to date. Bricked the mother effing ess out of my brand new oneplus 7 pro, and everything I tried to do would almost work, but then ultimately make things worse, and about 2 days of slow decline later I ended up having to rebuild the whole system from the bottom up. At one point I couldn't get to the bootloader...and at several points i couldn't get to my recovery...actually for about 20 minutes i couldn't even get the HW buttons to do anything, it was just a black unresponsive screen....i don't even remember how i fixed that one! My boot partition got corrupted....my system partition got straight up erased....I caught errors i didn't even know a phone could throw, found a crazy black screen of death called qualcomm crashdump mode, which sucked, and i've now seen every variety of bootloop under the sun...wrapping up, in the end i had to follow the extended version of your guide here and flash every single partition from the bootloader one at a time, then reflash the stock ROM (which you also made and so kindly provided) and start from scratch.... but dawgonnit, it flippin' worked! I can't tell you how grateful I am. This method seems intimidating, especially when you're acting out of panic and suddenly don't even have a phone, but it was surprisingly easy to follow thanks to your instructions, download links, and that handy tool you made, and i almost can't believe it but it turned my $500 brick back into a phone fairy godmother style...unreal...

anyway, i just wanted to say thank you, sincerely, for your time, and for your contributions to the android power user community, this precarious world that is SO MUCH FUN to play in but can really, really ruin your day ...it's you devs who enable tinkers like me to enjoy our devices so gall durn much, and also to resurrect them when we inevitably turn them into garbage, because, well, we're stupid xD:victory::victory: i truly hope you feel that you are adequately recognized and compensated for the work that you do and that you find it as rewarding as the rest of us find it useful. keep up the good work, man....you, my friend, are a real american hero! be easy, good sir...hope to talk to you soon!

Edit: I realized after I posted this that you may or may not be american...but i don't want to retract that compliment...If you are, then you get it...but if you aren't, you can be an honorary american in my eyes in order to accept this distinguished title...and just know that it is among the highest honors I have the ability to bestow. you deserve it xD thanks again...take care!
[OnePlus 7 Pro Guides, News, & Discussion] ketya4u:
I also have same problem. Repeated crash dump mode. I can reboot to fastboot, laptop also detects fastboot device. But I am simply unable to see anything in MSM tool. Please tell solution
[OnePlus 7 Pro Guides, News, & Discussion] Nikhil:
If you're able to fastboot, just go ahead and flash the fastboot rom using the tool in OP. Just make sure you're flashing the version you were last using. So if you were on Android 10 before messing it up, use Android 10 fastboot rom.
[OnePlus 7 Pro Guides, News, & Discussion] uudruid74:
Did you get this working?? I get the same thing. It says the system is corrupted, displays a dm_verity error, then dies. Flashing Magisk to bypass dm_verity doesn't seem to fix this.
[OnePlus 7 Pro Guides, News, & Discussion] Gr8man001:
MSM tool worked for me. Hardest part was following/installing this part of the instructions," In the L2 drivers folder found in the archive, navigate to the

32 or 64

folder depending on your system's architecture, and click on the file that ends in the extension ".cat". Then, click "view signature", then "View certificate", then "Install."

If L2 drivers are installed properly ( at least in my case), pressing vol up/down buttons and plugging the phone with the laptop did the job. This was my first try using this tool, so did not know what to expect. I got the message in the MSM tool window that "some thing" was connected to com 3 port. I clicked on the start button and after a while I was running OS 9.5.3 (may be a newer version is available now) but I had to do 2-3 OTA updates to bring the phone back to OS 10.3.2
[OnePlus 7 Pro Guides, News, & Discussion] dennisb71:
I did, but did not flas a new ROM again cause of previous hickups :(

Used this one to get it back to stock : https://xdaforums.com/oneplus-7-pro/how-to/op7pro-collection-unbrick-tools-t3956595

It's easy to use.
[OnePlus 7 Pro Guides, News, & Discussion] uudruid74:
If that's the msm tool, then I can't use it since I don't run Windows. I got Havoc running. Only stock gives the weird error. Maybe I have to relock the bootloader??
[OnePlus 7 Pro Guides, News, & Discussion] dennisb71:
It's the windows tool indeed. I have no idea how to fix that, sorry