yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] wayne8821212:
It worked for me with 3.0.0 after failing to work but I changed more than one variable so I'm not sure which is the crucial one. In both cases I flashed the ROM (Pure Nexus Feb 18 version), flashed UnSu , performed the echo commands, flashed SuperSu version 2.68, flashed the busy box zip (mentioned by micmars in the Nexus 6P General area), rebooted. What I did the second time was all what I mentioned above, then install Google dialer fix (pure Nexus) which some say makes a difference. When I tried to add a card it failed so I titanium restored the data from a working version of the Android Pay App (from the previous version of Pure Nexus (-Feb 3-) for which Android Pay worked) . That did the trick ....now it works on the Feb 18 version of Pure Nexus. So if you have it working using TWRP version 2.87, do a titanium backup of the Android Pay App, fastboot flash version 3.0.0, follow the usual steps (flash ROM,UnSu, echo commands, install SuperSu v 2.68, busy box, boot) then do titanium data restore of Android Pay App.
[Nexus 5X General] Fentadroid:
Which version? Layers or CMTE?
[Nexus 5X General] wayne8821212:
Layers version. Right now I'm running rooted stock MHC19I which, of course, works for Android Pay as well.
[Nexus 5X General] droidfta:
Directions worked for me as well ch mod 751 to su/bin and deleted su_xbind, just couldnt live without root and xposed, and of course xposed broke AP, oh well rather have xposed versus android pay, using a verizon LG G3 on Marshmallow stock.
[Nexus 5X General] knipp21:
So I updated from cataclysm to chroma finally.

Ran the unsu.zip, the echocommands, and systemless rooted. After which I ran the chmod command. Safety net still fails. What am I missing?
[Nexus 5X General] wayne8821212:
Did you use SuperSu version 2.68?
[Nexus 5X General] bobby janow:
Xbin bind?
[Nexus 5X General] knipp21:
Tried and wasn't even in there. Running su 2.65.

It even failed right after doing the unsu before I rooted again.
[Nexus 5X General] bobby janow:
Sorry. Just did some critical reading. Chroma does not work with ap
[Nexus 5X General] ifwillems:
Safetynet failing on latest PureNexus (?)

http://xdaforums.com/showpost.php?p=65870643&postcount=2193
[Nexus 5X General] bobby janow:
But on a dirty flash it seems to be working. Wonder why? You think they busted aosp somewhere?
[Nexus 5X General] ifwillems:
I went back to a dirty flash: Doesn't work either (for me). Now back on rooted stock (used SuperSu 2.68, installed Osm0sis BusyBox and Viper4Android). SafetyNet passes and Android Pay works.

There is something in the latest PureNexus that messes up a clean System partition, is my guess. Perhaps [MENTION=4395895]BeansTown106[/MENTION] or [MENTION=6842057]nathanchance[/MENTION] can shed a light on this.
[Nexus 5X General] knipp21:
If chroma or pure Nexus get it working again that would be sweet. For now I'm enjoying having xposed installed so for me either way is cool.

---------- Post added at 01:36 PM ---------- Previous post was at 01:23 PM ----------

Does anyone know what the current "best ROM" available is that supports Android pay?
[Nexus 5X General] bobby janow:
Stock rooted. The only one.
[Nexus 5X General] vikastanwar:
That is correct Android Pay worked for a buy. Just chmod your/su/canister/index to 751. Works for me on stock with systemless root and I envision it might take a shot at different ROMs that used to work until the late change in the SafetyNet checks.
[Nexus 5X General] Letitride:
Not everyone hangout at PN thread - here's proof, that Android Pay is working for my Nexus 5X - MHC19J Layer's build, latest EL-X kernel / bootloader / radio - it was a clean flash, fully wiped except SD partition. Used it at a self-service vending machine (chips/cookies/crackers/snacks, etc.)

