How to Trick Apps Into Thinking Your Android Is Not Rooted
Without a doubt, rooting an Android phone helps expand the customization scope. This, however, is only one side of the coin.
In general, rooting has some cons too—the most significant of which is that SafetyNet gets triggered. When this happens, some apps on your phone will detect that your phone is rooted and won’t work.
Fortunately, there are different ways to hide root access from such apps and still use them without any issues. So, how can you hide root access from apps on Android? Let’s take a look.
What Is Magisk?
If you’ve ever heard the term “rooting,” you might have heard about Magisk as well. If not, then before moving to the instructions, you must understand what Magisk actually is and how you can use this tool to achieve wonders.
In the world of Android, Magisk is a suite of open-source tools for customizing Android that support devices running Android 6.0 or higher.
In layman’s terms, it is a powerful tool that provides not only root access but also the ability to modify the Android operating system without actually changing system files, among other things. It also offers Magisk modules for easily tweaking your phone.
How to Hide Root Access From Apps
Thankfully, you can use Magisk to hide root access in your Android phone. In this way, you’ll be able to bypass or block root detection by any app on Android. However, you do need to root your phone using Magisk too—it won’t work if you’ve rooted your phone using another method.
You need to make sure that Magisk is fully installed on your phone and that the most recent stable version is on it before you go any further with this.
Download: Magisk (Free)
While rooting isn’t for everyone, the benefits can be huge if you’re willing to risk it. If something goes wrong, you can use our guide on how to unbrick an Android phone to fix it.
Hide Root Using Magisk’s DenyList Feature
Magisk ships with a DenyList feature that allows you to blacklist apps from detecting root access. For simplicity, we’re going to block root detection for Google Pay (a payment app).
Here’s how you can hide the root using the DenyList option:
- Open the Magisk Manager app and tap on the Settings icon in the top-right corner.
- Now, scroll down and enable the Zygisk and Enforce DenyList options. Make sure to reboot once to execute the changes.
- After rebooting, open the Magisk Manager app again.
- In Settings, tap on the Configure DenyList option.
- Now, select the app for which you want to hide root detection. In our case, we’re hiding it for Google Pay.
- Finally, clear the data of the app that you’ve just selected.
That’s it. Now, next time you open the app—you shouldn’t get any notification like “the device is rooted, you can’t use this app”.
A good thing about using this feature is that you can blacklist any number of apps; you just need to toggle each and every app on the same screen.
Hide Root by Hiding the Magisk App
Normally, the DenyList method should work on almost all Android devices running Android version 6 or higher. But, if you’re still facing any issues, hiding the Magisk app is the last resort for you.
Follow these steps to hide the Magisk app from your smartphone:
- Open the Magisk Manager app and go to its settings.
- Scroll a bit down and select the Hide the Magisk app option.
- Enter a new name for the app (which helps to disguise it), or you can leave it as the default.
- Finally, tap on the OK button.
- After this, the app will automatically restart. Once it restarts, uninstall the app from which you want to bypass root detection. Uninstalling the app is optional, but we highly recommend it.
- Finally, reboot your phone and reinstall the uninstalled app.
Some apps, instead of using advanced versions of checking for root access, just search for the Magisk app on your phone. And, when they find that the Magisk app is installed, they assume that your phone is rooted.
This method simply changes the package name of the Magisk app, so that no app can catch it and hence can’t detect root access easily.
Rooting is, after all, legal, and preventing apps from being used on rooted devices seems to go against the very point of rooting, which is to have more control over your device. There can be security risks with rooting, though, which is why finance apps in particular tend not to allow it.
Get More Control Over Rooting With Magisk
No doubt, Magisk is an excellent tool for a variety of useful tasks. For example, you can hide root access, root your phone, install different Magisk modules, and more. Once you’ve delved into the depths of Magisk’s power, you’ll appreciate the Android environment’s adaptability.
However, because of Android’s major security upgrades, some apps may still detect root. In addition, if you’re running a custom ROM, the chances of such issues go up a lot.
But don’t worry; with new problems come new solutions. We’ll update this guide timely to add new methods and make sure you get your job done without much hassle.
Want to remove a custom ROM and get your Android phone back to its original state? This is the easiest way to get your phone back to stock.
About The Author
(21 Articles Published)
Rishabh is a Tech Writer who strives to make technology easier to understand. He enjoys writing about Android and other technology-related topics. You can usually find him tinkering with his Android device when he isn’t writing XD.
via MUO – Feed https://ift.tt/NVEu6dt
March 4, 2022 at 10:48AM