Revision [611]

This is an old revision of MagiskHideHidingRoot made by didgeridoohan on 2019-05-02 03:39:17.


Hiding root from apps

There's a corresponding section about hiding root from apps and SafetyNet in the official Magisk documentation. That is also very well worth a look.

If you have apps that you need to hide root from, that detect that your device is rooted even if you can pass SafetyNet, here are a few tips (if you can't pass SafetyNet, see the section about SafetyNet). A good aproach would be to try one thing at a time and see if the app in question stops detecting root, don't try all tips at once...

Unfortunately, there are apps out there with their own ways of detecting root that may circumvent MagiskHide (also see “More hiding tips”). Magisk is constantly being updated and improved upon though, so it can pay to try again with a new Magisk update.

If you can't get it working, grabbing a logcat when the app detects root might show something (see "Asking for help/reporting bugs"). Save the log and post it in the General support thread, with plenty of details about the issue.

Hiding the Magisk Manager

This is done by going to the Manager settings and choosing “Hide Magisk Manager”. When this is done, the Manager is repackaged with a random package name and can therefore not be detected by any apps or services looking for com.topjohnwu.magisk. Since v6.1.0 of the Manager, the app name is also changed to simply "Manager" to circumvent apps and services detecting "Magisk" in the app name. If you have the app hidden, but it is still called "Magisk Manager", even though you are on app version v6.1.0+, try unhiding it and hiding it again. The name can't be changed when updating from an earlier version of the Manager if it is already hidden.

You can see if your Manager is hidden by going to “About” in the Manager and next to the version code there’ll be a random package name rather than com.topjohnwu.magisk. The “Hide Magisk Manager” option will also be changed to "Restore Magisk Manager" in the settings on a hidden Manager.

Unhiding the Magisk Manager

Go to the Manager settings and choose "Restore Magisk Manager".

You can also unhide the Manager by uninstalling the repackaged Manager and manually install the apk. Get it from the (release thread or GitHub)

Can't hide the Magisk Manager

If you're having issues trying to hide (repackage) the Magisk Manager, this is often caused by having the Manager installed as a system app, either by you or the ROM creator. This is a bad idea... See "Can't hide the Magisk Manager" for more info.

USB/ADB debugging

If you haven’t yet, try disabling USB/ADB debugging to see if this helps you use your root detecting app.

Developer options

If you haven’t yet, try disabling Developer options to see if this helps you use your root detecting app.

Samsung Knox

If you have a Samsung device you have likely triggered Knox when rooting your device. This cannot be undone and it cannot be hidden, so if an app is using the Knox fuse to determine if you have been modding your device there is nothing that can be done.

I don't do Samsung, so I do not know how to determine if an app detects Knox or not, except that it might show up in a logcat. If the app works perfectly with Magisk and MAgiskHide on a non-Samsung device, but doesn't on a Samsung it's very probable that it's Knox that is causing issues.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki