I thought so to but it didn't and neither did flashing the factory image with -w removed and verity disabled but what did work was sideloading the OTA then booted into Android and then into bootloader and then booting patched.img and then direct install
What you actually needed to do was simply reflash vbmeta without options, then boot the patched image and direct install.
That's essentially what you did by sideloading the OTA...just the long roundabout way.
I'm back with a mushy head and no results to get root. I successfully updated to A12, but have been unable to flash the MagiskPatched.img which I've patched twice (and matched the checksum with one posted here). The result is always the same - boot loop (stuck at "G" logo until it reboots back into fastboot mode). I am on Magisk App 23016, Magisk shows Installed N/A, Zygisk No, Ramdisk Yes (and Update Channel is Canary). Flashing the stock boot.img always gets it started again.
Would uninstalling and reinstalling Magisk help? Uninstall via the app, then what?
Any help appreciated, as always. (It's a ***** to get old!)
Are you able to live boot the patched image?
By fastboot do you mean fastbootd, recovery, or Rescue Party (corrupted data screen)?
Did you disable verity/verification? If you did, you shouldn't have. Reflash vbmeta without disable options.
Usually a Magisk issue just means you don't have root; it shouldn't prevent the device from booting. Removing
modules should not be necessary but then again I only use two. Remember that you can always
disable modules in the Magisk module manger.
So did you wipe data when upgrading to A12? I don't think anyone has found a way to go from A11 to A12 and root without wiping data.
The only reason this was inevitable was because disabling verity/verification was required to boot a modified image from /boot; disabling verity/verification with /data populated requires a wipe to successfully boot...for some reason.
It should no longer be an issue because of Canary 23016. The only thing you have to do after updating is let the device boot stock and complete the update, then patch and flash the boot image.
One other thing to try: flash the stock boot image back to boot_a, but use "fastboot flash boot_a "C:\Platform Tools January\magisk_patched-23016_IZJza.img" to boot the patched boot image, then in Magisk App do the "direct install" to get root.
Incorrect - you don't use
fastboot flash boot
to boot a patched image; the context there is
flash is the command, and
boot is the partition you're specifying to flash.
To boot an image simply use
fastboot boot
.
Point of note: When updating via OTA, ALWAYS let your device boot the new untouched boot image first. The way the OTA update process works means that system compares the boot image and system versions. If they don't match, it assumes the OTA failed, and boot loops back to the last good slot (the one you were on when you installed the OTA).
Or, download the factory image and patch the new boot image - but at that point you may as well just dirty flash the factory image anyway.