In this guide, we will show you the steps to hide root from apps and games using Magisk DenyList. The benefits of getting administrative privileges over an open-source OS like Android stand aplenty. Among them, it’s the ability to flash modules and tweaks that are at the top of the priority queue, However, this is just one side of the coin. Rooting has its own downsides as well, the primary among them is the fact that SafetyNet getting triggered.
When that happens, some of the apps installed on your device will detect that the device is now rooted and hence will refuse to function. The majority of these apps belong to the payment and banking domain. Along the same lines, games like Pokemon Go wouldn’t function either (because you will then be easily able to spoof the location). To counter this, Magisk came with a MagiskHide that allowed you to hide root from all these apps.
But now, the developer of Magisk has joined the Android Security Team, and this feature (along with a few others) has been removed from the app, and that is completely understandable. However, this is where open source comes in handy. Various developers picked up that task and with the introduction of Zygis in Magisk, you once again have the option to hide root from apps and games using its DenyList feature. And in this guide, we will show you how to do just that. So without any further ado, let’s get started.
Table of Contents
How to Hide Root from Apps via Magisk DenyList
Before we start off with the instructions, make sure your device checkmarks all the prerequisites that we have listed below. If it doesn’t qualify one [or all] of the requirements, then refer to the attached reference guide next to it and get that work done first [compulsory]. After that, you may come back to this guide to hide the root from your device.
Moreover, the below process will not wipe the data, but it is still recommended to be on the safer side and take a complete device backup beforehand. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.
STEP 1: Hide Magisk App
- Launch Magisk, go to its settings menu, and tap on Hide the Magisk App.
- Then give it the desired name of your choice and tap OK.
- The hiding process will now begin. Once done, it will ask whether you wish to have the app shortcut on the home screen.
- For ease of convenience, you may select Yes and then tap on the Add to Home Screen button.
STEP 2: Enable Zygisk and Enforce DenyList
- Launch the Magisk App on your device and tap on the Settings icon situated at the top right.
- After that, scroll to the Magisk section and enable the toggle next to Zygisk and Enforce Deny List.
- Now restart the device for the changes to take place. Also, verify that Zygisk’s status is YES under Magisk.
STEP 3: Configure DenyList
- Under the Magisk Settings menu, tap on Configure DenyList.
- Now checkmark the apps from which you need to hide the root.
- After that, tap on the overflow icon situated at the top right and select Show System App.
- Now checkmark Google Play Protect Services, Google Play Services, Google Play Store, and Google Service Framework.
- Make sure to expand each of these apps and checkmark all their associated services.
STEP 4: Delete Play Service and Play Store Data
- Head over to Settings > Apps > See All Apps.
- Then select Google Play Service and go to its Storage and Cache section.
- After that, tap on Manage Space > Clear All Data.
- Once that is done, go back and select Google Play Store.
- Then go to the Storage and Cache section and tap on Clear Storage > OK.
- Finally, restart your device for the changes to take place.
That’s it. The root is now hidden from your chosen apps and games via Magisk DenyList. You may now launch the desired app and start using it normally. it wouldn’t have even an iota of a hint that your device is rooted! If at any point in time, you wish to add any third-party or system app, then just head over to Magisk’s DenyList section and checkmark the desired app. With that said, if you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.
UPDATE: Pass Play Integrity Test
Apart from hiding root via Magisk DenyList, it is also recommended that you pass the Play Integrity Test. This is because simply hiding the root/passing SafetyNet might not get the job done. Moreover, many banking/payment apps have already moved over to the Play Integrity API from the current SafetyNet. So do carry out the steps listed in our guide on How to pass ‘Meets Device and Basic Integrity’ via Play Integrity Fix.
How to Hide Root via Zygisk Assistant (FOSS Root Hider)
You can now hide the root from numerous apps on your Android device via the Zygisk Assistant (FOSS Root Hider) as well. It’s compatible with all the popular rooting methods, including Magisk, KernelSU, and APatch. While its root hiding mechanism works similarly to Shamiko, however, it has two major advantages over the latter.
First off, as opposed to Shamiko, Zygisk Assistant is open source. Moreover, Shamiko doesn’t seem to be maintained, whereas Zygisk Assistant is actively maintained, so you might expect much quicker updates and bug fixes. With that said, let’s now make you aware of the steps to out this new module to the test right away.
- Launch Magisk, go to Settings, and Hide the Magisk App.
- Give it any name of your choice and tap on Okay.
- Again go to Magisk settings, enable Zygisk, and turn off Enforce Denylist.
- We have turned off Magisk’s Denylist feature because we will be using the one from Zygisk Assistant.
- Now go to Configure Denylist and add the following apps to that list.
Google Play Store Google Play Service Google Service Framework Google Play Protect Service [If Present] Desired Banking and Payment Apps
- Once done, download Zygisk Assistant (FOSS Root Hider).
- Now go to Modules, tap on Install from Storage, select the ZygiskAssistant module, and flash it.
- Once done, delete the data from all the aforementioned apps.
- Finally, restart the device and check out the results.
- Magisk root is now hidden and you’ll be able to use the apps without any issues,