initial commit

This commit is contained in:
Daniel Sommer 2022-04-20 11:35:26 +02:00
commit 6205ed9a34
2 changed files with 37 additions and 0 deletions

20
README.md Normal file
View file

@ -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!**

17
example-flash-all.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/sh
# author: Daniel Sommer <daniel.sommer@velvettear.de>
# 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