How To Guide [GUIDE] Pixel 6 "oriole": Unlock Bootloader, Update, Root, Pass SafetyNet

Search This thread

badabing2003

Recognized Contributor
Sep 17, 2012
1,867
2,452
Simply typing flash-all in the command line should load and execute the correct script, regardless of what you're using.
And wipe the phone if done blindly without first editing it.

@itamargs just follow the guide or better yet what V0latyle said here
 

V0latyle

Forum Moderator
Staff member
And wipe the phone if done blindly without first editing it.

@itamargs just follow the guide or better yet what V0latyle said here
True. My assumption was that he'd already edited the script. One can always perform the commands manually, or use your tool! (I still haven't tried Pixel Flasher yet)
 
  • Like
Reactions: itamargs
Not quite correct...

flash-all.sh is a shell script for a Linux terminal and won't work on Windows.
flash-all.bat is a batch file that contains scripts for the Windows command line.

Simply typing flash-all in the command line should load and execute the correct script, regardless of what you're using. You are correct in that it's not a fastboot command in of itself; the script contains the fastboot commands used for flashing the device.

@C5Longhorn if you wanted to flash manually, here is the correct sequence to dirty flash the factory image to both slots:
  1. Download and extract factory package. Extract boot.img from image-oriole-buildnumber.zip. Patch boot.img in Magisk and copy back to the factory package folder. This can be done before or after the update; I personally prefer to do it before.
  2. Reboot to bootloader:
    Code:
    adb reboot bootloader
  3. Compare bootloader and baseband versions on device screen to the radio and bootloader files in the factory package. If different, or if you just want to be safe, update them:
    Code:
    fastboot flash bootloader --slot=all <drag and drop bootloader.img>
    Wait for flash to complete.
    Code:
    fastboot flash radio --slot=all <drag and drop radio.img>
    Wait for flash to complete
    Code:
    fastboot reboot bootloader
    Observe updated bootloader and baseband versions
  4. Dirty flash the factory image:
    Code:
    fastboot update --slot=all --skip-reboot <drag and drop image-oriole-buildnumber.zip>
    Wait for update to complete; watch command line. Device will reboot to fastboot mode during the process.
  5. When update completes, reboot to bootloader:
    Code:
    fastboot reboot bootloader
  6. Flash patched boot image:
    Code:
    fastboot flash boot --slot=all <drag and drop patched boot.img>
    Wait for flash to complete.
  7. Reboot to system:
    Code:
    fastboot reboot
  8. Your device should boot into updated system with root.
Do you have a specific reason for flashing to both slots, adding '--slot=all' to the fastboot update command? Or is it just a habit from past flashing/updating, thus don't fix what's not broke?
 

V0latyle

Forum Moderator
Staff member
Do you have a specific reason for flashing to both slots, adding '--slot=all' to the fastboot update command? Or is it just a habit from past flashing/updating, thus don't fix what's not broke?
It's not a necessity, but because I always update with the factory image, I flash both slots to ensure a failover if there's a problem with one.
 
  • Like
Reactions: phaino00

badabing2003

Recognized Contributor
Sep 17, 2012
1,867
2,452
It's not a necessity, but because I always update with the factory image, I flash both slots to ensure a failover if there's a problem with one.
Actually it is safer without --slot=all

Let me give a scenario

Let's say in April you flashed to All and it is working, so both slots are good.
In May you flash to all and it turns out to be a bad one.
Now both slots are bad

On the other hand if you only flash to one, then you can change the slot and boot to the older image, granted it will get too old over time since flash all flashes to the active slot and not inactive one, but at least you still have a bootable older option.

Of course almost always flashing stock would fix it, but why risk messing both at the same time.
A better option (however takes more time) is once you confirm that it worked, switch the slot and flash to it as well, this way both slots would be current and functional.

I personally don't bother, I just flash to the active one, but that is a personal choice.

Thinking about it, perhaps the best option would be is to mimic the OTA slot approach with flash_all
basically just change the slot first, and then flash to the active slot, if it works you're good, if it doesn't you switch back and you only go back to the last month's version.
With this approach the inactive slot will only be 1 version behind.
 

V0latyle

Forum Moderator
Staff member
Actually it is safer without --slot=all

Let me give a scenario

Let's say in April you flashed to All and it is working, so both slots are good.
In May you flash to all and it turns out to be a bad one.
Now both slots are bad

On the other hand if you only flash to one, then you can change the slot and boot to the older image, granted it will get too old over time since flash all flashes to the active slot and not inactive one, but at least you still have a bootable older option.

Of course almost always flashing stock would fix it, but why risk messing both at the same time.
A better option (however takes more time) is once you confirm that it worked, switch the slot and flash to it as well, this way both slots would be current and functional.

I personally don't bother, I just flash to the active one, but that is a personal choice.

Thinking about it, perhaps the best option would be is to mimic the OTA slot approach with flash_all
basically just change the slot first, and then flash to the active slot, if it works you're good, if it doesn't you switch back and you only go back to the last month's version.
With this approach the inactive slot will only be 1 version behind.
I see what you're saying, and for the most part I agree. The only thing is, you'll always be flashing the factory image with a PC, so if something goes wrong you can just dirty flash the last working image.
 

soodz

Member
Jul 9, 2018
9
11
Google Pixel 5
Google Pixel 6
I did the slot b trick with magisk for the July update and everything was smooth as usual for me... Passing safetynet, modules still working, all systems go
 

Attachments

  • Screenshot_20220710-111657.png
    Screenshot_20220710-111657.png
    159.2 KB · Views: 52

soodz

Member
Jul 9, 2018
9
11
Google Pixel 5
Google Pixel 6
Interesting. How did you command the reboot?

When I tried to update this way on my wife's 5a, it bootlooped back to the original slot.
I always follow these steps once I know the OTA is available:

1. Open Magisk and select 'Uninstall Magisk -> Restore Images'
2. Open Settings and Download/Install OTA *DO NOT REBOOT*
3. Go back to Magisk and select 'Install -> Install to Inactive Slot (After OTA)' *DO NOT REBOOT*
4. Go back to Settings and 'Reboot' to finalize the OTA
 

V0latyle

Forum Moderator
Staff member
I always follow these steps once I know the OTA is available:

1. Open Magisk and select 'Uninstall Magisk -> Restore Images'
2. Open Settings and Download/Install OTA *DO NOT REBOOT*
3. Go back to Magisk and select 'Install -> Install to Inactive Slot (After OTA)' *DO NOT REBOOT*
4. Go back to Settings and 'Reboot' to finalize the OTA
Interesting. Maybe it's something specific to the 765G devices that broke the out of band method.
 

Uunderfire

New member
Jul 10, 2015
4
1
I always follow these steps once I know the OTA is available:

1. Open Magisk and select 'Uninstall Magisk -> Restore Images'
2. Open Settings and Download/Install OTA *DO NOT REBOOT*
3. Go back to Magisk and select 'Install -> Install to Inactive Slot (After OTA)' *DO NOT REBOOT*
4. Go back to Settings and 'Reboot' to finalize the OTA
Just a warning with this method, I tried it myself in order to update to July's security update. The download worked correctly once Magisk was uninstalled, however after I chose to install to the inactive slot I went back to the OTA screen, pushed the "Reboot now" button and then the OTA started to install again. Then it showed a message saying that the update is impossible (as if it had detected magisk again on the current slot). I am sure that I chose the "Install to inactive slot" button and not the classic install.

I then tried to flash manually with the factory image with the --slot=all command, however I had quite a scare as the update failed due to a lack of space on slot B (I was on slot A at the beginning so slot B was the one where the OTA was performed). I tried without the --slot=all and it failed again on slot A due to an error with the product image. After another try it worked on slot A and I could boot again and then patch the boot with Magisk.

I think that the OTA temporary corrupted one of my slots, I am going to stick to the manual method from now on.
 

V0latyle

