Steps for re-rooting phone after security update (Pixel 6a)

Steps for re-rooting phone after security update (Pixel 6a)

  1. On phone:
    1. Back up pixel xpert config
    2. Download/install OTA officially. Reboot.
    3. Find build number in settings, long press to copy.
    4. Find build here: https://developers.google.com/android/images#bluejay, download to phone.
    5. Double extract the downloaded zip.
    6. Run magisk patch on boot.img therein.
    7. Upload patched boot.img to gdrive (or copy to computer somehow).
    8. Restart holding volume down to get to fastboot
  2. On Computer:
    1. Download patched.img
    2. Plug phone into computer.
    3. fastboot devices
    4. sudo fastboot flash boot patched.img
  3. On Phone:
    1. Start phone.
    2. Verify root in magisk
    3. Import Pixel Xpert settings from gdrive (PixelXpert_Config.bin)
    4. Potentially reboot phone
    5. Clean up image files from phone downloads