- Root your Android device with Magisk systemless interface.
- Use AutoMagisk app to automatically toggle off root (on the fly) when using Android Pay app. It also has option to disable root when the screen is off so you can make payments from Android Pay without turning on phone to disable root.
Google yesterday released Android Pay in the USA and the service will soon expand to other parts of the world as it gains traction, but what must be a burning question for you, us and many other like-minded folks is “Does Android Pay works on a rooted device?”
Well, NO. Right now, Android Pay doesn’t officially work on rooted Android devices. However, it isn’t so rude like Samsung Pay that it won’t ever work on your device if you’ve ever rooted it.
Android Pay can work on Android devices that were previously rooted or have bootloader unlocked, but it won’t officially work on devices with active root access.
Google Wallet had similar restrictions for rooted Android devices, but then Google silently removed the restriction and made Google Wallet work alongside with root access on a device. This may happen to Android Pay as well. At some point in future when Google figures out a way to secure Android Pay from root access, and become really sure about it, it may lift the root restriction for the app.
So Android Pay doesn’t officially supports root access, but that doesn’t mean there’s no workaround. There are a few methods to get Android Pay work with Root.
Method 1: Systemless root workaround for Android Pay
Follow the instructions below to get Android Pay working with Systemless root, thanks to jgummeson for the tip:
- Format/Factory reset your device to stock firmware with no custom modifications.
- Root your device with systemless SuperSU.
- Enable USB debugging on your device:
- Go to Settings » About tablet » and tap Build number 7 times to enable Developer options.
- Go back to Settings » select Developer options » enable USB debugging.
- Setup ADB and Fastboot on your PC.
- Connect your device to PC.
└ If a prompt appears on your device screen asking to allow USB debugging, select “Ok”. - Open a command window on the PC and issue the following command:
adb shell
su
chmod 751 /su/bin - That’s it. Android Pay should now be working with systemless root on your device.
What we did in the systemless root method above is turn off the SafetyNet checks detecting systemless root on the device. Hope it works for you. If not, try the other methods given below as well.
Method 2: Disable Root from SuperSU
As suggested by Turd Fergussen in comments, just disabling root from SuperSU also works:
- Open the SuperSU app on your device.
- Tap the Settings tab.
- Untick the “Enable Superuser” option.
- Open Android Pay and set up your cards.
- Go back to SuperSU app and tick the “Enable Superuser” option.
That’s it. You should be able to make payments now.
Method 3: Use RootCloak Xposed Module
You could use a Xposed module called RootCloak which cloaks your device’ root status, so you can cloak the Google Play Services app (which Android Pay uses) and hide the fact that your device is rooted. Below is a quick guide for the hack:
- Install Xposed Framework on your device.
- Install RootCloak Xposed Module and enable it in the Xposed installer app.
- Open RootCloak app from your launcher.
- Now as a first-time user of the app, open menu (tap 3 dot icon) and select the “Reset to Default Apps” option.
- Now if Google Play Services isn’t already in the list of default apps, add it using the + button.
- Either reboot your device or Force Close the Google Play Services app.
- Open the Android Pay app, it should now work on your rooted device.
Note: If you’re getting force closes while adding your credit or debit cards, you may have to toggle it On/Off repeatedly until you’ve added all of your cards. And finally leaving it On.
Note 2: You may want to use the latest Google Play Services app that released earlier today if things don’t work well.
Alternative Method (untested): Install “No Device Check” Xposed module.
Google introduced a new SafetyNet API recently, which helps app developers check if your device is rooted or modified by returning a “false” status so that their apps can adjust features accordingly.
The “No Device Check” Xposed module changes this behavior and always returns “true” status for your device’ compatibility so that apps think your device isn’t rooted or modified in any way, and thus enable all of its features for you.
[icon name=”download” class=”” unprefixed_class=””] Download “No Device Check” Xposed Module
This may also help us to use Android Pay on a rooted device. Give it a go and let us know if it fares well in the comments section below.
Happy Androiding!
Discussion