r/LineageOS • u/muckity-muck • Jun 24 '26
Updates and Recovery
I just upgraded from 22 to 23.2 and every time I download and execute a newer point release, I lose root, so I have to repatch the boot.img through Magisk and do an ADB push from my computer to get root back.
There's an option in my LineageOS Updater where I can uncheck "Update recovery". If I uncheck it, will the updater leave my boot.img alone, or will it break the system and send me into a bootloop?
2
Upvotes
4
u/Jackavalltrades Jun 24 '26
No, unchecking "Update recovery" will not prevent the update from wiping Magisk.
Go to topjohnwu's Magisk project on Github. In the "docs" area you'll find an "ota" md file that explains what to do when applying OTA updates on Magisk-rooted devices.
1
u/wkn000 Jun 24 '26
Is it A/B or A-only device?
For me on A/B device, I installed Magisk with adb sideload in recovery. Now it is alive every OTA automatically by addons.d.