yashsingh1/xdaforums huggingface dataset:
[X 2014 Q&A, Help & Troubleshooting] KeiranSolaris:
I'm having the same issue with the stock 5.0 rom, with unlocked bootloader, supersu disabled, twrp recovery, and xposed.

I've tried with rootcloak and no device check xposed modules too.

From what I've gathered reading other threads android pay doesnt like custom roms so I'm wondering if it's the changes that xposed makes that's causing issues or if it could be the custom recovery. Many people are having success just unrooting but that didn't work for me so there's more that's being flagged as not compatible in my setup. I've seen people saying they have no issues with unlocked bootloaders as well so really thinking it's recovery or xposed. I just don't use tap and pay enough to try wiping the phone and playing with settings though.
[X 2014 Q&A, Help & Troubleshooting] WOP_Drive:
Same problem here. . . XT1095, stock 5.1, rooted, no XPosed. . . disabled SuperSU, rebooted, re-loaded credit card, same error. I even tried "permanently removing root". Same error.

Too bad. . . I've been geeking out since 2012 paying for items using Google Pay and NFC. . . guess I have to revert to the swipe :(
[X 2014 Q&A, Help & Troubleshooting] 0.0:
Did you reboot your phone after you disabled SuperSU? It worked for me and I had xposed installed
[X 2014 Q&A, Help & Troubleshooting] WOP_Drive:
Yes.... I did reboot after disabling SuperSU.
[X 2014 Q&A, Help & Troubleshooting] Raistlin1:
I tried rebooting after disabling superuser and it still didn't work, I wonder if TWRP is causing the issue.
[X 2014 Q&A, Help & Troubleshooting] mercado79:
Never got it to work by disabling SuperSU. I even restored an old unrooted backup, but still no luck. However, I'm sure it's not TWRP. I loaded up a clean image, still using TWRP, and Android Pay worked. Go figure. Not sure what was wrong with my unrooted backup, but I can confirm Android Pay works when unlocked and on TWRP recovery.
[X 2014 Q&A, Help & Troubleshooting] GatorsUF:
Wonder if it has to do with the settings showing the system is "modified"?

Settings -> About phone -> Status
[X 2014 Q&A, Help & Troubleshooting] KeiranSolaris:
Mine does not show modified, doesn't show that box at all actually.

