Revision history for MagiskHideIssues
Additions:
If you have MagiskHide enabled it should start automatically on boot. If it isn’t working, try toggling MagiskHide off and on in the app settings. If MagiskHide just won't start when toggling it in the Magisk app (check the Magisk log, it might have started but the app doesn't reflect it), try starting it manually. This can be done in a terminal emulator (as su) by executing the following commands:
Deletions:
Additions:
First thing to do is to toggle MagiskHide off and on again (a reboot might also be necessary). Sometimes MagiskHide stops working temporarily after an update of Magisk or the Magisk app. If it still doesn't work, make sure MagiskHide is actually working by using a root checker or a root app. Start by making sure the app can detect that your device is rooted. After that, add the app to the Hide list and see if it no longer can detect root. If that is the case, MagiskHide is working on your device. If you still can't get it to work, see [[MagiskHideHelp | "Asking for help/reporting bugs"]].
If MagiskHide starts failing after an update to either Magisk, the app or both it's usually fixed by toggling MagiskHide off and on //(see ”Test ""MagiskHide"" above”)//.
===**""MagiskHide"" doesnt show in the Magisk app**===
MagiskHide is enabled by default and should start automatically on boot. If it isn’t working, try toggling MagiskHide off and on in the app settings. If MagiskHide just won't start when toggling it in the Magisk app (check the Magisk log, it might have started but the app doesn't reflect it), try starting it manually. This can be done in a terminal emulator (as su) by executing the following commands:
If MagiskHide starts failing after an update to either Magisk, the app or both it's usually fixed by toggling MagiskHide off and on //(see ”Test ""MagiskHide"" above”)//.
===**""MagiskHide"" doesnt show in the Magisk app**===
MagiskHide is enabled by default and should start automatically on boot. If it isn’t working, try toggling MagiskHide off and on in the app settings. If MagiskHide just won't start when toggling it in the Magisk app (check the Magisk log, it might have started but the app doesn't reflect it), try starting it manually. This can be done in a terminal emulator (as su) by executing the following commands:
Deletions:
If MagiskHide starts failing after an update to either Magisk, the Manager or both it's usually fixed by toggling MagiskHide off and on //(see ”Test ""MagiskHide"" above”)//.
===**""MagiskHide"" doesnt show in the Manager**===
MagiskHide is enabled by default and should start automatically on boot. If it isn’t working, try toggling MagiskHide off and on in the Manager settings. If MagiskHide just won't start when toggling it in the Magisk Manager (check the Magisk log, it might have started but the Manager doesn't reflect it), try starting it manually. This can be done in a terminal emulator (as su) by executing the following commands:
Additions:
===**""MagiskHide"" fails after rebooting**===
On some devices MagiskHide can't seem to stay enabled across a reboot. It will look like it is enabled, but the service isn't actually running. The solution is to toggle MagiskHide off and on again after rebooting. This can become tedious, so it's better to create a [[https://topjohnwu.github.io/Magisk/guides.html#boot-scripts | late_start service boot script]] (service.d) that can do it for you. Something like this:
%%#!/system/bin/sh
while [ "$(getprop sys.boot_completed)" == 0 ]
do
sleep 1
done
magiskhide disable
magiskhide enable%%
magiskhide disable
magiskhide enable%%
On some devices MagiskHide can't seem to stay enabled across a reboot. It will look like it is enabled, but the service isn't actually running. The solution is to toggle MagiskHide off and on again after rebooting. This can become tedious, so it's better to create a [[https://topjohnwu.github.io/Magisk/guides.html#boot-scripts | late_start service boot script]] (service.d) that can do it for you. Something like this:
%%#!/system/bin/sh
while [ "$(getprop sys.boot_completed)" == 0 ]
do
sleep 1
done
magiskhide disable
magiskhide enable%%
magiskhide disable
magiskhide enable%%
Deletions:
magiskhide --enable%%
Deletions:
Please don't hesitate to [[https://www.paypal.me/didgeridoohan | support the work involved]] in keeping this guide alive.@@
----
Additions:
If you see this line in the Magisk log //(see [[MagiskHideHelp | "Asking for help/reporting bugs"]])//: "proc_monitor: Your kernel doesn't support mount namespace", your device has a Linux kernel that is to old. The Linux kernel version has to be at least 3.8 (thank you [[https://forum.xda-developers.com/member.php?u=8271536 | TheCech12]]), or otherwise have the necessary features backported. It is possible to patch the kernel //(see [[MagiskHideBasics | "MagiskHide Requirements"]])//. Also, it might be a good idea to ask in your ROM/kernel thread or try a different ROM and/or kernel.
Deletions:
Additions:
If you see this line in the Magisk log //(see [[MagiskHideHelp | "Asking for help/reporting bugs"]])//: "proc_monitor: Your kernel doesn't support mount namespace", your device has a Linux kernel that is to old. The Linux kernel version have to be at least 3.8 (thank you [[https://forum.xda-developers.com/member.php?u=8271536 | TheCech12]]), or otherwise have the necessary features backported. It is possible to patch the kernel //(see [[MagiskHideBasics | "MagiskHide Requirements"]])//. Also, it might be a good idea to ask in your ROM/kernel thread or try a different ROM and/or kernel.
Deletions:
Additions:
@@{{image url="https://img.shields.io/badge/-PayPal-blue.svg" title="" alt="PayPal"}}
Please don't hesitate to [[https://www.paypal.me/didgeridoohan | support the work involved]] in keeping this guide alive.@@
----
Please don't hesitate to [[https://www.paypal.me/didgeridoohan | support the work involved]] in keeping this guide alive.@@
----
Additions:
First thing to do is to toggle MagiskHide off and on again (a reboot might also be necessary). Sometimes MagiskHide stops working temporarily after an update of Magisk or the Manager. If it still doesn't work, make sure MagiskHide is actually working by using a root checker or a root app. Start by making sure the app can detect that your device is rooted. After that, add the app to the Hide list and see if it no longer can detect root. If that is the case, MagiskHide is working on your device. If you still can't get it to work, see [[MagiskHideHelp | "Asking for help/reporting bugs"]].
Deletions:
Additions:
MagiskHide is enabled by default and should start automatically on boot. If it isn’t working, try toggling MagiskHide off and on in the Manager settings. If MagiskHide just won't start when toggling it in the Magisk Manager (check the Magisk log, it might have started but the Manager doesn't reflect it), try starting it manually. This can be done in a terminal emulator (as su) by executing the following commands:
Deletions:
Deletions:
If MagiskHide is failing to hide root from apps or ""SafetyNet"", make sure you haven't added Google Chrome to the list. Since Magisk v17.0, MagiskHide is much more aggressive in killing off background processes associated with the same UID as the app/process on the Hide list. Chrome is used as the WebView provider and this may cause a whole bunch of issues, including that MagiskHide doesn't work.
Generally you should only add the apps and processes that actually detect root to the MagiskHide list. Anything else may cause problems and [[https://www.didgeridoohan.com/magisk/MagiskIssues#hn_System_instabilities | System instabilities]].
===**Android logging**===
Android logging has to be enabled for MagiskHide to work //(see [[MagiskHideBasics | ”MagiskHide requirements”]])//.
===**Kernel logcat support**===
If your device's kernel doesn't have logcat support the MagiskHide process monitor won't be able to see when a process/package is started and therefore won't unmount the necessary folders to hide Magisk and it's core features.
You can test for this by running the following command in a terminal app:
%%logcat -b events -v raw -t 10%%
If you get an error you might have a logcat issue. Ask in your kernel/ROM thread for advice or try a different kernel.
There's also a possibility that your issue can be fixed by using a kernel managing app like [[https://forum.xda-developers.com/android/apps-games/app-kernel-adiutor-t2986129 | Kernel Adiutor]]. It might be enough just to install it to enable logcat support. This is untested (by me at least) and just speculation on my part from what I've seen around the forums (please confirm if you have information about this or tested it).
A huge thank you to [[https://forum.xda-developers.com/member.php?u=5946138 | tamer7]] for teaching me about this.
Huawei devices often have logcat disabled. See [[https://www.xda-developers.com/huawei-phones-disable-logcat-heres-how-to-restore-access/ | here]] for more details.
===**Logger buffer size**===
If you have turned off Logger buffer size under Android settings - Developer Options, MagiskHide won't be able to monitor when a process/package is started and won't unmount the necessary folders to hide Magisk and it's core features.
Thank you to [[https://forum.xda-developers.com/member.php?u=774530 | Chaplan]] for the tip.
===**Apps added to the ""MagiskHide"" list disappears**===
If your device can't properly mount the Magisk image, you might still be able to use MagiskHide. There won't be any way for Magisk to permanently store the information about what apps you want to hide root from (apart from ""SafetyNet"") and you will have to add them back to the list after each reboot.
The above might be because of a faulty f2fs implementation //(see [[MagiskIssues | “Issues with f2fs”]])//, that the Magisk image is mounted read-only (run the command “mount | grep "/sbin/.magisk/img” in terminal to see if it’s rw or ro. A different kernel might fix this) or that the Magisk image is corrupt (easiest way to fix this is to run the Magisk uninstaller and start from the beginning or use fsck. Google it…).
Deletions:
Some users have reported issues with MagiskHide if systemless hosts is enabled in Magisk Manager settings. Try disabling it and rebooting to see if it fixes your issue. If this works, please help finding out more by providing logs and details in the support thread //(also see [[MagiskHideHelp | "Asking for help/reporting bugs"]])//.
Additions:
The above might be because of a faulty f2fs implementation //(see [[MagiskIssues | “Issues with f2fs”]])//, that the Magisk image is mounted read-only (run the command “mount | grep "/sbin/.magisk/img” in terminal to see if it’s rw or ro. A different kernel might fix this) or that the Magisk image is corrupt (easiest way to fix this is to run the Magisk uninstaller and start from the beginning or use fsck. Google it…).
Deletions:
Additions:
===**I still can't get ""MagiskHide"" to work**===
Take a look at the rest of the guide, there are more things to try in different sections. For example [[MagiskHideMore | More hiding tips]], [[MagiskOther | Other things to try]], [[MagiskHelp | Asking for help/reporting bugs]] and other parts.
Take a look at the rest of the guide, there are more things to try in different sections. For example [[MagiskHideMore | More hiding tips]], [[MagiskOther | Other things to try]], [[MagiskHelp | Asking for help/reporting bugs]] and other parts.
Additions:
If MagiskHide is failing to hide root from apps or ""SafetyNet"", make sure you haven't added Google Chrome to the list. Since Magisk v17.0, MagiskHide is much more aggressive in killing off background processes associated with the same UID as the app/process on the Hide list. Chrome is used as the WebView provider and this may cause a whole bunch of issues, including that MagiskHide doesn't work.
Deletions:
Additions:
===**Chrome on the Hide list**===
If MagiskHide is failing to hide root from apps or SafetyNet, make sure you haven't added Google Chrome to the list. Since Magisk v17.0, MagiskHide is much more aggressive in killing off background processes associated with the same UID as the app/process on the Hide list. Chrome is used as the WebView provider and this may cause a whole bunch of issues, including that MagiskHide doesn't work.
Generally you should only add the apps and processes that actually detect root to the MagiskHide list. Anything else may cause problems and [[https://www.didgeridoohan.com/magisk/MagiskIssues#hn_System_instabilities | System instabilities]].
If MagiskHide is failing to hide root from apps or SafetyNet, make sure you haven't added Google Chrome to the list. Since Magisk v17.0, MagiskHide is much more aggressive in killing off background processes associated with the same UID as the app/process on the Hide list. Chrome is used as the WebView provider and this may cause a whole bunch of issues, including that MagiskHide doesn't work.
Generally you should only add the apps and processes that actually detect root to the MagiskHide list. Anything else may cause problems and [[https://www.didgeridoohan.com/magisk/MagiskIssues#hn_System_instabilities | System instabilities]].
Additions:
If your device can't properly mount the Magisk image, you might still be able to use MagiskHide. There won't be any way for Magisk to permanently store the information about what apps you want to hide root from (apart from ""SafetyNet"") and you will have to add them back to the list after each reboot.
Deletions:
Deletions:
Additions:
If you can’t get MagiskHide to work, either for ""SafetyNet"" or any other app detecting root, there are a few things you can try. Start by testing if MagiskHide actually works //(see "Test ""MagiskHide""" above)//.
Deletions:
Additions:
If you see this line in the Magisk log/magisk_debug.log //(see [[MagiskHideHelp | "Asking for help/reporting bugs"]])//: "proc_monitor: Your kernel doesn't support mount namespace", your device has a Linux kernel that is to old. The Linux kernel version have to be at least 3.8 (thank you [[https://forum.xda-developers.com/member.php?u=8271536 | TheCech12]]), or otherwise have the necessary features backported. It is possible to patch the kernel //(see [[MagiskHideBasics | "MagiskHide Requirements"]])//. Also, it might be a good idea to ask in your ROM/kernel thread or try a different ROM and/or kernel.
Deletions:
Additions:
If you can’t get MagiskHide to work, either for SafetyNet or any other app detecting root, there are a few things you can try. Start by testing if MagiskHide actually works //(see "Test ""MagiskHide""" above)//.
Deletions:
Start by testing if MagiskHide actually works //(see "Test ""MagiskHide""" above)//.
Additions:
If MagiskHide starts failing after an update to either Magisk, the Manager or both it's usually fixed by toggling MagiskHide off and on //(see ”Test ""MagiskHide"" above”)//.
Deletions:
Additions:
First thing to do is to toggle MagiskHide off and on again. Sometimes MagiskHide stops working temporarily after an update of Magisk or the Manager. If it still doesn't work, make sure MagiskHide is actually working by using a root checker or a root app. Start by making sure the app can detect that your device is rooted. After that, add the app to the Hide list and see if it no longer can detect root. If that is the case, MagiskHide is working on your device. If you still can't get it to work, see [[MagiskHideHelp | "Asking for help/reporting bugs"]].
===**""MagiskHide"" fails after an update**===
If MagiskHidestarts failing after an update to either Magisk, the Manager or both it's usually fixed by toggling MagiskHide off and on //(see ”Test ""MagiskHide"" above”)//.
===**""MagiskHide"" fails after an update**===
If MagiskHidestarts failing after an update to either Magisk, the Manager or both it's usually fixed by toggling MagiskHide off and on //(see ”Test ""MagiskHide"" above”)//.
Deletions:
Additions:
===**Android logging**===
Android logging has to be enabled for MagiskHide to work //(see [[MagiskHideBasics | ”MagiskHide requirements”]])//.
Android logging has to be enabled for MagiskHide to work //(see [[MagiskHideBasics | ”MagiskHide requirements”]])//.