Forum Moderator
Staff member
Just a warning with this method, I tried it myself in order to update to July's security update. The download worked correctly once Magisk was uninstalled, however after I chose to install to the inactive slot I went back to the OTA screen, pushed the "Reboot now" button and then the OTA started to install again. Then it showed a message saying that the update is impossible (as if it had detected magisk again on the current slot). I am sure that I chose the "Install to inactive slot" button and not the classic install.

I then tried to flash manually with the factory image with the --slot=all command, however I had quite a scare as the update failed due to a lack of space on slot B (I was on slot A at the beginning so slot B was the one where the OTA was performed). I tried without the --slot=all and it failed again on slot A due to an error with the product image. After another try it worked on slot A and I could boot again and then patch the boot with Magisk.

I think that the OTA temporary corrupted one of my slots, I am going to stick to the manual method from now on.
Why did you go back to the OTA restart screen? When you patch the inactive slot in Magisk, Magisk will then prompt you for a reboot.

I don't know if it makes any difference whether you reboot via system or via Magisk.
 

Uunderfire

New member
Jul 10, 2015
4
1
Why did you go back to the OTA restart screen? When you patch the inactive slot in Magisk, Magisk will then prompt you for a reboot.

I don't know if it makes any difference whether you reboot via system or via Magisk.
Since I had an issue in May with the OTA update and since soodz succeeded in performing the update, I wanted to follow the exact steps written in his post to see if it made a difference.

Thinking about it, it may have made a difference in my case as it triggered this weird reinstall behavior of the OTA. I may try to directly reboot from magisk next time to see if it makes a difference ! And switch to a manual install again if it wreaks havok on my other slot ahah
 
  • Like
Reactions: V0latyle

