The last couple of monthly updates I tried to remove Magisk, take the OTA, then re-install and it didn't work. The OTA stops after download but before install; to proceed click "Reboot" and then it installs and reboots in one go - no chance to patch. If instead I went to Magisk and patched the boot image then rebooted from Magisk with its install then the OTA didn't install. Returning to the OTA installer to reboot loses Magisk. Perhaps I did something wrong but as it is I don't see how to take the OTA and patch in one go. This isn't a problem because it is really easy to 1) uninstall Magisk, 2) take the OTA with reboot, 3) shut down and reboot into bootloader (could do 2+3 with fastboot), 4) boot into a patched image from a computer with USB, and 5) use Magisk to re-install (Magisk picks up on the situation and offers to patch). It is almost like a fresh install but I don't see anything easier. The July OTA was a bit over 15MB so much less downloading than the factory image.
It appears that the July update has broken out of band update patching on the 765G devices (4a 5g, 5, and 5a).
For the time being, you can either use an alternate update method (factory image, sideload OTA, etc), or you can update and re-root following these instructions (you will temporarily lose root!):
Restore images in Magisk
Download and install the update
When prompted to reboot, do not attempt to patch alternate slot in Magisk; instead, just follow prompt to reboot normally
After system reboots, verify you're on the updated firmware (bottom of notification panel or Settings > About > Build Number)
Allow update to finish (there should be a notification and progress bar in the notification panel)
Reboot to bootloader
Live boot a previously patched Magisk image:
Code:
fastboot boot <patched image>
When system boots, open Magisk and perform Direct Install.
It appears that the July update has broken out of band update patching on the 765G devices (4a 5g, 5, and 5a).
For the time being, you can either use an alternate update method (factory image, sideload OTA, etc), or you can update and re-root following these instructions (you will temporarily lose root!):
Restore images in Magisk
Download and install the update
When prompted to reboot, do not attempt to patch alternate slot in Magisk; instead, just follow prompt to reboot normally
After system reboots, verify you're on the updated firmware (bottom of notification panel or Settings > About > Build Number)
Allow update to finish (there should be a notification and progress bar in the notification panel)
Reboot to bootloader
Live boot a previously patched Magisk image:
Code:
fastboot boot <patched image>
When system boots, open Magisk and perform Direct Install.
This is basically what I had done last release (June) and I did it again (July) and root is working again.
Thanks for always testing and verifying the flow.
Update 6-20-22: Magisk 25.1 is recommended as this includes fixes for OTA updates. Discussion thread for migration to 24.0+.
DO NOT use any version of Magisk lower than Canary 23016 as it does not yet incorporate the necessary fixes for Android 12 and your device.
WARNING: YOU AND YOU ALONE ARE RESPONSIBLE FOR ANYTHING THAT HAPPENS TO YOUR DEVICE. THIS GUIDE IS WRITTEN WITH THE EXPRESS ASSUMPTION THAT YOU ARE FAMILIAR WITH ADB, MAGISK, ANDROID, AND ROOT. IT IS YOUR RESPONSIBILITY TO ENSURE YOU KNOW WHAT YOU ARE DOING.
I recommend using Command Prompt for these instructions; some users have difficulty with PowerShell. Make sure the Command Prompt is running from your Platform Tools directory!
Enable OEM Unlocking. If this option is grayed out, unlocking the bootloader is not possible.
Connect your device to your PC, and open a command window in your Platform Tools folder.
Ensure ADB sees your device:
Code:
adb devices
If you don't see a device, make sure USB Debugging is enabled, reconnect the USB cable, or try a different USB cable.
If you see "unauthorized", you need to authorize the connection on your device.
If you see the device without "unauthorized", you're good to go.
Reboot to bootloader:
Code:
adb reboot bootloader
Unlock bootloader: THIS WILL WIPE YOUR DEVICE!
Code:
fastboot flashing unlock
Select Continue on the device screen.
Install Magisk on your device.
Download the factory zip for your build.
Inside the factory zip is the update zip: "device-image-buildnumber.zip". Open this, and extract boot.img
Copy boot.img to your device.
Patch boot.img with Magisk: "Install" > "Select and Patch a File"
Copy the patched image back to your PC. It will be named "magisk_patched-23xxx_xxxxx.img". Rename this to "master root.img" and retain it for future updates.
Reboot your device to bootloader.
Flash the patched image:
Code:
fastboot flash boot <drag and drop master root.img here>
Reboot to Android. Open Magisk to confirm root - under Magisk at the top, you should see "Installed: <Magisk build number>
Before you download the OTA, open Magisk, tap Uninstall, then Restore Images. If you have any Magisk modules that modify system, uninstall them now.
Take the OTA update when prompted. To check for updates manually, go to Settings > System > System Update > Check for Update
Allow the update to download and install. DO NOT REBOOT WHEN PROMPTED. Open Magisk, tap Install at the top, then Install to inactive slot. Magisk will then reboot your device.
When the OTA completes, you will be in recovery mode. Select "Reboot to system now".
Allow system to boot and wait for the update to complete. You must let the system do this before proceeding.
Reboot to bootloader.
Boot the master root image (See note 1):
Code:
fastboot boot <drag and drop master root.img here>
Note: If you prefer, you can download the factory zip and manually patch the new boot image, then flash it after the update. Do not flash an older boot image after updating.
Your device should boot with root. Open Magisk, tap Install, and select Direct Install.
Reboot your device. You should now be updated with root.
Note: You can use Payload Dumper to extract the contents of the OTA if you want to manually patch the new boot image. However, I will not cover that in this guide.
Please note that the factory update process expects an updated bootloader and radio. If these are not up to date, the update will fail.
Download the factory zip and extract the contents.
Reboot to bootloader.
Compare bootloader versions between phone screen and bootloader.img build number
Code:
fastboot flash bootloader <drag and drop new bootloader.img here>
If bootloader is updated, reboot to bootloader.
Compare baseband versions between phone screen and radio.img build number
Code:
fastboot flash radio <drag and drop radio.img here>
When the update completes, the device will be in fastbootd. Reboot to bootloader.
Boot the master root image (See note 1):
Code:
fastboot boot <drag and drop master root.img here>
Note: If you prefer, you can manually patch the new boot image, then flash it after the update. Do not flash an older boot image after updating.
Your device should boot with root. Open Magisk, tap Install, and select Direct Install.
Reboot your device. You should now be updated with root.
Note: If you prefer, you can update using the flash-all script included in the factory zip. You will have to copy the script, bootloader image, radio image, and update zip into the Platform Tools folder; you will then have to edit the script to remove the -w option so it doesn't wipe your device.
The scripted commands should look like this:
Once this completes, you can reboot to bootloader and either boot your master patched image, or if you patched the new image, flash it at this time.
PixelFlasher by @badabing2003 is an excellent tool that streamlines the update process - it even patches the boot image for you. Please note that root access is required to patch.
Download PixelFlasher and the factory image. You do not need to extract the factory image.
Open PixelFlasher. Point the Android Platform Tools directory (browse for your Platform Tools folder)
Point the Factory Image directory to the factory image package you just downloaded.
Connect your device via USB. Ensure it shows up under ADB Connected Devices.
Click the button to the right of the factory image Browse button (looks like a meat grinder). This will extract the boot image from the factory package.
When the boot image appears in the list, click on it and click Patch. A root request should pop up on your device; this is PixelFlasher requesting shell root access through ADB. Make sure you approve it.
PixelFlasher will automatically copy the boot image to your device, patch it in Magisk, then copy it back to your PC. The patched image should now appear in the boot image list.
Select the patched boot image, the desired flash mode (Keep Data), and click Flash Pixel Phone.
Pixel Flasher will automatically update bootloader, radio, system, then finally flash the patched boot image.
When your device boots, you should be updated with root.
Follow the instructions on the Android Flash Tool to update your device. Make sure Lock Bootloader and Wipe Device are UNCHECKED.
When the update completes, the device will be in fastbootd. Reboot to bootloader.
Boot the master root image (See note 1):
Code:
fastboot boot <drag and drop master root.img here>
Note: If you prefer, you can download the factory zip and manually patch the new boot image, then flash it after the update. Do not flash an older boot image after updating.
Your device should boot with root. Open Magisk, tap Install, and select Direct Install.
Reboot your device. You should now be updated with root.
This is my configuration that is passing Safety Net. I will not provide instructions on how to accomplish this. Attempt at your own risk.
Zygisk + DenyList enabled
All subcomponents of these apps hidden under DenyList:
The boot image is NOT the bootloader image. Do not confuse the two - YOU are expected to know the difference. Flashing the wrong image to bootloader could brick your device.
While the Magisk app is used for patching the boot image, the app and the patch are separate. This is what you should see in Magisk for functioning root:
"Installed" shows the version of patch in the boot image. If this says N/A, you do not have root access - the boot image is not patched, or you have a problem with Magisk.
"App" simply shows the version of the app itself.
If you do not have a patched master boot image, you will need to download the factory zip if you haven't already, extract the system update inside it, then patch boot.img.
If you prefer updating with the factory image, you can also extract and manually patch the boot image if desired.
Some Magisk modules, especially those that modify read only partitions like /system, may cause a boot loop after updating. As a general rule, disable these modules before updating. You are responsible for knowing what you have installed, and what modules to disable.
Can you add an updating magisk app/patch section? Can i overwrite an older patch (25.1) with 25.2 or do i pull a new fresh boot.img and patch that and flash to update the patch? Also an installing ROM section, some guides use TWRP flashed perm, some temp twrp to sideload and some just say to use the ROMS custom recovery. Gladly donate if you can, my brain fog and ADHD making comprehending things impossible at times. Thanks.
Can you add an updating magisk app/patch section? Can i overwrite an older patch (25.1) with 25.2 or do i pull a new fresh boot.img and patch that and flash to update the patch?
Update Magisk from within the Magisk app. Depending on the update channel, Magisk will prompt you to update the app. Once you do, you can update the patch; Magisk performs on the fly.
This is strictly for the stock firmware. I do not develop nor do I provide any support for any custom firmware.
TWRP on the Pixel series is pretty pointless in my opinion, at least as far as the stock firmware is concerned. Pixels do not have a recovery partition; recovery lives in the boot image, and in my experience TWRP cannot coexist with Magisk; this results in a boot loop, so installing TWRP is out of the question. All partitions can be flashed from fastboot as it is.
While TWRP can sideload the OTA package, this ability is already present in stock recovery, so why would you want to boot a TWRP image when you can simply command a reboot to recovery? I don't know if TWRP can install the factory image; if it can, then conversely one could use fastboot update to install custom firmware.
I can relate to the brain fog. I don't have any way to accept donations, and with the exorbitant taxes I already pay on our house, our cars, and our income, I don't want to deal with any complications.
I keep getting bugged to migrate to Android 13. Looking around it seems there are still some bugs to be worked out.
Wondering if anyone has tried root with Magisk yet.
I updated a couple of weeks ago with no problems. I have given up on using the OTA update or trying to preserve root. I downloaded the factory image to my computer, extracted boot.img and transferred it to my 5a, then patched it with Magisk and transferred it back to my computer and then uninstall/restore images in Magisk. Then I removed the "-w" from the script and ran it to update the OS. Reboot. Use fastboot to boot with the patched boot image, run Magisk and patch directly the boot.img. Reboot and your finished.
I think some of the problems experienced relate to the fact that this update includes updates to the bootloader and the radio (modem), which needs to be done before the OS update. The included script does that; updating the OS before the other updates is likely to cause problems. And failure to update the radio can easily cause connection problems as the OS expects to be working with the new firmware, not the old.
There are two scripts included, one a shell script. Just be certain that you remove the "-w" in the script you are using before proceeding: -w wipes your disk and you don't want to lose your Home data I presume.
I just updated with the October security patch and everything seemed to go smoothly. I removed Magisk, took the OTA, then after reboot I shut down and used fastboot boot with a patched image to start the phone, and finished with a Magisk direct install. Just one problem: no internet access. I can connect to 5G or WiFi but have no internet availability. I will flash the full factory image and hope that works. Very strange...
I updated a couple of weeks ago with no problems. I have given up on using the OTA update or trying to preserve root. I downloaded the factory image to my computer, extracted boot.img and transferred it to my 5a, then patched it with Magisk and transferred it back to my computer and then uninstall/restore images in Magisk. Then I removed the "-w" from the script and ran it to update the OS. Reboot. Use fastboot to boot with the patched boot image, run Magisk and patch directly the boot.img. Reboot and your finished.
I think some of the problems experienced relate to the fact that this update includes updates to the bootloader and the radio (modem), which needs to be done before the OS update. The included script does that; updating the OS before the other updates is likely to cause problems. And failure to update the radio can easily cause connection problems as the OS expects to be working with the new firmware, not the old.
This has been covered in the OP. I don't use the script but it is important to ensure the bootloader and radio are updated if necessary. The system image checks the bootloader and radio versions.
There are two scripts included, one a shell script. Just be certain that you remove the "-w" in the script you are using before proceeding: -w wipes your disk and you don't want to lose your Home data I presume.
I actually recommend against using the script, because of the importance of learning how to use ADB and fastboot. Complacency is a good way to make a mistake.
I just updated with the October security patch and everything seemed to go smoothly. I removed Magisk, took the OTA, then after reboot I shut down and used fastboot boot with a patched image to start the phone, and finished with a Magisk direct install. Just one problem: no internet access. I can connect to 5G or WiFi but have no internet availability. I will flash the full factory image and hope that works. Very strange...
The first two quotes were for the 12>13 upgrade, which I see that I failed to mention. Version upgrades are typically more complex and I think it best to just install a factory image, however one chooses to do it.
I thought a simple security update would not cause problems but that is not the case it seems. I have not messed with the DNS settings AFAIK (I can't even find them); on previous phones I have used an app for using custom DNS servers. I change the DNS servers at my gateway so that DHCP provides them to all connected devices. I also have used VPNs in the past but not on this phone - I am using wireguard on my computer and have yet to learn how to set up WG on Android.
The first two quotes were for the 12>13 upgrade, which I see that I failed to mention. Version upgrades are typically more complex and I think it best to just install a factory image, however one chooses to do it.
I thought a simple security update would not cause problems but that is not the case it seems. I have not messed with the DNS settings AFAIK (I can't even find them); on previous phones I have used an app for using custom DNS servers. I change the DNS servers at my gateway so that DHCP provides them to all connected devices. I also have used VPNs in the past but not on this phone - I am using wireguard on my computer and have yet to learn how to set up WG on Android.
Speaking of OTAs, try sideloading the update, see if that fixes your issue. Not sure if it will TBH...failing that, the only thing I can really suggest is a data wipe
I downloaded the factory image and used "fastboot update <system image>" (which restored internet access). Then patched the boot.img with Magisk (25205) and lost internet access again. I tried a couple of times and it is repeatable. I can't imagine what else could be the problem other than Magisk. Am I the only one that has internet access problems with the October security plot and Magisk? I guess I will have to live without root for awhile...
I downloaded the factory image and used "fastboot update <system image>" (which restored internet access). Then patched the boot.img with Magisk (25205) and lost internet access again. I tried a couple of times and it is repeatable. I can't imagine what else could be the problem other than Magisk. Am I the only one that has internet access problems with the October security plot and Magisk? I guess I will have to live without root for awhile...
Last night I realized that it might be the AdAway module (I normally don't even think about it being there - it just works). It directly affects the DNS process. So I will be removing AdAway and re-installing Magisk and see if that works. It would be disappointing as I really appreciate not being inundated with ads, but first I have to narrow it down before it can be fixed.
Last night I realized that it might be the AdAway module (I normally don't even think about it being there - it just works). It directly affects the DNS process. So I will be removing AdAway and re-installing Magisk and see if that works. It would be disappointing as I really appreciate not being inundated with ads, but first I have to narrow it down before it can be fixed.
You can toggle AdAway on or off, and you may want to consider disabling host lists as well as using custom DNS just in case the DNS servers you're trying to use are blacklisted. I personally use CloudFlare: 1.1.1.1 and 1.0.0.1. Not quite as fast or reliable as Google (8.8.8.8, 8.8.4.4) but DNS requests are not logged or stored.
I don't have any problems with Internet connectivity. Try using a custom DNS server and just the AdAway official host list and see if you still have the same problem. Also, test to see if it's specific sites you have a problem with. Try a VPN as well.
Are the steps the same for Android 13? Had to RMA my phone and Google sent me the phone with 13 installed. I see guides for the 6 with 13, just want to make sure there aren't any issues when I get home to get everything set back up again.
Are the steps the same for Android 13? Had to RMA my phone and Google sent me the phone with 13 installed. I see guides for the 6 with 13, just want to make sure there aren't any issues when I get home to get everything set back up again.
Thanks for the guide! I followed all the steps, and it worked on well my device for Android 13.
Yet I got an issue - whenever I reboot my device I lose my Magisk root.
In this case, I have to go back into the bootloader and boot with the patched image again...
Is there any solution to the "root lost issue after reboot"?
(for the same device I remember when it's Android 12, no issue after reboots)
Thanks for the guide! I followed all the steps, and it worked on well my device for Android 13.
Yet I got an issue - whenever I reboot my device I lose my Magisk root.
In this case, I have to go back into the bootloader and boot with the patched image again...
Is there any solution to the "root lost issue after reboot"?
(for the same device I remember when it's Android 12, no issue after reboots)
Sounds to me like you've just been live booting the patched image, instead of flashing it. This is fine, but if you want root to persist after a reboot, you need to launch Magisk, tap Install, then Direct Install.
For best results, use the latest stable Magisk release. Discussion thread for migration to 24.0+. Note: Magisk prior to Canary 23016 does not incorporate the necessary fixes for Android 12+.
WARNING: YOU AND YOU ALONE ARE RESPONSIBLE FOR ANYTHING THAT HAPPENS TO YOUR DEVICE. THIS GUIDE IS WRITTEN WITH THE EXPRESS ASSUMPTION THAT YOU ARE FAMILIAR WITH ADB, MAGISK, ANDROID, AND ROOT. IT IS YOUR RESPONSIBILITY TO ENSURE YOU KNOW WHAT YOU ARE DOING.
I recommend using Command Prompt for these instructions; some users have difficulty with PowerShell. Make sure the Command Prompt is running from your Platform Tools directory!
Enable OEM Unlocking. If this option is grayed out, unlocking the bootloader is not possible.
Connect your device to your PC, and open a command window in your Platform Tools folder.
Ensure ADB sees your device:
Code:
adb devices
If you don't see a device, make sure USB Debugging is enabled, reconnect the USB cable, or try a different USB cable.
If you see "unauthorized", you need to authorize the connection on your device.
If you see the device without "unauthorized", you're good to go.
Reboot to bootloader:
Code:
adb reboot bootloader
Unlock bootloader: THIS WILL WIPE YOUR DEVICE!
Code:
fastboot flashing unlock
Select Continue on the device screen.
Install Magisk on your device.
Download the factory zip for your build.
Inside the factory zip is the update zip: "device-image-buildnumber.zip". Open this, and extract boot.img
Copy boot.img to your device.
Patch boot.img with Magisk: "Install" > "Select and Patch a File"
Copy the patched image back to your PC. It will be named "magisk_patched-23xxx_xxxxx.img". Rename this to "master root.img" and retain it for future updates.
Reboot your device to bootloader.
Flash the patched image:
Code:
fastboot flash boot <drag and drop master root.img here>
Reboot to Android. Open Magisk to confirm root - under Magisk at the top, you should see "Installed: <Magisk build number>
Before you download the OTA, open Magisk, tap Uninstall, then Restore Images. If you have any Magisk modules that modify system, uninstall them now.
Take the OTA update when prompted. To check for updates manually, go to Settings > System > System Update > Check for Update
Allow the update to download and install. DO NOT REBOOT WHEN PROMPTED. Open Magisk, tap Install at the top, then Install to inactive slot. Magisk will then reboot your device.
When the OTA completes, you will be in recovery mode. Select "Reboot to system now".
Allow system to boot and wait for the update to complete. You must let the system do this before proceeding.
Reboot to bootloader.
Boot the master root image (See note 1):
Code:
fastboot boot <drag and drop master root.img here>
Note: If you prefer, you can download the factory zip and manually patch the new boot image, then flash it after the update. Do not flash an older boot image after updating.
Your device should boot with root. Open Magisk, tap Install, and select Direct Install.
Reboot your device. You should now be updated with root.
Note: You can use Payload Dumper to extract the contents of the OTA if you want to manually patch the new boot image. However, I will not cover that in this guide.
Please note that the factory update process expects an updated bootloader and radio. If these are not up to date, the update will fail.
Download the factory zip and extract the contents.
Reboot to bootloader.
Compare bootloader versions between phone screen and bootloader.img build number
Code:
fastboot flash bootloader <drag and drop new bootloader.img here>
If bootloader is updated, reboot to bootloader.
Compare baseband versions between phone screen and radio.img build number
Code:
fastboot flash radio <drag and drop radio.img here>
When the update completes, the device will be in fastbootd. Reboot to bootloader.
Boot the master root image (See note 1):
Code:
fastboot boot <drag and drop master root.img here>
Note: If you prefer, you can manually patch the new boot image, then flash it after the update. Do not flash an older boot image after updating.
Your device should boot with root. Open Magisk, tap Install, and select Direct Install.
Reboot your device. You should now be updated with root.
Note: If you prefer, you can update using the flash-all script included in the factory zip. You will have to copy the script, bootloader image, radio image, and update zip into the Platform Tools folder; you will then have to edit the script to remove the -w option so it doesn't wipe your device.
The scripted commands should look like this:
Once this completes, you can reboot to bootloader and either boot your master patched image, or if you patched the new image, flash it at this time.
PixelFlasher by @badabing2003 is an excellent tool that streamlines the update process - it even patches the boot image for you.
The application essentially automates the ADB interface to make updating and rooting much easier. However, it is STRONGLY recommended that you still learn the "basics" of using ADB.
For instructions, downloads, and support, please refer to the PixelFlasher thread.
Follow the instructions on the Android Flash Tool to update your device. Make sure Lock Bootloader and Wipe Device are UNCHECKED.
When the update completes, the device will be in fastbootd. Reboot to bootloader.
Boot the master root image (See note 1):
Code:
fastboot boot <drag and drop master root.img here>
Note: If you prefer, you can download the factory zip and manually patch the new boot image, then flash it after the update. Do not flash an older boot image after updating.
Your device should boot with root. Open Magisk, tap Install, and select Direct Install.
Reboot your device. You should now be updated with root.
SafetyNet has been deprecated for the new Play Integrity API. More information here.
In a nutshell, Play Integrity uses the same mechanisms as SafetyNet for the BASIC and DEVICE verdicts, but uses the Trusted Execution Environment to validate those verdicts. TEE does not function on an unlocked bootloader, so legacy SafetyNet solutions will fail.
However, @Displax has modified the original Universal SafetyNet Fix by kdrag0n; his mod is able to force basic attestation instead of hardware, meaning that the device will pass BASIC and DEVICE integrity.
The boot image is NOT the bootloader image. Do not confuse the two - YOU are expected to know the difference. Flashing the wrong image to bootloader could brick your device.
While the Magisk app is used for patching the boot image, the app and the patch are separate. This is what you should see in Magisk for functioning root:
"Installed" shows the version of patch in the boot image. If this says N/A, you do not have root access - the boot image is not patched, or you have a problem with Magisk.
"App" simply shows the version of the app itself.
If you do not have a patched master boot image, you will need to download the factory zip if you haven't already, extract the system update inside it, then patch boot.img.
If you prefer updating with the factory image, you can also extract and manually patch the boot image if desired.
Some Magisk modules, especially those that modify read only partitions like /system, may cause a boot loop after updating. As a general rule, disable these modules before updating. You are responsible for knowing what you have installed, and what modules to disable.
Are the steps the same for Android 13? Had to RMA my phone and Google sent me the phone with 13 installed. I see guides for the 6 with 13, just want to make sure there aren't any issues when I get home to get everything set back up again.
I honestly don't know. I've used Magisk 22.1, 23.0, Canary 23001 through 23011, all have worked for me.
The caveat is that Magisk 23010+ is Zygisk, which means that some legacy modules won't work anymore until they're updated - Universal SafetyNet Fix for example.
Coming from the Pixel 3XL, which bricked out of the blue. I did every update on that phone, but never got to do 12 before the magical brick. I want to update this phone (5a, which I just realized is different than the 5?), but this seems to be missing quite a few steps. Shouldn't there be 4 different files added to your SDK folder and flashed, or has it completely changed, and I need to do more digging? Thanks.
You don't have to add any files to your SDK folder, you can always drag and drop them into the command line window. We are only working with two files here: vbmeta.img and boot.img.
You can do this as many times as you want. The critical point to remember is that if you allow Android to boot after not disabling verity/verification, you will have to wipe the next time you disable it.
Yes...but you're going to have to wipe data. Extract vbmeta.img, and reflash it:
Code:
fastboot flash vbmeta --disable-verity --disable-verification <drag and drop vbmeta.img here>
Then, reboot your device. You will end up in Rescue Party, with the option to "Try again" or "Factory data reset". Choose the factory reset.
The best way to make sure you don't have to wipe your data is to always use --disable-verity --disable-verification when updating via the factory image.
Followed directions for recommended Android Flash Tool and everything worked flawlessly. If you've already rooted your phone once then you have somewhat of an idea of what you're doing. Just read everything twice and follow the directions. Thank you OP for such a clear path to update and root!