1.3 KiB
1.3 KiB
title | visible |
---|---|
Update | true |
[toc]
Because I root my phone, I have to follow some specific steps to update my system correctly.
Requires a PC
Devices
Device | Notes |
---|---|
Xiaomi Mi 9 Lite |
Acquire LineageOS Update Zip-file
The newest update can either be downloaded through the built-in updater, exported to local storage and copied to the PC, or downloaded directly from download.lineageos.org
Patch Boot image with Magisk
- Download latest Boot image
- Patch with Magisk
- Copy to PC
Update LineageOS
- Enable USB Debugging through ADB
- Run
adb reboot sideload
- Update using
adb sideload LINEAGE_UPDATE.zip
Reinstall Magisk
An alternative is installing Lygisk, which allows for automatic reinstallation after OTA Upgrades
- Boot to fastboot:
adb reboot bootloader
- Run
fastboot flash boot MAGISK_PATCHED.img
- Reboot to system
fastboot reboot
And the update's done!
Links
Update LineageOS on pyxis
Magisk Installation > Patching Images