Update/footnote: 3/31/2016 - AP continued to work for me @ my favorite vendoring machine - testing ground, as above, except I boot into TWRP , wiped cache & dalvik before flashing EL-X-1.11 then rebooted. SafetyNet passed of course (CTS profile match: true - is the key for me when it failed)
[Nexus 5X General] knipp21:
Sent ya a pm
[Nexus 5X General] Letitride:
Congrats - I see you passed Safetynet check on PN thread, great. Just stay away from Xposed & Viper4A, etc. - PN has enough tweaks & custom config settings without running Xposed. Enjoy using AP, until ...
[Nexus 5X General] ifwillems:
I have AP working on latest PN with ElementalX and Viper4Android. Follow these steps.
[Nexus 5X General] knipp21:
Yeah I had it working on cataclysm. I'll miss xposed but the tweaks on pn make me happy enough. Wouldn't mind the pulse notification bar from dirty unicorns though.
[Nexus 5X General] 65coupei6:
I just wanted to let everyone know that Android Pay is working on Stock Build 19J with systemless root and SU 2.68.
[Nexus 5X General] wayne8821212:
Yep I keep a backup of my MHC19I rooted stock and do a restore whenever want to use Android Pay.
[Nexus 5X General] CWick4141:
I couldn't get it to work for the life of me. Even flashed back 100% stock and still couldn't get it to work. Oh well AP doesn't even support my debit card bank yet
[Nexus 5X General] wayne8821212:
Android Pay

I just used this http://xdaforums.com/nexus-6p/themes-apps/systemless-root-themed-apps-t3292105 along with SuperSu Version 2.68 on rooted stock MHC19I. Can't get it to work on any custom roms though.
[Nexus 5X General] CWick4141:
Prolly why I couldn't get it to work using PN... Might try stock rooted+EX
[Nexus 5X General] wayne8821212:
It worked for me and many on the Feb 3 and Feb 18 versions of Pure Nexus. Then I jumped to MHC19I so I left PN. But I can only get it work with stock. I guess it's about time to flash the monthly update images, so we'll see if it continues to work on stock.
[Nexus 5X General] wayne8821212:
Working on Nexus 6P MHC19Q

Android Pay works on rooted stock MHC19Q on my Nexus 6P using SuperSu 2.71
[Nexus 5X General] ltzmu4h:
how'd you get it to work, I'm trying but its not working for me. I deleted the _bind and chmod 751 to su/bin, but it's not letting it go through. On stock rooted 2.71 also, have franco kernel tho, it used to work before this latest update
[Nexus 5X General] CWick4141:
I can confirm also it works on MHC19Q. Stock rooted + ElementalX..I factory flashed back to stock then entered the TWRP terminal commands then flashed SuperSU 2.71 then EX kernel
[Nexus 5X General] mng777777:
I've been following this thread with a lot of curiosity for some time now but haven't really seen much to work from in trying to get it working on custom Roms. I know that a modified build.prop will cause it to fail. Does anyone have any other specifics on what MUST remain in tact in order for AP to work? Or is anyone working to get it going on a custom ROM with any success? If there are any developers working on it, I'll be happy to help/test. I'm using droid turbo, running computerfreak1.3.0
[Nexus 5X General] bobby janow:
I'm sorry what is I'm in droid turbo running computer freak any version?
[Nexus 5X General] wayne8821212:
I used the method (posted by Mic Mars....linked by me in this thread) that I used for 2.68. I fastboot flashed the image files for MHC19Q except stock recovery, booted, let all my apps download, then fastboot flashed TWRP recovery v 3.0.1.0. Then, even though I had not flashed SuperSu yet, I flashed UnSu, ran the usual 2 TWRP terminal echo command lines, flashed SuperSu v 2.71, flashed busybox then booted. Used it to by a router at Microcenter. Thank the guys who pointed out to (stupid) me that I was displaying my Best Buy pin in the attachment below my card!
[Nexus 5X General] jmudrick:
I did nothing fancy, just flashed TWRP 3.02, SuperSu 2.71, and Android Pay is working. It was also working using 3.01 but decryption was not on the earlier build, now all is well. Latest April update.
[Nexus 5X General] dratsablive:
I have modified my build.prop file and it did not break Android Pay.
[Nexus 5X General] vroomr:
Does anyone have AP working on Chroma 03/13 build?

