-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hello zero-kernel developer,
I'm completely stuck and need your help. I've tried everything to get Magisk working with your kernel on my OnePlus 5T (dumpling) running LineageOS 22.2 (Android 15), but I always end up in a bootloop. Let me explain exactly what I tried:
My Setup:
- Device: OnePlus 5T (A5010, dumpling)
- ROM: LineageOS 22.2 (20260106 nightly) - Android 15
- Recovery: TWRP 3.7.1_12-2
- Kernel: zero-0.6.4-dumplinger-los-4.4.zip
- Magisk: v30.7
What I tried:
Attempt #1 (zero kernel FIRST, then Magisk patch):
- Clean flash in TWRP:
- Flashed zero-0.6.4-dumplinger-los-4.4.zip
- Flashed lineage-22.2-20260106-nightly-dumpling-signed.zip
- Flashed Disable_Dm-Verity_ForceEncrypt.zip
- Booted system once (everything worked fine with zero kernel)
- Back to TWRP, dumped current boot partition:
dd if=/dev/block/by-name/boot of=/sdcard/zero_boot.img - Patched zero_boot.img with Magisk Manager ("Select and Patch a File")
- Flashed the patched image back via TWRP (Install Image -> Boot)
- Result: Bootloop (phone stuck at boot animation or black screen)
Attempt #2 (Magisk patch FIRST, then zero kernel):
- Clean flash in TWRP (without zero kernel this time):
- Flashed lineage-22.2-20260106-nightly-dumpling-signed.zip
- Flashed Disable_Dm-Verity_ForceEncrypt.zip
-
Booted system once (stock kernel, no zero yet)
-
Back to TWRP, dumped stock boot.img:
dd if=/dev/block/by-name/boot of=/sdcard/stock_boot.img -
Patched stock_boot.img with Magisk Manager
-
Flashed patched image via TWRP
-
Booted system to verify Magisk works (it did - stock kernel + Magisk was fine)
-
Back to TWRP, flashed zero-0.6.4-dumplinger-los-4.4.zip (thinking AnyKernel3 would preserve the Magisk patch)
-
Result: Bootloop again
The confusion:
- I understand zero kernel uses AnyKernel3 (I see the tools/ folder and magiskboot binary inside the zip)
- I know AnyKernel3 is supposed to modify the existing boot partition while preserving modifications (like Magisk)
- But in both scenarios, after zero kernel is installed (whether before or after Magisk), the result is always bootloop
- I've recovered each time by restoring boot from backup, so the device is fine
My questions:
- Is zero-kernel 0.6.4 compatible with Magisk v30.7 on Android 15 at all?
- Does zero kernel modify the ramdisk in a way that breaks Magisk?
- Does zero kernel have built-in KernelSU? (I checked /sys/fs/ksu - no such directory)
- What is the CORRECT sequence to get root on your kernel? Any official method?
I'm not a kernel developer, just an advanced user trying to get Kali NetHunter working (I have the NetHunter zip but that's a separate issue). Any guidance would save my sanity.
Thank you for your work on zero kernel!