commit 6205ed9a34a063213b191da10170dcb26e981f58 Author: velvettear Date: Wed Apr 20 11:35:26 2022 +0200 initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..4138670 --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# update-pixel + +a short guide on how to install updates on the google pixel 6 and 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` + +**enjoy!** diff --git a/example-flash-all.sh b/example-flash-all.sh new file mode 100755 index 0000000..f03a9ef --- /dev/null +++ b/example-flash-all.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +# author: Daniel Sommer +# license: MIT + +fastboot flash bootloader bootloader-oriole-slider-1.1-8167057.img +fastboot reboot-bootloader +sleep 5 + +fastboot flash radio radio-oriole-g5123b-97927-220225-b-8226700.img +fastboot reboot-bootloader +sleep 5 + +fastboot reboot fastboot +sleep 15 +fastboot flash boot magisk_patched.img +fastboot reboot