Top Liked Posts

  • 1
    Hello guys!

    My problem is back again, damn... I have a P6 with A12 Security Update: 5. june 2022 and for all flashing till now I used a "Version 33.0.2-8557947" of platform tools. Also, phone is rooted - I'm totally happy with it, really! Also there is still old pre A13 boot loader - the one without flash version counter.

    Aha, I also have all AUTO-UPDATE options disabled, so system is not allowed to download it. But, that doesn't work. On friday I get a system message that my apps were using much more data than usual. When I look into "Mobile data usage", there is "System Updates" with 1,94 GB data used. So, i presume there have been system update downloaded which will be installed soon. Today, half an hour ago I get a banner message that there is update available which will be installed after reboot. %[email protected]#pissed off#"#$%

    So, what can I do now? I'm perfectly happy with current setup, all apps (including banking) works great, root, no ads... evertything is perfect. But as it stands, after reboot update will be installed (presumably to last version of A13) and I already know that phone won't boot normally - few months ago was the last time when similar 'update' happened and phone booted into some special mode where only Shutdown menu worked. At that time I flashed back the current A12 version factory image, root again & set phone as it is now. But obviously this is a no win situation, get tired of repeating it every few months. So maybe I need to flash last version and live with it. It seems there is no other way with G rom.

    Is current last version of Android (13) for P6 root-able and apps like Revolut, N26 work ok or they detect root and don't wanna work? Because I need it and as far as I see, staying on A12 is kind of not allowed anymore from Google. Thanx for any helpfull hint.

    Sorry, if this post is not suitable here please delete it.
    Rooting Android 13 works exactly the same way as Android 12. I'm not sure about Revolut, it's possible that they use independent root detection methods, and I know of at least one user whose Play Store kept telling them the app wasn't available, but they were also on an older Android version.

    For most apps, the only things you should have to do is use Universal SafetyNet Fix MOD and DenyList in Magisk. But that's more a problem for the Magisk/Universal SafetyNet Fix threads, not so much this one.

    The only way I know of to (try to) disable automatic updates is the Automatic System Updates toggle in Developer Options. However, it seems like the only thing this does is prevent the system from automatically updating when the device restarts.

    It's odd enough that you get update notifications. I never do on my Pixel 5; even when updates are available, it still won't find and download the updates, so I always have to update manually. This really seems to be a mixed bag among rooted Pixel users; some people are able to get OTA updates, some like me can only do manual updates.
    1
    Ok, thank you! Yes, I do have Automatic System Updates toggle disabled, but ... Now I need to see what are proper Magisk, SNF version files for A13 and then I will update. God I hope root will work and I will be able to restore all my apps with Swift.
    You don't have to restore anything. The safest way to upgrade is by sideloading the OTA; you can then re-root after the update is finished.

    However, THIS IS EXTREMELY IMPORTANT: READ >>>THIS<<< BEFORE YOU UPDATE TO ANDROID 13.
    My current versions now:
    • Magisk: a468fd94 (25205) with modules:
      • Systemless Hosts 1.0 by Magisk
      • Universal SafetyNet Fix v2.3.1 by kdrag0n
    Those working 3 (root, systemless hosts and USNF) functionalities are what I need in new ROM. Others can be restored. I just don't know how to update, with reboot or sahall I download latest A13 Factory Image and flash / root it. If that way, I need to patch both slots with new boot image so new bootloader will 100% be installed, according to your other thread.
    No - you don't patch both slots, the boot image has nothing to do with the bootloader.

    This is what you should do just to be safe:
    1. Go into Magisk and tap Uninstall > Restore Images. Reboot.
    2. Follow the instructions in the first post of this thread to sideload the OTA. Use the latest OTA image.
    3. After updating using the OTA, let the device boot into Android and finish its update.
    4. Once the update is finished, sideload the OTA one more time - the OTA method does not update both slots at the same time, so you want to make sure that both bootloader slots get updated.
    5. Once you have updated BOTH slots, follow the instructions under Initial Root to re-root.
    I would recommend going to Magisk Stable 25.2 as the canary/alpha builds have been troublesome. I would also recommend updating Universal SafetyNet Fix with this modified USNF module to pass Play Integrity.

    If you feel a bit more brave, you can update using the factory images, since you'll need to download those to get the new boot image anyway. The only difference is that before you do anything else, you would want to flash both bootloader slots at the same time:

    fastboot flash bootloader --slot=all <path to bootloader image or drag+drop into command line> fastboot reboot bootloader

    Verify that the bootloader version is bootloader-raven-slider-1.2-9465321
    1
    BTW, you can use PixelFlasher to update too, it'll even patch the boot image for you. Really streamlines the process. Make sure you use the "Flash to both slots" option as it will flash both bootloader slots at the same time.
    1
    @V0latyle : thank you for this. I will do OTA sideload. There is just one thing I do not know what is gonna happen. You write:



    Also, I have been informed by the system that after reboot update of downloaded update will be performed. So, after I will uninstall Magisk and choose Reboot, update will start? And after it finish I do a sideload? Or shall I uninstall Magisk and then boot to recovery directly with:



    Sorry, if this is lame question, but I prefer to ask than sorry.
    I forgot that you have an update pending.

    Just to be safe, disable the modules in Magisk. You can go ahead and reboot normally and let the automatic OTA do its thing.

    Once it's done, you can sideload the OTA, but you'll only need to do this once as the system will have updated one slot.
  • 2
    On pixel 6 a/b is there away to flash both slots at the same time with fastboot?
    With Pixel Flasher you can. To do it manually you'll need to flash one slot, set the active slot to the other slot and then flash again.
    1
    Anyone else got a magisk canary update, but won't open after installation?
    yes and apparently it's a known "issue" that occurs when you blindly tap on the update notification without unhiding magisk first. No clue how to fix, will try with pixel flasher.

    EDIT: not fixed after updating to feb update via pixelflasher. No clue how to restore magisk atm.

    EDIT 2: known issue with the latest canary build. Either install the debug build for now, or wait for a fix.
    1
    I'm having trouble rooting my pixel 6.
    I rooted it a long time ago, but then I had to wipe it and it hasn't been rooted since.
    Bootloader is still unlocked.

    I extracted and patched the boot.img for the build I currently have installed (TQ1A.230205.001.D2, Feb 2023, T-Mobile, T-Mobile MVNOs).
    Transferred the patched boot.img back to my computer, rebooted to recovery, and then did the fastboot flash boot command.
    After rebooting, the phone just boot loops. I'm able to flash the stock boot.img back and it boots again.
    I've tried it several times and with Pixelflasher, but I just keep going into a boot loop. Not sure what i'm doing wrong.

    Thanks.

    Edit: Forgot to add that i'm using the latest Debug build of magisk. Tried the stable build also.
    You should be in fastboot mode, not recovery, to flash the patched image, but I'm assuming you are since you were able to flash the stock boot.img.

    Do you happen to have any Magisk mods still installed? If you have one that needs updating, that will cause a bootloop.
    1
    You should be in fastboot mode, not recovery, to flash the patched image, but I'm assuming you are since you were able to flash the stock boot.img.

    Do you happen to have any Magisk mods still installed? If you have one that needs updating, that will cause a bootloop.


    THANK YOU.
    Forgot I had some old modules installed. Did adb wait-for-device shell magisk --remove-modules and it booted and is rooted.
    1
    @V0latyle : thank you for this. I will do OTA sideload. There is just one thing I do not know what is gonna happen. You write:



    Also, I have been informed by the system that after reboot update of downloaded update will be performed. So, after I will uninstall Magisk and choose Reboot, update will start? And after it finish I do a sideload? Or shall I uninstall Magisk and then boot to recovery directly with:



    Sorry, if this is lame question, but I prefer to ask than sorry.
    I forgot that you have an update pending.

    Just to be safe, disable the modules in Magisk. You can go ahead and reboot normally and let the automatic OTA do its thing.

    Once it's done, you can sideload the OTA, but you'll only need to do this once as the system will have updated one slot.
  • 49
    ⚠️⚠️⚠️WARNING! IF YOU ARE UPDATING TO ANDROID 13 FOR THE FIRST TIME, READ THIS FIRST! ⚠️⚠️⚠️

    If you are looking for my guide on a different Pixel, find it here:
    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.

    Prerequisites:


    Android Source - Setting up a device for development


    1. Follow these instructions to enable Developer Options and USB Debugging.
    2. Enable OEM Unlocking. If this option is grayed out, unlocking the bootloader is not possible.
    3. Connect your device to your PC, and open a command window in your Platform Tools folder.
    4. 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.
    5. Reboot to bootloader:
      Code:
      adb reboot bootloader
    6. Unlock bootloader: THIS WILL WIPE YOUR DEVICE!
      Code:
      fastboot flashing unlock
      Select Continue on the device screen.

    1. Install Magisk on your device.
    2. Download the factory zip for your build.
    3. Inside the factory zip is the update zip: "device-image-buildnumber.zip". Open this, and extract boot.img
    4. Copy boot.img to your device.
    5. Patch boot.img with Magisk: "Install" > "Select and Patch a File"
    6. 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.
    7. Reboot your device to bootloader.
    8. Flash the patched image:
      Code:
      fastboot flash boot <drag and drop master root.img here>
    9. Reboot to Android. Open Magisk to confirm root - under Magisk at the top, you should see "Installed: <Magisk build number>

    1. Before you download the OTA, open Magisk, tap Uninstall, then Restore Images. If you have any Magisk modules that modify system, uninstall them now.
    2. Take the OTA update when prompted. To check for updates manually, go to Settings > System > System Update > Check for Update
    3. 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.
    4. You should now be updated with root.

    1. Download the OTA.
    2. Reboot to recovery and sideload the OTA:
      Code:
      adb reboot sideload
      Once in recovery:
      Code:
      adb sideload ota.zip
    3. When the OTA completes, you will be in recovery mode. Select "Reboot to system now".
    4. Allow system to boot and wait for the update to complete. You must let the system do this before proceeding.
    5. Reboot to bootloader.
    6. 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.
    7. Your device should boot with root. Open Magisk, tap Install, and select Direct Install.
    8. 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.
    1. Download the factory zip and extract the contents.
    2. Reboot to bootloader.
    3. 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.
    4. Compare baseband versions between phone screen and radio.img build number
      Code:
      fastboot flash radio <drag and drop radio.img here>
      If radio is updated, reboot to bootloader.
    5. Apply update:
      Code:
      fastboot update --skip-reboot image-codename-buildnumber.zip
      When the update completes, the device will be in fastbootd. Reboot to bootloader.
    6. 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.
    7. Your device should boot with root. Open Magisk, tap Install, and select Direct Install.
    8. 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:
    Code:
    fastboot flash bootloader <bootloader image name>
    fastboot reboot bootloader
    ping -n 5 127.0.0.1 > nul
    fastboot flash radio <radio image name>
    fastboot reboot bootloader
    ping -n 5 127.0.0.1 > nul
    fastboot update  --skip-reboot <image-device-buildnumber.zip>
    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.

    1. Follow the instructions on the Android Flash Tool to update your device. Make sure Lock Bootloader and Wipe Device are UNCHECKED.
    2. When the update completes, the device will be in fastbootd. Reboot to bootloader.
    3. 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.
    4. Your device should boot with root. Open Magisk, tap Install, and select Direct Install.
    5. 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.

    Mod available here. Do not use MagiskHide Props Config with this mod.

    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:
    • Google Play Store
    • GPay
    • Any banking/financial apps
    • Any DRM media apps
    Modules:
    • Universal SafetyNet Fix 2.3.1 Mod - XDA post
    To check SafetyNet status:
    To check Play Integrity status:
    I do not provide support for Magisk or modules. If you need help with Magisk, here is the Magisk General Support thread. For support specifically with Magisk v24+, see this thread.

    Points of note:
    • 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:
      screenshot_20230323-072859-3-png.5870161
    • "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.


    Credits:
    Thanks to @badabing2003 , @pndwal , @Displax , @Az Biker , @ipdev , @kdrag0n , @Didgeridoohan , and last but not least, @topjohnwu for all their hard work!
    7
    Magisk Canary was updated to 23016 last night. This includes a fix for the vbmeta header issue, meaning that disabling verity/verification should no longer be required, and we should be able to root as we did before. This needs testing, make sure you back up your data and photos before you do this!

    Additionally, for the Pixel 6 and 6 Pro, fstab will now load from /system/etc which should fix the root issue many of you were having.

    Q: "If verity/verification are disabled, do I need to enable them now?"
    A: No. The only thing you have to do is update to Magisk 23016.
    Q: "Will enabling verity/verification wipe my data?"
    A: No.

    I will be updating the OP to reflect this.
    5
    Magisk 24306 (release notes) is now available on the canary channel, and I can confirm that the installation to the inactive slot OTA method is working for the April update.
    5
    Interesting. How did you command the reboot?

    When I tried to update this way on my wife's 5a, it bootlooped back to the original slot.
    I always follow these steps once I know the OTA is available:

    1. Open Magisk and select 'Uninstall Magisk -> Restore Images'
    2. Open Settings and Download/Install OTA *DO NOT REBOOT*
    3. Go back to Magisk and select 'Install -> Install to Inactive Slot (After OTA)' *DO NOT REBOOT*
    4. Go back to Settings and 'Reboot' to finalize the OTA
    5
    So, if I use this tool after rooting OTA updates will work and I'll still have root?

    Edit: And can you explain more clearly the process on how to do this?

    No, the tool does nothing to maintain root. It simply allows you to take the OTA. You will still need to reboot into fastboot and flash or boot from a patched boot image.

    The steps would be:
    1. Restore boot in the Magisk app
    2. Restore vbmeta in Vbmeta Patcher
    3. Take the OTA in System Updater
    4. Patch vbmeta in Vbmeta Patcher
    5. Patch the new boot image in the Magisk app and copy it to your computer
    6. Reboot into fastboot
    7. Boot from the new patched boot image
    8. Direct Install Magisk in the Magisk App
    As I noted the quote post, this process should be considered experimental until it has been more thoroughly tested. You should consider backing up any critical data before attempting it, in case something goes wrong.

    I'm working on another tool to make it a bit easier to acquire the new boot image in step 5, but that will likely be a few days. Hopefully we'll be able to install Magisk to the inactive slot on Pixel devices again in the future, which would consolidate steps 5-8.