Question About EDL Mode For Those Who Might Know

PassingInTime

Member
Jul 11, 2012
33
6
8
Jacksonville
*Details on situation provided first. Skip to last paragraph for question.*

I'm starting to get back into the Android game after being away for some time and successfully rooted my 8 Pro on Android 10. About a week later, I got the notification to upgrade to Android 11 and found there was a way to upgrade while retaining root. Awesome!

While walking through the process, I missed a step and only used Magisk Manager to install to the "inactive slot". When the rest of the process finished and I was up on Android 11, I couldn't get root; it would only say N/A. I worked on it for a while and, eventually, managed to somehow fully brick my phone to the point it would only boot to Fastboot. Normal start ended in Qualcomm Crashdump Mode (QCM), booting to recovery would put me in Fastboot and if I tried to 'Fastboot boot recovery recovery.img' with the oem recovery extracted using Payload Dumper, it would also end up in QCM. I tried for a few hours to get into EDL Mode but never could get it to work. I would only ever end up in Fastboot or QCM.

I resigned to contacting OnePlus and started the process to have my phone sent in yesterday, but knew I had time to mess with it some more before getting the shipping labels and such. While working on it for a few hours last night and getting no where, I had a revelation. the 8 Pro has A/B Parititioning! Using Fastboot, I was able to switch my phone to Partition B and reboot. After 30 agonizing seconds, the boot screen finally showed and it eventually spit me out at the setup screen. Success!

Finally for my actual question. I know my Partition A is still borked, so I'm tempted to boot into EDL Mode (which I think I can finally do using ADB) and reflash everything but I'm curious. Will reflashing in EDL Mode on affect Partition B since that's what I'm currently on, or will it do both A and B? I'm okay with reflashing both and starting all the way over if necessary but if I can specifically only reflash Partition A , that would be preferable. I did a quick search but couldn't find any info on this.
 

PassingInTime

Member
Jul 11, 2012
33
6
8
Jacksonville
Keeping this up and posting the answer as I've been able to determine it through additional research/trial and error.

From what I can tell, flashing via EDL Mode resets both slots and flashes the factory firmware back to Slot A. So even if you've wrecked it as bad as I did, you can change to Slot B via Fastboot, get booted into Android, use ADB to get into EDL and reflash with the MSM Tool.