If so, has anyone gotten it working on a clean flash or dirty (if dirty, what build did you get it working on?).
[Nexus 5X General] Letitride:
I am super pleased & happy to report/share the good news - Android Pay is working once again (intially failed CTS profile match with SafetyHelper Net) running on PureNexus (4/7/2015 build) on Nexus 5X - SU v2.71 and EL-X 1.12 (not running Xposed or V4A sound mod) - also flashed the FiFix_GoogleDialer option. Posted under PN thread - http://xdaforums.com/showpost.php?p=66257321&postcount=2935

Good luck & hopefully, this will help others - if it still won't run, do a clean wipe/factory reset - then repeat. That's how I got it working last time, pay attention to the sequence, grab a cup of coffee or tea, sit back & patience - paid off for me. (update - works today (April 12th) at my favorite vendoring machine - for a bag of "healthy" chips, LOL)
[Nexus 5X General] driz:
just did a full stock reversion, used it for about 2 days, with android pay working fine. Flashed twrp and rooted, android pay showed my gift cards but no credit cards. Clicking + told me that they couldn't verify my software or some such. i did the chmod 751 on /su/bin and rm-rf /su/xbin_bind. android pay immediately began showing my credit cards and POS purchases worked again. thanks!
[Nexus 5X General] Jself70:
I have android pay working on my nexus 6p on chroma rom. I did the whole systemless root method and the the unsafe.zip also. I also flashed supersu 2.71.zip. But I also flashed elementalx kernel. I dirty flashed the lastest build but I also make a backup before installing anything. I haven't had a problem with using it at all.
[Nexus 5X General] vroomr:
What is this unsafe.zip? Other than that, I have done the same. root works, and is systemless. Yet I am unable to pass safetynet check, even while root is disabled.

Thanks for the reply.
[Nexus 5X General] Jself70:
Look on page 22 if this thread. You'll find it there.
[Nexus 5X General] piotrus22:
I thought I'd put this here in case anyone is interested in this setup. I realized all I really needed out of my stock rom was ability to tether unrestricted and run my work's "good app" for corporate email. I also wanted Android Pay working. So I decided to go back to stock - I edited my build.prop file to allow for native tethering and ADB'd it back onto the phone using Command Prompt and TWRP. I also flashed franco kernel. I am able to use android pay and my good app with no issues. Yes I am not rooted and I cannot tweak the kernel in the OS but technically there is a change to the build.prop file that android pay seems fine with (yes I was able to make a purchase, not just add a card).

So I guess in summary - if anyone is wondering if they can edit build.prop, flash a custom kernel and still use android pay, you can. I don't know to what extent you can modify it (haven't tried DPI, fonts, etc.) yet - but perhaps theoretically it's possible to keep android pay working as long as you don't root. for the record I am on build MHC19Q. I'll do some more experimentation (flash custom font maybe) and report back, as I do have the customer recovery installed.

Cheers.
[Nexus 5X General] rychlin:
I am running Pure Nexus ROM. Is there any inside the rom setting option to try out android pay? I think I've seen this option already, but can't find it anymore.

Odesláno z mého Nexus 5X pomocí Tapatalk
[Nexus 5X General] tallgrasshawk:
Install the app & try adding a card. If you can add a card, it should work.
[Nexus 5X General] rychlin:
Well, seems like Pure Nexus rom isn't supported.

Odesláno z mého Nexus 5X pomocí Tapatalk
[Nexus 5X General] Michael in ATL:
There are instructions in Nathan's extensive Op about getting AP to work on PN. It's a bit tricky but plenty of people have gotten it to work. Flashing the Google Dialer Zip is a critical part of it, even if you don't use Project Fi.

