Skip to content

Magisk fails on Huawei devices since 28102: installed state not detected #9950

Description

@SkipM4

On Huawei devices, Magisk has not been working properly since build 28102.

After patching the ramdisk partition , flashing the image and reboot, the Magisk app does not show installed version.

If SELinux is set to permissive, the app does show as installed version , but root authorization still does not work — Magisk cannot properly trigger or handle root requests.

HWCET:/ $ su
Permission denied
13|HWCET:/ $

Steps to reproduce:

Patch the ramdisk partition with Magisk.
Flash the patched image.
Reboot the device.
Open the Magisk app and check its status.

Expected behavior:
Magisk should remain detected as installed after reboot, and root authorization should work normally.

Actual behavior:

With enforcing SELinux: Magisk app shows Not installed.
With permissive SELinux: Magisk app shows as installed, but root authorization does not work.

Device: Huawei Mate 50
Android version: 12
Magisk version name: 30.7
Magisk version code: 30700

logs.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreThis issue is related to Magisk CoreregressionSomething works in previous versions but not in the current one

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions