This hypha documents the process I go through to update LineageOS on my Pixel 3a phone (codename sargo
). The device is unlocked, rooted with Magisk, uses F-Droid for package management, and has the TWRP custom recovery.
-
Reinstall TWRP following https://twrp.me/google/googlepixel3a.html
-
Note: Make sure you have good adb drivers, or adb might work but not fastboot!
-
-
Boot into system and then reboot into TWRP
-
Extract a boot image
-
enter an
adb shell
-
cd /sdcard/TWRP/
-
Run the ./Extract script
-
-
ReRoot with Magisk
-
Boot into system
-
(Make sure the Magisk app is installed)
-
Use the app's Install menu to patch the boot image, generating a file in Downloads/
-
Use adb to fetch the patched image (I reboot to TWRP first)
-
Reboot to bootloader and use fastboot to boot the patched image and make sure it works
-
Reboot to bootloader and use fastboot to flash the patched boot image (
fastboot flash boot m...img
)
-
-
Install the F-Droid privileged extension
-
Download the latest OTA: https://f-droid.org/en/packages/org.fdroid.fdroid.privileged.ota/
-
Reboot into TWRP
-
adb push the OTA zip
-
Install the zip
-
Reboot into system
-