Also, be sure you install Layers version of PN. CMTE version cannot be made to use AP.
[Nexus 5X General] ifwillems:
One aspect that is not in the instructions that is kind of a last resort:

Install per Nathan's instructions. Then unroot in SuperSu, then reboot twice (yes twice, not once as some files will not disappear until after second reboot). You then have a full functioning unrooted PureNexus. Need to use Titanium Backup later? Just reflash SuperSu.
[Nexus 5X General] thesoldier:
I see there is a new Android Pay update, had anyone tried it to see if everything works still?
[Nexus 5X General] ecossais:
Latest Android Pay works fine for me on N6 and Chroma ROM.
[Nexus 5X General] skiboarder119:
It works for me, just updated to the May Security update, and the latest Android Pay. I'm running stock - rooted - with system less preparation for Adaway.
[Nexus 5X General] imna357:
Can you detail on how did you do it? I got resurrection ROM but on the play store its not compatible, downloaded the apk, same result. My ROM is rooted already, I installed systemless root, same thing happened [emoji15]
[Nexus 5X General] ecossais:
Android Pay will only work on stock or stock based ROMs. Some that work are Chroma, Omni and PureNexus. RR will not work.
[Nexus 5X General] Michael in ATL:
It'll only work on Layers version of PN, not CMTE -- FYI
[Nexus 5X General] hypemanisus:
I might disagree with you. I had tesla rom which has cmte and got Android pay working
[Nexus 5X General] Michael in ATL:
That's great, though I was speaking of PureNexus "PN'". With it, CMTE version won't work...[emoji6]
[Nexus 5X General] imna357:
How did you do it... Maybe it works on Nexus devices only, I got oppo find 7.
[Nexus 5X General] N00dle:
Worked for me just now. What does deleting the xbin_bind do though? Just curious.
[Nexus 5X General] aForcefulThrust:
Worked fore as well. I'm not sure what deleting xbind_bin does, but it did the trick.
[Nexus 5X General] eggnoodle:
Hi,

I'm on the latest version on PN. I rooted the 5x the traditional way, not systemless root. If I want to get AP to work, would I need to reflash PN and do the following?

Flash PN ROM. Flash un-su.

Enter in terminal in twrp:

echo SYSTEMLESS=true>>/data/.supersu

echo BINDSYSTEMXBIN=false>>/data/.supersu

Flash su2.67. Flash custom kernel if you want to.

Reboot to system. Do not let twrp install su when it says no root detected.

Enter in a terminal emulator:

su

chmod 751 /su/bin

Thanks
[Nexus 5X General] Keithn:
unsu.zip is not necessary, you can uninstall root right from the SuperSU app. There are more updated SuperSU, I think 2.71 now, and TWRP doesn't ask to install su anymore. Other than that those were the ways to get it to work. I was unsuccessful on the current android pay and SuperSU getting it to work on PN and Omni. It might be possible, but I gave up on it since AP doesn't really provide much extra convenience for me. Maybe I'll play with it again later.
[Nexus 5X General] CrazyPeter:
My requirements are adblocking (adaway) and AirAudio audio patch. Both need root initially, but not permanent root. For me, the only way to get Android Pay to work (in the UK), was to uninstall Root using SuperSU unroot option. The crucial thing was it didn't seem to lose the changed made to the hosts file (by adaway) or the audio patch (by AirAudio).

If this means I need to load the system image each month a security update comes out, then root it, then apply adblock, audio patch and then unroot, well it's not the end of the world...

