yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] allen099:
100%. I just reinstalled 2.67 via TWRP. I've got it back now. What would you recommend I do? chmod 751 /su/bin/ and remove the xbin_bind folder again? I'm reading on reddit about moving it and symlinking. How were you able to successfully do it? Thanks again!

The contents of xbin_bind are: dexdump, su, wlutil

If deleting that folder also deletes su, then it makes sense as to why root is gone.
[Nexus 6P General] synnyster:
I'm systemless root with SuperSU 2.66. I deleted xbin_binds after I was rooted. All I did was chmod 751 (I did the same thing via ES File Explorer) and AP works for me.
[Nexus 6P General] allen099:
I'll try again now. Using root explorer. Did you set all files inside of /su/bin to 751? Or just the folder itself.

EDIT: It worked this time! Thanks very much!!
[Nexus 6P General] synnyster:
Woohoo!
[Nexus 6P General] NordomTT:
Wow this is amazing. I just made my first android pay purchase on a vending machine. Thanks for finding this method!

Just wish google won't take it from us again though.
[Nexus 6P General] celsian:
For those who are confused, here are my steps for using Android Pay while rooted.

1. I reset my phone to factory defaults by installing all original software.

2. Unlocked the boot loader.

3. Installed TWRP, but kept it read only.

4. Installed Beta Super User 2.67

5. Through Android terminal after entering su and allowing terminal emulator root access:

6. rm -r /su/xbin_bind

7. chmod 751 /su/bin

Android Pay works, root is still active. Thanks all.
[Nexus 6P General] CWick4141:
I've been able to get it to work easily on 3 different roms and stock.. But I've always had to use a gapps package from March for some reason
[Nexus 6P General] :
You know that could be it, I was able to use any Open Gapps package, even the newer ones, so I just kept updating. Maybe a recent update to the Gapps package broke something.
[Nexus 6P General] ajm786:
Yeah, that's what I was thinking as well.

I had myself set up for a project this weekend wiping and flashing my N6P to follow the guidelines to net me working Android Pay, but I think I'll hold off until someone else can verify if this is the case. Clean flash and use an old GApps package to see if that fixes it.
[Nexus 6P General] 83097markcynt:
Just my opinion but I don't think this issue is ROM related at all. I have had this issue across multiple Roms and stock also, including Pure Nexus. I believe it's a security layer employed by the various banks/card issuers. The first few times I had to set up AP I did not have to call my bank to confirm but I now have to call every time.
[Nexus 6P General] ajm786:
I guess that's part of the question here: define "call every time". Is it call every time you set up AP for the first time? Or call every time you actually have to use it?
[Nexus 6P General] 83097markcynt:
When I set it up.

---------- Post added at 01:51 PM ---------- Previous post was at 01:50 PM ----------

The March GApps will work
[Nexus 6P General] ajm786:
Ok. Thanks for the clarification. I'd be ok with it just for the first time, but if I'm constantly flashing ROMs I can see how annoying that'd get.

Do you know if a ROM update would trigger an AP re-set up?
[Nexus 6P General] 83097markcynt:
That has not been the case for me. A dirty flash should keep AP intact. Just keep using the same version of GApps. I was flashing a lot before but I've pretty much settled in with PN so I haven't had to set up AP for awhile now.
[Nexus 6P General] btvolta:
I set it up on Pure Nexus for my 6P, and this is my first crack at using AP. It setup perfectly, passed safety net and was working. It looks like removing the screen lock pin is what caused it to ask for verification again. I had to remove the pin so I could create a backup as TWRP has issues restoring with a pin code. I did use the recommended gapps from March, and made a backup so I could try to add some theme able apps. It still would pass safety net, but just required that I call my bank again to get it verified.

---------- Post added at 02:04 PM ---------- Previous post was at 02:02 PM ----------

