# 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](https://developers.google.com/android/images) - extract the downloaded file and the .zip-file in it - copy the extracted file `boot.img` to your phone and patch it with [magisk](https://github.com/topjohnwu/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!**