If there was a way to automate these things like how CF-Auto-Root works (doing the root mods, but without leaving root) that would be nicer.
[Nexus 5X General] krishman:
Could someone help me out here. I have a galaxy s6 edge on 6.0.1 rooted with 2.72 beta SU (Which I believe is systemless) nonethless I installed the UnSu.zip put the two echo commands in twrp terminal, flashed 2.72 again and attempted to change the chmod su/bin in terminal but it says no directory can be found and I cannot add a card to the AP app. Where am I going wrong?
[Nexus 5X General] smohanv:
I tried flashing it on PN (MTC19T) using TWRP. See screenshot for error. Don't know what is going wrong....
[Nexus 5X General] luckysmack:
Hrmm, I couldn't seem to get it working. Using Nexus 5x on google fi. I Rooted initially with systemless and using PureNexus (not CMTE). I followed a guide on that thread as well as this one and I get the same result that android pay cannot be used. I wiped and tried with clean install as well. Install Pure, Gapps, reboot, setup phone, use adb to edit the /data/.supersu file, and boot back into recovery and install systemless supersu, back into android and set permissions on /su/bin. Doesnt seem like im doing anything wrong.
[Nexus 5X General] meleelord:
I'm getting the same issue. Tried over and over! Just came out in the UK today, so wanted to try it out.
[Nexus 5X General] The1nonly1:
I think I might have it working with rooted stock device in UK. I'm going to test first and then come back but I have just added my card and waiting for verification text from bank. Root checker confirms root access as does titanium backup. It shows as version 1.3.122316814 on play store in my apps updated 16 may, latest version was updated 17 may.