Pure Nexus for Angler.
[Nexus 6P General] 83097markcynt:
Actually the up to date version of TWRP no longer has that issue.
[Nexus 6P General] btvolta:
I'm on the latest but read that some people still have the issue.
[Nexus 6P General] 83097markcynt:
Worked perfect for me. Restored pin and fingerprint too.
[Nexus 6P General] btvolta:
Thanks, I'll give it a try. I know that if it doesn't work, I can just go back in twrp and file manager and delete the db settings. Maybe that is the reason why I needed verified again. I'll call my bank again later and have them re-verify it again and I'll keep my pin enabled.
[Nexus 6P General] ajm786:
Ok guys, tried this myself this afternoon.

1. Flash latest Pure Nexus

2. Flash latest Open Gapps Nano 6/6

3. Flash unSU

4. Run the two commands in terminal

5. Flash SuperSU 2.74

That's pretty much it, and Android Pay works. I set up 2 of my AMEX cards successfully. I was able to install all my other apps which required root, and they all work as they did before.

I actually initially tried with the Dynamic Pure Gapps from March, and it was a total disaster: FCs everywhere on start, without me even doing anything, on a fresh clean install. Wiped the slate clean, did the above, and it worked. All I have to do now for the real test is find somewhere I can pay using my phone, but chances are it'll be fine, as everyone else has reported it working.
[Nexus 6P General] ajm786:
Update:

I tried to use Android Pay at a small hardware store. They had a small terminal that had a NFC symbol on it.

When I tapped my phone, Android Pay came up with my preferred credit card selection and said to tap to pay, but when I actually did it, the small terminal asked me to "insert chip card". :rolleyes:

I'm assuming this is a fault of the terminal and not Android Pay?
[Nexus 6P General] wayne8821212:
Pay

For me, it works for Pure Nexus, MTC19V version of Benzo Rom, MTC19T version of CandySix (plus Pure Nexus Gapps, Benzo Gapps and Bank's Gapps) ..... using that sequence of steps that you listed with addition of installing Busybox zip just after flashing supersu beta (I'll leave the Busybox step out next time) .
[Nexus 6P General] ajm786:
Yet another update. It was definitely that shop's terminal. Went to Staples and bought something, paid like a boss. The NFC chip on these phones are so fast. I've had the Galaxy Nexus, Nexus 4, and Note 4, and all of them were nowhere near as fast. This was almost instantaneous the moment I hold it up to the terminal.

So all in all, as long as you follow the steps, you should be squared away. Feels good to pay for things with my phone again. :D
[Nexus 6P General] schmaltzy:
Coming from a different ROM so I'm wanting to get AP up and running. I'm going to be flashing Pure Nexus. I have found the Open Gapps Nano 6/6 so I should be good to go there. Where can I find the flashable unSU and SU? And where are the two terminal commands?

If I'm coming from clean should I set up the ROM fist and then go through the steps? Or try to go through the steps before anything else?
[Nexus 6P General] ajm786:
1. Flash latest Pure Nexus

2. Flash latest Open Gapps Nano 6/6

3. Enter ROM, set up, go into SuperSU and do a FULL UNROOT

4. Reboot to recovery (TWRP), run these two commands in terminal

echo SYSTEMLESS=true>>/data/.supersu
echo BINDSYSTEMXBIN=false>>/data/.supersu

5. Flash SuperSU 2.74 or whatever the latest one is you can download

You can do a search for the latest SuperSU.
[Nexus 6P General] schmaltzy:
Thanks for the info. I installed PN on Tuesday and tried your steps last night. When I try to add a card I get the "Android Pay can't be used" window. Guess it didn't work for me.
[Nexus 6P General] ajm786:
So far I've done the exact process as written 4 times without fail. You sure you following those in order? Are you doing a full wipe (other than Internal Storage) and clean install?
[Nexus 6P General] supergummy:
successfully got Android pay to work

Was on Pure Nexus system rooted for a long time

-installed unSu

-ran the echo commands from TWRP terminal

-rebooted

-installed Super su 2.76 systemless

-checked the permissions

They were already set to 751.....?

