update-pixel/README.md
2022-10-12 10:20:37 +02:00

861 B

update-pixel

a short guide on how to update a google pixel 6 while keeping root

how to

  • download the newest factory image from google

  • extract the downloaded file and the .zip-file in it

  • copy the extracted file boot.img to your phone and patch it with magisk

  • copy the patched file back to the base folder as magisk_patched.img

  • modify the file flash-all.sh:

    • replace the start of the line fastboot -w update image-*.zip with fastboot --skip-reboot update image-*.zip
    • append the following lines:
      sleep 5
      fastboot reboot fastboot
      sleep 15
      fastboot flash boot magisk_patched.img
      fastboot reboot
  • reboot into bootloader: adb reboot bootloader

  • execute the flash script: flash-all.sh

enjoy!