2022-04-20 11:35:26 +02:00
|
|
|
# update-pixel
|
|
|
|
|
2022-10-12 10:12:21 +02:00
|
|
|
a short guide on how to update a google pixel 6 while keeping root
|
2022-04-20 11:35:26 +02:00
|
|
|
|
|
|
|
## 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`
|
|
|
|
|
2022-10-12 10:12:21 +02:00
|
|
|
- reboot into bootloader: `adb reboot bootloader`
|
|
|
|
- execute the flash script: `flash-all.sh`
|
|
|
|
|
2022-04-20 11:35:26 +02:00
|
|
|
**enjoy!**
|