-safety net passes

-added my cards. I will try android pay at a terminal soon
[Nexus 6P General] Crappey:
Wondering if anyone can help but I just can't seem to get AP to work with systemless root. Installed the most recent Pure Nexus rom (which no longer comes with root), tried it with the terminal commands and setting the permissions but still can't get AP to work.
[Nexus 6P General] Pig Vomit:
I just began having trouble on my stock rooted 6P. Something server side. This is just like it happened before systemless. Sporadic reports, then a rollout, then it didn't work for anybody. Only thing I haven't done is a full reinstall. I'm hoping that it's just me.....but this is just like before, and I've always wondered when Google would throw the switch. I think it's now. I've done nothing to my phone since AP last worked for me.
[Nexus 6P General] waylo:
Same reports on this thread here: http://xdaforums.com/nexus-5x/general/passing-safetynet-root-t3307659/page43
[Nexus 6P General] Citizen_Snips:
Can confirm on my 6P as well. Nothing changed on my end. It passed, I could use AP, now it fails and I can't. Also tried a full clean install, no dice. Similar reports coming in from multiple places. Systemless Xposed thread, SuperSU AP / SafetyNet thread, etc.

Like Chainfire said in that thread, if SafetyNet passes with systemless root, it's a bug / oversight on their end, not a feature of SuperSU. I guess we can only wait and see what happens.

Edit: Added a snip from his quote;
[Nexus 6P General] Max88888:
Confirm: AP is not working on systemless-root device (Nexus 6P)
[Nexus 6P General] allen099:
Same exact thing for me and a colleague. Definitely not anything that changed on our phones, so it has to be Google.
[Nexus 6P General] sherlock5545:
Well, so now I'm forced to choose either root or AP. Only problem is that I rely on VPNs a lot and no root means no Adaway. If I use apps like Adguard I can't use a VPN along with it...
[Nexus 6P General] waylo:
Has anyone tried temporarily disabling SuperSU and then checking SafetyNet? I thought that was a 'fix' previously advocated prior to systemless-root was developed.

EDIT: good news? http://xdaforums.com/showpost.php?p=67952239&postcount=1387
[Nexus 6P General] SirVilhelm:
Try this

http://xdaforums.com/android/software/mod-magisk-v1-universal-systemless-t3432382

---------- Post added at 12:47 PM ---------- Previous post was at 12:47 PM ----------

Try this

http://xdaforums.com/android/software/mod-magisk-v1-universal-systemless-t3432382
[Nexus 6P General] bouchigo:
Just so everyone is aware, this will not work on Nougat. The dev. of this particular mod said he won't attempt to get it to work for Nougat until it's officially released by Google.
[Nexus 6P General] SirVilhelm:
For me at least that is ok. I just want AP and ad blocking. Just installed this and it works great.
[Nexus 6P General] waylo:
[MENTION=1426014]SirVilhelm[/MENTION], you tested out a real-life AP transaction?
[Nexus 6P General] sp0rky:
im currently on systemless root with pure nexus rom and elementalx kernel...

how do i get this to work? use the supersu Full unroot option and flash Magisk-v1.zip?
[Nexus 6P General] bmg1001:
Also, apparently the developer has a working version for Nougat, but he won't release it cause there might be changes to the selinux policy in the final release. Honestly, it's probably best to wait anyways. Once Nougat's source is out, TWRP will probably be updated to support its encryption and we might even get Xposed.
[Nexus 6P General] SirVilhelm:
Unfortunately it didn't work
[Nexus 6P General] GatorsUF:
So I just updated to stock Android N 7.0 stable and finally decided to root my system (SuperSU 2.77). /su/bin/ is at 751 however AP doesn't work.