I'm on 5.0 though, was that added to 5.1?
[X 2014 Q&A, Help & Troubleshooting] GatorsUF:
I am on 5.1, guess it's a new addition.
[X 2014 Q&A, Help & Troubleshooting] WOP_Drive:
Has anyone tried re-locking the bootloader and then try getting Android Pay to work? I haven't yet. Here's an article that walks you through it using a Nexus device (not sure if it'll work on my XT1095).

article/video

I'm running stock 5.1 on a rooted XT1095 (bootloader unlocked) with TWRP. If anyone has step-by-step instructions that'll get Android Pay to work on this configuration, I'm "all ears"! THX!
[X 2014 Q&A, Help & Troubleshooting] AGISCI:
Relocking the bootloader does not affect it.
[X 2014 Q&A, Help & Troubleshooting] mercado79:
I'm on 5.1 on an XT1095. I ended up restoring that stock OTB system image I mentioned over the non-rooted Nandroid backup I had. Works fine now. Still unlocked. Still using TWRP. I don't see that software status message under about phone though. Weird.
[X 2014 Q&A, Help & Troubleshooting] ksd316:
I'm on 5.1 pure edition, mine doesn't have "modified"
[X 2014 Q&A, Help & Troubleshooting] GatorsUF:
Does android pay work on you phone?
[X 2014 Q&A, Help & Troubleshooting] Raistlin1:
Flashed the Uninstaller for xposed, formatted cache/dalvik and then unchecked superuser in the app and I was finally able to add my credit cards. I did this because I want to return to stock to install latest firmware, so two birds with one uninstall.
[X 2014 Q&A, Help & Troubleshooting] revengineer:
I do not have exposed but I had not tried wiping cache and dalvik. So tried unroot and wiping the above, still no joy.
[X 2014 Q&A, Help & Troubleshooting] Vash63:
I'm having the same problem, but I'm 100% stock. I've used adb and fastboot to push apps and stock zips but they've all been signed zips and have been pushed without running OEM unlock. I really wish it told me why my phone is failing its security checks.
[X 2014 Q&A, Help & Troubleshooting] Raistlin1:
Tried to use Android Pay at Panera today and it wouldn't work, tried with root enabled and disabled. It said something about this card isn't able to work with Android Pay but I even called to activate this card with the bank for AP when I first added it.
[X 2014 Q&A, Help & Troubleshooting] Vash63:
I was able to add my card finally after unlocking my phone and pushing Motorola's images. Looks like I was stuck on a Soak test and Google didn't recognize my version. Funny thing is now my phone is unlocked and Android Pay actually works... still stock and unrooted though.
[X 2014 Q&A, Help & Troubleshooting] WOP_Drive:
Okay. . finally figured this out. I couldn't get it to load my credit card because I was using the "Soak-Test" version of Android 5.1 (from March 2015). To remedy, I downloaded/installed the 5.1 factory image from Motorola.

I was able to load the card, but it still won't work in the store. Any help is appreciated!
[X 2014 Q&A, Help & Troubleshooting] WOP_Drive:
Any update? Have you got it to work at a store?
[X 2014 Q&A, Help & Troubleshooting] Raistlin1:
Finally got to try it at the same Panera, this time it worked. So fresh install of the latest official, never rooted it but my Bootloader is unlocked. Able to use Android Pay now.
[X 2014 Q&A, Help & Troubleshooting] WOP_Drive:
Thx! So I disabled SuperSU, then tried using at Whole Foods and it worked.... BUT, I still had to sign....weird... so if I wanna use Android Pay, I can't be rooted?!
[X 2014 Q&A, Help & Troubleshooting] AGISCI:
No, you can't be rooted for android pay.
[X 2014 Q&A, Help & Troubleshooting] dB Zac:
I just disabled root within the app and then rebooted the phone to allow purchases. If you enable root, you will have to disable and reboot to regain purchase ability.
[G4 Themes and Apps] danaff37:
Got it working on my phone, even rooted. Steps:

1. Get Android pay app (http://www.apkmirror.com/apk/google-inc/android-pay/android-pay-1-0-102576552-android-apk-download/)

2. Get up to date play services. For the g4, MAKE SURE IT IS 248! (http://www.apkmirror.com/apk/google...ices-8-1-13-2234497-248-android-apk-download/)

3. If not rooted, enjoy!

If rooted, you don't have to completely unroot.

1. I use juice ssh with "local" connection, but you need a terminal (highly suggest on the phone, if cord disconnects from adb shell you could end up stuck)

2. DO NOT CLOSE OUT/EXIT THE SHELL ON THE TERMINAL UNTIL DONE!

3. Get root access on the shell. Run this command:

mv /system/xbin/su /system/xbin/tempsu

If you get an error that file system is read only, run this command, then the one above:

mount -o rw,remount /system

4. Now go through the process of adding a card in Android pay, WITHOUT EXITING SHELL ON TERMINAL

5. Once running with a card showing on your list, go back to your shell

6. Now this command:

mv /system/xbin/tempsu /system/xbin/su

7. Test a root app before exiting your shell.

You're done! Once it's run once, you can add a card without doing the su business again. All good!
[G4 Themes and Apps] rogconnect:
I just disabled Superuser on Supersu then its verified. Then enabled Superuser again and Android Pay is loaded.

내 LG G Flex 2 H959 사용 tapatalk에서 전송
[G4 Themes and Apps] danaff37:
Ha ha figures I would do it the hard way. I just assumed it was looking for su binary, not supersu app
[G4 Themes and Apps] thekrush:
Q: Aren’t the LG G4 users supposed to be waiting for 240 version (not 248)?

I want to try out but am waiting for Google to release on the Play Store (Google Play Services).
[G4 Themes and Apps] Spudnubs:
I installed the 248 apk and google play services kept crashing even after a factory reset. I had to update from H81210b to H81210f before it finally stopped.
[G4 Themes and Apps] rogconnect:
Using 8.1.13-240 on H815 10e working fine.

내 LG G4 H815 USA사용 tapatalk에서 전송
[G4 Themes and Apps] danaff37:
248 is working fine for me. Didn't see a 240 available when I looked.
[G4 Themes and Apps] phillymade:
248 is working fine on VS986. Android pay is set and ready to go. Thanks OP, was uncertain what version to use.
[G4 Themes and Apps] KingFatty:
Can someone clarify how Android pay interacts with how the charges are made on your linked credit card, for the purposes of the cashback or other incentive programs? I recall in the past how I was not happy with the old google pay, because the charges on the credit card showed up as being made by Google itself, instead of the actual vendor/store in which you were swiping your phone.

This mattered back then because using your phone wouldn't trigger stuff like the credit card's 5% cashback at Home Depot, because the credit card company viewed it as though you were making a charge to google instead of home depot. Does Android pay avoid this issue, where using your phone at Home depot would show up as a charge on the credit card as coming from Home depot instead of google?
[G4 Themes and Apps] mcnick0495:
How did you get the -240 version? Can you upload it to apkmirror.com for us if you do have it?
[G4 Themes and Apps] thekrush:
240 is out now! WOOT! get it here....http://www.apkmirror.com/apk/google...ices-8-1-14-2244331-240-android-apk-download/
[G4 Themes and Apps] rogconnect:
8.1.13 - 248 not working on my gflex2 @ McDonald xdddddd

내 LG G Flex 2 H959 사용 tapatalk에서 전송
[G4 Themes and Apps] chubbrock:
Just tried but didn't work. Tried with both 248 and 240, disabled Supersu and no luck
[G4 Themes and Apps] danaff37:
What doesn't work?
[G4 Themes and Apps] danaff37:
If it's a card supported by Android pay, you should get rewards more. If it's an unsupported grandfathered in card from wallet, it will not.
[G4 Themes and Apps] chubbrock:
I tried setting up pay by turning Supersu off, even tried root cloak and got this message:
[G4 Themes and Apps] danaff37:
That's what I got until I did what mentioned in OP. I never tried simply disabling supersu or using root cloak though.
[G4 Themes and Apps] chubbrock:
Ah ok. Was trying to avoid that but if I really want Android pay I'll have to follow your steps.
[G4 Themes and Apps] danaff37:
No guarantees. Apparently simply disabling supersu worked for many people
[G4 Themes and Apps] Leavard:
Play Services 240 is the universal dpi version. 248 is for the specific dpi if the G4. They will both work.
[G4 Themes and Apps] murphyjasonc:
I got the same thing when I tried. Disabling super su didn't work for me either. I'm not sure if pay is worth the trouble of following the op's steps.
[G4 Themes and Apps] Zelphion:
Whenever I try and add I card, play services crashes. I've tried reverting to an older version by uninstalling updates but the option is greyed out, and I can't install a different version because of an install error. Any ideas on what's going on?

Running 248 on a H815T.
[G4 Themes and Apps] GibMcFragger:
Same issue here.
[G4 Themes and Apps] danaff37:
Play services may not let you downgrade. I was able, though, for instance, to change back and forth from 248 and 240
[G4 Themes and Apps] Swizzle82:
Here's the easiest way.. Download 'Hide my root' from the playstore. Select hide su binary. Open android pay and add card. Then restore su binary.. Done.
[G4 Themes and Apps] mcfhsieh:
Not working for me
[G4 Themes and Apps] timothy96:
Hello, I believe that downgrading is possible by manually deleting the apk of the Google Play Services with a root explorer (don't forget to do a backup!) and then reinstall via the apk of the desired version. On my phone the apk is located in "/data/app/com.google.android.gms-1/" .

Good luck :)

Edit: Latest official version for G4: www,apkmirror.com/apk/google-inc/google-play-services/google-play-services-7-8-99-2134222-440-android-apk-download/
[G4 Themes and Apps] murphyjasonc:
Root cloak and hide my root will work only if you don't have xposed installed. For some reason xposed seems to be breaking android pay. At least that's my experience. Can anyone confirm this?
[G4 Themes and Apps] mcfhsieh:
Has anybody been able to add a card with Xposed installed?

---------- Post added at 12:27 PM ---------- Previous post was at 11:56 AM ----------

When I follow the OP's instructions I get a message that the file system is read-only when I run the commands on terminal emulator
[G4 Themes and Apps] Swizzle82:
I have xposed installed. Just try my steps..
[G4 Themes and Apps] mcfhsieh:
This is what I get with Hidemyroot
[G4 Themes and Apps] tonix435:
I get the same error with root cloak, hide my root, if I disable root through SU as well...
[G4 Themes and Apps] Swizzle82:
Maybe try both. Use root cloak cydia.. Add android pay to the cloak list. Then go to hide my root and hide su binary, then try to set up card again. Don't know why it worked so easily for me and not you guys.
[G4 Themes and Apps] danaff37:
I have xposed, and did when I followed my steps above. For the read only file system, run this command first:

mount -o rw,remount /system
[G4 Themes and Apps] mcfhsieh:
Still did not work. Anybody on verizon get it to work?

---------- Post added at 05:37 PM ---------- Previous post was at 05:33 PM ----------

Hey chubbrock did you ever get it to work?
[G4 Themes and Apps] danaff37:
I'm on Verizon, vs986.
[G4 Themes and Apps] mcfhsieh:
I don't get it. Followed your steps still could not get it working. Any other suggestions?
[G4 Themes and Apps] chubbrock:
Did not get it to work. I tried disabling Supersu, using root cloak and hide my root, even uninstalled xposed and did the same with no luck
[G4 Themes and Apps] billybong10:
I've tried all of these and can't add a card. Not sure why.
[G4 Themes and Apps] ninjazx:
I can confirm that an American Express card and another grandfathered unsupported Mastercard can be added to Android Pay using these steps.:

Uncheck (disable) Enable Superuser in SuperSU

Boot into recovery and flash xposed-uninstaller-20150831-arm.zip (http://xdaforums.com/showthread.php?t=3034811)

Add card in Android Pay app

Check (enable) Enable Superuser in SuperSU

Boot into recovery and flash xposed-v74-sdk21-arm.zip (http://xdaforums.com/showthread.php?t=3034811)

However, I have not been successful in actually using Android Pay to make a purchase. I get error message to the effect "Can't use card xxxx at this time. Choose another card".

Has anyone been able to successfully make an actual purchase with Android Pay on rooted, xposed, custom rom, verizon variant?

LG G3 VS985 SkyDragon 5.0 / 4.2 Kernel, Xposed framework 72, G3 Tweaksbox 1.4.1 RC
[G4 Themes and Apps] spidey44:
I tried every listed here and kept having the issue. What solved it for me was changing back to 640dpi and disabling root. Hope that helps someone else.
[G4 Themes and Apps] mcfhsieh:
Changed my dpi to 640 then used hide my root and viola! Added a card successfully.
[G4 Themes and Apps] DrPopper:
I am on verizon, with xsposed, and it worked for me just by disabling su. Adding the card and then re-enabling su. I am on stock dpi at the moment as well.
[G4 Themes and Apps] Bramton1:
Not on the G4 (G3 for me), but having the same problems as others. Have tried with Root Cloak and No Device Check on Xposed. Fail. Tried disabling for with Super Su. Tried reverting to Stock Dpi and disabling root. Fail.
[G4 Themes and Apps] blackfire2802:
Hello, I have an brand new Note 5, stock everything. Not rooted... And I keep getting Google play services stopped error.... Any way of making it work
[G4 Themes and Apps] Almighty1:
All you need to do to uninstall updates for Google Play Services is to disable Android Device Manager under Security -> Phone Administrator in Settings. Make sure it is disabled as it can take several tries.

---------- Post added at 12:25 AM ---------- Previous post was at 12:23 AM ----------

Root Cloak is a module for xposed and can be used only with Xposed installed. What version of Root Cloak are you using and what version of Xposed? Root Cloak v1.51 known as RootCloak2 is the current one as v1.4x is no longer used.

On a stock rooted VS986 Verizon Wireless running 10b with Xposed v74, Root Cloak 1.51, Google Play Services 8.1.15-240, SuperSU v2.46, all I had to do was disable SuperUser in SuperSU to add a card as that screen will pop up whether it's the first card or not as it will have the problem when adding a card.
[G4 Themes and Apps] Katmeat:
:good:

With Xposed v74, Root Cloak 1.51, Google Play Services 8.1.15-240, SuperSU v2.46, all I had to do was disable SuperUser in SuperSU to add a card as that screen will pop up whether it's the first card or not as it will have the problem when adding a card.[/QUOTE]

I can confirm that the above process works on a rooted VS986 running Xposed v74. I successfully added my USBank card after installing Root Cloak 1.51, and after going into the settings of SuperSU and deselecting "Enable Superuser". All is good now, so thank you very much for providing the instructions and saving me from removing root!
[G4 Themes and Apps] ExTREmE99:
this is concerning. i'll have to try it later today. i just installed pay, and used wallet successfully yesterday. if pay really does not work with root enabled, then i'm going to have to downgrade back to wallet. **** that
[G4 Themes and Apps] tabp0le:
I had Android Pay working, until an update to it yesterday or the day before. Then I started getting the same message as you.
[G4 Themes and Apps] AhsanU:
I haven't been able to get it to work either. Google better fix it soon, otherwise us Android guys aren't gonna hear the end of it from apple fanbois
[G4 Themes and Apps] chubbrock:
For everyone having issues, I finally got it to work. I uninstalled any version of pay i had previously downloaded, changed the dpi back to stock (640), rebooted phone, disabled Supersu, downloaded official pay from play store, and it let me add a card! I did this all with xposed installed.

---------- Post added at 09:16 PM ---------- Previous post was at 09:15 PM ----------

And just enable Supersu after you add a card.
[G4 Themes and Apps] murphyjasonc:
I have the same versions installed as you but I still can't get it to work. I haven't tried setting my dpi back to 640 yet. I also have SE Linux set to permissive. I'm not sure if that has anything to do with it or not.
[G4 Themes and Apps] Almighty1:
I didn't do anything with the dpi and didn't do anything with SE Linux either.

A question on Android Pay, I know one can select a default card if there are multiple cards but how does one pick which card to pay with or does one pick by setting whatever card one wants to use as the default?
[G4 Themes and Apps] ninjazx:
I was finally able to get Android Pay to work.

Here is the sequence of steps that worked for me:

Google Play Service 8.1.15 (2250156-230) Manage space --> Clear All Data

Uncheck (disable) Enable Superuser in SuperSU

Boot into recovery and flash xposed-uninstaller-20150831-arm.zip (http://xdaforums.com/showthread.php?t=3034811)

Reboot

Add card in Android Pay app

Check (enable) Enable Superuser in SuperSU

I DID NOT reflash Xposed after adding the AE ccard and I was successful in making a purchase at Walgreens. Next I am going to reflash Xposed and see if I can make a purchase at the same place or if I will get the error message again.

LG G3 VS985 SkyDragon 5.0 / 4.2 Kernel, Xposed framework 72, G3 Tweaksbox 5.0 BETA1
[G4 Themes and Apps] AhsanU:
Let us know if you're able to make a purchase with Xposed. If I have to choose between Xposed and Android pay, then it's not much of a choice. Xposed benefits > Android pay.
[G4 Themes and Apps] ninjazx:
Reinstalled Xposed, went back to same store and used the same card in Android Pay to make a purchase. confirmed - FAILED.

LG G3 VS985 SkyDragon 5.0 / 4.2 Kernel, Xposed framework 72, G3 Tweaksbox 5.0 BETA1
[G4 Themes and Apps] Almighty1:
Just a thought as I was trying to uninstall updates for Google Play Services earlier today, it appears that one has to disable Android Device Manager and Android Pay as Device Administrators under Security Settings before the uninstall updates for Google Play Services is available so perhaps for rooted devices, Google Play Services needs to be added to the list for root hiding apps like root cloak.

Also, saw this:

http://android.wonderhowto.com/how-to/get-android-pay-working-rooted-device-0164604/
[G4 Themes and Apps] mcfhsieh:
I was able to add cards to Android pay by using hide my root but when I try to tap and pay my Amex card I added does work. Anybody experience this?
[G4 Themes and Apps] blackfire2802:
Is there any way of using AndroidPay outside USA?
[G4 Themes and Apps] phillymade:
I have androidpay installed and working. But I can't stand having to put in a pass code to unlock my device, so I want to remove and go back to swipe to unlock, no security. So I uninstalled the app, unchecked device administrator prior to this but it does not go away! The apk is uninstalled but it keeps telling me to set as admin. When I go to lock screen settings, I do not have the option to set as swipe to unlock.

What else could I do short of a reset? Anyone have this issue?
[G4 Themes and Apps] Swizzle82:
If you have xposed installed just use lockscreen disabler.. Then you can use Andy pay without having to put in a pin/pswrd.
[G4 Themes and Apps] pcrhckyman:
Working here on LS991 with root, Xposed, SELinux set to permissive, 540 dpi. Simply disabled su, set SELinux to enforcing, and set DPI back to 640. Once the card was added, re-enabled everything and reverted dpi.

Completely ridiculous this even needs to be done... if I was worried about the security implications I would have never rooted.
[G4 Themes and Apps] :
Clearing your credentials/certificates in security settings should fix that
[G4 Themes and Apps] phillymade:
Thanks for that, problem solved!
[G4 Themes and Apps] lennie paz:
I was able to add a card on my rooted VZW LG G4 by temporarily disabling root through SuperSU. I tried paying at CVS, but got the card cannot be used at this time, please try another card message. Is there a clear cut answer as to why we get that message? Does it mean my bank doesn't support AP yet, or is it because I'm rooted?
[G4 Themes and Apps] Swizzle82:
Root. Try this next time you go to pay, use hide my root before making a purchase and see if works. I used to have soft card that is basically the same thing as AP and I had to hide the su binary before using the service..
[G4 Themes and Apps] lennie paz:
I tried Hide My Root, but when I click on hide SU binary, it won't let me click on "Grant" when SuperSU asks for permission.
[G4 Themes and Apps] Swizzle82:
I have supersu set to automatically allow so it doesn't ask..
[G4 Themes and Apps] lennie paz:
I got Hide My Root to work, so I was in CVS today, and gave Android Pay a shot. It definitely worked, but I got a message on the terminal saying electronic payments weren't accepted at this time. The guy at the register said I was the first person he ever saw try it, and he was pretty sure they weren't set up yet to accept Android Pay.
[G4 Themes and Apps] Almighty1:
CVS/RiteAid stopped taking ApplePay/SoftCard(Isis) NFC payments about a year ago as I used SoftPay before there.

http://www.businessinsider.com/why-rite-aid-and-cvs-blocked-apple-pay-2014-10
[G4 Themes and Apps] Almighty1:
Saw a solution elsewhere and tested it, it works! Basically, block Google Play Services with Rootcloak, was able to add card to Android Pay, haven't tested making payment yet.
[G4 Themes and Apps] neotoky:
Have you tested making a payment yet?
[G4 Themes and Apps] Almighty1:
No because none of my high reward cards is on Android Pay yet but if it blocks one way, it should block for all ways.
[G4 Themes and Apps] Katmeat:
I was successful this morning in using Android Pay at a local Panera with my rooted VS986 running Xposed after installing the RootCloak module and then adding both the Android Pay app (com.google.android.apps.walletnfcrel) and Android Play Services (com.google.android.gms) to the cloaked apps list. I am actually using a recent warranty replacement phone, and before rooting I added my bank card to Android Pay and used it successfully. Then I was able to root and add xposed with RootCloak, and Android Pay continues to work properly without any other steps.