Update: Not had chance to try paying yet but my phone passes safety net checker.
[Nexus 5X General] Joshmccullough:
Coming here to find out if it worked on non-stock ROMs, have to give this a shot and find out for myself on Pure Nexus, thanks for experimenting!
[Nexus 5X General] usatf1290:
Just checked on PureNexus (I'm on the 1/09 build), and it works for me. At least SafetyNet Passes. Haven't tried an actual purchase yet.
[Nexus 5X General] dratsablive:
Just checked on my 6P and it passes safety check and Android pay will let me add card where before it failed both.
[Nexus 5X General] Falinor:
Works for me. N6 stock with systemless root. Just added a card and made a purchase at the gas station. Wahoo!
[Nexus 5X General] Farlicimo:
You at least got credit here:

Workaround to get Android Pay Working with SuperSU v2.67 http://www.xda-developers.com/xda-e...o-get-android-pay-working-with-supersu-v2-67/
[Nexus 5X General] chazall1:
Not working for me on Pure Nexus latest, 2.03 build. I am on SuperSU 2.67 systemless. I can not even add a card
[Nexus 5X General] elreydenj:
I couldnt add my cards either at first. If safety net was tripped or you tried to use android pay while rooted with a certain card you may need to contact the bank as they can put a fraud alert on the card. Happened with my Amex. I have added 3 cards and I am on Pure nexus. Just looking to test pay later or maybe someone on pure who has added a card has already tested???
[Nexus 5X General] cawpin:
Does this have to be done through ADB or can it be done with a terminal emulator on the phone itself?
[Nexus 5X General] cabracorax:
I just posted this on /r/Nexus5x as it's a common topic there. With credits to you. /r/nexus6p would probably benefit from a thread there also.

Edit: Fuggit. I posted it on /r/nexus6P also, credditing jgummeson, so you'll get some fame for a minute.

Thanks for the figuring it out. An elegant solution to a vexing problem.
[Nexus 5X General] chazall1:
Adb, Terminal or change the permissions in a File explorer all will be the same.
[Nexus 5X General] livinitwarrior:
Says that 751 doesn't exist, am I missing something? running SuperSU 2.67beta

Also, in the root, it doesn't have a su folder?
[Nexus 5X General] chazall1:
You will not have a su folder because you are not running systemless. Your SU is installed into system.

---------- Post added at 06:11 PM ---------- Previous post was at 06:10 PM ----------

Follow this info here

http://xdaforums.com/showpost.php?p=64475030&postcount=27594
[Nexus 5X General] ThePhoneGeek:
As this has blown up now on twitter for those not running systemless would this only be our /system/bin location?

--Edit--

That wouldn't seem to work I guess.
[Nexus 5X General] charesa39:
Would this work if you are running systemless root with Xposed? Of is there still no hope for Xposed since it modifies the system?
[Nexus 5X General] sawedust:
Xposed modifies the system, so you would not be able to use Android Pay with Xposed.
[Nexus 5X General] elreydenj:
Worked on pure nexus after following instructions and I was able to pay with AP.
[Nexus 5X General] chazall1:
What device?
[Nexus 5X General] elreydenj:
Nexus 6P
[Nexus 5X General] Joshmccullough:
Hrm.....I just installed Pure Nexus today, most recent build, and flashed the SuperSU 2.67 Beta on top of it, but when I try the su command after the adb shell command, it tells me '/sbin/sh: su: not found'.

What step(s) did you take that I'm missing?

EDIT: I also followed the instructions here to get systemless root, and confirmed it's systemless by looking at SuperSU through the Pure Nexus settings, but when I boot back into recovery, I'm still getting the /sbin/sh: su: not found error message. Any pointers would be appreciated, thanks!
[Nexus 5X General] charesa39:
That's kind of what I thought, but haven't really been following this development closely. Was hoping there was a way to get around a modified system... Bummer. Thanks though!
[Nexus 5X General] meleelord:
What steps did you take?
[Nexus 5X General] The1nonly1:
I updated my device to the latest build (May security update) using Heisenbergs guide to do this (step 9). When I do this, it wipes the system (but not my data) and unroots my device. After it had all completed and flashed TWRP, I booted my device and clicked on Android Pay and clicked the '+' symbol to add a new card to check if it was working but didn't add the card. At this stage

I hadn't

flashed Super SU and could have added a card if I wished too.

I then booted into recovery using ADB command and used the commands from the OP before flashing Super SU which are below.

On the adb Run command from platform tools folder, I typed adb shell and then the below commands one at a time (pressing enter after each):

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

I then flashed Super SU through TWRP and typed 'SU' in the ADB Shell Run command I had open which said no file was located and then 'chmod 751 /su/bin' which again said no file located which I thought was strange but just went with it.

I used the latest BETA Super SU which is 2.72 so not sure if this now works with Android Pay or if what I typed worked correctly.
[Nexus 5X General] hypemanisus:
I explained it here http://xdaforums.com/showthread.php?p=66623486 Sorry for the late response.
[Nexus 5X General] carm01:
I am on the may updates, and all i did was flash 2.72, that's it, works just fine without using that additional code
[Nexus 5X General] The1nonly1:
Nice, I wasn't sure if that made it work or it was something I did when updating and re flashing SuperSU.
[Nexus 5X General] eggnoodle:
I'm currently on the latest PureRom built but with SuperSu as system app. In order to get AP to work, I would need to do the following?

1. Flash UnSU

(removes SuperSU from /system, special thanks to [MENTION=4544860]osm0sis[/MENTION])

2. Navigate to TWRP > Advanced > Terminal Command.

3. Select the current folder (should be root or /) using the button in the righthand corner.

4. Type these two commands, one at a time:

Code:

echo SYSTEMLESS=true>>/data/.supersu

echo BINDSYSTEMXBIN=false>>/data/.supersu

The first command forces systemless root, the second prevents /su/xbin_bind from existing (which must be removed for Android Pay to work).

5. Flash SuperSU 2.71.

6. Reboot and profit.

Thanks for any input

***UPDATE***

I followed all the above steps except for step 1. I went into the SuperSu >settings and unchecked "Enable Superuser"

I was successful at adding a credit card. I'll try to make a purchase tomorrow to test.
[Nexus 5X General] kchannel9:
Anything specific about this that won't work on the H830 T-Mobile G5?
[Nexus 5X General] pressmoon:
If anyone with an H830 has been able to get AP to work after rooting, please advise.

Thank you.