My only guess is that I installed the Nexus Launcher zip file, which installs the Nexus Launcher as a system app. Other than that I don't know why AP won't work, any ideas?
[Nexus 6P General] maplestrat:
AP doesn't work with root? maybe that's it?
[Nexus 6P General] GatorsUF:
Is this new? I've used AP quite a bit with systemless root.
[Nexus 6P General] bouchigo:
It's been not working for a while. Go to the SuperSu thread for a solution... There's a new thread posted there today... Or you can go with magisk.
[Nexus 6P General] mdmogren:
Here is the thread: http://xdaforums.com/apps/supersu/suhide-t3450396

I just flashed this and was able to add one of my cards and verify it without an issue. Haven't been to a store to try a transaction yet but seems like it should work.
[Nexus 6P General] mdmogren:
Just tested: transaction worked, actually my first time ever using Android Pay.
[Nexus 6P General] rob219:
not anymore. cant use android pay with unlocked bootloader anymore.
[Nexus 6P General] asj0422:
anyone been able to actually use android pay at a point of sale with an unlocked bootloader? i'm full stock (no root anymore) with an unlocked bootloader. the safetynet api check fails, but the android pay app seems to work, but i haven't had the chance to actually try it buying anything yet.
[Nexus 6P General] waylo:
The app will load but if you try to add a card it will probably fail, as will any attempt to carry out a transaction.
[Nexus 6P General] asj0422:
i have a card already added, i wonder if that affects it somehow
[Nexus 6P General] rob219:
doesnt matter, if your bl is unlocked then you cant use it anymore. they say 7.1 blocks it but im on 7.0 and its blocked. im also running weta rom but either way it doesnt work as it wouldn't let me add a card before i flashed the rom. so unlocked bl=no ad pay.
[Nexus 6P General] iamdata:
I wanted to link you to my post. I think I now have it working.

Unlocked boot loader too

http://xdaforums.com/nexus-6p/development/rom-benzo-rom-t3264478/post69259133
[Nexus 6P General] waylo:
If you have a card already, it will stay there (unless you reset the ROM/phone), but it may or may not work. A transaction with that same card could work. But trying to add a new card will force the app to call upon SafetyNet, and most likely it will display an error message.

In the early days of root toggle (meaning, last month haha), we had to force the app to check SafetyNet unrooted, and one way to do that was start the add card process, but abort it.
[Nexus 6P General] rootdisk:
Anyone get Android Pay working with 7.0 NBD90X with root? I have SuperSU 2.78-SR1 + suhide v.055 + root switch v1.3.3.2 + franco kernel r36 (with patch to bypass SafetyNet CTS check). When I use SafteyNet Helper & SafteyNet Playground both pass when I disable root from root switch. However when I tried to make a purchase (with root disabled) it failed and said I may need to unroot. I am also able to add cards without a problem.
[Nexus 6P General] mohand06:
link to root switch v1.3.3.2 download page please, thanks
[Nexus 6P General] rootdisk:
https://www.asus.com/zentalk/tw/thread-173542-1-1.html
[Nexus 6P General] tydiamond11:
Is this a way to get android pay working? Because it now checks the bootloader also
[Nexus 6P General] rootdisk:
I haven't been able to get Android pay to work. As I mentioned earlier with SuperSU 2.78-SR1 + suhide v.055 + root switch v1.3.3.2 + franco kernel r36 (with patch to bypass SafetyNet CTS check). I use SafteyNet Helper & SafteyNet Playground both pass when I disable root from root switch. But fails at checkout. The Franco kernel is suppose to solve the unlocked boot loader issue.
[Nexus 6P General] explorer-10:
Anyone get Android Pay working with root on NBD91K?

edit: Do any of the methods mentioned in this thread http://xdaforums.com/nexus-6p/help/android-pay-root-unroot-t3237196/page4 work on latest 7.0 build?
[Nexus 6P General] mobileman88:
NBD91K

- Flash the stock rom

- Reboot

- Wait for full boot

- Reboot

- Flash Franco Kernel R39

- Reboot

- Wait for full boot

- Reboot

- Flash Magisk v9

- Flash phh 266-2 Magisk Edition

- Reboot

- Install MAgisk Manager 2.5 APK

