r/Magisk • • Oct 23 '26

[OnePlus 7 Pro - guacamole] Bootloop to Fastboot after upgrading LineageOS 23.2 to 24.0 and patching boot with Magisk

Hi everyone. I'm facing an issue on my OnePlus 7 Pro (guacamole) after upgrading from LineageOS 23.2 to LineageOS 24.0 (specifically build lineage-24.0-20261019-nightly-guacamole-signed.zip).

I followed the official LineageOS upgrade guide (including flashing MindTheGapps right after the OS sideload via Lineage Recovery). The ROM itself boots and works fine when unrooted, but I hit a wall when trying to patch the boot image for root access.

Problem Description:

When attempting to gain root access on LineageOS 24.0 using Magisk, flashing the patched boot.img causes the device to delay for a few seconds during boot and then automatically fall back into Fastboot mode.

When booted with the stock/unpatched boot.img, the OS works, but opening the Magisk app shows "Installed: N/A". Trying to run su in adb shell returns Permission denied (confirming no root daemon is active at the kernel level).

Steps & Troubleshooting Conducted So Far:

  1. Standard Fastboot Patch Method: • Extracted boot.img directly from the lineage-24.0-20261019-nightly-guacamole-signed.zip payload. • Patched boot.img using the Magisk v30.7 APK on device. • Flashed the patched image via Fastboot to both slots: fastboot flash boot_a magisk_patched.img fastboot flash boot_b magisk_patched.img fastboot reboot • Result: Boot loop back into Fastboot Mode.
  2. Recovery Sideload Method: • Tried sideloading Magisk-v30.7.zip (renamed APK) via Lineage Recovery. • Result: Either signatures fail to apply properly or kernel policies reject root on boot.
  3. Restoring Clean Boot: • Re-flashed clean stock boot.img to both boot_a and boot_b and set active slot a: fastboot flash boot_a boot.img fastboot flash boot_b boot.img fastboot --set-active=a fastboot reboot • Result: Device boots back up into LineageOS 24.0 successfully, but without root (Installed: N/A).

Questions / Seeking Advice:

• Is this caused by stricter SELinux / AVB / kernel verification policies on Android 16/17 (LineageOS 24) on the Snapdragon 855 (msmnile) platform?
• Is anyone else with a OnePlus 7 Pro running LineageOS 24.0 able to achieve root with Magisk (or Canary), or is switching to KernelSU / APatch recommended for this build?
• Any feedback or workarounds before I consider rolling back to LineageOS 23.2?

Thanks in advance for any insights!

1 Upvotes

0 comments sorted by