Help Needed: Installing Magisk to /system on Android 13 Without Detection

Hi everyone,

I’m looking for help with an issue I’ve been trying to solve for a week. I’ve tried everything I can think of, but I’m stuck and need advice.

What I Want to Do:

I’m trying to use Magisk in a way that:

  • Completely hides Magisk.
  • Automatically grants permissions without manual intervention.
  • Installs as a system app without being detected as such.

What Worked on Android 11:

On Android 11, I was able to achieve this using Magisk v23:

  1. Install Magisk via ADB sideload.
  2. Modify Magisk’s internal file (AndroidManifest.xml) to:
    • Make the app invisible.
    • Prevent it from auto-updating.
    • Enable automatic permission granting.
  3. When done this way, the system wouldn’t detect Magisk as a system app, as long as the app wasn’t launched (which was impossible without explicit action).

The Problem on Android 13:

Now I’m on Android 13 (LineageOS), and the same methods no longer work:

  • ADB sideload requires the app to have a valid signature.
  • Patching the boot image doesn’t produce the desired effect.
  • When Magisk v27 or v28 is installed as a system app, it detects the installation and doesn’t work as intended.

What I’ve Tried:

I’ve moved to using Magisk v27 and v28. Here’s what works and what doesn’t:

  • What works: I can hide the Magisk app.
  • What doesn’t work: I can’t enable auto-granting of permissions, and the app always detects it’s installed as a system app, which defeats my purpose.

My Question:

Is there any way to install Magisk v27 or v28 so that:

  • The app doesn’t realize it’s installed as a system app?
  • I can enable auto-granting permissions like I could on Android 11?

Any help would mean a lot to me! This is a very specific and niche issue, so don’t feel pressured to respond if it’s not your expertise. Thanks in advance!


Did you try v23

Yes. magisk manager v23 installs patches the boot but doesnt detect it afterwards

solved. my friend rebuilt it.

can you upload your modifies version of magisk for android 11?

It’s not free. I don’t think it’s right