How To: Completely Hide Root Using Magisk

Completely Hide Root Using Magisk

Ever since the introduction of Google's SafetyNet feature, it's been an ongoing battle with apps trying to detect root access. For a while, there was a lot of back and forth between Magisk and certain apps. Pokémon GO was a high profile example of an app aggressively checking for anything related to root. Luckily, Magisk has made great strides to keep apps from detecting root for good.

In the case of Pokémon GO, the game's developers would even go as far as silently scanning your internal storage for the Magisk folder or any files related to the platform itself. It was quite a bold move and very intrusive since it was done in the background without user consent. At that time, you had to delete all Magisk files and folders to be able to play while being rooted.

Pretty messy stuff if you ask me, but those days are long gone thanks to the new advancements in Magisk being able to avoid detection altogether. It's almost bulletproof now that the platform has adopted the randomized package name and Magisk Hide features. When you combine these two features, even stubborn games like Pokémon GO and Harry Potter: Wizards Unite are playable while being rooted.

Step 1: Randomize Your Package Name

The first thing you need to do on your quest for a worry-free experience is to randomize the package name of the Magisk Manager app itself. The package name is a unique identifier for each installed app, much like the MAC address or IMEI on your phone right now. By ditching the original package name for something entirely random, the offending apps and games won't know what to look for.

Open the Magisk Manager app, tap the menu icon on the left, then head to "Settings." Locate the "Hide Magisk Manager" option, then tap it once to begin the process of randomizing your package name. It will make the necessary changes in the background real fast, close the app, then reopen it once more with a newly randomized package name. Awesome!

Notice the random numbers and letters after the "com." This means the package name for Magisk has now been completely randomized as intended.

Not only does the package name get changed to something undetectable, but the app name is also altered from "Magisk Manager" to just "Manager." The keyword "Magisk" is taken out to disassociate the app with the name itself, which further enhances the ability to hide your root access. It's essential to make sure you're using this feature all the time going forward, so keep that in mind.

(1) "Magisk Manager" is the default name before randomizing the package. (2) Once the package has been randomized, you'll now see "Manager" as its new name from here on out.

Step 2: Use Magisk Hide

Now that you have the first half of the changes required to make everything work, it's time to use of the Magisk Hide feature to further complement your new randomized package name. This is the other part required when trying to get all apps and games to play nicely with your root access.

Many financial or banking apps like to block root users, so that's another thing to be aware of. To get started, open the newly named "Manager" app to the main screen like before, tap the menu on the left, then head to the "Magisk Hide" entry on the list. Locate the offending app(s) that are detecting your root access and tap the dot on each one to put a checkmark on them. That's it!

Some apps will have just a single entry on the Magisk Hide list while others could have multiple, such as Pokémon GO. Tapping the down arrow icon will expand the rest of the entries for that specific app. It should enable them all by default when you tap the first dot, but it's always good to make sure everything is checked off when going through the list of offending apps anyway.

Step 3: Enjoy Your Apps & Games

From here, you can dive right into the apps and games that you thought you'd never be able to use as a root user. You don't have to worry about doing a reboot when using Magisk Hide, but occasionally you might try that if an app is still not playing nice with root access.

The apps and games listed below are just a few good examples you might find yourself using now that you can completely avoid root detection. There are plenty more examples out there that try to block root users, but with the power of Magisk at your disposal, you should have little to no issues whatsoever. There's always a chance for new root detection methods, but everything is good right now.

Pokémon GO

Harry Potter: Wizards Unite

PS4 Remote Play

Spectrum TV

Credit One Bank

Final Note

Some really cool new development for hiding your root status even further than this is coming with the new test versions of Magisk on Android 10 "Q," so stay tuned for future news on this very topic. I'll be updating the guide when we start seeing some stable public builds for everyone to use as a daily driver.

Cover image and screenshots by Stephen Perkins/Gadget Hacks

Become an Android Expert

New tips & tricks every week.

4 Comments

It still cannot hide xposed. EdXposed module may be a option, but my phone didn't take kindly to those riru modules anyway(riru core module made me do a factory reset). EdXposed mod is a xposed mod to hide xposed, but I don't know how effective it is, as my phone had problems. After all this time magisk has been out, no one has solved this.

Yeah, the original Xposed framework is a very particular case because it's the predecessor to Magisk and is also an entire platform within itself. Since official development will most likely never happen beyond the current Android 8.1 Oreo, that's where EdXposed comes into play. It was made to unofficially bring Xposed support for current versions of Android.

The official Xposed framework doesn't go beyond Android Oreo, which means it'll likely never pass SafetyNet checks on new versions of Android. So I don't think this will ever get solved now that development has ceased altogether on the original framework.

Some Magisk modules are known to not play nice with the EdXposed/Riru modules, which is perhaps why you were having problems initially. What device are you using and do you have a lot of modules on Magisk installed? Since it would be your best bet going forward, you should look into getting EdXposed working for sure. Let me know if you have any questions or need anything.

I have a honor 5x(almost 3yrs) . Running arrows, 8.1

os'. Too many anti rules on newer os's. Edxposed should work , if that riru core module played nice. Maybe I should get in touch with the dev, see what he/she says. In magisk, I have arcore, app systemizer, audio compatibility,and modification modules, hal3 enabler, hidden settings, lkt, magisk hide props, wifi bonding, and of course, the framework. In Xposed, I use Xposed edge(better than what's out there from oems), that's it, can't go without edge.

If anything, go into the Magisk Manager app and to the "Modules" section. If you're on the latest version of the app, you can temporarily disable all modules by unchecking each of them then rebooting your phone. From there you can try again with EdXposed/Riru and see if that makes a difference. This will help rule out any Magisk module compatibility issues on your side of things.

I did some searching and found the thread you were using for the custom ROM. Sounds like at some point you were using the ArrowOS 9.x Pie version over the 8.1 you're using now? What made you go back? You said too many restrictions? Maybe you'd have better luck with the newer 9.0 Pie ROM now since they just released an update on 2019-07-07. Development is still going on with this one.

I see the one you're using, ArrowOS 8.1, hasn't been updated since 2018-12-17. Sounds like development has halted for 8.1 and shifted to the 9.0 Pie version, which is typical in the ROM scene. Maybe also try contacting the ROM developer if nothing else works since custom ROMs can also mess with Riru/EdXposed in some cases.

Hopefully, you can get things worked out eventually. The EdXposed platform appears pretty stable for me so far on 9.0 Pie. Keep us updated!

Share Your Thoughts

  • Hot
  • Latest