Revision [490]
This is an old revision of MagiskHideBasics made by didgeridoohan on 2018-11-17 03:52:06.
Basics
Where to start
It’s always a good idea to read through, at least, the release thread for information about what Magisk is and how to get MagiskHide working. Other useful information can be found in the official Magisk Documentation over on GitHub and the support thread.Known issues
There may be devices that have issues with MagiskHide. Check the release thread for information about currently known issues. While you're there, make sure to also take a look at the FAQ.Requirements
- A Linux kernel version of at least version 3.8 or a kernel that has the necessary features (mount namespace) backported. For kernels lacking this feature, the relevant patches are: set CONFIG_NAMESPACES=y in defconfig, and apply this patch. More info in this article: Namespace file descriptors.
- Logging must be enabled. Magisk uses logging to monitor what apps/processes to hide root from. If you've disabled logd, manually or with an app like Kernel Adiutor, MagiskHide won't work. If you don't know if logging is enabled or not, check the Magisk log. If it's empty, you might have logging disabled.
Magisk can hide
- Magisk and most modules (it depends on what the module does).
- MagiskSU.
- Unlocked bootloader.
- Permissive SELinux (most of the time. There have been reports of a permissive SELinux triggers SafetyNet when with MagiskHide enabled).
- Some prop values (see "Sensitive props").
- The Magisk Manager (separate option in the Manager settings).
Magisk can not hide
- Other known root apps (see "Detecting apps requiring root").
- Remnants of previous root method, including any root management apps (a good way to remove most remnants of root is osm0sis unSU script).
- Xposed (deactivate it or uninstall). It doesn't matter if it's systemless, Magisk can't hide it.
- USB/ADB Debugging (disable under Developer options in Android settings).
- Developer options.
- Some Magisk modules - Depending on what the module does, it may not be able to be hidden by MagiskHide.
- Some modifications to /system. Make sure to use Magisk modules...
Make sure that your device conforms to the above requirements before continuing.