- Turn on Magisk Hide

- Reboot

That's what I got working with NBD91K and AP.

Same applies for the latest 7.1.1 build but replace Franco Kernel R39 with R40
[Nexus 6P General] italia0101:
Did you actually have a successful transaction?
[Nexus 6P General] Kolmain:
I'm running Magisk with supersu and I get "Android Pay can't be used; Google is unable to verify that your device or the software running on it is Android compatible." after running this su fix.
[Nexus 6P General] blast0id:
Just a goon quick tip, I'd set AP up before ever rooting, never had any luck rooting before setting it up, no matter what method / steps were taken... I think it's foolish to even try before having it set up...

Sent from an Arby's Jalapeño & Roast Beef with Bacon slider.
[Nexus 6P General] blast0id:
Once you've set up magisk (10.2zip(1st) +latest market apk(2nd)) + phhsu(3rd) you need to reboot, then under magisk app settings make sure to hide root from Google play services(for AP) and any banking apps you may need that might check for root. Then reboot again then AP should work proper.

Sent from an Arby's Jalapeño & Roast Beef with Bacon slider.
[Nexus 6P General] DLloyd:
My problem is that AP fails to verify software because the boot loader is unlocked, I haven't found a way around that
[Nexus 6P General] italia0101:
The newest magisk patches that in the boot. Img, I'm on stock rom and kernel, rooted with magisk and bootloader open and used Android pay last weekend
[Nexus 6P General] truckmann:
I've just not bothered with Android Pay for a while, but figured I'd look back into it since it seems Magisk would make it easy to work with root again. I'm on stock rom and already rooted with SuperSU with bootloader unlocked. I installed Magisk, turned on Magisk Hide, and rebooted a couple of times and it still says "SafetyNet Failed: CTS profile mismatch". Is there something else I need to do to make this work?

I've been trying to sort through the various threads for info, but have not found anything helpful. Thanks for any direction you can give me.
[Nexus 6P General] Eric214:
The only thing I did was install PN 3-17 and installed the latest magisk. Bored the phone. Set it up with apps and settings. Then I installed flash kernel. Rebooted again. Then enabled magisk hide. Rebooted one more time and SafetyNet check passed and Android pay worked fine.

Just DO NOT install SuperSu. There is no need since Magisk is your root from now on if you want Android Pay to work.
[Nexus 6P General] truckmann:
Yeah I figured it out. I already had SuperSu installed before I did Magisk. So I uninstalled Magisk used the cleanup tool in SuperSu to switch to another root tool. Then booted into TWRP and flashed Magisk, updated via the playstore after the reboot. Then rebooted again.

So far so good I was able to get my card setup in AP.
[Nexus 6P General] Eric214:
UI​

Awesome! glad you got it working. It's actually super easy now.
[Nexus 6P General] YzRacer:
Totally didn't think this was still a thing. I was updating to the May build and decided to give it a try. Seems to be working! I'll try a transaction tomorrow.
[Nexus 6P General] YzRacer:
Successful transaction! Thanks to all who contributed.
[Nexus 6P General] marc.ientilucci:
Hey all, I'm using a pixel and currently have superSU installed with TWRP as well as an unlocked bootloader.

What steps do I need to take to get Android pay working?

Thanks!
[Nexus 6P General] MrKaon:
Only way is to use Magisk instead of SuperSU but Pixel is not supported by Magisk yet so nothing you can do for now.
[Nexus 6P General] bouchigo:
All good things must come to an end ?
[Nexus 6P General] NordomTT:
Yeah thats true. It seems google has really been trying to prevent people from using android pay with rooted devices.
[Nexus 6P General] bouchigo:
Yeah, I say blame the banks and credit card companies.

