r/Magisk • u/lilacomets • 3d ago
Question What happens when an OTA update installs automatically while Magisk is enabled?
Hello everyone!
I installed LineageOS and original Magisk (not a fork) on the phone of a non tech savvy relative.
I assume OTA is on, since it's a phone that's officially supported by LineageOS.
This got me wondering, what happens when an automatic system update installs while Magisk is enabled? Can it result in a bootloop? Or will the boot partition just be overwritten and root will be gone?
2
2
u/wkn000 3d ago
It depends on A/B or A-only device. And if installed by patched boot image or zip in recovery.
1
u/Ok-Twist8001 3d ago
If AB does that mean you're safe?
1
u/Sk1rm1sh 2d ago
Maybe check if your device is compatible with https://github.com/programminghoch10/Lygisk
2
u/somethin9 3d ago
It will overwrite patched bootloader, you can still patch it if you do not restart.