It will be pretty simple for Google to defeat this workaround if they decide to do so, which I expect they will at some point .
[Nexus 6P General] bouchigo:
Just wanted to come back and say that it worked for me earlier today. Enjoy it while it lasts guys and gals :good:
[Nexus 6P General] GCbard:
i have supersu 2.67 installed but I do not see /su/bin. Any ideas?
[Nexus 6P General] bouchigo:
You sure you installed systemless and not regular root?
[Nexus 6P General] GCbard:
It might be regular root.
[Nexus 6P General] poor2rican1:
Im on xtra rom and can't get this to work for the life of me either. Rim is already system less root and nothing. I have flashed unsu.zip and re flashed su 2.67 and still get no such file exist error

---------- Post added at 08:28 PM ---------- Previous post was at 08:22 PM ----------

I have tried this on my nexus 6 and it worked. But here I the girl doesn't exist any ideas?
[Nexus 6P General] Se7eN43:
Not sure if this is confirmed but its been mentioned by the op the ROM being used should be before the February security update.
[Nexus 6P General] bouchigo:
I'm running my own Rom build with the February security patches and AP works fine.
[Nexus 6P General] daleski75:
Is your rom based on AOSP as I also do my own builds and for the life of me I cannot get android pay to work and unrooted, uninstalled busybox, flashed unsu.zip everything comes back saying safety net failed.

If I flash back to xtrasmooth stock it works brilliantly.

Granted I am in the UK but it's nice to know everything works even though I cannot use it yet. (it does let me add cards though but says the bank does not support android pay yet)
[Nexus 6P General] bouchigo:
Yeah, it's AOSP based. You don't have a custom DPI set by any chance? You removed xbin_bind?

Some cards aren't formally supported, but still work.
[Nexus 6P General] daleski75:
Yeah no custom dpi and tried removing xbin_bind from /su and running these commands below before flashing supersu as well.

echo SYSTEMLESS=true>>/data/.supersu

echo BINDSYSTEMXBIN=false>>/data/.supersu
[Nexus 6P General] elreydenj:
Ad away?
[Nexus 6P General] daleski75:
Flashed the systemless adaway zip first before installing the apk but let me double check that.
[Nexus 6P General] NordomTT:
I think gapps also matters. I use PureNexus and I think since December it has been possible for android pay to work on purenexus because Beans made his own dynamic gapps.
[Nexus 6P General] daleski75:
Is your AP still working on purenexus then?
[Nexus 6P General] NordomTT:
Yes I have made purchases on a vending machine. My point was that you probably need to use a gapps package modified in a certain way for android pay to work, in addition to all these commands, systemless root, etc.
[Nexus 6P General] daleski75:
Using opengapps but will try the one you mentioned also did you mean banks or beans?
[Nexus 6P General] NordomTT:
Beans is the main developer for PureNexus. His gapps is here

Banks should also work according to this great guide for purenexus.
[Nexus 6P General] daleski75:
You are a legend I reflashed pure nexus and banks dynamic gapps and did the usual echo thing and chmod 751 and android pay is once again working.
[Nexus 6P General] NordomTT:
That's great to know! I just picked it up when using purenexus, so we should all thank banks(are they a team?), [MENTION=4395895]BeansTown106[/MENTION] and other devs.
[Nexus 6P General] johnp357:
hmm... no gapps package has worked over here... interesting that you got it to work. the only known way to do it here is to remove superSU. please explain in detail how you got yours to work.
[Nexus 6P General] DanRyb:
Working here too on PureNexus and ElementalX kernel! Great find! Hopefully it lasts, at least until I can get 10 tap-and-pay purchases in so I can get a free Chromecast! :D
[Nexus 6P General] NordomTT:
http://xdaforums.com/showpost.php?p=65234367&postcount=119

But this is already on purenexus ROM with purenexus dynamic gapps.

You can also find some relevant info here
[Nexus 6P General] Se7eN43:
Does anyone else get asked for their PIN when making a purchase? I never did have to before rooting the phone.
[Nexus 6P General] dratsablive:
I've always needed a screen lock to use Android Pay. It won't work without it.
[Nexus 6P General] RMXO:
Worked great, TYVM!

I'm on PureNexus w/ systemless root